@sprucelabs/spruce-cli 17.1.15 → 17.1.18

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [17.1.18](https://github.com/sprucelabsai/spruce-cli-workspace/compare/v17.1.17...v17.1.18) (2022-08-03)
7
+
8
+ **Note:** Version bump only for package @sprucelabs/spruce-cli
9
+
10
+
11
+
12
+
13
+
14
+ ## [17.1.17](https://github.com/sprucelabsai/spruce-cli-workspace/compare/v17.1.16...v17.1.17) (2022-08-02)
15
+
16
+ **Note:** Version bump only for package @sprucelabs/spruce-cli
17
+
18
+
19
+
20
+
21
+
22
+ ## [17.1.16](https://github.com/sprucelabsai/spruce-cli-workspace/compare/v17.1.15...v17.1.16) (2022-08-01)
23
+
24
+ **Note:** Version bump only for package @sprucelabs/spruce-cli
25
+
26
+
27
+
28
+
29
+
6
30
  ## [17.1.15](https://github.com/sprucelabsai/spruce-cli-workspace/compare/v17.1.14...v17.1.15) (2022-08-01)
7
31
 
8
32
  **Note:** Version bump only for package @sprucelabs/spruce-cli
@@ -6,4 +6,6 @@ export default class KeepingViewsInSyncTest extends AbstractSkillTest {
6
6
  protected static hasSyncAction(): Promise<void>;
7
7
  protected static syncingWithNoViewsGeneratesNothing(): Promise<void>;
8
8
  protected static createsValidCombinedEventsFileWhenCreatingANewSvc(): Promise<void>;
9
+ protected static generatesValidTypesFileWithNoSkillViewsC(): Promise<void>;
10
+ private static assertValuedViewsFile;
9
11
  }
@@ -33,13 +33,13 @@ var _AbstractSkillTest2 = _interopRequireDefault(require("../../../tests/Abstrac
33
33
 
34
34
  var _test2 = _interopRequireDefault(require("../../../tests/utilities/test.utility"));
35
35
 
36
- var _dec, _dec2, _dec3, _class, _class2;
36
+ var _dec, _dec2, _dec3, _dec4, _class, _class2;
37
37
 
38
38
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
39
39
 
40
40
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
41
41
 
42
- var KeepingViewsInSyncTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(), _dec3 = (0, _test.test)(), (_class = (_class2 = /*#__PURE__*/function (_AbstractSkillTest) {
42
+ var KeepingViewsInSyncTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(), _dec3 = (0, _test.test)(), _dec4 = (0, _test.test)(), (_class = (_class2 = /*#__PURE__*/function (_AbstractSkillTest) {
43
43
  (0, _inherits2["default"])(KeepingViewsInSyncTest, _AbstractSkillTest);
44
44
 
45
45
  var _super = _createSuper(KeepingViewsInSyncTest);
@@ -138,7 +138,7 @@ var KeepingViewsInSyncTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(
138
138
  key: "createsValidCombinedEventsFileWhenCreatingANewSvc",
139
139
  value: function () {
140
140
  var _createsValidCombinedEventsFileWhenCreatingANewSvc = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4() {
141
- var results, match;
141
+ var results;
142
142
  return _regenerator["default"].wrap(function _callee4$(_context4) {
143
143
  while (1) {
144
144
  switch (_context4.prev = _context4.next) {
@@ -151,11 +151,10 @@ var KeepingViewsInSyncTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(
151
151
 
152
152
  case 2:
153
153
  results = _context4.sent;
154
- match = _test2["default"].assertFileByPathInGeneratedFiles("views/views.ts", results.files);
155
- _context4.next = 6;
156
- return this.Service('typeChecker').check(match);
154
+ _context4.next = 5;
155
+ return this.assertValuedViewsFile(results);
157
156
 
158
- case 6:
157
+ case 5:
159
158
  case "end":
160
159
  return _context4.stop();
161
160
  }
@@ -169,8 +168,73 @@ var KeepingViewsInSyncTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(
169
168
 
170
169
  return createsValidCombinedEventsFileWhenCreatingANewSvc;
171
170
  }()
171
+ }, {
172
+ key: "generatesValidTypesFileWithNoSkillViewsC",
173
+ value: function () {
174
+ var _generatesValidTypesFileWithNoSkillViewsC = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5() {
175
+ var results;
176
+ return _regenerator["default"].wrap(function _callee5$(_context5) {
177
+ while (1) {
178
+ switch (_context5.prev = _context5.next) {
179
+ case 0:
180
+ _context5.next = 2;
181
+ return this.Action('view', 'create').execute({
182
+ viewType: 'view',
183
+ nameReadable: 'test',
184
+ viewModel: 'Card'
185
+ });
186
+
187
+ case 2:
188
+ results = _context5.sent;
189
+
190
+ _test.assert.isFalsy(results.errors);
191
+
192
+ _context5.next = 6;
193
+ return this.assertValuedViewsFile(results);
194
+
195
+ case 6:
196
+ case "end":
197
+ return _context5.stop();
198
+ }
199
+ }
200
+ }, _callee5, this);
201
+ }));
202
+
203
+ function generatesValidTypesFileWithNoSkillViewsC() {
204
+ return _generatesValidTypesFileWithNoSkillViewsC.apply(this, arguments);
205
+ }
206
+
207
+ return generatesValidTypesFileWithNoSkillViewsC;
208
+ }()
209
+ }, {
210
+ key: "assertValuedViewsFile",
211
+ value: function () {
212
+ var _assertValuedViewsFile = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(results) {
213
+ var match;
214
+ return _regenerator["default"].wrap(function _callee6$(_context6) {
215
+ while (1) {
216
+ switch (_context6.prev = _context6.next) {
217
+ case 0:
218
+ match = _test2["default"].assertFileByPathInGeneratedFiles("views/views.ts", results.files);
219
+ _context6.next = 3;
220
+ return this.Service('typeChecker').check(match);
221
+
222
+ case 3:
223
+ case "end":
224
+ return _context6.stop();
225
+ }
226
+ }
227
+ }, _callee6, this);
228
+ }));
229
+
230
+ function assertValuedViewsFile(_x) {
231
+ return _assertValuedViewsFile.apply(this, arguments);
232
+ }
233
+
234
+ return assertValuedViewsFile;
235
+ }()
172
236
  }]);
173
237
  return KeepingViewsInSyncTest;
174
- }(_AbstractSkillTest2["default"]), (0, _defineProperty2["default"])(_class2, "skillCacheKey", 'views'), (0, _defineProperty2["default"])(_class2, "action", void 0), _class2), ((0, _applyDecoratedDescriptor2["default"])(_class, "hasSyncAction", [_dec], Object.getOwnPropertyDescriptor(_class, "hasSyncAction"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "syncingWithNoViewsGeneratesNothing", [_dec2], Object.getOwnPropertyDescriptor(_class, "syncingWithNoViewsGeneratesNothing"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "createsValidCombinedEventsFileWhenCreatingANewSvc", [_dec3], Object.getOwnPropertyDescriptor(_class, "createsValidCombinedEventsFileWhenCreatingANewSvc"), _class)), _class));
238
+ }(_AbstractSkillTest2["default"]), (0, _defineProperty2["default"])(_class2, "skillCacheKey", 'views'), (0, _defineProperty2["default"])(_class2, "action", void 0), _class2), ((0, _applyDecoratedDescriptor2["default"])(_class, "hasSyncAction", [_dec], Object.getOwnPropertyDescriptor(_class, "hasSyncAction"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "syncingWithNoViewsGeneratesNothing", [_dec2], Object.getOwnPropertyDescriptor(_class, "syncingWithNoViewsGeneratesNothing"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "createsValidCombinedEventsFileWhenCreatingANewSvc", [_dec3], Object.getOwnPropertyDescriptor(_class, "createsValidCombinedEventsFileWhenCreatingANewSvc"), _class), (0, _applyDecoratedDescriptor2["default"])(_class, "generatesValidTypesFileWithNoSkillViewsC", [_dec4], Object.getOwnPropertyDescriptor(_class, "generatesValidTypesFileWithNoSkillViewsC"), _class)), _class));
175
239
  exports["default"] = KeepingViewsInSyncTest;
176
240
  //# sourceMappingURL=KeepingViewsInSync.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"KeepingViewsInSync.test.js","names":["KeepingViewsInSyncTest","test","action","Action","assert","isFunction","execute","results","isFalsy","errors","files","viewType","isRoot","match","testUtil","assertFileByPathInGeneratedFiles","Service","check","AbstractSkillTest"],"sources":["../../../../src/__tests__/behavioral/views/KeepingViewsInSync.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport SyncAction from '../../../features/view/actions/SyncAction'\nimport AbstractSkillTest from '../../../tests/AbstractSkillTest'\nimport testUtil from '../../../tests/utilities/test.utility'\n\nexport default class KeepingViewsInSyncTest extends AbstractSkillTest {\n\tprotected static skillCacheKey = 'views'\n\tprivate static action: SyncAction\n\n\tprotected static async beforeEach() {\n\t\tawait super.beforeEach()\n\t\tthis.action = this.Action('view', 'sync')\n\t}\n\n\t@test()\n\tprotected static async hasSyncAction() {\n\t\tassert.isFunction(this.action.execute)\n\t}\n\n\t@test()\n\tprotected static async syncingWithNoViewsGeneratesNothing() {\n\t\tconst results = await this.action.execute({})\n\t\tassert.isFalsy(results.errors)\n\t\tassert.isFalsy(results.files)\n\t}\n\n\t@test()\n\tprotected static async createsValidCombinedEventsFileWhenCreatingANewSvc() {\n\t\tconst results = await this.Action('view', 'create').execute({\n\t\t\tviewType: 'skillView',\n\t\t\tisRoot: true,\n\t\t})\n\n\t\tconst match = testUtil.assertFileByPathInGeneratedFiles(\n\t\t\t`views/views.ts`,\n\t\t\tresults.files\n\t\t)\n\n\t\tawait this.Service('typeChecker').check(match)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEA;;AACA;;;;;;;;IAEqBA,sB,WASnB,IAAAC,UAAA,G,UAKA,IAAAA,UAAA,G,UAOA,IAAAA,UAAA,G;;;;;;;;;;;;;sGAjBD;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA;;cAAA;gBAEC,KAAKC,MAAL,GAAc,KAAKC,MAAL,CAAY,MAAZ,EAAoB,MAApB,CAAd;;cAFD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;yGAKA;QAAA;UAAA;YAAA;cAAA;gBAECC,YAAA,CAAOC,UAAP,CAAkB,KAAKH,MAAL,CAAYI,OAA9B;;cAFD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;8HAKA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEuB,KAAKJ,MAAL,CAAYI,OAAZ,CAAoB,EAApB,CAFvB;;cAAA;gBAEOC,OAFP;;gBAGCH,YAAA,CAAOI,OAAP,CAAeD,OAAO,CAACE,MAAvB;;gBACAL,YAAA,CAAOI,OAAP,CAAeD,OAAO,CAACG,KAAvB;;cAJD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;6IAOA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEuB,KAAKP,MAAL,CAAY,MAAZ,EAAoB,QAApB,EAA8BG,OAA9B,CAAsC;kBAC3DK,QAAQ,EAAE,WADiD;kBAE3DC,MAAM,EAAE;gBAFmD,CAAtC,CAFvB;;cAAA;gBAEOL,OAFP;gBAOOM,KAPP,GAOeC,iBAAA,CAASC,gCAAT,mBAEbR,OAAO,CAACG,KAFK,CAPf;gBAAA;gBAAA,OAYO,KAAKM,OAAL,CAAa,aAAb,EAA4BC,KAA5B,CAAkCJ,KAAlC,CAZP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EArBmDK,8B,8DAClB,O"}
1
+ {"version":3,"file":"KeepingViewsInSync.test.js","names":["KeepingViewsInSyncTest","test","action","Action","assert","isFunction","execute","results","isFalsy","errors","files","viewType","isRoot","assertValuedViewsFile","nameReadable","viewModel","match","testUtil","assertFileByPathInGeneratedFiles","Service","check","AbstractSkillTest"],"sources":["../../../../src/__tests__/behavioral/views/KeepingViewsInSync.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport { FeatureActionResponse } from '../../../features/features.types'\nimport SyncAction from '../../../features/view/actions/SyncAction'\nimport AbstractSkillTest from '../../../tests/AbstractSkillTest'\nimport testUtil from '../../../tests/utilities/test.utility'\n\nexport default class KeepingViewsInSyncTest extends AbstractSkillTest {\n\tprotected static skillCacheKey = 'views'\n\tprivate static action: SyncAction\n\n\tprotected static async beforeEach() {\n\t\tawait super.beforeEach()\n\t\tthis.action = this.Action('view', 'sync')\n\t}\n\n\t@test()\n\tprotected static async hasSyncAction() {\n\t\tassert.isFunction(this.action.execute)\n\t}\n\n\t@test()\n\tprotected static async syncingWithNoViewsGeneratesNothing() {\n\t\tconst results = await this.action.execute({})\n\t\tassert.isFalsy(results.errors)\n\t\tassert.isFalsy(results.files)\n\t}\n\n\t@test()\n\tprotected static async createsValidCombinedEventsFileWhenCreatingANewSvc() {\n\t\tconst results = await this.Action('view', 'create').execute({\n\t\t\tviewType: 'skillView',\n\t\t\tisRoot: true,\n\t\t})\n\n\t\tawait this.assertValuedViewsFile(results)\n\t}\n\n\t@test()\n\tprotected static async generatesValidTypesFileWithNoSkillViewsC() {\n\t\tconst results = await this.Action('view', 'create').execute({\n\t\t\tviewType: 'view',\n\t\t\tnameReadable: 'test',\n\t\t\tviewModel: 'Card',\n\t\t})\n\t\tassert.isFalsy(results.errors)\n\t\tawait this.assertValuedViewsFile(results)\n\t}\n\n\tprivate static async assertValuedViewsFile(results: FeatureActionResponse) {\n\t\tconst match = testUtil.assertFileByPathInGeneratedFiles(\n\t\t\t`views/views.ts`,\n\t\t\tresults.files\n\t\t)\n\n\t\tawait this.Service('typeChecker').check(match)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAGA;;AACA;;;;;;;;IAEqBA,sB,WASnB,IAAAC,UAAA,G,UAKA,IAAAA,UAAA,G,UAOA,IAAAA,UAAA,G,UAUA,IAAAA,UAAA,G;;;;;;;;;;;;;sGA3BD;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA;;cAAA;gBAEC,KAAKC,MAAL,GAAc,KAAKC,MAAL,CAAY,MAAZ,EAAoB,MAApB,CAAd;;cAFD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;yGAKA;QAAA;UAAA;YAAA;cAAA;gBAECC,YAAA,CAAOC,UAAP,CAAkB,KAAKH,MAAL,CAAYI,OAA9B;;cAFD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;8HAKA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEuB,KAAKJ,MAAL,CAAYI,OAAZ,CAAoB,EAApB,CAFvB;;cAAA;gBAEOC,OAFP;;gBAGCH,YAAA,CAAOI,OAAP,CAAeD,OAAO,CAACE,MAAvB;;gBACAL,YAAA,CAAOI,OAAP,CAAeD,OAAO,CAACG,KAAvB;;cAJD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;6IAOA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEuB,KAAKP,MAAL,CAAY,MAAZ,EAAoB,QAApB,EAA8BG,OAA9B,CAAsC;kBAC3DK,QAAQ,EAAE,WADiD;kBAE3DC,MAAM,EAAE;gBAFmD,CAAtC,CAFvB;;cAAA;gBAEOL,OAFP;gBAAA;gBAAA,OAOO,KAAKM,qBAAL,CAA2BN,OAA3B,CAPP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;oIAUA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEuB,KAAKJ,MAAL,CAAY,MAAZ,EAAoB,QAApB,EAA8BG,OAA9B,CAAsC;kBAC3DK,QAAQ,EAAE,MADiD;kBAE3DG,YAAY,EAAE,MAF6C;kBAG3DC,SAAS,EAAE;gBAHgD,CAAtC,CAFvB;;cAAA;gBAEOR,OAFP;;gBAOCH,YAAA,CAAOI,OAAP,CAAeD,OAAO,CAACE,MAAvB;;gBAPD;gBAAA,OAQO,KAAKI,qBAAL,CAA2BN,OAA3B,CARP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;iHAWA,kBAA2CA,OAA3C;QAAA;QAAA;UAAA;YAAA;cAAA;gBACOS,KADP,GACeC,iBAAA,CAASC,gCAAT,mBAEbX,OAAO,CAACG,KAFK,CADf;gBAAA;gBAAA,OAMO,KAAKS,OAAL,CAAa,aAAb,EAA4BC,KAA5B,CAAkCJ,KAAlC,CANP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EA1CmDK,8B,8DAClB,O"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/parser",
3
- "version": "5.31.0",
3
+ "version": "5.32.0",
4
4
  "description": "An ESLint custom parser which leverages TypeScript ESTree",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,9 +45,9 @@
45
45
  "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
46
46
  },
47
47
  "dependencies": {
48
- "@typescript-eslint/scope-manager": "5.31.0",
49
- "@typescript-eslint/types": "5.31.0",
50
- "@typescript-eslint/typescript-estree": "5.31.0",
48
+ "@typescript-eslint/scope-manager": "5.32.0",
49
+ "@typescript-eslint/types": "5.32.0",
50
+ "@typescript-eslint/typescript-estree": "5.32.0",
51
51
  "debug": "^4.3.4"
52
52
  },
53
53
  "devDependencies": {
@@ -71,5 +71,5 @@
71
71
  ]
72
72
  }
73
73
  },
74
- "gitHead": "3983d84bb6affc3d14658380491ed74c0692fb0f"
74
+ "gitHead": "17dcf2742af64629844a08fecaaf52a583a5be2c"
75
75
  }
@@ -1,16 +1,16 @@
1
1
  export declare const TYPE: Readonly<{
2
- eslintImplicitGlobalSetting: "readonly";
3
- isTypeVariable: true;
4
- isValueVariable: false;
2
+ eslintImplicitGlobalSetting: string;
3
+ isTypeVariable: boolean;
4
+ isValueVariable: boolean;
5
5
  }>;
6
6
  export declare const VALUE: Readonly<{
7
- eslintImplicitGlobalSetting: "readonly";
8
- isTypeVariable: false;
9
- isValueVariable: true;
7
+ eslintImplicitGlobalSetting: string;
8
+ isTypeVariable: boolean;
9
+ isValueVariable: boolean;
10
10
  }>;
11
11
  export declare const TYPE_VALUE: Readonly<{
12
- eslintImplicitGlobalSetting: "readonly";
13
- isTypeVariable: true;
14
- isValueVariable: true;
12
+ eslintImplicitGlobalSetting: string;
13
+ isTypeVariable: boolean;
14
+ isValueVariable: boolean;
15
15
  }>;
16
16
  //# sourceMappingURL=base-config.d.ts.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/scope-manager",
3
- "version": "5.31.0",
3
+ "version": "5.32.0",
4
4
  "description": "TypeScript scope analyser for ESLint",
5
5
  "keywords": [
6
6
  "eslint",
@@ -38,12 +38,12 @@
38
38
  "typecheck": "cd ../../ && nx typecheck @typescript-eslint/scope-manager"
39
39
  },
40
40
  "dependencies": {
41
- "@typescript-eslint/types": "5.31.0",
42
- "@typescript-eslint/visitor-keys": "5.31.0"
41
+ "@typescript-eslint/types": "5.32.0",
42
+ "@typescript-eslint/visitor-keys": "5.32.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/glob": "*",
46
- "@typescript-eslint/typescript-estree": "5.31.0",
46
+ "@typescript-eslint/typescript-estree": "5.32.0",
47
47
  "glob": "*",
48
48
  "jest-specific-snapshot": "*",
49
49
  "make-dir": "*",
@@ -63,5 +63,5 @@
63
63
  ]
64
64
  }
65
65
  },
66
- "gitHead": "3983d84bb6affc3d14658380491ed74c0692fb0f"
66
+ "gitHead": "17dcf2742af64629844a08fecaaf52a583a5be2c"
67
67
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/types",
3
- "version": "5.31.0",
3
+ "version": "5.32.0",
4
4
  "description": "Types for the TypeScript-ESTree AST spec",
5
5
  "keywords": [
6
6
  "eslint",
@@ -80,5 +80,5 @@
80
80
  "devDependencies": {
81
81
  "typescript": "*"
82
82
  },
83
- "gitHead": "3983d84bb6affc3d14658380491ed74c0692fb0f"
83
+ "gitHead": "17dcf2742af64629844a08fecaaf52a583a5be2c"
84
84
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/typescript-estree",
3
- "version": "5.31.0",
3
+ "version": "5.32.0",
4
4
  "description": "A parser that converts TypeScript source code into an ESTree compatible form",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -42,8 +42,8 @@
42
42
  "typecheck": "tsc -p tsconfig.json --noEmit"
43
43
  },
44
44
  "dependencies": {
45
- "@typescript-eslint/types": "5.31.0",
46
- "@typescript-eslint/visitor-keys": "5.31.0",
45
+ "@typescript-eslint/types": "5.32.0",
46
+ "@typescript-eslint/visitor-keys": "5.32.0",
47
47
  "debug": "^4.3.4",
48
48
  "globby": "^11.1.0",
49
49
  "is-glob": "^4.0.3",
@@ -59,7 +59,7 @@
59
59
  "@types/is-glob": "*",
60
60
  "@types/semver": "*",
61
61
  "@types/tmp": "*",
62
- "@typescript-eslint/shared-fixtures": "5.31.0",
62
+ "@typescript-eslint/shared-fixtures": "5.32.0",
63
63
  "glob": "*",
64
64
  "jest-specific-snapshot": "*",
65
65
  "make-dir": "*",
@@ -82,5 +82,5 @@
82
82
  ]
83
83
  }
