wrangler 0.0.0-d2b1142 → 0.0.0-d35c69f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -4
- package/src/__tests__/configuration.test.ts +808 -764
- package/src/__tests__/dev.test.tsx +0 -2
- package/src/__tests__/helpers/mock-istty.ts +1 -1
- package/src/__tests__/index.test.ts +120 -118
- package/src/__tests__/publish.test.ts +1440 -1441
- package/src/__tests__/user.test.ts +4 -4
- package/src/__tests__/whoami.test.tsx +20 -2
- package/src/bundle.ts +20 -6
- package/src/cfetch/internal.ts +34 -20
- package/src/config/environment.ts +18 -0
- package/src/config/index.ts +16 -0
- package/src/config/validation.ts +81 -15
- package/src/create-worker-upload-form.ts +9 -0
- package/src/d1/backups.tsx +196 -0
- package/src/d1/create.tsx +49 -0
- package/src/d1/delete.tsx +49 -0
- package/src/d1/execute.tsx +101 -0
- package/src/d1/index.ts +72 -0
- package/src/d1/list.tsx +57 -0
- package/src/d1/types.tsx +14 -0
- package/src/dev/dev.tsx +12 -1
- package/src/dev/local.tsx +3 -0
- package/src/dev/use-esbuild.ts +4 -1
- package/src/dev.tsx +3 -1
- package/src/formatTimeAgo.ts +14 -0
- package/src/index.tsx +18 -17
- package/src/pages/dev.tsx +8 -1
- package/src/preview.tsx +2 -0
- package/src/publish.ts +5 -0
- package/src/user/user.tsx +1 -0
- package/src/whoami.tsx +21 -7
- package/src/worker.ts +22 -0
- package/templates/d1-beta-facade.js +164 -0
- package/wrangler-dist/cli.js +40115 -37245
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-d35c69f",
|
|
4
4
|
"author": "wrangler@cloudflare.com",
|
|
5
5
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
6
6
|
"bin": {
|
|
@@ -39,9 +39,10 @@
|
|
|
39
39
|
"@cloudflare/kv-asset-handler": "^0.2.0",
|
|
40
40
|
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
|
|
41
41
|
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
|
|
42
|
+
"@types/javascript-time-ago": "^2.0.3",
|
|
42
43
|
"blake3-wasm": "^2.1.5",
|
|
43
|
-
"esbuild": "0.14.
|
|
44
|
-
"miniflare": "^2.
|
|
44
|
+
"esbuild": "0.14.47",
|
|
45
|
+
"miniflare": "^2.6.0-d1.1",
|
|
45
46
|
"nanoid": "^3.3.3",
|
|
46
47
|
"path-to-regexp": "^6.2.0",
|
|
47
48
|
"selfsigned": "^2.0.1",
|
|
@@ -85,6 +86,7 @@
|
|
|
85
86
|
"ink-table": "^3.0.0",
|
|
86
87
|
"ink-testing-library": "^2.1.0",
|
|
87
88
|
"ink-text-input": "^4.0.3",
|
|
89
|
+
"javascript-time-ago": "^2.5.4",
|
|
88
90
|
"jest-fetch-mock": "^3.0.3",
|
|
89
91
|
"jest-websocket-mock": "^2.3.0",
|
|
90
92
|
"mime": "^3.0.0",
|
|
@@ -94,6 +96,7 @@
|
|
|
94
96
|
"prompts": "^2.4.2",
|
|
95
97
|
"react": "^17.0.2",
|
|
96
98
|
"react-error-boundary": "^3.1.4",
|
|
99
|
+
"remove-accents-esm": "^0.0.1",
|
|
97
100
|
"serve-static": "^1.15.0",
|
|
98
101
|
"signal-exit": "^3.0.7",
|
|
99
102
|
"supports-color": "^9.2.2",
|
|
@@ -122,7 +125,7 @@
|
|
|
122
125
|
"check:type": "tsc",
|
|
123
126
|
"bundle": "node -r esbuild-register scripts/bundle.ts",
|
|
124
127
|
"build": "npm run clean && npm run bundle",
|
|
125
|
-
"dev": "npm run clean && concurrently -c black,blue 'npm run bundle -- --watch' 'npm run check:type -- --watch --preserveWatchOutput'",
|
|
128
|
+
"dev": "npm run clean && concurrently -k -c black,blue 'npm run bundle -- --watch' 'npm run check:type -- --watch --preserveWatchOutput'",
|
|
126
129
|
"prepublishOnly": "SOURCEMAPS=false npm run build",
|
|
127
130
|
"start": "npm run bundle && NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js",
|
|
128
131
|
"test": "jest --silent=false --verbose=true",
|