appwrite-cli 18.0.0 → 18.1.0
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/README.md +2 -2
- package/dist/bundle-win-arm64.mjs +1256 -713
- package/dist/cli.cjs +1256 -713
- package/dist/index.cjs +306 -18
- package/dist/index.js +306 -18
- package/dist/lib/commands/push.d.ts.map +1 -1
- package/dist/lib/commands/update.d.ts.map +1 -1
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/sdks.d.ts +1 -1
- package/dist/lib/sdks.d.ts.map +1 -1
- package/dist/lib/utils.d.ts +8 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/package.json +9 -5
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"homepage": "https://appwrite.io/support",
|
|
5
5
|
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
|
|
6
|
-
"version": "18.
|
|
6
|
+
"version": "18.1.0",
|
|
7
7
|
"license": "BSD-3-Clause",
|
|
8
8
|
"main": "dist/index.cjs",
|
|
9
9
|
"module": "dist/index.js",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
|
|
36
36
|
"build:runtime": "npm run build:lib:runtime && npm run build:cli",
|
|
37
37
|
"build:lib:runtime": "npm run build:lib:esm && npm run build:lib:cjs",
|
|
38
|
-
"build:lib:esm": "esbuild index.ts --bundle --platform=node --target=node18 --format=esm --loader:.hbs=text --outfile=dist/index.js",
|
|
39
|
-
"build:lib:cjs": "esbuild index.ts --bundle --platform=node --target=node18 --format=cjs --loader:.hbs=text --outfile=dist/index.cjs",
|
|
40
|
-
"build:cli": "esbuild cli.ts --bundle --platform=node --target=node18 --format=cjs --loader:.hbs=text --external:fsevents --outfile=dist/cli.cjs",
|
|
38
|
+
"build:lib:esm": "esbuild index.ts --bundle --platform=node --target=node18 --format=esm --loader:.hbs=text --external:terminal-image --outfile=dist/index.js",
|
|
39
|
+
"build:lib:cjs": "esbuild index.ts --bundle --platform=node --target=node18 --format=cjs --loader:.hbs=text --external:terminal-image --outfile=dist/index.cjs",
|
|
40
|
+
"build:cli": "esbuild cli.ts --bundle --platform=node --target=node18 --format=cjs --loader:.hbs=text --external:fsevents --external:terminal-image --outfile=dist/cli.cjs",
|
|
41
41
|
"lint": "eslint .",
|
|
42
42
|
"format": "prettier --write \"**/*.{js,ts,json,md}\"",
|
|
43
43
|
"generate": "tsx scripts/generate-commands.ts",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"mac-x64": "bun build cli.ts --compile --sourcemap=inline --target=bun-darwin-x64 --outfile build/appwrite-cli-darwin-x64",
|
|
49
49
|
"mac-arm64": "bun build cli.ts --compile --sourcemap=inline --target=bun-darwin-arm64 --outfile build/appwrite-cli-darwin-arm64",
|
|
50
50
|
"windows-x64": "bun build cli.ts --compile --sourcemap=inline --target=bun-windows-x64 --outfile build/appwrite-cli-win-x64.exe",
|
|
51
|
-
"windows-arm64": "esbuild cli.ts --bundle --loader:.hbs=text --platform=node --target=node18 --format=esm --external:fsevents --outfile=dist/bundle-win-arm64.mjs && pkg dist/bundle-win-arm64.mjs -t node18-win-arm64 -o build/appwrite-cli-win-arm64.exe"
|
|
51
|
+
"windows-arm64": "esbuild cli.ts --bundle --loader:.hbs=text --platform=node --target=node18 --format=esm --external:fsevents --external:terminal-image --outfile=dist/bundle-win-arm64.mjs && pkg dist/bundle-win-arm64.mjs -t node18-win-arm64 -o build/appwrite-cli-win-arm64.exe"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@appwrite.io/console": "~9.1.0",
|
|
@@ -67,9 +67,13 @@
|
|
|
67
67
|
"string-width": "^7.2.0",
|
|
68
68
|
"tail": "^2.2.6",
|
|
69
69
|
"tar": "^7.4.3",
|
|
70
|
+
"terminal-image": "^3.1.1",
|
|
70
71
|
"undici": "^6.24.0",
|
|
71
72
|
"zod": "^4.3.5"
|
|
72
73
|
},
|
|
74
|
+
"overrides": {
|
|
75
|
+
"phin": "3.7.1"
|
|
76
|
+
},
|
|
73
77
|
"devDependencies": {
|
|
74
78
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
75
79
|
"@typescript-eslint/parser": "^8.0.0",
|