appwrite-cli 13.6.1 → 14.0.1
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/.github/workflows/ci.yml +66 -0
- package/CHANGELOG.md +16 -0
- package/README.md +2 -2
- package/dist/bundle-win-arm64.mjs +7092 -10639
- package/dist/cli.cjs +7151 -10698
- package/dist/index.cjs +10662 -14265
- package/dist/index.js +10464 -14067
- package/dist/lib/commands/generate.d.ts +2 -0
- package/dist/lib/commands/generate.d.ts.map +1 -1
- package/dist/lib/commands/generators/base.d.ts +20 -2
- package/dist/lib/commands/generators/base.d.ts.map +1 -1
- package/dist/lib/commands/generators/index.d.ts +1 -1
- package/dist/lib/commands/generators/index.d.ts.map +1 -1
- package/dist/lib/commands/generators/typescript/databases.d.ts +2 -2
- package/dist/lib/commands/generators/typescript/databases.d.ts.map +1 -1
- package/dist/lib/commands/update.d.ts.map +1 -1
- package/dist/lib/commands/utils/attributes.d.ts.map +1 -1
- package/dist/lib/constants.d.ts +1 -1
- package/docs/examples/projects/update-status.md +5 -0
- package/docs/examples/sites/create-deployment.md +1 -2
- package/install.ps1 +2 -2
- package/install.sh +1 -1
- package/lib/commands/generate.ts +15 -2
- package/lib/commands/generators/base.ts +27 -2
- package/lib/commands/generators/index.ts +1 -0
- package/lib/commands/generators/typescript/databases.ts +22 -12
- package/lib/commands/run.ts +3 -3
- package/lib/commands/services/account.ts +1 -1
- package/lib/commands/services/databases.ts +20 -19
- package/lib/commands/services/health.ts +13 -0
- package/lib/commands/services/messaging.ts +1 -1
- package/lib/commands/services/projects.ts +25 -0
- package/lib/commands/services/sites.ts +8 -3
- package/lib/commands/services/tables-db.ts +3 -2
- package/lib/commands/services/teams.ts +2 -2
- package/lib/commands/update.ts +2 -1
- package/lib/commands/utils/attributes.ts +4 -0
- package/lib/commands/utils/deployment.ts +3 -3
- package/lib/constants.ts +1 -1
- package/package.json +4 -4
- package/scoop/appwrite.config.json +3 -3
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
concurrency:
|
|
4
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
5
|
+
cancel-in-progress: true
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
pull_request:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- master
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
build-validation:
|
|
16
|
+
name: Build Validation
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Checkout repository
|
|
21
|
+
uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Setup Node.js
|
|
24
|
+
uses: actions/setup-node@v4
|
|
25
|
+
with:
|
|
26
|
+
node-version: "20"
|
|
27
|
+
|
|
28
|
+
- name: Setup Bun
|
|
29
|
+
uses: oven-sh/setup-bun@v2
|
|
30
|
+
with:
|
|
31
|
+
bun-version: "latest"
|
|
32
|
+
|
|
33
|
+
- name: Install Node dependencies
|
|
34
|
+
run: npm install
|
|
35
|
+
|
|
36
|
+
- name: Build project
|
|
37
|
+
run: npm run build
|
|
38
|
+
|
|
39
|
+
- name: Verify CLI runs with Node
|
|
40
|
+
run: node dist/cli.cjs -v
|
|
41
|
+
|
|
42
|
+
- name: Verify npm package can be built
|
|
43
|
+
run: npm pack
|
|
44
|
+
|
|
45
|
+
- name: Install dependencies
|
|
46
|
+
run: bun install
|
|
47
|
+
|
|
48
|
+
- name: Build all platform binaries
|
|
49
|
+
run: |
|
|
50
|
+
rm -rf build
|
|
51
|
+
mkdir -p build
|
|
52
|
+
bun run linux-x64
|
|
53
|
+
bun run linux-arm64
|
|
54
|
+
bun run windows-x64
|
|
55
|
+
bun run windows-arm64
|
|
56
|
+
bun run mac-x64
|
|
57
|
+
bun run mac-arm64
|
|
58
|
+
|
|
59
|
+
- name: Verify generated binaries
|
|
60
|
+
run: |
|
|
61
|
+
test -s build/appwrite-cli-linux-x64
|
|
62
|
+
test -s build/appwrite-cli-linux-arm64
|
|
63
|
+
test -s build/appwrite-cli-win-x64.exe
|
|
64
|
+
test -s build/appwrite-cli-win-arm64.exe
|
|
65
|
+
test -s build/appwrite-cli-darwin-x64
|
|
66
|
+
test -s build/appwrite-cli-darwin-arm64
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 14.0.1
|
|
4
|
+
|
|
5
|
+
* Fixed `push tables` not passing `encrypt` parameter for varchar, text, mediumtext, and longtext string types
|
|
6
|
+
* Fixed NVM installation path not being detected by `update` command
|
|
7
|
+
* Updated `tar` dependency to v7.4.3
|
|
8
|
+
|
|
9
|
+
## 14.0.0
|
|
10
|
+
|
|
11
|
+
* Breaking: Changed createDeployment signature; activate option now optional with default true; parameter order updated
|
|
12
|
+
* Added TTL option for cached query results in listDocuments and listRows
|
|
13
|
+
* Added get-console-pausing health status command
|
|
14
|
+
* Added project management commands: update-console-access and update-status
|
|
15
|
+
* Updated site deployment docs to reflect new activate option
|
|
16
|
+
* Updated role length limit for teams to 81 characters
|
|
17
|
+
* Added appwriteImportSource and importExtension options to code generator
|
|
18
|
+
|
|
3
19
|
## 13.6.1
|
|
4
20
|
|
|
5
21
|
* Fix ESLind warnings in generated files with `appwrite generate` command.
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
|
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
31
|
$ appwrite -v
|
|
32
|
-
|
|
32
|
+
14.0.1
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### Install using prebuilt binaries
|
|
@@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
|
|
|
60
60
|
Once the installation completes, you can verify your install using
|
|
61
61
|
```
|
|
62
62
|
$ appwrite -v
|
|
63
|
-
|
|
63
|
+
14.0.1
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
## Getting Started
|