@sprucelabs/spruce-cli 22.1.11 → 22.1.12

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.
Binary file
Binary file
package/junit.xml DELETED
@@ -1,57 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites name="jest tests" tests="13" failures="1" errors="0" time="38.008">
3
- <testsuite name="undefined" errors="0" failures="1" skipped="12" timestamp="2024-10-13T02:55:50" time="37.979" tests="13">
4
- <testcase classname=" installsWatchers" name=" installsWatchers" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
5
- <skipped/>
6
- </testcase>
7
- <testcase classname=" notWatchingAtTheStart" name=" notWatchingAtTheStart" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
8
- <skipped/>
9
- </testcase>
10
- <testcase classname=" canStartAndStopWatch" name=" canStartAndStopWatch" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
11
- <skipped/>
12
- </testcase>
13
- <testcase classname=" does watch dist" name=" does watch dist" time="36.236" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
14
- <failure>
15
-
16
- 0
17
-
18
- does not equal
19
-
20
- 1
21
-
22
-
23
-
24
- Error:
25
-
26
- at Function.isEqual [as watchesInCorrectDir] (/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/__tests__/behavioral/watchers/WatchingForChanges.test.ts:63:16)
27
- at processTimers (node:internal/timers:516:9)</failure>
28
- </testcase>
29
- <testcase classname=" does watch build" name=" does watch build" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
30
- <skipped/>
31
- </testcase>
32
- <testcase classname=" does not watch src" name=" does not watch src" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
33
- <skipped/>
34
- </testcase>
35
- <testcase classname=" fires once with three changes" name=" fires once with three changes" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
36
- <skipped/>
37
- </testcase>
38
- <testcase classname=" fires once with two changes" name=" fires once with two changes" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
39
- <skipped/>
40
- </testcase>
41
- <testcase classname=" fires once with one change" name=" fires once with one change" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
42
- <skipped/>
43
- </testcase>
44
- <testcase classname=" canTrackAddingDir" name=" canTrackAddingDir" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
45
- <skipped/>
46
- </testcase>
47
- <testcase classname=" canTrackDeletingDir" name=" canTrackDeletingDir" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
48
- <skipped/>
49
- </testcase>
50
- <testcase classname=" canTrackDeletingFile" name=" canTrackDeletingFile" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
51
- <skipped/>
52
- </testcase>
53
- <testcase classname=" canTrackDeletingFileInDirectory" name=" canTrackDeletingFileInDirectory" time="0" file="build/__tests__/behavioral/watchers/WatchingForChanges.test.js">
54
- <skipped/>
55
- </testcase>
56
- </testsuite>
57
- </testsuites>
package/yarn-error.log DELETED
@@ -1,597 +0,0 @@
1
- Arguments:
2
- /Users/taylorromero/.nvm/versions/node/v16.18.1/bin/node /Users/taylorromero/.yarn/bin/yarn.js build.resolve-paths
3
-
4
- PATH:
5
- /var/folders/yn/6_vtdg2s3hzbw_fcbh8g78zr0000gn/T/yarn--1669617461685-0.8295689275600235:/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/.bin:/Users/taylorromero/.config/yarn/link/node_modules/.bin:/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/.bin:/Users/taylorromero/.nvm/versions/node/v16.18.1/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/taylorromero/.nvm/versions/node/v16.18.1/lib/node_modules/npm/bin/node-gyp-bin:/Users/taylorromero/.nvm/versions/node/v16.18.1/bin/node_modules/npm/bin/node-gyp-bin:/var/folders/yn/6_vtdg2s3hzbw_fcbh8g78zr0000gn/T/yarn--1669617461070-0.06623051475642883:/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/.bin:/Users/taylorromero/.config/yarn/link/node_modules/.bin:/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/.bin:/Users/taylorromero/.nvm/versions/node/v16.18.1/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/taylorromero/.nvm/versions/node/v16.18.1/lib/node_modules/npm/bin/node-gyp-bin:/Users/taylorromero/.nvm/versions/node/v16.18.1/bin/node_modules/npm/bin/node-gyp-bin:/Users/taylorromero/opt/miniconda3/bin:/Users/taylorromero/opt/miniconda3/condabin:/Users/taylorromero/.yarn/bin:/Users/taylorromero/.config/yarn/global/node_modules/.bin:/Users/taylorromero/.nvm/versions/node/v16.18.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/taylorromero/.yarn/bin:/Users/taylorromero/Library/Android/sdk/platform-tools:/Users/taylorromero/Library/Android/sdk/cmdline-tools/latest/bin:/Users/taylorromero/Library/Android/sdk/emulator
6
-
7
- Yarn version:
8
- 1.22.19
9
-
10
- Node version:
11
- 16.18.1
12
-
13
- Platform:
14
- darwin arm64
15
-
16
- Trace:
17
- SyntaxError: /Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/package.json: Unexpected token } in JSON at position 13340
18
- at JSON.parse (<anonymous>)
19
- at /Users/taylorromero/.yarn/lib/cli.js:1629:59
20
- at Generator.next (<anonymous>)
21
- at step (/Users/taylorromero/.yarn/lib/cli.js:310:30)
22
- at /Users/taylorromero/.yarn/lib/cli.js:321:13
23
-
24
- npm manifest:
25
- {
26
- "name": "@sprucelabs/spruce-cli",
27
- "description": "Command line interface for building Spruce skills.",
28
- "publishConfig": {
29
- "access": "public"
30
- },
31
- "skill": {
32
- "namespace": "spruce-cli",
33
- "upgradeIgnoreList": [
34
- "chalk",
35
- "commander",
36
- "emphasize",
37
- "globby",
38
- "inquirer-file-tree-selection-prompt",
39
- "ora",
40
- "terminal-image",
41
- "terminal-kit"
42
- ]
43
- },
44
- "license": "MIT",
45
- "version": "18.2.0",
46
- "bin": {
47
- "spruce": "./build/index.js"
48
- },
49
- "main": "./build/index.js",
50
- "types": "./build/index.d.ts",
51
- "files": [
52
- "**/*"
53
- ],
54
- "keywords": [
55
- "node",
56
- "components",
57
- "sprucebot",
58
- "spruce",
59
- "skills",
60
- "sprucelabs"
61
- ],
62
- "homepage": "https://github.com/sprucelabsai/spruce-cli-workspace",
63
- "bugs": {
64
- "url": "https://github.com/sprucelabsai/spruce-cli-workspace/issues"
65
- },
66
- "scripts": {
67
- "build.ci": "yarn build.babel && yarn build.types && yarn build.resolve-paths && yarn lint",
68
- "build.dev": "yarn build.babel ; yarn build.types.resolve-paths.lint",
69
- "build.babel": "babel src --out-dir build --extensions \".ts,.tsx\" --root-mode upward --source-maps --copy-files",
70
- "build.babel.debug": "node --inspect-brk=5200 ../../node_modules/.bin/babel src --out-dir build --extensions \".ts,.tsx\" --root-mode upward --source-maps --copy-files",
71
- "build.types": "tsc --emitDeclarationOnly && echo PASS TYPES || (echo FAIL TYPES && false)",
72
- "build.resolve-paths": "resolve-path-aliases --target build --patterns '**/*.js,**/*.d.ts'",
73
- "build.types.resolve-paths.lint": "yarn build.types && yarn resolve-paths.lint",
74
- "resolve-paths.lint": "yarn build.resolve-paths ; yarn lint",
75
- "cache.tests": "node build/tests/buildTestCache",
76
- "clean.test.data": "node build/tests/cleanTestData",
77
- "clean": "yarn clean.build",
78
- "clean.all": "yarn clean.build && yarn clean.dependencies && yarn clean.cache",
79
- "clean.build": "rm -rf build/",
80
- "clean.cache": "rm -rf src/.spruce/tmp && node build/tests/cleanTestCache ; echo '******** TEST CACHE CLEARED ********'",
81
- "clean.cache.disabled": "echo 'CLEAN.CACHE DISABLED'",
82
- "clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
83
- "fix.lint": "eslint --fix --cache '**/*.ts'",
84
- "lint": "eslint --cache '**/*.ts'",
85
- "lint.tsc": "tsc --noEmit && echo 'spruce-cli PASS'",
86
- "local": "DEBUG=@sprucelabs/cli~debug node --inspect=5200 . $COMMANDS ; echo 'DONE'",
87
- "rebuild": "cd ../ && yarn rebuild",
88
- "release": "semantic-release",
89
- "start": "DEBUG=@sprucelabs/cli~debug node . $COMMANDS",
90
- "test": "yarn cache.tests && jest",
91
- "update.dependencies": "cd ../ && yarn update.dependencies",
92
- "watch.build.dev": "concurrently 'tsc --emitDeclarationOnly -w' 'yarn build.babel --watch' \"chokidar 'src/**/*' --ignore '.*/tmp/.*' -c 'yarn build.resolve-paths'\"",
93
- "watch.lint": "chokidar 'src/**/*' '../spruce-templates/src/**' -c 'yarn lint.tsc'",
94
- "watch.rebuild": "cd ../ && yarn watch.rebuild",
95
- "watch.tests": "yarn cache.tests && jest --watch",
96
- "watch.tsc": "tsc -w --sourceMap"
97
- },
98
- "dependencies": {
99
- "@babel/cli": "^7.19.3",
100
- "@babel/plugin-proposal-decorators": "^7.20.2",
101
- "@babel/runtime": "^7.20.1",
102
- "@jest/reporters": "^29.3.1",
103
- "@sprucelabs/error": "^5.0.543",
104
- "@sprucelabs/heartwood-view-controllers": "^98.3.20",
105
- "@sprucelabs/jest-json-reporter": "^6.0.522",
106
- "@sprucelabs/mercury-client": "^34.0.64",
107
- "@sprucelabs/mercury-event-emitter": "^34.0.64",
108
- "@sprucelabs/mercury-types": "^37.2.11",
109
- "@sprucelabs/schema": "^28.5.70",
110
- "@sprucelabs/spruce-core-schemas": "^35.1.61",
111
- "@sprucelabs/spruce-event-utils": "^29.2.10",
112
- "@sprucelabs/spruce-skill-utils": "^28.0.55",
113
- "@sprucelabs/spruce-templates": "^18.2.0",
114
- "@typescript-eslint/eslint-plugin": "^5.27.1",
115
- "@typescript-eslint/parser": "^5.27.1",
116
- "cfonts": "^3.1.1",
117
- "chalk": "4.1.2",
118
- "chokidar": "^3.5.3",
119
- "cli-table3": "^0.6.3",
120
- "commander": "7.2.0",
121
- "emphasize": "4.2.0",
122
- "fs-extra": "^10.1.0",
123
- "globby": "11.0.4",
124
- "inquirer": "^8.2.4",
125
- "inquirer-file-tree-selection-prompt": "1.0.18",
126
- "js-tetris-cli": "^0.0.3",
127
- "lodash-es": "^4.17.21",
128
- "md5": "^2.3.0",
129
- "open": "^8.4.0",
130
- "ora": "5.4.1",
131
- "semver": "^7.3.8",
132
- "string-argv": "^0.3.1",
133
- "terminal-image": "1.2.1",
134
- "terminal-kit": "sprucelabsai/terminal-kit",
135
- "tree-kill": "^1.2.2",
136
- "tsutils": "^3.21.0",
137
- "typescript": "4.7.4",
138
- "uuid": "^9.0.0"
139
- },
140
- "devDependencies": {
141
- "@sprucelabs/data-stores": "^19.0.54",
142
- "@sprucelabs/jest-sheets-reporter": "^2.0.21",
143
- "@sprucelabs/mercury-core-events": "^15.0.86",
144
- "@sprucelabs/resolve-path-aliases": "^1.1.132",
145
- "@sprucelabs/spruce-conversation-plugin": "^52.2.11",
146
- "@sprucelabs/spruce-deploy-plugin": "^52.2.11",
147
- "@sprucelabs/spruce-store-plugin": "^52.2.11",
148
- "@sprucelabs/spruce-test-fixtures": "^52.2.11",
149
- "@sprucelabs/test": "^7.7.388",
150
- "@sprucelabs/test-utils": "^3.2.58",
151
- "@types/blessed": "^0.1.19",
152
- "@types/eslint": "^8.4.10",
153
- "@types/fs-extra": "^9.0.13",
154
- "@types/inquirer": "^8.2.1",
155
- "@types/lodash": "^4.14.189",
156
- "@types/md5": "^2.3.2",
157
- "@types/mkdirp": "^1.0.2",
158
- "@types/node": "^18.11.9",
159
- "@types/promise.allsettled": "^1.0.3",
160
- "@types/ps-node": "^0.1.1",
161
- "@types/rimraf": "^3.0.2",
162
- "@types/semver": "^7.3.13",
163
- "@types/sha1": "^1.1.3",
164
- "@types/slug": "^5.0.3",
165
- "@types/superagent": "^4.1.15",
166
- "@types/terminal-kit": "^2.5.0",
167
- "@types/uuid": "^8.3.4",
168
- "chokidar-cli": "^3.0.0",
169
- "concurrently": "^7.6.0",
170
- "conventional-changelog-sprucelabs": "^1.1.2",
171
- "dotenv": "^16.0.3",
172
- "eslint": "^8.28.0",
173
- "eslint-config-spruce": "^10.11.4",
174
- "find-process": "^1.4.7",
175
- "jest": "^29.3.1",
176
- "jest-circus": "^29.3.1",
177
- "jest-junit": "^15.0.0",
178
- "jest-reporters": "^0.0.2",
179
- "prettier": "^2.8.0",
180
- "ps-node": "^0.1.6",
181
- "rimraf": "^3.0.2",
182
- "ts-jest": "^29.0.3",
183
- "ts-node": "^10.9.1",
184
- "tsc-watch": "^5.0.3",
185
- "tsconfig-paths": "^4.1.0"
186
- },
187
- "testSkillCache": {
188
- "everything": [
189
- {
190
- "code": "skill",
191
- "options": {
192
- "name": "everything skill",
193
- "description": "this too, is a great test!"
194
- }
195
- },
196
- {
197
- "code": "schema"
198
- },
199
- {
200
- "code": "test"
201
- },
202
- {
203
- "code": "event"
204
- },
205
- {
206
- "code": "view"
207
- },
208
- {
209
- "code": "deploy"
210
- },
211
- {
212
- "code": "conversation"
213
- },
214
- {
215
- "code": "polish"
216
- }
217
- ],
218
- "everythingInNode": [
219
- {
220
- "code": "node",
221
- "options": {
222
- "name": "everything node",
223
- "description": "this too, is a great node modules!"
224
- }
225
- },
226
- {
227
- "code": "schema"
228
- },
229
- {
230
- "code": "error"
231
- },
232
- {
233
- "code": "test"
234
- },
235
- {
236
- "code": "event"
237
- }
238
- ],
239
- "skills": [
240
- {
241
- "code": "skill",
242
- "options": {
243
- "name": "test skill",
244
- "description": "this too, is a great test!"
245
- }
246
- }
247
- ],
248
- "schemas": [
249
- {
250
- "code": "skill",
251
- "options": {
252
- "name": "testing schemas",
253
- "description": "this is a great test!"
254
- }
255
- },
256
- {
257
- "code": "schema"
258
- }
259
- ],
260
- "tests": [
261
- {
262
- "code": "skill",
263
- "options": {
264
- "name": "testing tests",
265
- "description": "test testing!"
266
- }
267
- },
268
- {
269
- "code": "test"
270
- }
271
- ],
272
- "testsInNodeModule": [
273
- {
274
- "code": "node",
275
- "options": {
276
- "name": "testing tests in node module",
277
- "description": "test testing!"
278
- }
279
- },
280
- {
281
- "code": "test"
282
- }
283
- ],
284
- "events": [
285
- {
286
- "code": "skill",
287
- "options": {
288
- "name": "testing events",
289
- "description": "this too, is a great test!"
290
- }
291
- },
292
- {
293
- "code": "schema"
294
- },
295
- {
296
- "code": "event"
297
- }
298
- ],
299
- "polish": [
300
- {
301
- "code": "skill",
302
- "options": {
303
- "name": "testing polish",
304
- "description": "this too, is a great test!"
305
- }
306
- },
307
- {
308
- "code": "polish"
309
- }
310
- ],
311
- "sandbox": [
312
- {
313
- "code": "skill",
314
- "options": {
315
- "name": "testing sandbox",
316
- "description": "this too, is a great test!"
317
- }
318
- },
319
- {
320
- "code": "schema"
321
- },
322
- {
323
- "code": "event"
324
- },
325
- {
326
- "code": "sandbox"
327
- }
328
- ],
329
- "conversation": [
330
- {
331
- "code": "skill",
332
- "options": {
333
- "name": "testing conversations",
334
- "description": "this too, is a great test!"
335
- }
336
- },
337
- {
338
- "code": "schema"
339
- },
340
- {
341
- "code": "event"
342
- },
343
- {
344
- "code": "conversation"
345
- }
346
- ],
347
- "conversation-with-sandbox": [
348
- {
349
- "code": "skill",
350
- "options": {
351
- "name": "testing conversations",
352
- "description": "this too, is a great test!"
353
- }
354
- },
355
- {
356
- "code": "schema"
357
- },
358
- {
359
- "code": "event"
360
- },
361
- {
362
- "code": "conversation"
363
- },
364
- {
365
- "code": "sandbox"
366
- }
367
- ],
368
- "errors": [
369
- {
370
- "code": "skill",
371
- "options": {
372
- "name": "testing errors",
373
- "description": "this is also a great test!"
374
- }
375
- },
376
- {
377
- "code": "error"
378
- }
379
- ],
380
- "schemasInNodeModule": [
381
- {
382
- "code": "node",
383
- "options": {
384
- "name": "plain node module",
385
- "description": "go team!"
386
- }
387
- },
388
- {
389
- "code": "schema"
390
- }
391
- ],
392
- "node": [
393
- {
394
- "code": "node",
395
- "options": {
396
- "name": "plain node module",
397
- "description": "go team!"
398
- }
399
- }
400
- ],
401
- "eventsInNodeModule": [
402
- {
403
- "code": "node",
404
- "options": {
405
- "name": "event test skill",
406
- "description": "go team!"
407
- }
408
- },
409
- {
410
- "code": "event"
411
- }
412
- ],
413
- "permissions": [
414
- {
415
- "code": "skill",
416
- "options": {
417
- "name": "testing permissions",
418
- "description": "This is for permissions"
419
- }
420
- },
421
- {
422
- "code": "event"
423
- },
424
- {
425
- "code": "permission"
426
- }
427
- ],
428
- "organizations": [
429
- {
430
- "code": "skill",
431
- "options": {
432
- "name": "testing events",
433
- "description": "this too, is a great test!"
434
- }
435
- },
436
- {
437
- "code": "schema"
438
- },
439
- {
440
- "code": "event"
441
- },
442
- {
443
- "code": "organization"
444
- }
445
- ],
446
- "deploy": [
447
- {
448
- "code": "skill",
449
- "options": {
450
- "name": "deploy test skill",
451
- "description": "go team!"
452
- }
453
- },
454
- {
455
- "code": "deploy"
456
- }
457
- ],
458
- "stores": [
459
- {
460
- "code": "skill",
461
- "options": {
462
- "name": "data stores test skill",
463
- "description": "go team!"
464
- }
465
- },
466
- {
467
- "code": "store"
468
- }
469
- ],
470
- "storesWithTests": [
471
- {
472
- "code": "skill",
473
- "options": {
474
- "name": "data stores test skill",
475
- "description": "go team!"
476
- }
477
- },
478
- {
479
- "code": "test"
480
- },
481
- {
482
- "code": "store"
483
- }
484
- ],
485
- "deployWithTests": [
486
- {
487
- "code": "skill",
488
- "options": {
489
- "name": "deploy test skill",
490
- "description": "go team!"
491
- }
492
- },
493
- {
494
- "code": "test"
495
- },
496
- {
497
- "code": "deploy"
498
- }
499
- ],
500
- "views": [
501
- {
502
- "code": "skill",
503
- "options": {
504
- "name": "testing views",
505
- "description": "this too, is a great test!"
506
- }
507
- },
508
- {
509
- "code": "schema"
510
- },
511
- {
512
- "code": "event"
513
- },
514
- {
515
- "code": "view"
516
- }
517
- ],
518
- "viewsWithTests": [
519
- {
520
- "code": "skill",
521
- "options": {
522
- "name": "views with tests",
523
- "description": "this too, is a great test!"
524
- }
525
- },
526
- {
527
- "code": "schema"
528
- },
529
- {
530
- "code": "event"
531
- },
532
- {
533
- "code": "test"
534
- },
535
- {
536
- "code": "view"
537
- }
538
- ]
539
- },
540
- "jest": {
541
- "maxWorkers": 4,
542
- "testTimeout": 600000,
543
- "testEnvironment": "node",
544
- "testPathIgnorePatterns": [
545
- "<rootDir>/tmp/",
546
- "<rootDir>/src/",
547
- "<rootDir>/node_modules/",
548
- "<rootDir>/build/__tests__/testDirsAndFiles/"
549
- ],
550
- "watchPathIgnorePatterns": [
551
- "<rootDir>/src/"
552
- ],
553
- "testMatch": [
554
- "**/__tests__/**/*.test.js?(x)"
555
- ],
556
- "moduleNameMapper": {
557
- "^#spruce/schemas/fields/(.*)": "<rootDir>/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1",
558
- "^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
559
- },
560
- "reporters": [
561
- "default",
562
- [
563
- "@sprucelabs/jest-sheets-reporter",
564
- {
565
- "sheetId": "1DoWM7mYgGDa-PJXptLomrZmbIBZiuxS1YiAsRXU2Gm0",
566
- "worksheetId": 889384139,
567
- "testMap": {
568
- "generatesExpectedPermissionContract": "P11",
569
- }
570
- }
571
- ],
572
- "jest-junit"
573
- ]
574
- },
575
- "jest-junit": {
576
- "addFileAttribute": "true"
577
- },
578
- "yarn-upgrade-all": {
579
- "ignore": [
580
- "chalk",
581
- "commander",
582
- "emphasize",
583
- "globby",
584
- "inquirer-file-tree-selection-prompt",
585
- "ora",
586
- "terminal-image",
587
- "terminal-kit"
588
- ]
589
- },
590
- "gitHead": "94ce410c05180cdfa9b6ca4b9e47061d52ac4e71"
591
- }
592
-
593
- yarn manifest:
594
- No manifest
595
-
596
- Lockfile:
597
- No lockfile