@kitalive/sfdx-plugin 0.7.3 → 1.0.0-rc.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.
Files changed (52) hide show
  1. package/README.md +233 -148
  2. package/lib/bulk.js +175 -203
  3. package/lib/bulk.js.map +1 -1
  4. package/lib/commands/kit/data/bulk/delete.js +47 -47
  5. package/lib/commands/kit/data/bulk/delete.js.map +1 -1
  6. package/lib/commands/kit/data/bulk/insert.js +6 -4
  7. package/lib/commands/kit/data/bulk/insert.js.map +1 -1
  8. package/lib/commands/kit/data/bulk/query.js +34 -40
  9. package/lib/commands/kit/data/bulk/query.js.map +1 -1
  10. package/lib/commands/kit/data/bulk/update.js +6 -4
  11. package/lib/commands/kit/data/bulk/update.js.map +1 -1
  12. package/lib/commands/kit/data/bulk/upsert.js +18 -16
  13. package/lib/commands/kit/data/bulk/upsert.js.map +1 -1
  14. package/lib/commands/kit/data/csv/convert.js +60 -92
  15. package/lib/commands/kit/data/csv/convert.js.map +1 -1
  16. package/lib/commands/kit/graphql/editor.js +19 -44
  17. package/lib/commands/kit/graphql/editor.js.map +1 -1
  18. package/lib/commands/kit/layout/assignments/deploy.js +24 -30
  19. package/lib/commands/kit/layout/assignments/deploy.js.map +1 -1
  20. package/lib/commands/kit/layout/assignments/retrieve.js +47 -54
  21. package/lib/commands/kit/layout/assignments/retrieve.js.map +1 -1
  22. package/lib/commands/kit/metadata/dependencies.js +182 -0
  23. package/lib/commands/kit/metadata/dependencies.js.map +1 -0
  24. package/lib/commands/kit/object/fields/describe.js +27 -56
  25. package/lib/commands/kit/object/fields/describe.js.map +1 -1
  26. package/lib/commands/kit/object/fields/setup.js +53 -65
  27. package/lib/commands/kit/object/fields/setup.js.map +1 -1
  28. package/lib/commands/kit/script/execute.js +41 -57
  29. package/lib/commands/kit/script/execute.js.map +1 -1
  30. package/lib/index.js +1 -2
  31. package/lib/index.js.map +1 -1
  32. package/lib/metadata.js +11 -23
  33. package/lib/metadata.js.map +1 -1
  34. package/lib/server.js +38 -0
  35. package/lib/server.js.map +1 -0
  36. package/lib/types.js +1 -2
  37. package/lib/utils.js +20 -53
  38. package/lib/utils.js.map +1 -1
  39. package/messages/metadata.dependencies.md +8 -0
  40. package/messages/server.md +4 -0
  41. package/oclif.lock +8259 -0
  42. package/oclif.manifest.json +1221 -437
  43. package/package.json +43 -43
  44. package/public/dist/assets/materialdesignicons-webfont-BbcIfeS3.woff +0 -0
  45. package/public/dist/assets/materialdesignicons-webfont-CveiMJFx.woff2 +0 -0
  46. package/public/dist/assets/materialdesignicons-webfont-Df9Q6YdI.ttf +0 -0
  47. package/public/dist/assets/materialdesignicons-webfont-YdEl25M1.eot +0 -0
  48. package/public/dist/assets/metadata-dependencies-B4s5b3qH.js +21 -0
  49. package/public/dist/assets/metadata-dependencies-DKqrIZD_.css +5 -0
  50. package/public/dist/favicon.ico +0 -0
  51. package/public/dist/metadata-dependencies.html +22 -0
  52. package/public/graphql/index.html +1 -1
package/package.json CHANGED
@@ -1,56 +1,37 @@
1
1
  {
2
2
  "name": "@kitalive/sfdx-plugin",
3
3
  "description": "Kitalive SFDX plugin",
4
- "version": "0.7.3",
4
+ "version": "1.0.0-rc.0",
5
5
  "author": "Akihiro Ono",
6
6
  "bugs": "https://github.com/Kitalive-Inc/sfdx-plugin/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^3",
9
- "@salesforce/core": "^6",
8
+ "@jetstreamapp/soql-parser-js": "^6.1.0",
9
+ "@oclif/core": "^4",
10
+ "@salesforce/core": "^7",
10
11
  "@salesforce/kit": "^3",
11
- "@salesforce/sf-plugins-core": "^5",
12
+ "@salesforce/sf-plugins-core": "^10",
12
13
  "dayjs": "^1.11.9",
13
14
  "express": "^4.18.2",
15
+ "express-async-errors": "^3.1.1",
14
16
  "fast-csv": "^4.3.6",
15
17
  "fs-extra": "^11.1.1",
16
18
  "iconv-lite": "^0.6.3",
17
19
  "open": "^8",
18
- "soql-parser-js": "^4.9.2",
19
20
  "tslib": "^2",
20
21
  "yargs": "^17.7.2"
21
22
  },
