@sprucelabs/spruce-cli 22.1.4 → 22.1.5

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,14 @@
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
+ ## [22.1.5](https://github.com/sprucelabsai-community/spruce-cli-workspace/compare/v22.1.4...v22.1.5) (2024-10-03)
7
+
8
+ **Note:** Version bump only for package @sprucelabs/spruce-cli
9
+
10
+
11
+
12
+
13
+
6
14
  ## [22.1.4](https://github.com/sprucelabsai-community/spruce-cli-workspace/compare/v22.1.3...v22.1.4) (2024-09-24)
7
15
 
8
16
  **Note:** Version bump only for package @sprucelabs/spruce-cli
@@ -1,33 +1,6 @@
1
1
  import { SchemaValues } from '@sprucelabs/schema';
2
2
  import AbstractAction from '../../AbstractAction';
3
3
  import { FeatureActionResponse } from '../../features.types';
4
- declare const optionsSchema: {
5
- id: string;
6
- name: string;
7
- description: string;
8
- fields: {
9
- destination: {
10
- type: "text";
11
- defaultValue: ".";
12
- options: undefined;
13
- };
14
- name: {
15
- label: "What's the name of your skill?";
16
- type: "text";
17
- isRequired: true;
18
- hint: "This marketing focused, like \"8-bit Stories\" or \"Adventures\".";
19
- options: undefined;
20
- };
21
- description: {
22
- label: "How would you describe your skill?";
23
- type: "text";
24
- isRequired: true;
25
- options: undefined;
26
- };
27
- };
28
- };
29
- type OptionsSchema = typeof optionsSchema;
30
- type Options = SchemaValues<OptionsSchema>;
31
4
  export default class CreateAction extends AbstractAction<OptionsSchema> {
32
5
  optionsSchema: {
33
6
  id: string;
@@ -58,4 +31,31 @@ export default class CreateAction extends AbstractAction<OptionsSchema> {
58
31
  invocationMessage: string;
59
32
  execute(options: Options): Promise<FeatureActionResponse>;
60
33
  }
34
+ declare const optionsSchema: {
35
+ id: string;
36
+ name: string;
37
+ description: string;
38
+ fields: {
39
+ destination: {
40
+ type: "text";
41
+ defaultValue: ".";
42
+ options: undefined;
43
+ };
44
+ name: {
45
+ label: "What's the name of your skill?";
46
+ type: "text";
47
+ isRequired: true;
48
+ hint: "This marketing focused, like \"8-bit Stories\" or \"Adventures\".";
49
+ options: undefined;
50
+ };
51
+ description: {
52
+ label: "How would you describe your skill?";
53
+ type: "text";
54
+ isRequired: true;
55
+ options: undefined;
56
+ };
57
+ };
58
+ };
59
+ type OptionsSchema = typeof optionsSchema;
60
+ type Options = SchemaValues<OptionsSchema>;
61
61
  export {};
@@ -6,14 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const schema_1 = require("@sprucelabs/schema");
7
7
  const skillFeature_schema_1 = __importDefault(require("./../../../.spruce/schemas/spruceCli/v2020_07_22/skillFeature.schema"));
8
8
  const AbstractAction_1 = __importDefault(require("../../AbstractAction"));
9
- const optionsSchema = (0, schema_1.buildSchema)({
10
- id: 'createSkill',
11
- name: 'create skill',
12
- description: 'A skill is a micro-app, focused on delivering personaziled (and discrete) experiences.',
13
- fields: {
14
- ...skillFeature_schema_1.default.fields,
15
- },
16
- });
17
9
  class CreateAction extends AbstractAction_1.default {
18
10
  optionsSchema = optionsSchema;
19
11
  commandAliases = ['create.skill [destination]'];
@@ -34,4 +26,12 @@ class CreateAction extends AbstractAction_1.default {
34
26
  }
35
27
  }
36
28
  exports.default = CreateAction;
29
+ const optionsSchema = (0, schema_1.buildSchema)({
30
+ id: 'createSkill',
31
+ name: 'create skill',
32
+ description: 'A skill is a micro-app, focused on delivering personaziled (and discrete) experiences.',
33
+ fields: {
34
+ ...skillFeature_schema_1.default.fields,
35
+ },
36
+ });
37
37
  //# sourceMappingURL=CreateAction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAction.js","sourceRoot":"","sources":["../../../../src/features/skill/actions/CreateAction.ts"],"names":[],"mappings":";;;;;AAAA,+CAA8D;AAC9D,oHAA0F;AAC1F,0EAAiD;AAGjD,MAAM,aAAa,GAA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CAAA;IACL,CAAC;CACJ;AApBD,+BAoBC;AAED,MAAM,aAAa,GAAG,IAAA,oBAAW,EAAC;IAC9B,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,cAAc;IACpB,WAAW,EACP,wFAAwF;IAC5F,MAAM,EAAE;QACJ,GAAG,6BAAkB,CAAC,MAAM;KAC/B;CACJ,CAAC,CAAA"}
@@ -64,13 +64,13 @@ const optionsSchema = (0, schema_1.buildSchema)({
64
64
  type: 'text',
65
65
  label: `What is your skill's name?`,
66
66
  isRequired: true,
67
- hint: 'The name people will see with their special eyes!',
67
+ hint: 'The name people will see in the Marketplace!',
68
68
  },
69
69
  nameKebab: {
70
70
  type: 'text',
71
71
  label: 'Namespace',
72
72
  isRequired: true,
73
- hint: 'The namespace of your skill in-kebab-case.',
73
+ hint: "The namespace of your skill in-kebab-case. It is what you will use in a lot of your code, don't start it with a number!",
74
74
  },
75
75
  description: {
76
76
  type: 'text',
@@ -1 +1 @@
1
- {"version":3,"file":"RegisterAction.js","sourceRoot":"","sources":["../../../../src/features/skill/actions/RegisterAction.ts"],"names":[],"mappings":";;;;;AAqDA,8DAOC;AA5DD,+CAA8D;AAC9D,uEAAkE;AAElE,0EAAiD;AAGjD,MAAqB,cAAe,SAAQ,wBAA6B;IAC9D,aAAa,GAAkB,aAAa,CAAA;IAC5C,cAAc,GAAG,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAA;IAC/C,iBAAiB,GAAG,8BAA8B,CAAA;IAElD,KAAK,CAAC,OAAO,CAAC,OAAgB;QACjC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,GAC1C,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAA;QAE7C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;QACxC,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,6BAA6B,EAAE;YAC7D,OAAO,EAAE;gBACL,IAAI,EAAE,YAAY;gBA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iBACvE;gBACD,MAAM,EAAE,CAAC,GAAG,CAAC;aAChB,CAAA;QACL,CAAC;IACL,CAAC;CACJ;AA7CD,iCA6CC;AAED,SAAgB,yBAAyB,CAAC,KAAsB;IAC5D,OAAO;QACH,SAAS,KAAK,CAAC,IAAI,EAAE;QACrB,cAAc,KAAK,CAAC,IAAI,EAAE;QAC1B,OAAO,KAAK,CAAC,EAAE,EAAE;QACjB,YAAY,KAAK,CAAC,MAAM,EAAE;KAC7B,CAAA;AACL,CAAC;AAED,MAAM,aAAa,GAAG,IAAA,oBAAW,EAAC;IAC9B,EAAE,EAAE,qBAAqB;IACzB,WAAW,EACP,oFAAoF;IACxF,MAAM,EAAE;QACJ,YAAY,EAAE;YACV,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,4BAA4B;YACnC,UAAU,EAAE,IAAI;YAChB,IAAI,EAAE,8CAA8C;SACvD;QACD,SAAS,EAAE;YACP,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,WAAW;YAClB,UAAU,EAAE,IAAI;YAChB,IAAI,EAAE,yHAAyH;SAClI;QACD,WAAW,EAAE;YACT,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,sBAAsB;SAChC;KACJ;CACJ,CAAC,CAAA"}
@@ -1,6 +1,27 @@
1
1
  import { AbstractEventEmitter } from '@sprucelabs/mercury-event-emitter';
2
2
  import CommandService from '../../services/CommandService';
3
3
  import { SpruceTestResults } from './test.types';
4
+ export default class TestRunner extends AbstractEventEmitter<TestRunnerContract> {
5
+ private cwd;
6
+ private commandService;
7
+ private wasKilled;
8
+ private testResults;
9
+ constructor(options: {
10
+ cwd: string;
11
+ commandService: CommandService;
12
+ });
13
+ run(options?: {
14
+ pattern?: string | null;
15
+ debugPort?: number | null;
16
+ }): Promise<SpruceTestResults & {
17
+ wasKilled: boolean;
18
+ }>;
19
+ private isDebugMessage;
20
+ hasFailedTests(): boolean;
21
+ hasSkippedTests(): boolean;
22
+ kill(): void;
23
+ private resolvePathToJest;
24
+ }
4
25
  declare const testRunnerContract: {
5
26
  eventSignatures: {
6
27
  'did-error': {
@@ -31,25 +52,4 @@ declare const testRunnerContract: {
31
52
  };
32
53
  };
33
54
  type TestRunnerContract = typeof testRunnerContract;
34
- export default class TestRunner extends AbstractEventEmitter<TestRunnerContract> {
35
- private cwd;
36
- private commandService;
37
- private wasKilled;
38
- private testResults;
39
- constructor(options: {
40
- cwd: string;
41
- commandService: CommandService;
42
- });
43
- run(options?: {
44
- pattern?: string | null;
45
- debugPort?: number | null;
46
- }): Promise<SpruceTestResults & {
47
- wasKilled: boolean;
48
- }>;
49
- private isDebugMessage;
50
- hasFailedTests(): boolean;
51
- hasSkippedTests(): boolean;
52
- kill(): void;
53
- private resolvePathToJest;
54
- }
55
55
  export {};
@@ -10,35 +10,6 @@ const schema_1 = require("@sprucelabs/schema");
10
10
  const spruce_skill_utils_1 = require("@sprucelabs/spruce-skill-utils");
11
11
  const SpruceError_1 = __importDefault(require("../../errors/SpruceError"));
12
12
  const JestJsonParser_1 = __importDefault(require("../../tests/JestJsonParser"));
13
- const testRunnerContract = (0, mercury_types_1.buildEventContract)({
14
- eventSignatures: {
15
- 'did-error': {
16
- emitPayloadSchema: (0, schema_1.buildSchema)({
17
- id: 'testRunnerDidErrorEmitPayload',
18
- fields: {
19
- message: {
20
- type: 'text',
21
- isRequired: true,
22
- },
23
- },
24
- }),
25
- },
26
- 'did-update': {
27
- emitPayloadSchema: (0, schema_1.buildSchema)({
28
- id: 'testRunnerDidUpdateEmitPayload',
29
- fields: {
30
- results: {
31
- type: 'raw',
32
- isRequired: true,
33
- options: {
34
- valueType: 'SpruceTestResults',
35
- },
36
- },
37
- },
38
- }),
39
- },
40
- },
41
- });
42
13
  class TestRunner extends mercury_event_emitter_1.AbstractEventEmitter {
43
14
  cwd;
44
15
  commandService;
@@ -122,4 +93,33 @@ class TestRunner extends mercury_event_emitter_1.AbstractEventEmitter {
122
93
  }
123
94
  }
124
95
  exports.default = TestRunner;
96
+ const testRunnerContract = (0, mercury_types_1.buildEventContract)({
97
+ eventSignatures: {
98
+ 'did-error': {
99
+ emitPayloadSchema: (0, schema_1.buildSchema)({
100
+ id: 'testRunnerDidErrorEmitPayload',
101
+ fields: {
102
+ message: {
103
+ type: 'text',
104
+ isRequired: true,
105
+ },
106
+ },
107
+ }),
108
+ },
109
+ 'did-update': {
110
+ emitPayloadSchema: (0, schema_1.buildSchema)({
111
+ id: 'testRunnerDidUpdateEmitPayload',
112
+ fields: {
113
+ results: {
114
+ type: 'raw',
115
+ isRequired: true,
116
+ options: {
117
+ valueType: 'SpruceTestResults',
118
+ },
119
+ },
120
+ },
121
+ }),
122
+ },
123
+ },
124
+ });
125
125
  //# sourceMappingURL=TestRunner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TestRunner.js","sourceRoot":"","sources":["../../../src/features/test/TestRunner.ts"],"names":[],"mappings":";;;;;AAAA,gDAA2B;AAC3B,6EAAwE;AACxE,6DAGkC;AAClC,+CAAgD;AAChD,uEAAyD;AACzD,2EAAkD;AAElD,gFAAuD;AAGvD,MAAM,kBAAkB,GAAG,IAAA,kCAAkB,EAAC;IAC1C,eAAe,EAAE;QACb,WAAW,EAAE;YACT,iBAAiB,EAAE,IAAA,oBAAW,EAAC;gBAC3B,EAAE,EAAE,+BAA+B;gBACnC,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,UAAU,EAAE,IAAI;qBACnB;iBACJ;aACJ,CAAC;SACL;QACD,YAAY,EAAE;YACV,iBAAiB,EAAE,IAAA,oBAAW,EAAC;gBAC3B,EAAE,EAAE,gCAAgC;gBACpC,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,IAAI,EAAE,KAAK;wBACX,UAAU,EAAE,IAAI;wBAChB,OAAO,EAAE;4BACL,SAAS,EAAE,mBAAmB;yBACjC;qBACJ;iBACJ;aACJ,CAAC;SACL;KACJ;CACJ,CAAC,CAAA;AAGF,MAAqB,UAAW,SAAQ,4CAA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TestFileTest {
3
4
  name: string;
4
5
  status: 'passed' | 'failed' | 'skipped' | 'pending' | 'todo' | 'disabled' | 'focused';
@@ -21,4 +22,3 @@ export interface SpruceTestResults {
21
22
  totalTestFilesComplete?: number;
22
23
  testFiles?: SpruceTestFile[];
23
24
  }
24
- export type TestRunnerStatus = 'running' | 'stopped' | 'ready';
@@ -10,19 +10,19 @@ class SetupAction extends AbstractAction_1.default {
10
10
  recommendedExtensions = [
11
11
  {
12
12
  id: 'dbaeumer.vscode-eslint',
13
- label: 'ESLint syntax validation and fixing. Formats your code on save for you.',
13
+ label: 'ESLint: Syntax validation and fixing. Formats your code on save for you.',
14
14
  },
15
15
  {
16
16
  id: 'christian-kohler.npm-intellisense',
17
- label: 'Intellisense autocompletion of installed npm modules in your package.json.',
17
+ label: 'NPM Intellisense: Autocompletion for npm modules in your package.json.',
18
18
  },
19
19
  {
20
20
  id: 'mikestead.dotenv',
21
- label: '.env formatting support right in vscode!',
21
+ label: 'ENV Formatting: Support for nice .env formatting right in vscode!',
22
22
  },
23
23
  {
24
- id: 'YoavBls.pretty-ts-errors',
25
- label: 'Pretty TypeScript errors and warnings. Makes them much easier to read.',
24
+ id: 'yoavbls.pretty-ts-errors',
25
+ label: 'Pretty TypeScript Errors: Makes Typescript errors to make them much easier to read.',
26
26
  },
27
27
  ];
28
28
  optionsSchema = setupVscodeOptions_schema_1.default;
@@ -1 +1 @@
1
- {"version":3,"file":"SetupAction.js","sourceRoot":"","sources":["../../../../src/features/vscode/actions/SetupAction.ts"],"names":[],"mappings":";;;;;AACA,gIAA+F;AAG/F,0EAAiD;AAQjD,MAAqB,WAAY,SAAQ,wBAA6B;IAC3D,iBAAiB,GAAG,sCAAsC,CAAA;IACzD,qBAAqB,GAAgB;QACzC;YACI,EAAE,EAAE,wBAAwB;YAC5B,KAAK,EAAE,yEAAyE;SACnF;QACD;YACI,EAAE,EAAE,mCAAmC;YACvC,KAAK,EAAE,4EAA4E;SACtF;QACD;YACI,EAAE,EAAE,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AE,CAAA;QAEtD,MAAM,iBAAiB,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,CACvD,CAAC,oBAAoB,EAAE,EAAE;YACrB,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,IAAI,CAC3C,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,oBAAoB,CAAC,EAAE,CACvC,CAAA;YACD,IAAI,gBAAgB,EAAE,CAAC;gBACnB,OAAO,KAAK,CAAA;YAChB,CAAC;YACD,OAAO,IAAI,CAAA;QACf,CAAC,CACJ,CAAA;QACD,OAAO,iBAAiB,CAAA;IAC5B,CAAC;CACJ;AA5KD,8BA4KC"}
1
+ {"version":3,"file":"SetupAction.js","sourceRoot":"","sources":["../../../../src/features/vscode/actions/SetupAction.ts"],"names":[],"mappings":";;;;;AACA,gIAA+F;AAG/F,0EAAiD;AAQjD,MAAqB,WAAY,SAAQ,wBAA6B;IAC3D,iBAAiB,GAAG,sCAAsC,CAAA;IACzD,qBAAqB,GAAgB;QACzC;YACI,EAAE,EAAE,wBAAwB;YAC5B,KAAK,EAAE,0EAA0E;SACpF;QACD;YACI,EAAE,EAAE,mCAAmC;YACvC,KAAK,EAAE,wEAAwE;SAClF;QACD;YACI,EAAE,EAAE,kBAAkB;YACtB,KAAK,EAAE,mEAAmE;SAC7E;QACD;YACI,EAAE,EAAE,0BAA0B;YAC9B,KAAK,EAAE,qFAAqF;SAC/F;KACJ,CAAA;IAEM,aAAa,GAAG,mCAAiB,CAAA;IAChC,YAAY,GAAiB;QACjC;YACI,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,IAAI;SACd;QACD;YACI,IAAI,EAAE,sBAAsB;YAC5B,KAAK,EAAE,IAAI;SACd;KACJ,CAAA;IAEM,KAAK,CAAC,OAAO,CAAC,OAAgB;QACjC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAA;QAEzD,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,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
  type: "text";
17
- isRequired: true;
18
17
  label: string;
18
+ isRequired: true;
19
19
  };
20
20
  };
21
21
  };
@@ -17,8 +17,8 @@ exports.default = (0, schema_1.buildSchema)({
17
17
  },
18
18
  description: {
19
19
  type: 'text',
20
- isRequired: true,
21
20
  label: 'How would you describe your skill?',
21
+ isRequired: true,
22
22
  },
23
23
  },
24
24
  });
@@ -1 +1 @@
1
- {"version":3,"file":"skillFeature.builder.js","sourceRoot":"","sources":["../../../src/schemas/v2020_07_22/skillFeature.builder.ts"],"names":[],"mappings":";;AAAA,+CAAgD;AAEhD,kBAAe,IAAA,oBAAW,EAAC;IACvB,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE;QACJ,WAAW,EAAE;YACT,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,GAAG;SACpB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,gCAAgC;YACvC,IAAI,EAAE,+DAA+D;SACxE;QACD,WAAW,EAAE;YACT,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,oCAAoC;SAC9C;KACJ;CACJ,CAAC,CAAA"}
1
+ {"version":3,"file":"skillFeature.builder.js","sourceRoot":"","sources":["../../../src/schemas/v2020_07_22/skillFeature.builder.ts"],"names":[],"mappings":";;AAAA,+CAAgD;AAEhD,kBAAe,IAAA,oBAAW,EAAC;IACvB,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE;QACJ,WAAW,EAAE;YACT,IAAI,EAAE,MAAM;YACZ,YAAY,EAAE,GAAG;SACpB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,gCAAgC;YACvC,IAAI,EAAE,+DAA+D;SACxE;QACD,WAAW,EAAE;YACT,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,oCAAoC;YAC3C,UAAU,EAAE,IAAI;SACnB;KACJ;CACJ,CAAC,CAAA"}
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  ]
18
18
  },
19
19
  "license": "MIT",
20
- "version": "22.1.4",
20
+ "version": "22.1.5",
21
21
  "bin": {
22
22
  "spruce": "./build/index.js"
23
23
  },
@@ -84,7 +84,7 @@
84
84
  "@sprucelabs/spruce-core-schemas": "^40.1.302",
85
85
  "@sprucelabs/spruce-event-utils": "^40.1.79",
86
86
  "@sprucelabs/spruce-skill-utils": "^31.0.376",
87
- "@sprucelabs/spruce-templates": "^22.1.4",
87
+ "@sprucelabs/spruce-templates": "^22.1.5",
88
88
  "@typescript-eslint/eslint-plugin": "^7.7.1",
89
89
  "@typescript-eslint/parser": "^7.7.1",
90
90
  "cfonts": "^3.3.0",
@@ -588,5 +588,5 @@
588
588
  "open"
589
589
  ]
