@strapi/cloud-cli 0.0.0-experimental.0588b9a4effba287cf26bd50e23baa14cdaf1616

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 (102) hide show
  1. package/LICENSE +37 -0
  2. package/README.md +3 -0
  3. package/bin/index.js +7 -0
  4. package/dist/bin.js +178 -0
  5. package/dist/bin.js.map +1 -0
  6. package/dist/index.js +1926 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/index.mjs +1868 -0
  9. package/dist/index.mjs.map +1 -0
  10. package/dist/src/bin.d.ts +4 -0
  11. package/dist/src/bin.d.ts.map +1 -0
  12. package/dist/src/cloud/command.d.ts +3 -0
  13. package/dist/src/cloud/command.d.ts.map +1 -0
  14. package/dist/src/config/api.d.ts +5 -0
  15. package/dist/src/config/api.d.ts.map +1 -0
  16. package/dist/src/config/local.d.ts +9 -0
  17. package/dist/src/config/local.d.ts.map +1 -0
  18. package/dist/src/create-project/action.d.ts +4 -0
  19. package/dist/src/create-project/action.d.ts.map +1 -0
  20. package/dist/src/create-project/command.d.ts +7 -0
  21. package/dist/src/create-project/command.d.ts.map +1 -0
  22. package/dist/src/create-project/index.d.ts +7 -0
  23. package/dist/src/create-project/index.d.ts.map +1 -0
  24. package/dist/src/create-project/utils/get-project-name-from-pkg.d.ts +3 -0
  25. package/dist/src/create-project/utils/get-project-name-from-pkg.d.ts.map +1 -0
  26. package/dist/src/create-project/utils/project-questions.utils.d.ts +20 -0
  27. package/dist/src/create-project/utils/project-questions.utils.d.ts.map +1 -0
  28. package/dist/src/deploy-project/action.d.ts +8 -0
  29. package/dist/src/deploy-project/action.d.ts.map +1 -0
  30. package/dist/src/deploy-project/command.d.ts +7 -0
  31. package/dist/src/deploy-project/command.d.ts.map +1 -0
  32. package/dist/src/deploy-project/index.d.ts +7 -0
  33. package/dist/src/deploy-project/index.d.ts.map +1 -0
  34. package/dist/src/environment/command.d.ts +3 -0
  35. package/dist/src/environment/command.d.ts.map +1 -0
  36. package/dist/src/environment/link/action.d.ts +4 -0
  37. package/dist/src/environment/link/action.d.ts.map +1 -0
  38. package/dist/src/environment/link/command.d.ts +4 -0
  39. package/dist/src/environment/link/command.d.ts.map +1 -0
  40. package/dist/src/environment/link/index.d.ts +7 -0
  41. package/dist/src/environment/link/index.d.ts.map +1 -0
  42. package/dist/src/environment/list/action.d.ts +4 -0
  43. package/dist/src/environment/list/action.d.ts.map +1 -0
  44. package/dist/src/environment/list/command.d.ts +4 -0
  45. package/dist/src/environment/list/command.d.ts.map +1 -0
  46. package/dist/src/environment/list/index.d.ts +7 -0
  47. package/dist/src/environment/list/index.d.ts.map +1 -0
  48. package/dist/src/index.d.ts +25 -0
  49. package/dist/src/index.d.ts.map +1 -0
  50. package/dist/src/link/action.d.ts +4 -0
  51. package/dist/src/link/action.d.ts.map +1 -0
  52. package/dist/src/link/command.d.ts +7 -0
  53. package/dist/src/link/command.d.ts.map +1 -0
  54. package/dist/src/link/index.d.ts +7 -0
  55. package/dist/src/link/index.d.ts.map +1 -0
  56. package/dist/src/list-projects/action.d.ts +4 -0
  57. package/dist/src/list-projects/action.d.ts.map +1 -0
  58. package/dist/src/list-projects/command.d.ts +7 -0
  59. package/dist/src/list-projects/command.d.ts.map +1 -0
  60. package/dist/src/list-projects/index.d.ts +7 -0
  61. package/dist/src/list-projects/index.d.ts.map +1 -0
  62. package/dist/src/login/action.d.ts +4 -0
  63. package/dist/src/login/action.d.ts.map +1 -0
  64. package/dist/src/login/command.d.ts +7 -0
  65. package/dist/src/login/command.d.ts.map +1 -0
  66. package/dist/src/login/index.d.ts +7 -0
  67. package/dist/src/login/index.d.ts.map +1 -0
  68. package/dist/src/logout/action.d.ts +4 -0
  69. package/dist/src/logout/action.d.ts.map +1 -0
  70. package/dist/src/logout/command.d.ts +7 -0
  71. package/dist/src/logout/command.d.ts.map +1 -0
  72. package/dist/src/logout/index.d.ts +11 -0
  73. package/dist/src/logout/index.d.ts.map +1 -0
  74. package/dist/src/services/build-logs.d.ts +4 -0
  75. package/dist/src/services/build-logs.d.ts.map +1 -0
  76. package/dist/src/services/cli-api.d.ts +96 -0
  77. package/dist/src/services/cli-api.d.ts.map +1 -0
  78. package/dist/src/services/index.d.ts +5 -0
  79. package/dist/src/services/index.d.ts.map +1 -0
  80. package/dist/src/services/logger.d.ts +22 -0
  81. package/dist/src/services/logger.d.ts.map +1 -0
  82. package/dist/src/services/notification.d.ts +3 -0
  83. package/dist/src/services/notification.d.ts.map +1 -0
  84. package/dist/src/services/strapi-info-save.d.ts +25 -0
  85. package/dist/src/services/strapi-info-save.d.ts.map +1 -0
  86. package/dist/src/services/token.d.ts +12 -0
  87. package/dist/src/services/token.d.ts.map +1 -0
  88. package/dist/src/types.d.ts +51 -0
  89. package/dist/src/types.d.ts.map +1 -0
  90. package/dist/src/utils/analytics.d.ts +4 -0
  91. package/dist/src/utils/analytics.d.ts.map +1 -0
  92. package/dist/src/utils/compress-files.d.ts +4 -0
  93. package/dist/src/utils/compress-files.d.ts.map +1 -0
  94. package/dist/src/utils/get-local-config.d.ts +6 -0
  95. package/dist/src/utils/get-local-config.d.ts.map +1 -0
  96. package/dist/src/utils/helpers.d.ts +3 -0
  97. package/dist/src/utils/helpers.d.ts.map +1 -0
  98. package/dist/src/utils/pkg.d.ts +121 -0
  99. package/dist/src/utils/pkg.d.ts.map +1 -0
  100. package/dist/src/utils/tests/compress-files.test.d.ts +2 -0
  101. package/dist/src/utils/tests/compress-files.test.d.ts.map +1 -0
  102. package/package.json +82 -0
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@strapi/cloud-cli",
3
+ "version": "0.0.0-experimental.0588b9a4effba287cf26bd50e23baa14cdaf1616",
4
+ "description": "Commands to interact with the Strapi Cloud",
5
+ "keywords": [
6
+ "strapi",
7
+ "cloud",
8
+ "cli"
9
+ ],
10
+ "homepage": "https://strapi.io",
11
+ "bugs": {
12
+ "url": "https://github.com/strapi/strapi/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git://github.com/strapi/strapi.git"
17
+ },
18
+ "license": "SEE LICENSE IN LICENSE",
19
+ "author": {
20
+ "name": "Strapi Solutions SAS",
21
+ "email": "hi@strapi.io",
22
+ "url": "https://strapi.io"
23
+ },
24
+ "maintainers": [
25
+ {
26
+ "name": "Strapi Solutions SAS",
27
+ "email": "hi@strapi.io",
28
+ "url": "https://strapi.io"
29
+ }
30
+ ],
31
+ "main": "./dist/index.js",
32
+ "module": "./dist/index.mjs",
33
+ "source": "./src/index.ts",
34
+ "types": "./dist/src/index.d.ts",
35
+ "bin": "./bin/index.js",
36
+ "files": [
37
+ "./dist",
38
+ "./bin"
39
+ ],
40
+ "scripts": {
41
+ "build": "pack-up build",
42
+ "clean": "run -T rimraf ./dist",
43
+ "lint": "run -T eslint .",
44
+ "test:unit": "run -T jest",
45
+ "watch": "pack-up watch"
46
+ },
47
+ "dependencies": {
48
+ "@strapi/utils": "0.0.0-experimental.0588b9a4effba287cf26bd50e23baa14cdaf1616",
49
+ "axios": "1.7.4",
50
+ "boxen": "5.1.2",
51
+ "chalk": "4.1.2",
52
+ "cli-progress": "3.12.0",
53
+ "commander": "8.3.0",
54
+ "eventsource": "2.0.2",
55
+ "fast-safe-stringify": "2.1.1",
56
+ "fs-extra": "11.2.0",
57
+ "inquirer": "8.2.5",
58
+ "jsonwebtoken": "9.0.0",
59
+ "jwks-rsa": "3.1.0",
60
+ "lodash": "4.17.21",
61
+ "minimatch": "9.0.3",
62
+ "open": "8.4.0",
63
+ "ora": "5.4.1",
64
+ "pkg-up": "3.1.0",
65
+ "tar": "6.2.1",
66
+ "xdg-app-paths": "8.3.0",
67
+ "yup": "0.32.9"
68
+ },
69
+ "devDependencies": {
70
+ "@strapi/pack-up": "4.23.0",
71
+ "@types/cli-progress": "3.11.5",
72
+ "@types/eventsource": "1.1.15",
73
+ "@types/lodash": "^4.14.191",
74
+ "eslint-config-custom": "0.0.0-experimental.0588b9a4effba287cf26bd50e23baa14cdaf1616",
75
+ "tsconfig": "0.0.0-experimental.0588b9a4effba287cf26bd50e23baa14cdaf1616"
76
+ },
77
+ "engines": {
78
+ "node": ">=18.0.0 <=22.x.x",
79
+ "npm": ">=6.0.0"
80
+ },
81
+ "gitHead": "0588b9a4effba287cf26bd50e23baa14cdaf1616"
82
+ }