22
23
  "devDependencies": {
23
- "@oclif/test": "^3",
24
- "@salesforce/cli-plugins-testkit": "^5",
25
- "@salesforce/dev-config": "^4",
26
- "@salesforce/dev-scripts": "^8",
27
- "@salesforce/prettier-config": "^0.0.3",
28
- "@salesforce/ts-sinon": "^1",
29
- "@swc/core": "^1.3.77",
30
- "@types/jest": "^29.5.3",
24
+ "@oclif/plugin-command-snapshot": "^5.1.9",
25
+ "@salesforce/cli-plugins-testkit": "^5.3.10",
26
+ "@salesforce/dev-scripts": "^10",
27
+ "@types/express": "^4.17.21",
28
+ "@types/fs-extra": "^11.0.4",
31
29
  "@types/yargs": "^17.0.24",
32
- "@typescript-eslint/eslint-plugin": "^5",
33
- "@typescript-eslint/parser": "^5",
34
- "chai": "^4",
35
- "eslint": "^8.47.0",
36
- "eslint-config-prettier": "^9.0.0",
37
- "eslint-config-salesforce": "^2.0.2",
38
- "eslint-config-salesforce-license": "^0.2.0",
39
- "eslint-config-salesforce-typescript": "^3",
40
- "eslint-plugin-header": "^3.1.1",
41
- "eslint-plugin-import": "2.28.0",
42
- "eslint-plugin-jsdoc": "^46.4.6",
43
- "eslint-plugin-sf-plugin": "^1.16.2",
44
- "husky": "^8.0.3",
45
- "mocha": "^10",
46
- "nyc": "^15",
47
- "oclif": "^3",
48
- "prettier": "^2",
49
- "pretty-quick": "^3.1.3",
50
- "shx": "0.3.4",
51
- "sinon": "15",
52
- "ts-node": "^10",
53
- "typescript": "^5"
30
+ "eslint-plugin-sf-plugin": "^1.18.6",
31
+ "esmock": "^2.6.7",
32
+ "oclif": "^4.14.0",
33
+ "ts-node": "^10.9.2",
34
+ "typescript": "^5.4.5"
54
35
  },
55
36
  "engines": {
56
37
  "node": ">=18.0.0"
@@ -59,6 +40,7 @@
59
40
  "/lib",
60
41
  "/messages",
61
42
  "/oclif.manifest.json",
43
+ "/oclif.lock",
62
44
  "/public"
63
45
  ],
64
46
  "homepage": "https://github.com/Kitalive-Inc/sfdx-plugin",
@@ -72,37 +54,46 @@
72
54
  ],
73
55
  "license": "MIT",
74
56
  "main": "lib/index.js",
57
+ "exports": "./lib/index.js",
58
+ "type": "module",
75
59
  "oclif": {
76
60
  "commands": "./lib/commands",
77
61
  "bin": "sf",
78
62
  "topicSeparator": " ",
79
63
  "devPlugins": [
80
64
  "@oclif/plugin-help"
81
- ]
65
+ ],
66
+ "flexibleTaxonomy": true
82
67
  },
83
68
  "repository": "Kitalive-Inc/sfdx-plugin",
84
69
  "scripts": {
85
70
  "build": "wireit",
71
+ "build:vuetify": "cd vuetify && yarn && yarn build",
86
72
  "clean": "sf-clean",
87
73
  "clean-all": "sf-clean all",
88
74
  "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
89
75
  "compile": "wireit",
90
76
  "docs": "sf-docs",
91
77
  "format": "wireit",
78
+ "link-check": "wireit",
92
79
  "lint": "wireit",
93
- "postpack": "shx rm -f oclif.manifest.json",
80
+ "postinstall": "yarn husky install",
81
+ "postpack": "sf-clean --ignore-signing-artifacts",
94
82
  "prepack": "sf-prepack",
95
- "prepare": "husky install",
96
- "test": "nyc mocha \"test/**/*.test.ts\"",
83
+ "test": "wireit",
97
84
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
98
85
  "test:only": "wireit",
99
86
  "version": "oclif readme"
100
87
  },
88
+ "publishConfig": {
89
+ "access": "public"
90
+ },
101
91
  "wireit": {
102
92
  "build": {
103
93
  "dependencies": [
104
94
  "compile",
105
- "lint"
95
+ "lint",
96
+ "build:vuetify"
106
97
  ]
107
98
  },
108
99
  "compile": {
@@ -170,7 +161,7 @@
170
161
  "output": []
171
162
  },
172
163
  "test:command-reference": {
173
- "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
164
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
174
165
  "files": [
175
166
  "src/**/*.ts",
176
167
  "messages/**",
@@ -181,7 +172,7 @@
181
172
  ]
182
173
  },
183
174
  "test:deprecation-policy": {
184
- "command": "\"./bin/dev\" snapshot:compare",
175
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
185
176
  "files": [
186
177
  "src/**/*.ts"
187
178
  ],
@@ -191,12 +182,21 @@
191
182
  ]
192
183
  },
193
184
  "test:json-schema": {
194
- "command": "\"./bin/dev\" schema:compare",
185
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
195
186
  "files": [
196
187
  "src/**/*.ts",
197
188
  "schemas"
198
189
  ],
199
190
  "output": []
191
+ },
192
+ "link-check": {
193
+ "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
194
+ "files": [
195
+ "./*.md",
196
+ "./!(CHANGELOG).md",
197
+ "messages/**/*.md"
198
+ ],
199
+ "output": []
200
200
  }
201
201
  }
202
202
  }