590
590
  },
591
- "gitHead": "575b36c2f800e07e5511de479133313734a21a51"
591
+ "gitHead": "2fbc84ecd17b5e130c20c241c0c4da229714ea08"
592
592
  }
@@ -3,19 +3,6 @@ import skillFeatureSchema from '#spruce/schemas/spruceCli/v2020_07_22/skillFeatu
3
3
  import AbstractAction from '../../AbstractAction'
4
4
  import { FeatureActionResponse } from '../../features.types'
5
5
 
6
- const optionsSchema = buildSchema({
7
- id: 'createSkill',
8
- name: 'create skill',
9
- description:
10
- 'A skill is a micro-app, focused on delivering personaziled (and discrete) experiences.',
11
- fields: {
12
- ...skillFeatureSchema.fields,
13
- },
14
- })
15
-
16
- type OptionsSchema = typeof optionsSchema
17
- type Options = SchemaValues<OptionsSchema>
18
-
19
6
  export default class CreateAction extends AbstractAction<OptionsSchema> {
20
7
  public optionsSchema = optionsSchema
21
8
  public commandAliases = ['create.skill [destination]']
@@ -37,3 +24,16 @@ export default class CreateAction extends AbstractAction<OptionsSchema> {
37
24
  }
38
25
  }
39
26
  }
