-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathpackage.json
More file actions
243 lines (243 loc) · 8.07 KB
/
package.json
File metadata and controls
243 lines (243 loc) · 8.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
{
"name": "sfdmu",
"description": "The SFDX Data Move Utility (SFDMU) is the most modern and powerful salesforce data migration tool. It will help you to populate your org with data in minutes.",
"version": "5.6.3",
"author": "Haim Knokh",
"license": "BSD-3-Clause",
"bugs": "https://github.com/forcedotcom/SFDX-Data-Move-Utility/issues",
"homepage": "https://help.sfdmu.com",
"repository": "forcedotcom/SFDX-Data-Move-Utility",
"developedBy": "Haim Knokh",
"dependencies": {
"@oclif/core": "^4",
"@salesforce/core": "^8",
"@salesforce/sf-plugins-core": "^12",
"alasql": "^4.17.0",
"casual": "^1.6.2",
"class-transformer": "^0.5.1",
"csv-parse": "^6.1.0",
"csv-writer": "^1.6.0",
"es6-shim": "^0.35.8",
"glob": "^13.0.3",
"promise-parallel-throttle": "^3.5.0",
"reflect-metadata": "^0.2.2",
"soql-parser-js": "npm:@jetstreamapp/soql-parser-js@^6.3.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@types/node": "^22.9.0",
"@jsforce/jsforce-node": "^3.10.13",
"@oclif/plugin-command-snapshot": "^5.1.9",
"@salesforce/cli-plugins-testkit": "^5.3.10",
"@salesforce/dev-scripts": "^11.0.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-salesforce": "^2.2.0",
"eslint-config-salesforce-license": "^1.0.2",
"eslint-config-salesforce-typescript": "^4.0.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^46.10.1",
"eslint-plugin-sf-plugin": "^1.18.6",
"eslint-plugin-unicorn": "^50.0.1",
"oclif": "^4.14.0",
"sfdmu-addon-sdk": "file:./custom-addon-sdk",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"overrides": {
"glob": "^13.0.3",
"shelljs": "^0.10.0"
},
"resolutions": {
"**/glob": "^13.0.3"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"/lib",
"/messages",
"/oclif.manifest.json",
"/oclif.lock"
],
"keywords": [
"force",
"salesforce",
"salesforcedx",
"sf",
"sf-plugin",
"sfdx",
"sfdx-plugin"
],
"oclif": {
"commands": "./lib/src/commands",
"bin": "sf",
"topicSeparator": " ",
"devPlugins": [
"@oclif/plugin-help"
],
"topics": {
"sfdmu": {
"description": "Commands for SFDMU data migration."
}
},
"flexibleTaxonomy": true
},
"scripts": {
"build": "wireit",
"clean": "sf-clean",
"clean-all": "sf-clean all",
"compile": "wireit",
"docs": "sf-docs",
"format": "wireit",
"link-check": "wireit",
"lint": "wireit",
"addon": "node ./scripts/addon.js",
"addon:compile": "wireit",
"postinstall": "node -e \"const fs=require('fs');const cp=require('child_process');const omit=String(process.env.npm_config_omit||'').split(',').map(s=>s.trim()).filter(Boolean);const devOmitted=omit.includes('dev')||process.env.npm_config_production==='true';if(devOmitted||process.env.SFDMU_SKIP_HUSKY==='1'||!fs.existsSync('.git')){process.exit(0);}try{cp.execSync('husky install',{stdio:'inherit',shell:true});}catch{process.exit(0);}\"",
"postpack": "sf-clean --ignore-signing-artifacts",
"prepack": "sf-prepack",
"test": "wireit",
"test:nuts": "mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
"test:only": "wireit",
"version": "oclif readme"
},
"publishConfig": {
"access": "public"
},
"wireit": {
"build": {
"dependencies": [
"compile",
"lint"
]
},
"compile": {
"command": "tsc -p . --pretty --incremental",
"dependencies": [
"addon:compile"
],
"files": [
"src/**/*.ts",
"**/tsconfig.json",
"messages/**",
"custom-addon-sdk/**"
],
"output": [
"lib/**",
"*.tsbuildinfo",
"custom-addon-sdk/custom-modules/**/dist/**"
],
"clean": "if-file-deleted"
},
"format": {
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"schemas/**/*.json",
"command-snapshot.json",
".prettier*"
],
"output": []
},
"lint": {
"command": "eslint src test custom-addon-sdk --no-error-on-unmatched-pattern --color",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"custom-addon-sdk/**/*.ts",
"**/.eslint*",
"**/tsconfig.json"
],
"output": []
},
"addon:compile": {
"command": "node ./scripts/addon-compile.js",
"files": [
"custom-addon-sdk/**",
"scripts/addon-compile.js",
"**/tsconfig.json",
"custom-addon-sdk/tsconfig.build.json"
],
"output": [
"custom-addon-sdk/custom-modules/**/dist/**",
"custom-addon-sdk/dist/**"
],
"clean": "if-file-deleted"
},
"test:compile": {
"command": "node -e \"const fs=require('fs'); const path=require('path'); const root=path.join(process.cwd(),'test'); const hasTs=(dir)=>{ if (!fs.existsSync(dir)) return false; for (const entry of fs.readdirSync(dir,{ withFileTypes:true })) { const full=path.join(dir,entry.name); if (entry.isDirectory()) { if (hasTs(full)) return true; } else if (entry.isFile() && entry.name.endsWith('.ts')) { return true; } } return false; }; if (!hasTs(root)) { console.log('No test TypeScript files found. Skipping test:compile.'); process.exit(0); } const { spawnSync }=require('node:child_process'); const result=spawnSync('tsc',['-p','./test','--pretty'],{ stdio:'inherit', shell: true }); process.exit(result.status ?? 1);\"",
"files": [
"test/**/*.ts",
"**/tsconfig.json"
],
"output": []
},
"test": {
"dependencies": [
"test:compile",
"test:only",
"lint"
]
},
"test:only": {
"command": "node -e \"const fs=require('fs'); const path=require('path'); const root=path.join(process.cwd(),'test'); const hasTests=(dir)=>{ if (!fs.existsSync(dir)) return false; for (const entry of fs.readdirSync(dir,{ withFileTypes:true })) { const full=path.join(dir,entry.name); if (entry.isDirectory()) { if (hasTests(full)) return true; } else if (entry.isFile() && entry.name.endsWith('.test.ts')) { return true; } } return false; }; if (!hasTests(root)) { console.log('No test files found. Skipping test:only.'); process.exit(0); } const { spawnSync }=require('node:child_process'); const result=spawnSync('mocha',['test/**/*.test.ts'],{ stdio:'inherit', shell: true }); process.exit(result.status ?? 1);\"",
"env": {
"FORCE_COLOR": "2"
},
"files": [
"test/**/*.ts",
"src/**/*.ts",
"**/tsconfig.json",
".mocha*",
"!*.nut.ts",
".nycrc"
],
"output": []
},
"test:command-reference": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
"files": [
"src/**/*.ts",
"messages/**",
"package.json"
],
"output": [
"tmp/root"
]
},
"test:deprecation-policy": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
"files": [
"src/**/*.ts"
],
"output": [],
"dependencies": [
"compile"
]
},
"test:json-schema": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
"files": [
"src/**/*.ts",
"schemas"
],
"output": []
},
"link-check": {
"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",
"files": [
"./*.md",
"./!(CHANGELOG).md",
"messages/**/*.md"
],
"output": []
}
},
"exports": "./lib/src/index.js",
"type": "module"
}