@kitalive/sfdx-plugin 0.8.0 → 1.0.0-rc.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.
Files changed (41) hide show
  1. package/README.md +218 -154
  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 +56 -92
  15. package/lib/commands/kit/data/csv/convert.js.map +1 -1
  16. package/lib/commands/kit/graphql/editor.js +11 -13
  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 +23 -51
  23. package/lib/commands/kit/metadata/dependencies.js.map +1 -1
  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 +21 -28
  35. package/lib/server.js.map +1 -1
  36. package/lib/types.js +1 -2
  37. package/lib/utils.js +20 -53
  38. package/lib/utils.js.map +1 -1
  39. package/oclif.lock +8259 -0
  40. package/oclif.manifest.json +1148 -456
  41. package/package.json +38 -42
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@kitalive/sfdx-plugin",
3
3
  "description": "Kitalive SFDX plugin",
4
- "version": "0.8.0",
4
+ "version": "1.0.0-rc.1",
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",
14
15
  "express-async-errors": "^3.1.1",
@@ -16,42 +17,21 @@
16
17
  "fs-extra": "^11.1.1",
17
18
  "iconv-lite": "^0.6.3",
18
19
  "open": "^8",
19
- "soql-parser-js": "^4.9.2",
20
20
  "tslib": "^2",
21
21
  "yargs": "^17.7.2"
22
22
  },
23
23
  "devDependencies": {
24
- "@oclif/test": "^3",
25
- "@salesforce/cli-plugins-testkit": "^5",
26
- "@salesforce/dev-config": "^4",
27
- "@salesforce/dev-scripts": "^8",
28
- "@salesforce/prettier-config": "^0.0.3",
29
- "@salesforce/ts-sinon": "^1",
30
- "@swc/core": "^1.3.77",
31
- "@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",
32
29
  "@types/yargs": "^17.0.24",
33
- "@typescript-eslint/eslint-plugin": "^5",
34
- "@typescript-eslint/parser": "^5",
35
- "chai": "^4",
36
- "eslint": "^8.47.0",
37
- "eslint-config-prettier": "^9.0.0",
38
- "eslint-config-salesforce": "^2.0.2",
39
- "eslint-config-salesforce-license": "^0.2.0",
40
- "eslint-config-salesforce-typescript": "^3",
41
- "eslint-plugin-header": "^3.1.1",
42
- "eslint-plugin-import": "2.28.0",
43
- "eslint-plugin-jsdoc": "^46.4.6",
44
- "eslint-plugin-sf-plugin": "^1.16.2",
45
- "husky": "^8.0.3",
46
- "mocha": "^10",
47
- "nyc": "^15",
48
- "oclif": "^3",
49
- "prettier": "^2",
50
- "pretty-quick": "^3.1.3",
51
- "shx": "0.3.4",
52
- "sinon": "15",
53
- "ts-node": "^10",
54
- "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"
55
35
  },
56
36
  "engines": {
57
37
  "node": ">=18.0.0"
@@ -60,6 +40,7 @@
60
40
  "/lib",
61
41
  "/messages",
62
42
  "/oclif.manifest.json",
43
+ "/oclif.lock",
63
44
  "/public"
64
45
  ],
65
46
  "homepage": "https://github.com/Kitalive-Inc/sfdx-plugin",
@@ -73,13 +54,16 @@
73
54
  ],
74
55
  "license": "MIT",
75
56
  "main": "lib/index.js",
57
+ "exports": "./lib/index.js",
58
+ "type": "module",
76
59
  "oclif": {
77
60
  "commands": "./lib/commands",
78
61
  "bin": "sf",
79
62
  "topicSeparator": " ",
80
63
  "devPlugins": [
81
64
  "@oclif/plugin-help"
82
- ]
65
+ ],
66
+ "flexibleTaxonomy": true
83
67
  },
84
68
  "repository": "Kitalive-Inc/sfdx-plugin",
85
69
  "scripts": {
@@ -91,15 +75,18 @@
91
75
  "compile": "wireit",
92
76
  "docs": "sf-docs",
93
77
  "format": "wireit",
78
+ "link-check": "wireit",
94
79
  "lint": "wireit",
95
- "postpack": "shx rm -f oclif.manifest.json",
80
+ "postpack": "sf-clean --ignore-signing-artifacts",
96
81
  "prepack": "sf-prepack",
97
- "prepare": "husky install",
98
- "test": "nyc mocha \"test/**/*.test.ts\"",
82
+ "test": "wireit",
99
83
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
100
84
  "test:only": "wireit",
101
85
  "version": "oclif readme"
102
86
  },
87
+ "publishConfig": {
88
+ "access": "public"
89
+ },
103
90
  "wireit": {
104
91
  "build": {
105
92
  "dependencies": [
@@ -173,7 +160,7 @@
173
160
  "output": []
174
161
  },
175
162
  "test:command-reference": {
176
- "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
163
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
177
164
  "files": [
178
165
  "src/**/*.ts",
179
166
  "messages/**",
@@ -184,7 +171,7 @@
184
171
  ]
185
172
  },
186
173
  "test:deprecation-policy": {
187
- "command": "\"./bin/dev\" snapshot:compare",
174
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
188
175
  "files": [
189
176
  "src/**/*.ts"
190
177
  ],
@@ -194,12 +181,21 @@
194
181
  ]
195
182
  },
196
183
  "test:json-schema": {
197
- "command": "\"./bin/dev\" schema:compare",
184
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
198
185
  "files": [
199
186
  "src/**/*.ts",
200
187
  "schemas"
201
188
  ],
202
189
  "output": []
190
+ },
191
+ "link-check": {
192
+ "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",
193
+ "files": [
194
+ "./*.md",
195
+ "./!(CHANGELOG).md",
196
+ "messages/**/*.md"
197
+ ],
198
+ "output": []
203
199
  }
204
200
  }
205
201
  }