From: Ardis Lu Date: Mon, 22 May 2023 03:20:47 +0000 (-0700) Subject: Bump version to reflect Wrangler 3 X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=b2a302d1a24bea9e55b618dbadf41e133f4a2446;p=cloudflare-workers Bump version to reflect Wrangler 3 "Publish" was deprecated in favor of "deploy" --- diff --git a/README.md b/README.md index e66805d..71470e9 100644 --- a/README.md +++ b/README.md @@ -31,16 +31,16 @@ npm i 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 diff --git a/archive/package.json b/archive/package.json index fe1afdb..2d0f462 100644 --- a/archive/package.json +++ b/archive/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/archive/wrangler.toml.example b/archive/wrangler.toml.example index c1dbb8f..ffff5b8 100644 --- a/archive/wrangler.toml.example +++ b/archive/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'archive' main = 'index.js' -compatibility_date = '2023-01-27' +compatibility_date = '2023-05-21' route = { pattern = 'archive.example.com', custom_domain = true } diff --git a/buttcoin/package.json b/buttcoin/package.json index aea4a76..3f5638d 100644 --- a/buttcoin/package.json +++ b/buttcoin/package.json @@ -1,13 +1,13 @@ { "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" diff --git a/buttcoin/wrangler.toml.example b/buttcoin/wrangler.toml.example index b36019f..76cb75f 100644 --- a/buttcoin/wrangler.toml.example +++ b/buttcoin/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'buttcoin' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'buttcoin.example.com', custom_domain = true } diff --git a/cors/package.json b/cors/package.json index 81b8d88..ff5b164 100644 --- a/cors/package.json +++ b/cors/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/cors/wrangler.toml.example b/cors/wrangler.toml.example index de06eb6..f0a6d9f 100644 --- a/cors/wrangler.toml.example +++ b/cors/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'cors' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'cors.example.com', custom_domain = true } diff --git a/hash/package.json b/hash/package.json index 55b575c..210227f 100644 --- a/hash/package.json +++ b/hash/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/hash/wrangler.toml.example b/hash/wrangler.toml.example index 0782aa2..3a2e131 100644 --- a/hash/wrangler.toml.example +++ b/hash/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'hash' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'hash.example.com', custom_domain = true } diff --git a/instagram/package.json b/instagram/package.json index eddc926..e2d118d 100644 --- a/instagram/package.json +++ b/instagram/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/instagram/wrangler.toml.example b/instagram/wrangler.toml.example index c16824d..697182c 100644 --- a/instagram/wrangler.toml.example +++ b/instagram/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'instagram' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'instagram.example.com', custom_domain = true } diff --git a/ip/package.json b/ip/package.json index c7e5c83..3e83e21 100644 --- a/ip/package.json +++ b/ip/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/ip/wrangler.toml.example b/ip/wrangler.toml.example index 69b04ae..ffe908a 100644 --- a/ip/wrangler.toml.example +++ b/ip/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'ip' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'ip.example.com', custom_domain = true } diff --git a/package.json b/package.json index bd66f60..76b8dad 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "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" diff --git a/proxy/package.json b/proxy/package.json index 4d388f7..b7854f1 100644 --- a/proxy/package.json +++ b/proxy/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/proxy/wrangler.toml.example b/proxy/wrangler.toml.example index c5dea83..63f905c 100644 --- a/proxy/wrangler.toml.example +++ b/proxy/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'proxy' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'proxy.example.com', custom_domain = true } diff --git a/pwned/package.json b/pwned/package.json index 30ecde3..1001ed3 100644 --- a/pwned/package.json +++ b/pwned/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/pwned/wrangler.toml.example b/pwned/wrangler.toml.example index 0bedea7..321c652 100644 --- a/pwned/wrangler.toml.example +++ b/pwned/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'pwned' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'pwned.example.com', custom_domain = true } diff --git a/qr/package.json b/qr/package.json index 3d034b4..a797627 100644 --- a/qr/package.json +++ b/qr/package.json @@ -1,13 +1,13 @@ { "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" diff --git a/qr/wrangler.toml.example b/qr/wrangler.toml.example index 784cc5f..8d283dc 100644 --- a/qr/wrangler.toml.example +++ b/qr/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'qr' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'qr.example.com', custom_domain = true } diff --git a/style/package.json b/style/package.json index 80f5260..123811e 100644 --- a/style/package.json +++ b/style/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/style/wrangler.toml.example b/style/wrangler.toml.example index d61590b..df80bdd 100644 --- a/style/wrangler.toml.example +++ b/style/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'style' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'style.example.com', custom_domain = true } diff --git a/unroll/package.json b/unroll/package.json index 94ba776..de265c0 100644 --- a/unroll/package.json +++ b/unroll/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/unroll/wrangler.toml.example b/unroll/wrangler.toml.example index 70b708f..dae3e37 100644 --- a/unroll/wrangler.toml.example +++ b/unroll/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'unroll' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'unroll.example.com', custom_domain = true } diff --git a/uuid/package.json b/uuid/package.json index 8dbd020..b627338 100644 --- a/uuid/package.json +++ b/uuid/package.json @@ -1,13 +1,13 @@ { "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", diff --git a/uuid/wrangler.toml.example b/uuid/wrangler.toml.example index 251cbb2..afa17cd 100644 --- a/uuid/wrangler.toml.example +++ b/uuid/wrangler.toml.example @@ -1,4 +1,4 @@ name = 'uuid' main = 'index.js' -compatibility_date = '2023-01-20' +compatibility_date = '2023-05-21' route = { pattern = 'uuid.example.com', custom_domain = true }