84
84
  },
85
- "gitHead": "3983d84bb6affc3d14658380491ed74c0692fb0f"
85
+ "gitHead": "17dcf2742af64629844a08fecaaf52a583a5be2c"
86
86
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/visitor-keys",
3
- "version": "5.31.0",
3
+ "version": "5.32.0",
4
4
  "description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
5
5
  "keywords": [
6
6
  "eslint",
@@ -39,7 +39,7 @@
39
39
  "typecheck": "tsc -p tsconfig.json --noEmit"
40
40
  },
41
41
  "dependencies": {
42
- "@typescript-eslint/types": "5.31.0",
42
+ "@typescript-eslint/types": "5.32.0",
43
43
  "eslint-visitor-keys": "^3.3.0"
44
44
  },
45
45
  "devDependencies": {
@@ -56,5 +56,5 @@
56
56
  ]
57
57
  }
58
58
  },
59
- "gitHead": "3983d84bb6affc3d14658380491ed74c0692fb0f"
59
+ "gitHead": "17dcf2742af64629844a08fecaaf52a583a5be2c"
60
60
  }
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  ]
19
19
  },
20
20
  "license": "MIT",
21
- "version": "17.1.15",
21
+ "version": "17.1.18",
22
22
  "bin": {
23
23
  "spruce": "./build/index.js"
24
24
  },
