@aidc-toolkit/dev 0.9.16-beta → 0.9.18-beta
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/config/publish.json +60 -0
- package/dev.iml +9 -0
- package/dist/eslint-config-template.d.ts.map +1 -1
- package/dist/eslint-config-template.js +9 -2
- package/dist/eslint-config-template.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{command-util.d.ts → utility.d.ts} +6 -1
- package/dist/utility.d.ts.map +1 -0
- package/dist/utility.js +58 -0
- package/dist/utility.js.map +1 -0
- package/eslint.config.ts +1 -1
- package/package.json +15 -17
- package/src/eslint-config-template.ts +10 -2
- package/src/index.ts +1 -1
- package/src/publish-external.ts +362 -0
- package/src/publish-internal.ts +174 -0
- package/src/publish.ts +287 -0
- package/src/{command-util.ts → utility.ts} +25 -1
- package/tsconfig-build-dev-local.json +1 -0
- package/tsconfig-build-dev.json +1 -0
- package/tsconfig.json +7 -0
- package/bin/publish-dev +0 -8
- package/bin/publish-dev-local +0 -8
- package/config/release.json +0 -30
- package/dist/command-util.d.ts.map +0 -1
- package/dist/command-util.js +0 -32
- package/dist/command-util.js.map +0 -1
- package/dist/publish-dev.d.ts +0 -5
- package/dist/publish-dev.d.ts.map +0 -1
- package/dist/publish-dev.js +0 -72
- package/dist/publish-dev.js.map +0 -1
- package/src/publish-dev.ts +0 -110
- package/src/release.ts +0 -428
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"organization": "aidc-toolkit",
|
|
3
|
+
"repositories": {
|
|
4
|
+
"dev": {
|
|
5
|
+
"dependencyType": "external",
|
|
6
|
+
"excludeFiles": [
|
|
7
|
+
"src/publish.ts",
|
|
8
|
+
"src/publish-internal.ts",
|
|
9
|
+
"src/publish-external.ts",
|
|
10
|
+
"config/publish.json",
|
|
11
|
+
"config/publish.secure.json"
|
|
12
|
+
],
|
|
13
|
+
"lastInternalPublished": "2025-06-07T13:56:48.735Z",
|
|
14
|
+
"lastExternalPublished": "2025-03-02T22:50:20.357Z",
|
|
15
|
+
"lastExternalVersion": "0.9.17-beta"
|
|
16
|
+
},
|
|
17
|
+
"core": {
|
|
18
|
+
"dependencyType": "external",
|
|
19
|
+
"lastInternalPublished": "2025-06-07T13:57:03.451Z",
|
|
20
|
+
"lastExternalPublished": "2025-03-02T22:50:20.372Z",
|
|
21
|
+
"lastExternalVersion": "0.9.17-beta"
|
|
22
|
+
},
|
|
23
|
+
"utility": {
|
|
24
|
+
"dependencyType": "external",
|
|
25
|
+
"lastInternalPublished": "2025-06-07T14:03:30.895Z",
|
|
26
|
+
"lastExternalPublished": "2025-03-02T22:43:30.438Z",
|
|
27
|
+
"lastExternalVersion": "0.9.17-beta"
|
|
28
|
+
},
|
|
29
|
+
"gs1": {
|
|
30
|
+
"dependencyType": "external",
|
|
31
|
+
"lastInternalPublished": "2025-06-07T14:03:47.000Z",
|
|
32
|
+
"lastExternalPublished": "2025-03-02T22:52:24.105Z",
|
|
33
|
+
"lastExternalVersion": "0.9.17-beta"
|
|
34
|
+
},
|
|
35
|
+
"demo": {
|
|
36
|
+
"dependencyType": "none",
|
|
37
|
+
"lastExternalPublished": "2025-03-02T22:53:44.418Z",
|
|
38
|
+
"lastExternalVersion": "0.9.17-beta"
|
|
39
|
+
},
|
|
40
|
+
"app-extension": {
|
|
41
|
+
"dependencyType": "internal",
|
|
42
|
+
"lastInternalPublished": "2025-06-07T14:07:34.783Z",
|
|
43
|
+
"lastExternalPublished": "2025-03-02T22:53:47.379Z",
|
|
44
|
+
"lastExternalVersion": "0.9.17-beta"
|
|
45
|
+
},
|
|
46
|
+
"app-generator": {
|
|
47
|
+
"dependencyType": "internal",
|
|
48
|
+
"lastInternalPublished": "2025-04-21T21:55:49.582Z",
|
|
49
|
+
"lastExternalPublished": "2025-03-02T22:53:50.359Z",
|
|
50
|
+
"lastExternalVersion": "0.9.17-beta"
|
|
51
|
+
},
|
|
52
|
+
"aidc-toolkit.github.io": {
|
|
53
|
+
"directory": "doc",
|
|
54
|
+
"dependencyType": "none",
|
|
55
|
+
"publishExternalAlways": true,
|
|
56
|
+
"lastExternalPublished": "2025-03-03T03:49:32.778Z",
|
|
57
|
+
"lastExternalVersion": "0.9.17-beta"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
package/dev.iml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="inheritedJdk" />
|
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
</component>
|
|
9
|
+
</module>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eslint-config-template.d.ts","sourceRoot":"","sources":["../src/eslint-config-template.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"eslint-config-template.d.ts","sourceRoot":"","sources":["../src/eslint-config-template.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,qEAkHnC,CAAC"}
|
|
@@ -18,8 +18,7 @@ export const esLintConfigAIDCToolkit = tseslint.config({
|
|
|
18
18
|
"complexity": "off",
|
|
19
19
|
"max-depth": ["error", 10],
|
|
20
20
|
"max-lines": "off",
|
|
21
|
-
|
|
22
|
-
"no-redeclare": "off",
|
|
21
|
+
// Handled by @typescript-eslint/no-unused-vars.
|
|
23
22
|
"no-unused-vars": "off",
|
|
24
23
|
"@typescript-eslint/class-literal-property-style": "off",
|
|
25
24
|
"@typescript-eslint/class-methods-use-this": "off",
|
|
@@ -46,6 +45,10 @@ export const esLintConfigAIDCToolkit = tseslint.config({
|
|
|
46
45
|
allowSingleLine: false
|
|
47
46
|
}],
|
|
48
47
|
"@stylistic/comma-dangle": ["error", "never"],
|
|
48
|
+
"@stylistic/generator-star-spacing": ["error", {
|
|
49
|
+
before: true,
|
|
50
|
+
after: true
|
|
51
|
+
}],
|
|
49
52
|
"@stylistic/indent": ["error", 4],
|
|
50
53
|
"@stylistic/member-delimiter-style": ["error", {
|
|
51
54
|
multiline: {
|
|
@@ -71,6 +74,10 @@ export const esLintConfigAIDCToolkit = tseslint.config({
|
|
|
71
74
|
}
|
|
72
75
|
}],
|
|
73
76
|
"@stylistic/object-property-newline": "error",
|
|
77
|
+
"@stylistic/yield-star-spacing": ["error", {
|
|
78
|
+
before: true,
|
|
79
|
+
after: true
|
|
80
|
+
}],
|
|
74
81
|
"jsdoc/require-description": ["warn", {
|
|
75
82
|
contexts: ["ClassDeclaration", "ClassProperty", "FunctionDeclaration", "MethodDefinition", "TSEnumDeclaration", "TSInterfaceDeclaration", "TSModuleDeclaration", "TSTypeAliasDeclaration"]
|
|
76
83
|
}],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eslint-config-template.js","sourceRoot":"","sources":["../src/eslint-config-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAEzC,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC,MAAM,CAClD;IACI,OAAO,EAAE,CAAC,MAAM,CAAC;CACpB,EACD,EAAE,CAAC,OAAO,CAAC,WAAW,EACtB,GAAG,QAAQ,CAAC,OAAO,CAAC,iBAAiB,EACrC,SAAS,CAAC,OAAO,CAAC,WAAW,EAC7B,KAAK,CAAC,OAAO,CAAC,6BAA6B,CAAC,EAC5C,gBAAgB,EAChB;IACI,eAAe,EAAE;QACb,aAAa,EAAE;YACX,cAAc,EAAE,IAAI;SACvB;KACJ;IAED,aAAa,EAAE;QACX,6BAA6B,EAAE,OAAO;KACzC;IAED,KAAK,EAAE;QACH,YAAY,EAAE,KAAK;QACnB,WAAW,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC;QAC1B,WAAW,EAAE,KAAK;
|
|
1
|
+
{"version":3,"file":"eslint-config-template.js","sourceRoot":"","sources":["../src/eslint-config-template.ts"],"names":[],"mappings":"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"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { Logger } from "tslog";
|
|
2
|
+
/**
|
|
3
|
+
* Logger with a default minimum level of Info.
|
|
4
|
+
*/
|
|
5
|
+
export declare const logger: Logger<unknown>;
|
|
1
6
|
/**
|
|
2
7
|
* Run a command and optionally capture its output.
|
|
3
8
|
*
|
|
@@ -14,4 +19,4 @@
|
|
|
14
19
|
* Output if captured or empty array if not.
|
|
15
20
|
*/
|
|
16
21
|
export declare function run(captureOutput: boolean, command: string, ...args: string[]): string[];
|
|
17
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=utility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../src/utility.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAS/B;;GAEG;AACH,eAAO,MAAM,MAAM,iBAEjB,CAAC;AAEH;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,GAAG,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CA2BxF"}
|
package/dist/utility.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { spawnSync } from "child_process";
|
|
2
|
+
import { Logger } from "tslog";
|
|
3
|
+
/**
|
|
4
|
+
* Log level.
|
|
5
|
+
*/
|
|
6
|
+
var LogLevel;
|
|
7
|
+
(function (LogLevel) {
|
|
8
|
+
LogLevel[LogLevel["Silly"] = 0] = "Silly";
|
|
9
|
+
LogLevel[LogLevel["Trace"] = 1] = "Trace";
|
|
10
|
+
LogLevel[LogLevel["Debug"] = 2] = "Debug";
|
|
11
|
+
LogLevel[LogLevel["Info"] = 3] = "Info";
|
|
12
|
+
LogLevel[LogLevel["Warn"] = 4] = "Warn";
|
|
13
|
+
LogLevel[LogLevel["Error"] = 5] = "Error";
|
|
14
|
+
LogLevel[LogLevel["Fatal"] = 6] = "Fatal";
|
|
15
|
+
})(LogLevel || (LogLevel = {}));
|
|
16
|
+
/**
|
|
17
|
+
* Logger with a default minimum level of Info.
|
|
18
|
+
*/
|
|
19
|
+
export const logger = new Logger({
|
|
20
|
+
minLevel: LogLevel.Info
|
|
21
|
+
});
|
|
22
|
+
/**
|
|
23
|
+
* Run a command and optionally capture its output.
|
|
24
|
+
*
|
|
25
|
+
* @param captureOutput
|
|
26
|
+
* If true, output is captured and returned.
|
|
27
|
+
*
|
|
28
|
+
* @param command
|
|
29
|
+
* Command to run.
|
|
30
|
+
*
|
|
31
|
+
* @param args
|
|
32
|
+
* Arguments to command.
|
|
33
|
+
*
|
|
34
|
+
* @returns
|
|
35
|
+
* Output if captured or empty array if not.
|
|
36
|
+
*/
|
|
37
|
+
export function run(captureOutput, command, ...args) {
|
|
38
|
+
logger.trace(`Running command "${command}" with arguments ${JSON.stringify(args)}.`);
|
|
39
|
+
const spawnResult = spawnSync(command, args, {
|
|
40
|
+
stdio: ["inherit", captureOutput ? "pipe" : "inherit", "inherit"]
|
|
41
|
+
});
|
|
42
|
+
if (spawnResult.error !== undefined) {
|
|
43
|
+
throw spawnResult.error;
|
|
44
|
+
}
|
|
45
|
+
if (spawnResult.status === null) {
|
|
46
|
+
throw new Error(`Terminated by signal ${spawnResult.signal}`);
|
|
47
|
+
}
|
|
48
|
+
if (spawnResult.status !== 0) {
|
|
49
|
+
throw new Error(`Failed with status ${spawnResult.status}`);
|
|
50
|
+
}
|
|
51
|
+
// Last line is also terminated by newline and split() places empty string at the end, so use slice() to remove it.
|
|
52
|
+
const output = captureOutput ? spawnResult.stdout.toString().split("\n").slice(0, -1) : [];
|
|
53
|
+
if (captureOutput) {
|
|
54
|
+
logger.trace(`Output is ${JSON.stringify(output)}.`);
|
|
55
|
+
}
|
|
56
|
+
return output;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=utility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utility.js","sourceRoot":"","sources":["../src/utility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,IAAK,QAEJ;AAFD,WAAK,QAAQ;IACT,yCAAK,CAAA;IAAE,yCAAK,CAAA;IAAE,yCAAK,CAAA;IAAE,uCAAI,CAAA;IAAE,uCAAI,CAAA;IAAE,yCAAK,CAAA;IAAE,yCAAK,CAAA;AACjD,CAAC,EAFI,QAAQ,KAAR,QAAQ,QAEZ;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC,IAAI;CAC1B,CAAC,CAAC;AAEH;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,GAAG,CAAC,aAAsB,EAAE,OAAe,EAAE,GAAG,IAAc;IAC1E,MAAM,CAAC,KAAK,CAAC,oBAAoB,OAAO,oBAAoB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAErF,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE;QACzC,KAAK,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC;KACpE,CAAC,CAAC;IAEH,IAAI,WAAW,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAClC,MAAM,WAAW,CAAC,KAAK,CAAC;IAC5B,CAAC;IAED,IAAI,WAAW,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;QAC9B,MAAM,IAAI,KAAK,CAAC,wBAAwB,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,sBAAsB,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,mHAAmH;IACnH,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAE3F,IAAI,aAAa,EAAE,CAAC;QAChB,MAAM,CAAC,KAAK,CAAC,aAAa,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
package/eslint.config.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aidc-toolkit/dev",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.18-beta",
|
|
4
4
|
"description": "Shared development artefacts for AIDC Toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,29 +25,27 @@
|
|
|
25
25
|
"build:dev": "npm run build:core -- tsconfig-build-dev-local.json",
|
|
26
26
|
"build:release": "npm run build:core -- tsconfig-build-local.json",
|
|
27
27
|
"build:doc": "npm run build:dev",
|
|
28
|
-
"publish-
|
|
29
|
-
"
|
|
30
|
-
},
|
|
31
|
-
"bin": {
|
|
32
|
-
"publish-dev": "bin/publish-dev"
|
|
28
|
+
"publish-internal": "tsx src/publish-internal.ts $*",
|
|
29
|
+
"publish-external": "tsx src/publish-external.ts"
|
|
33
30
|
},
|
|
34
31
|
"devDependencies": {
|
|
35
32
|
"copy-files-from-to": "^3.12.1"
|
|
36
33
|
},
|
|
37
34
|
"dependencies": {
|
|
38
|
-
"@eslint/js": "^9.
|
|
39
|
-
"@octokit/types": "^
|
|
40
|
-
"@stylistic/eslint-plugin": "^4.1
|
|
41
|
-
"eslint": "^9.
|
|
42
|
-
"eslint-config-love": "^
|
|
43
|
-
"eslint-plugin-jsdoc": "^50.
|
|
35
|
+
"@eslint/js": "^9.28.0",
|
|
36
|
+
"@octokit/types": "^14.1.0",
|
|
37
|
+
"@stylistic/eslint-plugin": "^4.4.1",
|
|
38
|
+
"eslint": "^9.28.0",
|
|
39
|
+
"eslint-config-love": "^120.0.0",
|
|
40
|
+
"eslint-plugin-jsdoc": "^50.7.1",
|
|
44
41
|
"jiti": "^2.4.2",
|
|
45
|
-
"octokit": "^
|
|
42
|
+
"octokit": "^5.0.3",
|
|
46
43
|
"rimraf": "^6.0.1",
|
|
47
44
|
"ts-node": "^10.9.2",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"typescript
|
|
51
|
-
"
|
|
45
|
+
"tslog": "^4.9.3",
|
|
46
|
+
"tsx": "^4.19.4",
|
|
47
|
+
"typescript": "^5.8.3",
|
|
48
|
+
"typescript-eslint": "^8.33.1",
|
|
49
|
+
"yaml": "^2.8.0"
|
|
52
50
|
}
|
|
53
51
|
}
|
|
@@ -28,8 +28,8 @@ export const esLintConfigAIDCToolkit = tseslint.config(
|
|
|
28
28
|
"complexity": "off",
|
|
29
29
|
"max-depth": ["error", 10],
|
|
30
30
|
"max-lines": "off",
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
|
|
32
|
+
// Handled by @typescript-eslint/no-unused-vars.
|
|
33
33
|
"no-unused-vars": "off",
|
|
34
34
|
|
|
35
35
|
"@typescript-eslint/class-literal-property-style": "off",
|
|
@@ -58,6 +58,10 @@ export const esLintConfigAIDCToolkit = tseslint.config(
|
|
|
58
58
|
allowSingleLine: false
|
|
59
59
|
}],
|
|
60
60
|
"@stylistic/comma-dangle": ["error", "never"],
|
|
61
|
+
"@stylistic/generator-star-spacing": ["error", {
|
|
62
|
+
before: true,
|
|
63
|
+
after: true
|
|
64
|
+
}],
|
|
61
65
|
"@stylistic/indent": ["error", 4],
|
|
62
66
|
"@stylistic/member-delimiter-style": ["error", {
|
|
63
67
|
multiline: {
|
|
@@ -83,6 +87,10 @@ export const esLintConfigAIDCToolkit = tseslint.config(
|
|
|
83
87
|
}
|
|
84
88
|
}],
|
|
85
89
|
"@stylistic/object-property-newline": "error",
|
|
90
|
+
"@stylistic/yield-star-spacing": ["error", {
|
|
91
|
+
before: true,
|
|
92
|
+
after: true
|
|
93
|
+
}],
|
|
86
94
|
|
|
87
95
|
"jsdoc/require-description": ["warn", {
|
|
88
96
|
contexts: ["ClassDeclaration", "ClassProperty", "FunctionDeclaration", "MethodDefinition", "TSEnumDeclaration", "TSInterfaceDeclaration", "TSModuleDeclaration", "TSTypeAliasDeclaration"]
|
package/src/index.ts
CHANGED