@salesforce/analytics 1.4.9 → 1.4.10

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 (31) hide show
  1. package/lib/commands/analytics/app/display.js +3 -6
  2. package/lib/commands/analytics/app/display.js.map +1 -1
  3. package/lib/commands/analytics/autoinstall/app/create.d.ts +1 -0
  4. package/lib/commands/analytics/autoinstall/app/create.js +10 -1
  5. package/lib/commands/analytics/autoinstall/app/create.js.map +1 -1
  6. package/lib/commands/analytics/autoinstall/app/update.d.ts +1 -0
  7. package/lib/commands/analytics/autoinstall/app/update.js +10 -1
  8. package/lib/commands/analytics/autoinstall/app/update.js.map +1 -1
  9. package/lib/commands/analytics/autoinstall/display.js +4 -18
  10. package/lib/commands/analytics/autoinstall/display.js.map +1 -1
  11. package/lib/commands/analytics/dataflow/job/display.js +2 -3
  12. package/lib/commands/analytics/dataflow/job/display.js.map +1 -1
  13. package/lib/commands/analytics/dataset/display.js +2 -6
  14. package/lib/commands/analytics/dataset/display.js.map +1 -1
  15. package/lib/commands/analytics/template/display.js +2 -6
  16. package/lib/commands/analytics/template/display.js.map +1 -1
  17. package/lib/commands/analytics/template/lint.js +2 -3
  18. package/lib/commands/analytics/template/lint.js.map +1 -1
  19. package/lib/commands/analytics/template/validate.js +2 -3
  20. package/lib/commands/analytics/template/validate.js.map +1 -1
  21. package/lib/lib/analytics/autoinstall/autoinstall.d.ts +1 -0
  22. package/lib/lib/analytics/autoinstall/autoinstall.js +24 -1
  23. package/lib/lib/analytics/autoinstall/autoinstall.js.map +1 -1
  24. package/lib/lib/analytics/utils.d.ts +1 -0
  25. package/lib/lib/analytics/utils.js +4 -0
  26. package/lib/lib/analytics/utils.js.map +1 -1
  27. package/messages/autoinstall.json +3 -3
  28. package/npm-shrinkwrap.json +9146 -15066
  29. package/oclif.lock +502 -3078
  30. package/oclif.manifest.json +320 -304
  31. package/package.json +272 -272