@@ -72,23 +72,23 @@
72
72
  "watch.tsc": "tsc -w --sourceMap"
73
73
  },
74
74
  "dependencies": {
75
- "@babel/cli": "^7.18.9",
76
- "@babel/plugin-proposal-decorators": "^7.18.9",
75
+ "@babel/cli": "^7.18.10",
76
+ "@babel/plugin-proposal-decorators": "^7.18.10",
77
77
  "@babel/runtime": "^7.18.9",
78
78
  "@jest/reporters": "^28.1.3",
79
79
  "@sprucelabs/error": "^5.0.490",
80
- "@sprucelabs/heartwood-view-controllers": "^86.13.41",
80
+ "@sprucelabs/heartwood-view-controllers": "^86.14.4",
81
81
  "@sprucelabs/jest-json-reporter": "^6.0.434",
82
- "@sprucelabs/mercury-client": "^31.0.112",
83
- "@sprucelabs/mercury-event-emitter": "^31.0.112",
84
- "@sprucelabs/mercury-types": "^35.0.70",
82
+ "@sprucelabs/mercury-client": "^31.0.117",
83
+ "@sprucelabs/mercury-event-emitter": "^31.0.117",
84
+ "@sprucelabs/mercury-types": "^35.0.71",
85
85
  "@sprucelabs/schema": "^28.4.2",
86
- "@sprucelabs/spruce-core-schemas": "^34.2.28",
87
- "@sprucelabs/spruce-event-plugin": "^45.0.0",
88
- "@sprucelabs/spruce-event-utils": "^27.0.88",
89
- "@sprucelabs/spruce-skill-booter": "^45.0.0",
90
- "@sprucelabs/spruce-skill-utils": "^26.3.20",
91
- "@sprucelabs/spruce-templates": "^17.1.15",
86
+ "@sprucelabs/spruce-core-schemas": "^34.2.29",
87
+ "@sprucelabs/spruce-event-plugin": "^45.2.2",
88
+ "@sprucelabs/spruce-event-utils": "^27.0.95",
89
+ "@sprucelabs/spruce-skill-booter": "^45.2.2",
90
+ "@sprucelabs/spruce-skill-utils": "^26.4.1",
91
+ "@sprucelabs/spruce-templates": "^17.1.18",
92
92
  "@typescript-eslint/eslint-plugin": "^5.27.1",
93
93
  "@typescript-eslint/parser": "^5.27.1",
94
94
  "cfonts": "^3.1.1",
@@ -119,14 +119,14 @@
119
119
  "uuid": "^8.3.2"
120
120
  },