27
+
28
+ const optionsSchema = buildSchema({
29
+ id: 'createSkill',
30
+ name: 'create skill',
31
+ description:
32
+ 'A skill is a micro-app, focused on delivering personaziled (and discrete) experiences.',
33
+ fields: {
34
+ ...skillFeatureSchema.fields,
35
+ },
36
+ })
37
+
38
+ type OptionsSchema = typeof optionsSchema
39
+ type Options = SchemaValues<OptionsSchema>
@@ -69,13 +69,13 @@ const optionsSchema = buildSchema({
69
69
  type: 'text',
70
70
  label: `What is your skill's name?`,
71
71
  isRequired: true,
72
- hint: 'The name people will see with their special eyes!',
72
+ hint: 'The name people will see in the Marketplace!',
73
73
  },
74
74
  nameKebab: {
75
75
  type: 'text',
76
76
  label: 'Namespace',
77
77
  isRequired: true,
78
- hint: 'The namespace of your skill in-kebab-case.',
78
+ hint: "The namespace of your skill in-kebab-case. It is what you will use in a lot of your code, don't start it with a number!",
79
79
  },
80
80
  description: {
81
81
  type: 'text',
@@ -11,37 +11,6 @@ import CommandService from '../../services/CommandService'
11
11
  import JestJsonParser from '../../tests/JestJsonParser'
12
12
  import { SpruceTestResults } from './test.types'
13
13
 
14
- const testRunnerContract = buildEventContract({
15
- eventSignatures: {
16
- 'did-error': {
17
- emitPayloadSchema: buildSchema({
18
- id: 'testRunnerDidErrorEmitPayload',
19
- fields: {
20
- message: {
21
- type: 'text',
22
- isRequired: true,
23
- },
24
- },
25
- }),
26
- },
27
- 'did-update': {
28
- emitPayloadSchema: buildSchema({
29
- id: 'testRunnerDidUpdateEmitPayload',
30
- fields: {
31
- results: {
32
- type: 'raw',
33
- isRequired: true,
34
- options: {
35
- valueType: 'SpruceTestResults',
36
- },
37
- },
38
- },
39
- }),
40
- },
41
- },
42
- })
43
- type TestRunnerContract = typeof testRunnerContract
44
-
45
14
  export default class TestRunner extends AbstractEventEmitter<TestRunnerContract> {
46
15
  private cwd: string
47
16
  private commandService: CommandService
@@ -158,3 +127,34 @@ export default class TestRunner extends AbstractEventEmitter<TestRunnerContract>
158
127
  throw new SpruceError({ code: 'INVALID_TEST_DIRECTORY', dir: this.cwd })
159
128
  }
160
129
  }
130
+
131
+ const testRunnerContract = buildEventContract({
132
+ eventSignatures: {
133
+ 'did-error': {
134
+ emitPayloadSchema: buildSchema({
135
+ id: 'testRunnerDidErrorEmitPayload',
136
+ fields: {
137
+ message: {
138
+ type: 'text',
139
+ isRequired: true,
140
+ },
141
+ },
142
+ }),
143
+ },
144
+ 'did-update': {
145
+ emitPayloadSchema: buildSchema({
146
+ id: 'testRunnerDidUpdateEmitPayload',
147
+ fields: {
148
+ results: {
149
+ type: 'raw',
150
+ isRequired: true,
151
+ options: {
152
+ valueType: 'SpruceTestResults',
153
+ },
154
+ },
155
+ },
156
+ }),
157
+ },
158
+ },
159
+ })
160
+ type TestRunnerContract = typeof testRunnerContract
@@ -1,4 +1,6 @@
1
1
  export type TestResultStatus = 'running' | 'passed' | 'failed'
2
+ export type TestRunnerStatus = 'running' | 'stopped' | 'ready'
3
+
2
4
  export interface SpruceTestFileTest {
3
5
  name: string
4
6
  status:
@@ -30,5 +32,3 @@ export interface SpruceTestResults {
30
32
  totalTestFilesComplete?: number
31
33
  testFiles?: SpruceTestFile[]
32
34
  }
33
-
34
- export type TestRunnerStatus = 'running' | 'stopped' | 'ready'
@@ -15,19 +15,19 @@ export default class SetupAction extends AbstractAction<OptionsSchema> {
15
15
  private recommendedExtensions: Extension[] = [
16
16
  {
17
17
  id: 'dbaeumer.vscode-eslint',
18
- label: 'ESLint syntax validation and fixing. Formats your code on save for you.',
18
+ label: 'ESLint: Syntax validation and fixing. Formats your code on save for you.',
19
19
  },
20
20
  {
21
21
  id: 'christian-kohler.npm-intellisense',
22
- label: 'Intellisense autocompletion of installed npm modules in your package.json.',
22
+ label: 'NPM Intellisense: Autocompletion for npm modules in your package.json.',
23
23
  },
24
24
  {
25
25
  id: 'mikestead.dotenv',
26
- label: '.env formatting support right in vscode!',
26
+ label: 'ENV Formatting: Support for nice .env formatting right in vscode!',
27
27
  },
28
28
  {
29
- id: 'YoavBls.pretty-ts-errors',
30
- label: 'Pretty TypeScript errors and warnings. Makes them much easier to read.',
29
+ id: 'yoavbls.pretty-ts-errors',
30
+ label: 'Pretty TypeScript Errors: Makes Typescript errors to make them much easier to read.',
31
31
  },
32
32
  ]
33
33
 
@@ -16,8 +16,8 @@ export default buildSchema({
16
16
  },
17
17
  description: {
18
18
  type: 'text',
19
- isRequired: true,
20
19
  label: 'How would you describe your skill?',
20
+ isRequired: true,
21
21
  },
22
22
  },
23
23
  })