package/package.json CHANGED
@@ -1,282 +1,282 @@
1
1
  {
2
- "name": "@salesforce/analytics",
3
- "description": "Commands for working with Salesforce Analytics applications, assets, and services",
4
- "version": "1.4.9",
5
- "author": "Salesforce",
6
- "bugs": "https://github.com/salesforcecli/plugin-analytics/issues",
7
- "dependencies": {
8
- "@oclif/core": "^3.18.2",
9
- "@oclif/plugin-help": "^6.0.17",
10
- "@salesforce/core": "^6.7.1",
11
- "@salesforce/kit": "^3.0.15",
12
- "@salesforce/sf-plugins-core": "^7.1.16",
13
- "@salesforce/ts-types": "^2.0.9",
14
- "chalk": "^5.3.0",
15
- "lodash.get": "^4.4.2",
16
- "moment": "^2.30.1"
17
- },
18
- "devDependencies": {
19
- "@oclif/plugin-command-snapshot": "^5.1.1",
20
- "@salesforce/cli-plugins-testkit": "^5.1.10",
21
- "@salesforce/dev-scripts": "^8.4.2",
22
- "@salesforce/plugin-command-reference": "^3.0.70",
23
- "@salesforce/ts-sinon": "^1.4.19",
24
- "@types/lodash.get": "^4.4.9",
25
- "eslint-plugin-mocha": "^10.4.1",
26
- "eslint-plugin-sf-plugin": "^1.17.4",
27
- "oclif": "^4",
28
- "ts-node": "^10.9.2",
29
- "typescript": "^5.4.2"
30
- },
31
- "config": {
32
- "commitizen": {
33
- "path": "cz-conventional-changelog"
34
- }
35
- },
36
- "engines": {
37
- "node": ">=18.0.0"
38
- },
39
- "files": [
40
- "/lib",
41
- "/messages",
42
- "/npm-shrinkwrap.json",
43
- "/oclif.lock",
44
- "/oclif.manifest.json"
45
- ],
46
- "exports": "./lib/index.js",
47
- "homepage": "https://github.com/salesforcecli/plugin-analytics",
48
- "keywords": [
49
- "analytics",
50
- "analyticsdx",
51
- "crma",
52
- "crm analytics",
53
- "tableau",
54
- "tableau crm",
55
- "tcrm",
56
- "force",
57
- "salesforce",
58
- "sfdx",
59
- "salesforcedx",
60
- "sfdx-plugin"
61
- ],
62
- "license": "BSD-3-Clause",
63
- "oclif": {
64
- "commands": "./lib/commands",
65
- "bin": "sf",
66
- "devPlugins": [
67
- "@oclif/plugin-help",
68
- "@oclif/plugin-command-snapshot",
69
- "@salesforce/plugin-command-reference"
70
- ],
71
- "topics": {
72
- "analytics": {
73
- "description": "commands for Salesforce Analytics developers",
74
- "subtopics": {
75
- "app": {
76
- "description": "create and manage analytics applications"
77
- },
78
- "asset": {
79
- "description": "manage analytics asset publishing",
80
- "subtopics": {
81
- "publisher": {
82
- "description": "manage the development user experience for publishing dashboards"
83
- }
84
- }
85
- },
86
- "autoinstall": {
87
- "description": "manage analytics auto-install requests",
88
- "subtopics": {
89
- "app": {
90
- "description": "manage analytics application auto-install requests"
91
- }
92
- }
93
- },
94
- "dashboard": {
95
- "description": "manage analytics dashboards",
96
- "subtopics": {
97
- "history": {
98
- "description": "view and manage dashboard history"
99
- }
100
- }
101
- },
102
- "dataflow": {
103
- "description": "manage analytics dataflows",
104
- "subtopics": {
105
- "history": {
106
- "description": "view and manage dataflow history"
107
- },
108
- "job": {
109
- "description": "view and manage dataflow jobs"
110
- }
111
- }
112
- },
113
- "dataset": {
114
- "description": "manage analytics datasets",
115
- "subtopics": {
116
- "rows": {
117
- "description": "view dataset rows"
118
- }
119
- }
120
- },
121
- "lens": {
122
- "description": "manage analytics lenses",
123
- "subtopics": {
124
- "history": {
125
- "description": "view and manage lens history"
126
- }
127
- }
128
- },
129
- "recipe": {
130
- "description": "manage analytics recipess"
131
- },
132
- "template": {
133
- "description": "create and manage analytics templates"
134
- }
135
- }
136
- }
2
+ "name": "@salesforce/analytics",
3
+ "description": "Commands for working with Salesforce Analytics applications, assets, and services",
4
+ "version": "1.4.10",
5
+ "author": "Salesforce",
6
+ "bugs": "https://github.com/salesforcecli/plugin-analytics/issues",
7
+ "dependencies": {
8
+ "@oclif/core": "^3.18.2",
9
+ "@oclif/plugin-help": "^6.0.17",
10
+ "@salesforce/core": "^6.7.1",
11
+ "@salesforce/kit": "^3.0.15",
12
+ "@salesforce/sf-plugins-core": "^7.1.16",
13
+ "@salesforce/ts-types": "^2.0.9",
14
+ "chalk": "^5.3.0",
15
+ "lodash.get": "^4.4.2",
16
+ "moment": "^2.30.1"
137
17
  },
138
- "topicSeparator": " "
139
- },
140
- "repository": "salesforcecli/plugin-analytics",
141
- "scripts": {
142
- "build": "wireit",
143
- "clean": "sf-clean",
144
- "clean-all": "sf-clean all",
145
- "compile": "wireit",
146
- "docs": "sf-docs",
147
- "format": "wireit",
148
- "link-check": "wireit",
149
- "lint": "wireit",
150
- "lint-check": "wireit",
151
- "postpack": "sf-clean --ignore-signing-artifacts",
152
- "prepack": "sf-prepack",
153
- "prepare": "sf-install",
154
- "test": "wireit",
155
- "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
156
- "test:only": "wireit",
157
- "version": "oclif readme"
158
- },
159
- "publishConfig": {
160
- "access": "public"
161
- },
162
- "wireit": {
163
- "build": {
164
- "dependencies": [
165
- "compile",
166
- "lint"
167
- ]
18
+ "devDependencies": {
19
+ "@oclif/plugin-command-snapshot": "^5.1.1",
20
+ "@salesforce/cli-plugins-testkit": "^5.1.12",
21
+ "@salesforce/dev-scripts": "^8.4.2",
22
+ "@salesforce/plugin-command-reference": "^3.0.72",
23
+ "@salesforce/ts-sinon": "^1.4.19",
24
+ "@types/lodash.get": "^4.4.9",
25
+ "eslint-plugin-mocha": "^10.4.1",
26
+ "eslint-plugin-sf-plugin": "^1.17.4",
27
+ "oclif": "^4",
28
+ "ts-node": "^10.9.2",
29
+ "typescript": "^5.4.3"
168
30
  },
169
- "compile": {
170
- "command": "tsc -p . --pretty --incremental",
171
- "files": [
172
- "src/**/*.ts",
173
- "**/tsconfig.json",
174
- "messages/**"
175
- ],
176
- "output": [
177
- "lib/**",
178
- "*.tsbuildinfo"
179
- ],
180
- "clean": "if-file-deleted"
181
- },
182
- "format": {
183
- "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
184
- "files": [
185
- "src/**/*.ts",
186
- "test/**/*.ts",
187
- "schemas/**/*.json",
188
- "command-snapshot.json",
189
- ".prettier*"
190
- ],
191
- "output": []
192
- },
193
- "lint": {
194
- "command": "eslint src test --color --cache --cache-location .eslintcache",
195
- "files": [
196
- "src/**/*.ts",
197
- "test/**/*.ts",
198
- "messages/**",
199
- "**/.eslint*",
200
- "**/tsconfig.json"
201
- ],
202
- "output": []
203
- },
204
- "test:compile": {
205
- "command": "tsc -p \"./test\" --pretty",
206
- "files": [
207
- "test/**/*.ts",
208
- "**/tsconfig.json"
209
- ],
210
- "output": []
31
+ "config": {
32
+ "commitizen": {
33
+ "path": "cz-conventional-changelog"
34
+ }
211
35
  },
212
- "test": {
213
- "dependencies": [
214
- "test:compile",
215
- "test:only",
216
- "test:command-reference",
217
- "test:deprecation-policy",
218
- "lint",
219
- "test:json-schema",
220
- "link-check"
221
- ]
36
+ "engines": {
37
+ "node": ">=18.0.0"
222
38
  },
223
- "test:only": {
224
- "command": "nyc mocha \"test/**/*.test.ts\"",
225
- "env": {
226
- "FORCE_COLOR": "2"
227
- },
228
- "files": [
229
- "test/**/*.ts",
230
- "src/**/*.ts",
231
- "**/tsconfig.json",
232
- ".mocha*",
233
- "!*.nut.ts",
234
- ".nycrc"
235
- ],
236
- "output": []
39
+ "files": [
40
+ "/lib",
41
+ "/messages",
42
+ "/npm-shrinkwrap.json",
43
+ "/oclif.lock",
44
+ "/oclif.manifest.json"
45
+ ],
46
+ "exports": "./lib/index.js",
47
+ "homepage": "https://github.com/salesforcecli/plugin-analytics",
48
+ "keywords": [
49
+ "analytics",
50
+ "analyticsdx",
51
+ "crma",
52
+ "crm analytics",
53
+ "tableau",
54
+ "tableau crm",
55
+ "tcrm",
56
+ "force",
57
+ "salesforce",
58
+ "sfdx",
59
+ "salesforcedx",
60
+ "sfdx-plugin"
61
+ ],
62
+ "license": "BSD-3-Clause",
63
+ "oclif": {
64
+ "commands": "./lib/commands",
65
+ "bin": "sf",
66
+ "devPlugins": [
67
+ "@oclif/plugin-help",
68
+ "@oclif/plugin-command-snapshot",
69
+ "@salesforce/plugin-command-reference"
70
+ ],
71
+ "topics": {
72
+ "analytics": {
73
+ "description": "commands for Salesforce Analytics developers",
74
+ "subtopics": {
75
+ "app": {
76
+ "description": "create and manage analytics applications"
77
+ },
78
+ "asset": {
79
+ "description": "manage analytics asset publishing",
80
+ "subtopics": {
81
+ "publisher": {
82
+ "description": "manage the development user experience for publishing dashboards"
83
+ }
84
+ }
85
+ },
86
+ "autoinstall": {
87
+ "description": "manage analytics auto-install requests",
88
+ "subtopics": {
89
+ "app": {
90
+ "description": "manage analytics application auto-install requests"
91
+ }
92
+ }
93
+ },
94
+ "dashboard": {
95
+ "description": "manage analytics dashboards",
96
+ "subtopics": {
97
+ "history": {
98
+ "description": "view and manage dashboard history"
99
+ }
100
+ }
101
+ },
102
+ "dataflow": {
103
+ "description": "manage analytics dataflows",
104
+ "subtopics": {
105
+ "history": {
106
+ "description": "view and manage dataflow history"
107
+ },
108
+ "job": {
109
+ "description": "view and manage dataflow jobs"
110
+ }
111
+ }
112
+ },
113
+ "dataset": {
114
+ "description": "manage analytics datasets",
115
+ "subtopics": {
116
+ "rows": {
117
+ "description": "view dataset rows"
118
+ }
119
+ }
120
+ },
121
+ "lens": {
122
+ "description": "manage analytics lenses",
123
+ "subtopics": {
124
+ "history": {
125
+ "description": "view and manage lens history"
126
+ }
127
+ }
128
+ },
129
+ "recipe": {
130
+ "description": "manage analytics recipess"
131
+ },
132
+ "template": {
133
+ "description": "create and manage analytics templates"
134
+ }
135
+ }
136
+ }
137
+ },
138
+ "topicSeparator": " "
237
139
  },
238
- "test:command-reference": {
239
- "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
240
- "files": [
241
- "src/**/*.ts",
242
- "messages/**",
243
- "package.json"
244
- ],
245
- "output": [
246
- "tmp/root"
247
- ]
140
+ "repository": "salesforcecli/plugin-analytics",
141
+ "scripts": {
142
+ "build": "wireit",
143
+ "clean": "sf-clean",
144
+ "clean-all": "sf-clean all",
145
+ "compile": "wireit",
146
+ "docs": "sf-docs",
147
+ "format": "wireit",
148
+ "link-check": "wireit",
149
+ "lint": "wireit",
150
+ "lint-check": "wireit",
151
+ "postpack": "sf-clean --ignore-signing-artifacts",
152
+ "prepack": "sf-prepack",
153
+ "prepare": "sf-install",
154
+ "test": "wireit",
155
+ "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
156
+ "test:only": "wireit",
157
+ "version": "oclif readme"
248
158
  },
249
- "test:deprecation-policy": {
250
- "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
251
- "files": [
252
- "src/**/*.ts"
253
- ],
254
- "output": [],
255
- "dependencies": [
256
- "compile"
257
- ]
159
+ "publishConfig": {
160
+ "access": "public"
258
161
  },
259
- "test:json-schema": {
260
- "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
261
- "files": [
262
- "src/**/*.ts",
263
- "schemas"
264
- ],
265
- "output": []
162
+ "wireit": {
163
+ "build": {
164
+ "dependencies": [
165
+ "compile",
166
+ "lint"
167
+ ]
168
+ },
169
+ "compile": {
170
+ "command": "tsc -p . --pretty --incremental",
171
+ "files": [
172
+ "src/**/*.ts",
173
+ "**/tsconfig.json",
174
+ "messages/**"
175
+ ],
176
+ "output": [
177
+ "lib/**",
178
+ "*.tsbuildinfo"
179
+ ],
180
+ "clean": "if-file-deleted"
181
+ },
182
+ "format": {
183
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
184
+ "files": [
185
+ "src/**/*.ts",
186
+ "test/**/*.ts",
187
+ "schemas/**/*.json",
188
+ "command-snapshot.json",
189
+ ".prettier*"
190
+ ],
191
+ "output": []
192
+ },
193
+ "lint": {
194
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
195
+ "files": [
196
+ "src/**/*.ts",
197
+ "test/**/*.ts",
198
+ "messages/**",
199
+ "**/.eslint*",
200
+ "**/tsconfig.json"
201
+ ],
202
+ "output": []
203
+ },
204
+ "test:compile": {
205
+ "command": "tsc -p \"./test\" --pretty",
206
+ "files": [
207
+ "test/**/*.ts",
208
+ "**/tsconfig.json"
209
+ ],
210
+ "output": []
211
+ },
212
+ "test": {
213
+ "dependencies": [
214
+ "test:compile",
215
+ "test:only",
216
+ "test:command-reference",
217
+ "test:deprecation-policy",
218
+ "lint",
219
+ "test:json-schema",
220
+ "link-check"
221
+ ]
222
+ },
223
+ "test:only": {
224
+ "command": "nyc mocha \"test/**/*.test.ts\"",
225
+ "env": {
226
+ "FORCE_COLOR": "2"
227
+ },
228
+ "files": [
229
+ "test/**/*.ts",
230
+ "src/**/*.ts",
231
+ "**/tsconfig.json",
232
+ ".mocha*",
233
+ "!*.nut.ts",
234
+ ".nycrc"
235
+ ],
236
+ "output": []
237
+ },
238
+ "test:command-reference": {
239
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
240
+ "files": [
241
+ "src/**/*.ts",
242
+ "messages/**",
243
+ "package.json"
244
+ ],
245
+ "output": [
246
+ "tmp/root"
247
+ ]
248
+ },
249
+ "test:deprecation-policy": {
250
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
251
+ "files": [
252
+ "src/**/*.ts"
253
+ ],
254
+ "output": [],
255
+ "dependencies": [
256
+ "compile"
257
+ ]
258
+ },
259
+ "test:json-schema": {
260
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
261
+ "files": [
262
+ "src/**/*.ts",
263
+ "schemas"
264
+ ],
265
+ "output": []
266
+ },
267
+ "link-check": {
268
+ "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",
269
+ "files": [
270
+ "./*.md",
271
+ "./!(CHANGELOG).md",
272
+ "messages/**/*.md"
273
+ ],
274
+ "output": []
275
+ }
266
276
  },
267
- "link-check": {
268
- "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",
269
- "files": [
270
- "./*.md",
271
- "./!(CHANGELOG).md",
272
- "messages/**/*.md"
273
- ],
274
- "output": []
277
+ "type": "module",
278
+ "sfdx": {
279
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.4.10.crt",
280
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.4.10.sig"
275
281
  }
276
- },
277
- "type": "module",
278
- "sfdx": {
279
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.4.9.crt",
280
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.4.9.sig"
281
- }
282
- }
282
+ }