121
121
  "devDependencies": {
122
- "@sprucelabs/data-stores": "^18.0.4",
122
+ "@sprucelabs/data-stores": "^18.0.11",
123
123
  "@sprucelabs/jest-sheets-reporter": "^1.3.69",
124
- "@sprucelabs/mercury-core-events": "^12.0.113",
124
+ "@sprucelabs/mercury-core-events": "^12.0.118",
125
125
  "@sprucelabs/resolve-path-aliases": "^1.1.77",
126
- "@sprucelabs/spruce-conversation-plugin": "^45.0.0",
127
- "@sprucelabs/spruce-deploy-plugin": "^45.0.0",
128
- "@sprucelabs/spruce-store-plugin": "^45.0.0",
129
- "@sprucelabs/spruce-test-fixtures": "^45.0.0",
126
+ "@sprucelabs/spruce-conversation-plugin": "^45.2.2",
127
+ "@sprucelabs/spruce-deploy-plugin": "^45.2.2",
128
+ "@sprucelabs/spruce-store-plugin": "^45.2.2",
129
+ "@sprucelabs/spruce-test-fixtures": "^45.2.2",
130
130
  "@sprucelabs/test": "^7.7.340",
131
131
  "@sprucelabs/test-utils": "^3.1.43",
132
132
  "@types/blessed": "^0.1.19",
@@ -627,5 +627,5 @@
627
627
  "terminal-kit"
628
628
  ]
