npm run dev --workspace=[Cloudflare Worker name]
```
-5. Publish all the Workers to Cloudflare:
+5. Deploy all the Workers to Cloudflare:
```
-npm run publish --workspaces
+npm run deploy --workspaces
```
-Or publish an individual Worker:
+Or deploy an individual Worker:
```
-npm run publish --workspace=[Cloudflare Worker name]
+npm run deploy --workspace=[Cloudflare Worker name]
```
# Limitations
{
"name": "archive",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Web utility that automatically sends a webpage to archive.ph.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'archive'
main = 'index.js'
-compatibility_date = '2023-01-27'
+compatibility_date = '2023-05-21'
route = { pattern = 'archive.example.com', custom_domain = true }
{
"name": "buttcoin",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Reverse proxy which replaces all instances of the word \"bitcoin\" to \"buttcoin\".",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"dependencies": {
"html-entities": "^2.3.3"
name = 'buttcoin'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'buttcoin.example.com', custom_domain = true }
{
"name": "cors",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "This reverse proxy injects permissive CORS response headers to a response.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'cors'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'cors.example.com', custom_domain = true }
{
"name": "hash",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Return the hash of the input query.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'hash'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'hash.example.com', custom_domain = true }
{
"name": "instagram",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "This reverse proxy embeds Instagram posts so they can be viewed without logging in.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'instagram'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'instagram.example.com', custom_domain = true }
{
"name": "ip",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Cloudflare Worker which returns the requester's IP address.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'ip'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'ip.example.com', custom_domain = true }
{
"name": "cloudflare-workers",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Monorepo for my personal Cloudflare Workers.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"devDependencies": {
"wrangler": "^3.0.0"
{
"name": "proxy",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "This is a minimal, basic reverse proxy.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'proxy'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'proxy.example.com', custom_domain = true }
{
"name": "pwned",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "This is a re-implementation of the Pwned Passwords Cloudflare Worker.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'pwned'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'pwned.example.com', custom_domain = true }
{
"name": "qr",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "QR code generator on a Cloudflare Worker.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"dependencies": {
"@paulmillr/qr": "^0.1.1"
name = 'qr'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'qr.example.com', custom_domain = true }
{
"name": "style",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Reverse proxy which injects a basic CSS style sheet.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'style'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'style.example.com', custom_domain = true }
{
"name": "unroll",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Redirects a tweet thread to the corresponding Threadreader thread.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'unroll'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'unroll.example.com', custom_domain = true }
{
"name": "uuid",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Cloudflare Worker which returns a random version 4 UUID.",
"license": "ISC",
"author": "Ardis Lu",
"private": true,
"scripts": {
"dev": "wrangler dev",
- "publish": "wrangler publish"
+ "deploy": "wrangler deploy"
},
"repository": {
"type": "git",
name = 'uuid'
main = 'index.js'
-compatibility_date = '2023-01-20'
+compatibility_date = '2023-05-21'
route = { pattern = 'uuid.example.com', custom_domain = true }