@sprucelabs/heartwood-polish 7.0.10 → 7.0.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.
- package/build/.spruce/errors/errors.types.d.ts +13 -13
- package/build/.spruce/errors/heartwoodPolish/assertionFailed.schema.js +1 -1
- package/build/.spruce/errors/heartwoodPolish/fileNotFound.schema.js +3 -3
- package/build/.spruce/errors/heartwoodPolish/invalidActionName.schema.js +5 -5
- package/build/.spruce/errors/heartwoodPolish/invalidAssertName.schema.js +3 -3
- package/build/.spruce/errors/heartwoodPolish/invalidStep.schema.js +1 -1
- package/build/.spruce/errors/heartwoodPolish/invalidTarget.schema.js +3 -3
- package/build/.spruce/errors/heartwoodPolish/missingAssertion.schema.js +1 -1
- package/build/.spruce/errors/heartwoodPolish/namespaceNotFound.schema.js +3 -3
- package/build/.spruce/errors/heartwoodPolish/tooManyPolishFiles.schema.js +1 -1
- package/build/.spruce/errors/options.types.d.ts +2 -2
- package/build/.spruce/schemas/fields/fields.types.d.ts +1 -1
- package/package.json +10 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as SchemaEntity } from '@sprucelabs/schema';
|
|
2
2
|
import * as SpruceSchema from '@sprucelabs/schema';
|
|
3
|
-
import * as Polish from
|
|
3
|
+
import * as Polish from "../../polish.types";
|
|
4
4
|
export declare namespace SpruceErrors.HeartwoodPolish {
|
|
5
5
|
interface TooManyPolishFiles {
|
|
6
6
|
}
|
|
@@ -15,7 +15,7 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
15
15
|
export declare namespace SpruceErrors.HeartwoodPolish {
|
|
16
16
|
interface NamespaceNotFound {
|
|
17
17
|
/** package.json file path. */
|
|
18
|
-
filePath?: string | undefined | null;
|
|
18
|
+
'filePath'?: string | undefined | null;
|
|
19
19
|
}
|
|
20
20
|
interface NamespaceNotFoundSchema extends SpruceSchema.Schema {
|
|
21
21
|
id: 'namespaceNotFound';
|
|
@@ -23,7 +23,7 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
23
23
|
name: 'Namespace not found';
|
|
24
24
|
fields: {
|
|
25
25
|
/** package.json file path. */
|
|
26
|
-
filePath: {
|
|
26
|
+
'filePath': {
|
|
27
27
|
label: 'package.json file path';
|
|
28
28
|
type: 'text';
|
|
29
29
|
options: undefined;
|
|
@@ -45,7 +45,7 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
45
45
|
}
|
|
46
46
|
export declare namespace SpruceErrors.HeartwoodPolish {
|
|
47
47
|
interface InvalidTarget {
|
|
48
|
-
target: Polish.PolishTarget;
|
|
48
|
+
'target': (Polish.PolishTarget);
|
|
49
49
|
}
|
|
50
50
|
interface InvalidTargetSchema extends SpruceSchema.Schema {
|
|
51
51
|
id: 'invalidTarget';
|
|
@@ -53,7 +53,7 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
53
53
|
name: 'Invalid target';
|
|
54
54
|
fields: {
|
|
55
55
|
/** . */
|
|
56
|
-
target: {
|
|
56
|
+
'target': {
|
|
57
57
|
type: 'raw';
|
|
58
58
|
isRequired: true;
|
|
59
59
|
options: {
|
|
@@ -78,7 +78,7 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
78
78
|
export declare namespace SpruceErrors.HeartwoodPolish {
|
|
79
79
|
interface InvalidAssertName {
|
|
80
80
|
/** Name. */
|
|
81
|
-
name: string;
|
|
81
|
+
'name': string;
|
|
82
82
|
}
|
|
83
83
|
interface InvalidAssertNameSchema extends SpruceSchema.Schema {
|
|
84
84
|
id: 'invalidAssertName';
|
|
@@ -86,7 +86,7 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
86
86
|
name: 'invalid assert name';
|
|
87
87
|
fields: {
|
|
88
88
|
/** Name. */
|
|
89
|
-
name: {
|
|
89
|
+
'name': {
|
|
90
90
|
label: 'Name';
|
|
91
91
|
type: 'text';
|
|
92
92
|
isRequired: true;
|
|
@@ -98,8 +98,8 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
98
98
|
}
|
|
99
99
|
export declare namespace SpruceErrors.HeartwoodPolish {
|
|
100
100
|
interface InvalidActionName {
|
|
101
|
-
name: string;
|
|
102
|
-
validNames: string[];
|
|
101
|
+
'name': string;
|
|
102
|
+
'validNames': string[];
|
|
103
103
|
}
|
|
104
104
|
interface InvalidActionNameSchema extends SpruceSchema.Schema {
|
|
105
105
|
id: 'invalidActionName';
|
|
@@ -107,13 +107,13 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
107
107
|
name: 'Invalid action name';
|
|
108
108
|
fields: {
|
|
109
109
|
/** . */
|
|
110
|
-
name: {
|
|
110
|
+
'name': {
|
|
111
111
|
type: 'text';
|
|
112
112
|
isRequired: true;
|
|
113
113
|
options: undefined;
|
|
114
114
|
};
|
|
115
115
|
/** . */
|
|
116
|
-
validNames: {
|
|
116
|
+
'validNames': {
|
|
117
117
|
type: 'text';
|
|
118
118
|
isRequired: true;
|
|
119
119
|
isArray: true;
|
|
@@ -126,7 +126,7 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
126
126
|
export declare namespace SpruceErrors.HeartwoodPolish {
|
|
127
127
|
interface FileNotFound {
|
|
128
128
|
/** Missing File. */
|
|
129
|
-
filePath: string;
|
|
129
|
+
'filePath': string;
|
|
130
130
|
}
|
|
131
131
|
interface FileNotFoundSchema extends SpruceSchema.Schema {
|
|
132
132
|
id: 'fileNotFound';
|
|
@@ -134,7 +134,7 @@ export declare namespace SpruceErrors.HeartwoodPolish {
|
|
|
134
134
|
name: 'file not found';
|
|
135
135
|
fields: {
|
|
136
136
|
/** Missing File. */
|
|
137
|
-
filePath: {
|
|
137
|
+
'filePath': {
|
|
138
138
|
label: 'Missing File';
|
|
139
139
|
type: 'text';
|
|
140
140
|
isRequired: true;
|
|
@@ -5,7 +5,7 @@ const assertionFailedSchema = {
|
|
|
5
5
|
id: 'assertionFailed',
|
|
6
6
|
namespace: 'HeartwoodPolish',
|
|
7
7
|
name: 'Assertion failed',
|
|
8
|
-
fields: {}
|
|
8
|
+
fields: {}
|
|
9
9
|
};
|
|
10
10
|
schema_1.SchemaRegistry.getInstance().trackSchema(assertionFailedSchema);
|
|
11
11
|
exports.default = assertionFailedSchema;
|
|
@@ -7,13 +7,13 @@ const fileNotFoundSchema = {
|
|
|
7
7
|
name: 'file not found',
|
|
8
8
|
fields: {
|
|
9
9
|
/** Missing File. */
|
|
10
|
-
filePath: {
|
|
10
|
+
'filePath': {
|
|
11
11
|
label: 'Missing File',
|
|
12
12
|
type: 'text',
|
|
13
13
|
isRequired: true,
|
|
14
|
-
options: undefined
|
|
14
|
+
options: undefined
|
|
15
15
|
},
|
|
16
|
-
}
|
|
16
|
+
}
|
|
17
17
|
};
|
|
18
18
|
schema_1.SchemaRegistry.getInstance().trackSchema(fileNotFoundSchema);
|
|
19
19
|
exports.default = fileNotFoundSchema;
|
|
@@ -7,19 +7,19 @@ const invalidActionNameSchema = {
|
|
|
7
7
|
name: 'Invalid action name',
|
|
8
8
|
fields: {
|
|
9
9
|
/** . */
|
|
10
|
-
name: {
|
|
10
|
+
'name': {
|
|
11
11
|
type: 'text',
|
|
12
12
|
isRequired: true,
|
|
13
|
-
options: undefined
|
|
13
|
+
options: undefined
|
|
14
14
|
},
|
|
15
15
|
/** . */
|
|
16
|
-
validNames: {
|
|
16
|
+
'validNames': {
|
|
17
17
|
type: 'text',
|
|
18
18
|
isRequired: true,
|
|
19
19
|
isArray: true,
|
|
20
|
-
options: undefined
|
|
20
|
+
options: undefined
|
|
21
21
|
},
|
|
22
|
-
}
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
schema_1.SchemaRegistry.getInstance().trackSchema(invalidActionNameSchema);
|
|
25
25
|
exports.default = invalidActionNameSchema;
|
|
@@ -7,13 +7,13 @@ const invalidAssertNameSchema = {
|
|
|
7
7
|
name: 'invalid assert name',
|
|
8
8
|
fields: {
|
|
9
9
|
/** Name. */
|
|
10
|
-
name: {
|
|
10
|
+
'name': {
|
|
11
11
|
label: 'Name',
|
|
12
12
|
type: 'text',
|
|
13
13
|
isRequired: true,
|
|
14
|
-
options: undefined
|
|
14
|
+
options: undefined
|
|
15
15
|
},
|
|
16
|
-
}
|
|
16
|
+
}
|
|
17
17
|
};
|
|
18
18
|
schema_1.SchemaRegistry.getInstance().trackSchema(invalidAssertNameSchema);
|
|
19
19
|
exports.default = invalidAssertNameSchema;
|
|
@@ -7,12 +7,12 @@ const invalidTargetSchema = {
|
|
|
7
7
|
name: 'Invalid target',
|
|
8
8
|
fields: {
|
|
9
9
|
/** . */
|
|
10
|
-
target: {
|
|
10
|
+
'target': {
|
|
11
11
|
type: 'raw',
|
|
12
12
|
isRequired: true,
|
|
13
|
-
options: { valueType: `Polish.PolishTarget
|
|
13
|
+
options: { valueType: `Polish.PolishTarget`, }
|
|
14
14
|
},
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
};
|
|
17
17
|
schema_1.SchemaRegistry.getInstance().trackSchema(invalidTargetSchema);
|
|
18
18
|
exports.default = invalidTargetSchema;
|
|
@@ -5,7 +5,7 @@ const missingAssertionSchema = {
|
|
|
5
5
|
id: 'missingAssertion',
|
|
6
6
|
namespace: 'HeartwoodPolish',
|
|
7
7
|
name: 'missing assertion',
|
|
8
|
-
fields: {}
|
|
8
|
+
fields: {}
|
|
9
9
|
};
|
|
10
10
|
schema_1.SchemaRegistry.getInstance().trackSchema(missingAssertionSchema);
|
|
11
11
|
exports.default = missingAssertionSchema;
|
|
@@ -7,12 +7,12 @@ const namespaceNotFoundSchema = {
|
|
|
7
7
|
name: 'Namespace not found',
|
|
8
8
|
fields: {
|
|
9
9
|
/** package.json file path. */
|
|
10
|
-
filePath: {
|
|
10
|
+
'filePath': {
|
|
11
11
|
label: 'package.json file path',
|
|
12
12
|
type: 'text',
|
|
13
|
-
options: undefined
|
|
13
|
+
options: undefined
|
|
14
14
|
},
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
};
|
|
17
17
|
schema_1.SchemaRegistry.getInstance().trackSchema(namespaceNotFoundSchema);
|
|
18
18
|
exports.default = namespaceNotFoundSchema;
|
|
@@ -5,7 +5,7 @@ const tooManyPolishFilesSchema = {
|
|
|
5
5
|
id: 'tooManyPolishFiles',
|
|
6
6
|
namespace: 'HeartwoodPolish',
|
|
7
7
|
name: 'too many polish files',
|
|
8
|
-
fields: {}
|
|
8
|
+
fields: {}
|
|
9
9
|
};
|
|
10
10
|
schema_1.SchemaRegistry.getInstance().trackSchema(tooManyPolishFilesSchema);
|
|
11
11
|
exports.default = tooManyPolishFilesSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SpruceErrors } from "./errors.types";
|
|
2
|
+
import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
|
|
3
3
|
export interface TooManyPolishFilesErrorOptions extends SpruceErrors.HeartwoodPolish.TooManyPolishFiles, ISpruceErrorOptions {
|
|
4
4
|
code: 'TOO_MANY_POLISH_FILES';
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FieldDefinitions, FieldDefinitionMap, FieldValueTypeGeneratorMap, FieldMap
|
|
1
|
+
export { FieldDefinitions, FieldDefinitionMap, FieldValueTypeGeneratorMap, FieldMap } from '@sprucelabs/schema';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprucelabs/heartwood-polish",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.12",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"access": "public",
|
|
@@ -39,33 +39,31 @@
|
|
|
39
39
|
"upgrade.packages": "yarn-upgrade-all && rm -f yarn.lock",
|
|
40
40
|
"upgrade.packages.all": "yarn install && yarn upgrade.packages",
|
|
41
41
|
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
|
|
42
|
-
"watch.lint": "concurrently 'yarn run lint' \"chokidar 'src/**/*' -c 'yarn run lint.tsc'\"",
|
|
43
42
|
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
|
|
44
43
|
"watch.tsc": "tsc -w"
|
|
45
44
|
},
|
|
46
45
|
"dependencies": {
|
|
47
|
-
"@sprucelabs/error": "^6.0.
|
|
48
|
-
"@sprucelabs/globby": "^2.0.
|
|
49
|
-
"@sprucelabs/schema": "^30.0.
|
|
50
|
-
"@sprucelabs/spruce-core-schemas": "^40.0.
|
|
51
|
-
"@sprucelabs/spruce-skill-utils": "^31.0.
|
|
46
|
+
"@sprucelabs/error": "^6.0.11",
|
|
47
|
+
"@sprucelabs/globby": "^2.0.10",
|
|
48
|
+
"@sprucelabs/schema": "^30.0.15",
|
|
49
|
+
"@sprucelabs/spruce-core-schemas": "^40.0.11",
|
|
50
|
+
"@sprucelabs/spruce-skill-utils": "^31.0.15",
|
|
52
51
|
"puppeteer": "^22.7.0",
|
|
53
52
|
"yargs": "^17.7.2"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@sprucelabs/jest-json-reporter": "^8.0.
|
|
55
|
+
"@sprucelabs/jest-json-reporter": "^8.0.11",
|
|
57
56
|
"@sprucelabs/jest-sheets-reporter": "^3.0.26",
|
|
58
|
-
"@sprucelabs/resolve-path-aliases": "^2.0.
|
|
57
|
+
"@sprucelabs/resolve-path-aliases": "^2.0.12",
|
|
59
58
|
"@sprucelabs/semantic-release": "^5.0.1",
|
|
60
59
|
"@sprucelabs/spruce-test-fixtures": "^62.0.2",
|
|
61
|
-
"@sprucelabs/test": "^9.0.
|
|
60
|
+
"@sprucelabs/test": "^9.0.9",
|
|
62
61
|
"@sprucelabs/test-utils": "^5.0.10",
|
|
63
62
|
"@types/node": "^20.12.7",
|
|
64
63
|
"chokidar-cli": "^3.0.0",
|
|
65
|
-
"concurrently": "^8.2.2",
|
|
66
64
|
"devtools-protocol": "^0.0.1289136",
|
|
67
65
|
"eslint": "^9.1.1",
|
|
68
|
-
"eslint-config-spruce": "^11.2.
|
|
66
|
+
"eslint-config-spruce": "^11.2.13",
|
|
69
67
|
"jest": "^29.7.0",
|
|
70
68
|
"jest-circus": "^29.7.0",
|
|
71
69
|
"prettier": "^3.2.5",
|