629
629
  },
630
- "gitHead": "06be1f496a21f98906c0a31f5674378487575b3d"
630
+ "gitHead": "5649571ac234eac3262ee31574adbe7d6d802e13"
631
631
  }
@@ -1,4 +1,5 @@
1
1
  import { test, assert } from '@sprucelabs/test'
2
+ import { FeatureActionResponse } from '../../../features/features.types'
2
3
  import SyncAction from '../../../features/view/actions/SyncAction'
3
4
  import AbstractSkillTest from '../../../tests/AbstractSkillTest'
4
5
  import testUtil from '../../../tests/utilities/test.utility'
@@ -31,6 +32,21 @@ export default class KeepingViewsInSyncTest extends AbstractSkillTest {
31
32
  isRoot: true,
32
33
  })
33
34
 
35
+ await this.assertValuedViewsFile(results)
36
+ }
37
+
38
+ @test()
39
+ protected static async generatesValidTypesFileWithNoSkillViewsC() {
40
+ const results = await this.Action('view', 'create').execute({
41
+ viewType: 'view',
42
+ nameReadable: 'test',
43
+ viewModel: 'Card',
44
+ })
45
+ assert.isFalsy(results.errors)
46
+ await this.assertValuedViewsFile(results)
47
+ }
48
+
49
+ private static async assertValuedViewsFile(results: FeatureActionResponse) {
34
50
  const match = testUtil.assertFileByPathInGeneratedFiles(
35
51
  `views/views.ts`,
36
52
  results.files