@strapi/cloud-cli 0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39 → 0.0.0-next.fdac61dd05ca665168f51f655f1d165b55ec4231

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.
Files changed (51) hide show
  1. package/dist/bin.js +53 -171
  2. package/dist/bin.js.map +1 -1
  3. package/dist/bin.mjs +57 -0
  4. package/dist/bin.mjs.map +1 -0
  5. package/dist/chunks/index-DCxxMB6X.mjs +1869 -0
  6. package/dist/chunks/index-DCxxMB6X.mjs.map +1 -0
  7. package/dist/chunks/index-n1CokuqJ.js +1896 -0
  8. package/dist/chunks/index-n1CokuqJ.js.map +1 -0
  9. package/dist/index.js +33 -1581
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +25 -1524
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/src/cloud/command.d.ts +3 -0
  14. package/dist/src/cloud/command.d.ts.map +1 -0
  15. package/dist/src/create-project/command.d.ts.map +1 -1
  16. package/dist/src/deploy-project/action.d.ts +5 -1
  17. package/dist/src/deploy-project/action.d.ts.map +1 -1
  18. package/dist/src/deploy-project/command.d.ts.map +1 -1
  19. package/dist/src/environment/command.d.ts +3 -0
  20. package/dist/src/environment/command.d.ts.map +1 -0
  21. package/dist/src/environment/link/action.d.ts +4 -0
  22. package/dist/src/environment/link/action.d.ts.map +1 -0
  23. package/dist/src/environment/link/command.d.ts +4 -0
  24. package/dist/src/environment/link/command.d.ts.map +1 -0
  25. package/dist/src/environment/link/index.d.ts +7 -0
  26. package/dist/src/environment/link/index.d.ts.map +1 -0
  27. package/dist/src/environment/list/action.d.ts +4 -0
  28. package/dist/src/environment/list/action.d.ts.map +1 -0
  29. package/dist/src/environment/list/command.d.ts +4 -0
  30. package/dist/src/environment/list/command.d.ts.map +1 -0
  31. package/dist/src/environment/list/index.d.ts +7 -0
  32. package/dist/src/environment/list/index.d.ts.map +1 -0
  33. package/dist/src/index.d.ts +2 -0
  34. package/dist/src/index.d.ts.map +1 -1
  35. package/dist/src/link/action.d.ts.map +1 -1
  36. package/dist/src/login/command.d.ts.map +1 -1
  37. package/dist/src/logout/command.d.ts.map +1 -1
  38. package/dist/src/services/cli-api.d.ts +30 -3
  39. package/dist/src/services/cli-api.d.ts.map +1 -1
  40. package/dist/src/services/strapi-info-save.d.ts +15 -2
  41. package/dist/src/services/strapi-info-save.d.ts.map +1 -1
  42. package/dist/src/services/token.d.ts.map +1 -1
  43. package/dist/src/types.d.ts +7 -1
  44. package/dist/src/types.d.ts.map +1 -1
  45. package/dist/src/utils/get-local-config.d.ts +6 -0
  46. package/dist/src/utils/get-local-config.d.ts.map +1 -0
  47. package/dist/src/utils/helpers.d.ts.map +1 -1
  48. package/dist/src/utils/pkg.d.ts.map +1 -1
  49. package/dist/src/utils/tests/compress-files.test.d.ts +2 -0
  50. package/dist/src/utils/tests/compress-files.test.d.ts.map +1 -0
  51. package/package.json +13 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/cloud-cli",
3
- "version": "0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39",
3
+ "version": "0.0.0-next.fdac61dd05ca665168f51f655f1d165b55ec4231",
4
4
  "description": "Commands to interact with the Strapi Cloud",
5
5
  "keywords": [
6
6
  "strapi",
@@ -38,21 +38,24 @@
38
38
  "./bin"
39
39
  ],
40
40
  "scripts": {
41
- "build": "pack-up build",
41
+ "build": "run -T npm-run-all clean --parallel build:code build:types",
42
+ "build:code": "run -T rollup -c",
43
+ "build:types": "run -T tsc -p tsconfig.build.json --emitDeclarationOnly",
42
44
  "clean": "run -T rimraf ./dist",
43
45
  "lint": "run -T eslint .",
44
46
  "test:unit": "run -T jest",
45
- "watch": "pack-up watch"
47
+ "watch": "run -T rollup -c -w"
46
48
  },
47
49
  "dependencies": {
48
- "@strapi/utils": "0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39",
50
+ "@strapi/utils": "0.0.0-next.fdac61dd05ca665168f51f655f1d165b55ec4231",
49
51
  "axios": "1.7.4",
52
+ "boxen": "5.1.2",
50
53
  "chalk": "4.1.2",
51
54
  "cli-progress": "3.12.0",
52
55
  "commander": "8.3.0",
53
56
  "eventsource": "2.0.2",
54
57
  "fast-safe-stringify": "2.1.1",
55
- "fs-extra": "10.0.0",
58
+ "fs-extra": "11.2.0",
56
59
  "inquirer": "8.2.5",
57
60
  "jsonwebtoken": "9.0.0",
58
61
  "jwks-rsa": "3.1.0",
@@ -61,21 +64,19 @@
61
64
  "open": "8.4.0",
62
65
  "ora": "5.4.1",
63
66
  "pkg-up": "3.1.0",
64
- "tar": "6.1.13",
67
+ "tar": "6.2.1",
65
68
  "xdg-app-paths": "8.3.0",
66
69
  "yup": "0.32.9"
67
70
  },
68
71
  "devDependencies": {
69
- "@strapi/pack-up": "4.23.0",
70
72
  "@types/cli-progress": "3.11.5",
71
73
  "@types/eventsource": "1.1.15",
72
74
  "@types/lodash": "^4.14.191",
73
- "eslint-config-custom": "0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39",
74
- "tsconfig": "0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39"
75
+ "eslint-config-custom": "0.0.0-next.fdac61dd05ca665168f51f655f1d165b55ec4231",
76
+ "tsconfig": "0.0.0-next.fdac61dd05ca665168f51f655f1d165b55ec4231"
75
77
  },
76
78
  "engines": {
77
- "node": ">=18.0.0 <=20.x.x",
79
+ "node": ">=18.0.0 <=22.x.x",
78
80
  "npm": ">=6.0.0"
79
- },
80
- "gitHead": "fd9757603c653ca239c45d6e28ab536d2dae0b39"
81
+ }
81
82
  }