@dword-design/base 14.0.2 → 14.0.4
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/dist/cli.js +6 -0
- package/dist/commands/verify/index.d.ts +1 -0
- package/dist/commands/verify/index.js +11 -0
- package/dist/get-generated-files/get-github-workflow/steps/get-test.js +1 -1
- package/dist/get-generated-files/get-package-config/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -0
- package/package.json +4 -2
package/dist/cli.js
CHANGED
|
@@ -39,6 +39,12 @@ try {
|
|
|
39
39
|
prepare: {
|
|
40
40
|
handler: () => base.prepare()
|
|
41
41
|
},
|
|
42
|
+
typecheck: {
|
|
43
|
+
handler: () => base.typecheck()
|
|
44
|
+
},
|
|
45
|
+
verify: {
|
|
46
|
+
handler: () => base.verify()
|
|
47
|
+
},
|
|
42
48
|
...(base.config.testInContainer && {
|
|
43
49
|
"test:raw": {
|
|
44
50
|
arguments: "[patterns...]",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (options: any): Promise<void>;
|
|
@@ -20,7 +20,7 @@ export default function () {
|
|
|
20
20
|
...Object.fromEntries(envVariableNames.map(name => [name, `\${{ secrets.${name} }}`])),
|
|
21
21
|
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
22
22
|
},
|
|
23
|
-
run: "pnpm
|
|
23
|
+
run: "pnpm verify"
|
|
24
24
|
}, {
|
|
25
25
|
if: "always()",
|
|
26
26
|
uses: gitHubAction`actions/upload-artifact@v4`,
|
package/dist/index.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ declare class Base {
|
|
|
60
60
|
commit(...args: any[]): ResultPromise;
|
|
61
61
|
lint(...args: any[]): ResultPromise;
|
|
62
62
|
typecheck(...args: any[]): ResultPromise;
|
|
63
|
+
verify(...args: any[]): ResultPromise;
|
|
63
64
|
prepare(...args: any[]): void;
|
|
64
65
|
test(...args: any[]): ResultPromise;
|
|
65
66
|
testRaw(...args: any[]): ResultPromise;
|
|
@@ -90,3 +91,4 @@ export { default as loadConfig } from './load-config';
|
|
|
90
91
|
export { default as loadConfigSync } from './load-config-sync';
|
|
91
92
|
export { Base };
|
|
92
93
|
export type { Config, ConfigInput };
|
|
94
|
+
export { type CommandOptionsInput } from './commands/command-options-input';
|
package/dist/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import test from "./commands/test/index.js";
|
|
|
19
19
|
import testDocker from "./commands/test-docker/index.js";
|
|
20
20
|
import testRaw from "./commands/test-raw/index.js";
|
|
21
21
|
import typecheck from "./commands/typecheck/index.js";
|
|
22
|
+
import verify from "./commands/verify/index.js";
|
|
22
23
|
import getDepcheckSpecialBase from "./get-depcheck-special-base/index.js";
|
|
23
24
|
import getGeneratedFiles from "./get-generated-files/index.js";
|
|
24
25
|
import getEditorIgnoreConfig from "./get-generated-files/get-editor-ignore/index.js";
|
|
@@ -59,6 +60,9 @@ class Base {
|
|
|
59
60
|
typecheck(...args) {
|
|
60
61
|
return typecheck.call(this, ...args);
|
|
61
62
|
}
|
|
63
|
+
verify(...args) {
|
|
64
|
+
return verify.call(this, ...args);
|
|
65
|
+
}
|
|
62
66
|
prepare(...args) {
|
|
63
67
|
return prepare.call(this, ...args);
|
|
64
68
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.4",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
"lint": "tsx src/cli.ts lint",
|
|
29
29
|
"prepare": "tsx src/cli.ts prepare",
|
|
30
30
|
"prepublishOnly": "tsx src/cli.ts prepublishOnly",
|
|
31
|
-
"test": "tsx src/cli.ts test"
|
|
31
|
+
"test": "tsx src/cli.ts test",
|
|
32
|
+
"typecheck": "tsx src/cli.ts typecheck",
|
|
33
|
+
"verify": "tsx src/cli.ts verify"
|
|
32
34
|
},
|
|
33
35
|
"dependencies": {
|
|
34
36
|
"@commitlint/cli": "^18.6.1",
|