@superblocksteam/cli 0.0.11

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 (42) hide show
  1. package/README.md +175 -0
  2. package/assets/custom-components/.eslintrc.js +26 -0
  3. package/assets/custom-components/package.json +26 -0
  4. package/assets/custom-components/tsconfig.json +13 -0
  5. package/bin/dev +8 -0
  6. package/bin/dev.cmd +3 -0
  7. package/bin/run +8 -0
  8. package/bin/run.cmd +3 -0
  9. package/dist/commands/components/create.d.ts +5 -0
  10. package/dist/commands/components/create.js +146 -0
  11. package/dist/commands/components/register.d.ts +6 -0
  12. package/dist/commands/components/register.js +38 -0
  13. package/dist/commands/components/upload.d.ts +6 -0
  14. package/dist/commands/components/upload.js +151 -0
  15. package/dist/commands/components/watch.d.ts +7 -0
  16. package/dist/commands/components/watch.js +101 -0
  17. package/dist/commands/init.d.ts +15 -0
  18. package/dist/commands/init.js +238 -0
  19. package/dist/commands/login.d.ts +9 -0
  20. package/dist/commands/login.js +66 -0
  21. package/dist/commands/pull.d.ts +14 -0
  22. package/dist/commands/pull.js +167 -0
  23. package/dist/common/authenticated-command.d.ts +14 -0
  24. package/dist/common/authenticated-command.js +58 -0
  25. package/dist/common/defaults/create-component-defaults.d.ts +9 -0
  26. package/dist/common/defaults/create-component-defaults.js +60 -0
  27. package/dist/common/types.d.ts +7 -0
  28. package/dist/common/types.js +2 -0
  29. package/dist/common/version-control.d.ts +21 -0
  30. package/dist/common/version-control.js +166 -0
  31. package/dist/exportedTypes.d.ts +20 -0
  32. package/dist/exportedTypes.js +2 -0
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.js +7 -0
  35. package/dist/util/identifiers.d.ts +7 -0
  36. package/dist/util/identifiers.js +37 -0
  37. package/dist/util/prompt.d.ts +7 -0
  38. package/dist/util/prompt.js +33 -0
  39. package/dist/util/types.d.ts +9 -0
  40. package/dist/util/types.js +26 -0
  41. package/oclif.manifest.json +151 -0
  42. package/package.json +97 -0
package/package.json ADDED
@@ -0,0 +1,97 @@
1
+ {
2
+ "name": "@superblocksteam/cli",
3
+ "version": "0.0.11",
4
+ "description": "Official Superblocks CLI",
5
+ "bin": {
6
+ "superblocks": "bin/run"
7
+ },
8
+ "homepage": "https://www.superblocks.com",
9
+ "license": "Superblocks Community Software License",
10
+ "main": "dist/index.js",
11
+ "files": [
12
+ "/bin",
13
+ "/dist",
14
+ "/assets",
15
+ "/oclif.manifest.json"
16
+ ],
17
+ "dependencies": {
18
+ "@oclif/core": "^2",
19
+ "@oclif/plugin-help": "^5",
20
+ "@oclif/plugin-plugins": "^2.4.4",
21
+ "@superblocksteam/sdk": "*",
22
+ "@superblocksteam/util": "*",
23
+ "@superblocksteam/vite-custom-component-reload-plugin": "*",
24
+ "@vitejs/plugin-react": "^4.0.0",
25
+ "colorette": "^2.0.19",
26
+ "enquirer": "^2.3.6",
27
+ "fs-extra": "^11.1.1",
28
+ "listr2": "6.6.0",
29
+ "lodash": "^4.17.21",
30
+ "serve-handler": "^6.1.5",
31
+ "slugify": "^1.6.6",
32
+ "vite": "^4.3.9",
33
+ "vite-plugin-externals": "^0.6.2",
34
+ "vite-plugin-inspect": "^0.7.28",
35
+ "yaml": "2.3.1"
36
+ },
37
+ "devDependencies": {
38
+ "@oclif/test": "^2.3.14",
39
+ "@types/babel__core": "^7.20.0",
40
+ "@types/chai": "^4",
41
+ "@types/fs-extra": "^11.0.1",
42
+ "@types/mocha": "^9.0.0",
43
+ "@types/node": "^16.18.38",
44
+ "@types/serve-handler": "^6.1.1",
45
+ "@typescript-eslint/eslint-plugin": "^5.60.1",
46
+ "@typescript-eslint/parser": "^5.60.1",
47
+ "chai": "^4",
48
+ "eslint": "^8.45.0",
49
+ "eslint-config-prettier": "8.8.0",
50
+ "eslint-plugin-import": "2.27.5",
51
+ "eslint-plugin-prettier": "4.2.1",
52
+ "eslint-plugin-unicorn": "^47.0.0",
53
+ "mocha": "^9",
54
+ "oclif": "^3",
55
+ "prettier": "^2.8.8",
56
+ "shx": "^0.3.3",
57
+ "ts-node": "^10.9.1",
58
+ "tslib": "^2.5.0",
59
+ "typescript": "^5.1.3"
60
+ },
61
+ "scripts": {
62
+ "build": "tsc --build",
63
+ "clean": "npm run clean:build && rm -rf node_modules",
64
+ "clean:build": "tsc --build --clean && rm -rf dist tsconfig.tsbuildinfo",
65
+ "lint": "eslint . --ext .ts --config .eslintrc.json",
66
+ "lint:fix": "eslint . --ext .ts --config .eslintrc.json --fix",
67
+ "postpack": "shx rm -f oclif.manifest.json",
68
+ "posttest": "npm run lint",
69
+ "prepack": "npm run build && oclif manifest && oclif readme",
70
+ "test": "mocha --forbid-only \"test/**/*.test.ts\"",
71
+ "update-readme": "oclif readme"
72
+ },
73
+ "engines": {
74
+ "node": ">=14.0.0"
75
+ },
76
+ "keywords": [
77
+ "oclif"
78
+ ],
79
+ "types": "dist/index.d.ts",
80
+ "directories": {
81
+ "test": "test"
82
+ },
83
+ "oclif": {
84
+ "bin": "superblocks",
85
+ "dirname": "superblocks",
86
+ "commands": "./dist/commands",
87
+ "plugins": [
88
+ "@oclif/plugin-help"
89
+ ],
90
+ "topicSeparator": " ",
91
+ "topics": {
92
+ "components": {
93
+ "description": "Manage Superblocks components"
94
+ }
95
+ }
96
+ }
97
+ }