@dword-design/base 13.0.1 → 13.0.3
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.d.ts +2 -0
- package/dist/commands/check-unknown-files/index.d.ts +1 -0
- package/dist/commands/check-unknown-files/index.js +0 -1
- package/dist/commands/check-unknown-files/unknown-files-error.d.ts +3 -0
- package/dist/commands/commit/index.d.ts +5 -0
- package/dist/commands/depcheck/index.d.ts +1 -0
- package/dist/commands/lint/index.d.ts +5 -0
- package/dist/commands/lint/index.js +2 -2
- package/dist/commands/prepare/index.d.ts +1 -0
- package/dist/commands/test/index.d.ts +1 -0
- package/dist/commands/test-docker/index.d.ts +5 -0
- package/dist/commands/test-docker/index.js +1 -1
- package/dist/commands/test-raw/index.d.ts +8 -0
- package/dist/commands/test-raw/is-ci.d.ts +4 -0
- package/dist/commands/test-raw/package-json-schema.d.ts +67 -0
- package/dist/get-depcheck-special-base/index.d.ts +2 -0
- package/dist/get-generated-files/commitizen.d.ts +4 -0
- package/dist/get-generated-files/commitlint.d.ts +8 -0
- package/dist/get-generated-files/common-editor-ignore.d.ts +2 -0
- package/dist/get-generated-files/common-editor-ignore.js +1 -1
- package/dist/get-generated-files/editorconfig.d.ts +2 -0
- package/dist/get-generated-files/get-editor-ignore/index.d.ts +1 -0
- package/dist/get-generated-files/get-eslint/index.d.ts +1 -0
- package/dist/get-generated-files/get-github-sync-metadata/index.d.ts +26 -0
- package/dist/get-generated-files/get-github-workflow/index.d.ts +14 -0
- package/dist/get-generated-files/get-github-workflow/steps/cancel-existing.d.ts +7 -0
- package/dist/get-generated-files/get-github-workflow/steps/check-unknown-files.d.ts +4 -0
- package/dist/get-generated-files/get-github-workflow/steps/coverage.d.ts +7 -0
- package/dist/get-generated-files/get-github-workflow/steps/get-release.d.ts +1 -0
- package/dist/get-generated-files/get-github-workflow/steps/get-test.d.ts +19 -0
- package/dist/get-generated-files/get-github-workflow/strategies/job-matrix.d.ts +16 -0
- package/dist/get-generated-files/get-github-workflow/strategies/simple.d.ts +7 -0
- package/dist/get-generated-files/get-gitignore/index.d.ts +1 -0
- package/dist/get-generated-files/get-gitpod/index.d.ts +12 -0
- package/dist/get-generated-files/get-gitpod-dockerfile.d.ts +1 -0
- package/dist/get-generated-files/get-license-string.d.ts +1 -0
- package/dist/get-generated-files/get-package-config/index.d.ts +1 -0
- package/dist/get-generated-files/get-package-config/index.js +2 -1
- package/dist/get-generated-files/get-readme-string/index.d.ts +1 -0
- package/dist/get-generated-files/get-readme-string/replacements.d.ts +8 -0
- package/dist/get-generated-files/get-release/index.d.ts +3 -0
- package/dist/get-generated-files/get-renovate/get-regex-manager-string/index.d.ts +2 -0
- package/dist/get-generated-files/get-renovate/index.d.ts +27 -0
- package/dist/get-generated-files/get-vscode/index.d.ts +8 -0
- package/dist/get-generated-files/gitattributes.d.ts +2 -0
- package/dist/get-generated-files/github-codespaces.d.ts +4 -0
- package/dist/get-generated-files/github-deprecated-dependencies/index.d.ts +72 -0
- package/dist/get-generated-files/github-deprecated-dependencies-issue-template.d.ts +2 -0
- package/dist/get-generated-files/github-funding.d.ts +6 -0
- package/dist/get-generated-files/github-labels.d.ts +2 -0
- package/dist/get-generated-files/github-sync-labels.d.ts +24 -0
- package/dist/get-generated-files/index.d.ts +26 -0
- package/dist/get-generated-files/index.js +0 -2
- package/dist/get-generated-files/npmrc.d.ts +2 -0
- package/dist/get-generated-files/typescript.d.ts +17 -0
- package/dist/get-generated-files/typescript.js +1 -0
- package/dist/get-git-info/index.d.ts +4 -0
- package/dist/index.d.ts +39 -0
- package/dist/load-config/index.d.ts +4 -0
- package/dist/load-config-sync/index.d.ts +4 -0
- package/package.json +17 -20
- package/dist/get-generated-files/babel.js +0 -8
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { execaCommand } from 'execa';
|
|
2
2
|
import parsePackagejsonName from 'parse-packagejson-name';
|
|
3
3
|
export default async function (options) {
|
|
4
4
|
options = {
|
|
@@ -11,7 +11,7 @@ export default async function (options) {
|
|
|
11
11
|
throw new Error(`Package name '${packageName}' has to be equal to repository name '${this.config.git.project}'`);
|
|
12
12
|
}
|
|
13
13
|
await this.config.lint.call(this, options);
|
|
14
|
-
|
|
14
|
+
return execaCommand('eslint --fix --no-error-on-unmatched-pattern .', {
|
|
15
15
|
...(options.log && {
|
|
16
16
|
stdout: 'inherit'
|
|
17
17
|
}),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (options: any): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (options: any): any;
|
|
@@ -10,7 +10,7 @@ export default async function (options) {
|
|
|
10
10
|
stderr: 'inherit',
|
|
11
11
|
...options
|
|
12
12
|
};
|
|
13
|
-
const volumeName = this.packageConfig.name.replace('
|
|
13
|
+
const volumeName = this.packageConfig.name.replace('@', '').replace('/', '-');
|
|
14
14
|
const envSchemaPath = findUpSync('.env.schema.json', {
|
|
15
15
|
cwd: this.cwd
|
|
16
16
|
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
properties: {
|
|
3
|
+
baseConfig: {
|
|
4
|
+
properties: {
|
|
5
|
+
depcheckConfig: {
|
|
6
|
+
type: string;
|
|
7
|
+
};
|
|
8
|
+
name: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
type: string[];
|
|
13
|
+
};
|
|
14
|
+
bin: {
|
|
15
|
+
additionalProperties: {
|
|
16
|
+
pattern: string;
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
pattern: string;
|
|
20
|
+
type: string[];
|
|
21
|
+
};
|
|
22
|
+
dependencies: {
|
|
23
|
+
additionalProperties: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
description: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
devDependencies: {
|
|
32
|
+
additionalProperties: {
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
keywords: {
|
|
38
|
+
items: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
name: {
|
|
44
|
+
pattern: any;
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
packageManager: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
pnpm: {
|
|
51
|
+
properties: {
|
|
52
|
+
overrides: {
|
|
53
|
+
additionalProperties: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
type: string;
|
|
60
|
+
};
|
|
61
|
+
version: {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['
|
|
1
|
+
export default ['.commitlintrc.json', '.cz.json', '.devcontainer', '.editorconfig', 'eslint.config.ts', '.gitattributes', '.github', '.gitignore', '.gitpod.Dockerfile', '.gitpod.yml', '.husky', '.npmrc', '.nyc_output', '.releaserc.json', '.renovaterc.json', '.vscode', 'CHANGELOG.md', 'coverage', 'LICENSE.md', 'node_modules', 'pnpm-lock.yaml'];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default function (): {
|
|
2
|
+
jobs: {
|
|
3
|
+
build: {
|
|
4
|
+
'runs-on': string;
|
|
5
|
+
steps: ({
|
|
6
|
+
uses: string;
|
|
7
|
+
with?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
uses: string;
|
|
10
|
+
with: {
|
|
11
|
+
commitMessage: string;
|
|
12
|
+
githubToken: string;
|
|
13
|
+
syncKeywords: boolean;
|
|
14
|
+
approve: boolean;
|
|
15
|
+
};
|
|
16
|
+
})[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
name: string;
|
|
20
|
+
on: {
|
|
21
|
+
schedule: {
|
|
22
|
+
cron: string;
|
|
23
|
+
}[];
|
|
24
|
+
workflow_dispatch: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): any[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default function (): ({
|
|
2
|
+
env: {
|
|
3
|
+
GH_TOKEN: string;
|
|
4
|
+
};
|
|
5
|
+
run: string;
|
|
6
|
+
if?: undefined;
|
|
7
|
+
uses?: undefined;
|
|
8
|
+
with?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
if: string;
|
|
11
|
+
uses: string;
|
|
12
|
+
with: {
|
|
13
|
+
'if-no-files-found': string;
|
|
14
|
+
name: string;
|
|
15
|
+
path: string;
|
|
16
|
+
};
|
|
17
|
+
env?: undefined;
|
|
18
|
+
run?: undefined;
|
|
19
|
+
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import pathLib from 'node:path';
|
|
2
|
+
import packageName from 'depcheck-package-name';
|
|
2
3
|
import fs from 'fs-extra';
|
|
3
4
|
import { mapValues, pick, stubTrue } from 'lodash-es';
|
|
4
5
|
import sortKeys from 'sort-keys';
|
|
@@ -51,6 +52,6 @@ export default function () {
|
|
|
51
52
|
files: ['dist', ...(fs.existsSync(pathLib.join(this.cwd, 'types.d.ts')) ? ['types.d.ts'] : [])],
|
|
52
53
|
license: 'MIT',
|
|
53
54
|
...this.config.packageConfig,
|
|
54
|
-
scripts: sortKeys(mapValues(commandNames, (handler, name) => this.packageConfig.name === '@dword-design/base' ? `
|
|
55
|
+
scripts: sortKeys(mapValues(commandNames, (handler, name) => this.packageConfig.name === '@dword-design/base' ? `${packageName`tsx`} src/cli.ts ${name}` : `base ${name}`))
|
|
55
56
|
};
|
|
56
57
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default function (): {
|
|
2
|
+
extends: string[];
|
|
3
|
+
gitIgnoredAuthors: string[];
|
|
4
|
+
'github-actions': {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
};
|
|
7
|
+
labels: string[];
|
|
8
|
+
lockFileMaintenance: {
|
|
9
|
+
semanticCommitType?: string;
|
|
10
|
+
automerge: boolean;
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
};
|
|
13
|
+
rangeStrategy: string;
|
|
14
|
+
regexManagers: ({
|
|
15
|
+
datasourceTemplate: string;
|
|
16
|
+
fileMatch: string[];
|
|
17
|
+
matchStrings: string[];
|
|
18
|
+
versioningTemplate: string;
|
|
19
|
+
} | {
|
|
20
|
+
datasourceTemplate: string;
|
|
21
|
+
depNameTemplate: string;
|
|
22
|
+
fileMatch: string[];
|
|
23
|
+
matchStrings: string[];
|
|
24
|
+
versioningTemplate: string;
|
|
25
|
+
})[];
|
|
26
|
+
semanticCommitScope: null;
|
|
27
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
jobs: {
|
|
3
|
+
run: {
|
|
4
|
+
'runs-on': string;
|
|
5
|
+
steps: ({
|
|
6
|
+
uses: string;
|
|
7
|
+
with: {
|
|
8
|
+
lfs: boolean;
|
|
9
|
+
filename?: undefined;
|
|
10
|
+
update_existing?: undefined;
|
|
11
|
+
comment?: undefined;
|
|
12
|
+
'issue-number'?: undefined;
|
|
13
|
+
};
|
|
14
|
+
'continue-on-error'?: undefined;
|
|
15
|
+
id?: undefined;
|
|
16
|
+
env?: undefined;
|
|
17
|
+
if?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
'continue-on-error': boolean;
|
|
20
|
+
id: string;
|
|
21
|
+
uses: string;
|
|
22
|
+
with?: undefined;
|
|
23
|
+
env?: undefined;
|
|
24
|
+
if?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
env: {
|
|
27
|
+
DEPRECATED: string;
|
|
28
|
+
GITHUB_TOKEN: string;
|
|
29
|
+
RUN_URL: string;
|
|
30
|
+
};
|
|
31
|
+
id: string;
|
|
32
|
+
if: string;
|
|
33
|
+
uses: string;
|
|
34
|
+
with: {
|
|
35
|
+
filename: string;
|
|
36
|
+
update_existing: boolean;
|
|
37
|
+
lfs?: undefined;
|
|
38
|
+
comment?: undefined;
|
|
39
|
+
'issue-number'?: undefined;
|
|
40
|
+
};
|
|
41
|
+
'continue-on-error'?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
if: string;
|
|
44
|
+
uses: string;
|
|
45
|
+
with: {
|
|
46
|
+
comment: string;
|
|
47
|
+
'issue-number': string;
|
|
48
|
+
lfs?: undefined;
|
|
49
|
+
filename?: undefined;
|
|
50
|
+
update_existing?: undefined;
|
|
51
|
+
};
|
|
52
|
+
'continue-on-error'?: undefined;
|
|
53
|
+
id?: undefined;
|
|
54
|
+
env?: undefined;
|
|
55
|
+
} | {
|
|
56
|
+
uses: string;
|
|
57
|
+
with?: undefined;
|
|
58
|
+
'continue-on-error'?: undefined;
|
|
59
|
+
id?: undefined;
|
|
60
|
+
env?: undefined;
|
|
61
|
+
if?: undefined;
|
|
62
|
+
})[];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
name: string;
|
|
66
|
+
on: {
|
|
67
|
+
schedule: {
|
|
68
|
+
cron: string;
|
|
69
|
+
}[];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
jobs: {
|
|
3
|
+
build: {
|
|
4
|
+
'runs-on': string;
|
|
5
|
+
steps: ({
|
|
6
|
+
uses: string;
|
|
7
|
+
env?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
env: {
|
|
10
|
+
GITHUB_TOKEN: string;
|
|
11
|
+
};
|
|
12
|
+
uses: string;
|
|
13
|
+
})[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
name: string;
|
|
17
|
+
on: {
|
|
18
|
+
push: {
|
|
19
|
+
branches: string[];
|
|
20
|
+
paths: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default function (): {
|
|
2
|
+
'.commitlintrc.json': string;
|
|
3
|
+
'.cz.json': string;
|
|
4
|
+
'.devcontainer/devcontainer.json': string;
|
|
5
|
+
'.editorconfig': any;
|
|
6
|
+
'.gitattributes': any;
|
|
7
|
+
'.github/DEPRECATED_DEPENDENCIES_ISSUE_TEMPLATE.md': any;
|
|
8
|
+
'.github/FUNDING.yml': string;
|
|
9
|
+
'.github/labels.yml': string;
|
|
10
|
+
'.github/workflows/build.yml': string;
|
|
11
|
+
'.github/workflows/deprecated-dependencies.yml': string;
|
|
12
|
+
'.github/workflows/sync-labels.yml': string;
|
|
13
|
+
'.github/workflows/sync-metadata.yml': string;
|
|
14
|
+
'.gitignore': any;
|
|
15
|
+
'.gitpod.Dockerfile': any;
|
|
16
|
+
'.gitpod.yml': string;
|
|
17
|
+
'.npmrc': string;
|
|
18
|
+
'.releaserc.json': string;
|
|
19
|
+
'.renovaterc.json': string;
|
|
20
|
+
'.vscode/settings.json': string;
|
|
21
|
+
'LICENSE.md': any;
|
|
22
|
+
'README.md': any;
|
|
23
|
+
'eslint.config.ts': any;
|
|
24
|
+
'package.json': string;
|
|
25
|
+
'tsconfig.json': string;
|
|
26
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import sortKeys from 'sort-keys';
|
|
2
2
|
import sortPackageJson from 'sort-package-json';
|
|
3
3
|
import { stringify as yamlStringify } from 'yaml';
|
|
4
|
-
import babelConfig from "./babel.js";
|
|
5
4
|
import commitizenConfig from "./commitizen.js";
|
|
6
5
|
import commitlintConfig from "./commitlint.js";
|
|
7
6
|
import editorconfigConfig from "./editorconfig.js";
|
|
@@ -49,7 +48,6 @@ export default function () {
|
|
|
49
48
|
'.vscode/settings.json': `${JSON.stringify(this.getVscodeConfig(), undefined, 2)}\n`,
|
|
50
49
|
'LICENSE.md': this.getLicenseString(),
|
|
51
50
|
'README.md': this.getReadmeString(),
|
|
52
|
-
'babel.config.json': `${JSON.stringify(babelConfig, undefined, 2)}\n`,
|
|
53
51
|
'eslint.config.ts': this.getEslintConfig(),
|
|
54
52
|
'package.json': `${JSON.stringify(sortPackageJson(packageConfig), undefined, 2)}\n`,
|
|
55
53
|
'tsconfig.json': `${JSON.stringify(typescriptConfig, undefined, 2)}\n`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
compilerOptions: {
|
|
3
|
+
declaration: boolean;
|
|
4
|
+
esModuleInterop: boolean;
|
|
5
|
+
module: string;
|
|
6
|
+
moduleResolution: string;
|
|
7
|
+
outDir: string;
|
|
8
|
+
paths: {
|
|
9
|
+
'@/*': string[];
|
|
10
|
+
};
|
|
11
|
+
skipLibCheck: boolean;
|
|
12
|
+
target: string;
|
|
13
|
+
};
|
|
14
|
+
exclude: string[];
|
|
15
|
+
include: string[];
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type ResultPromise } from 'execa';
|
|
2
|
+
declare class Base {
|
|
3
|
+
config: any;
|
|
4
|
+
packageConfig: any;
|
|
5
|
+
cwd: string;
|
|
6
|
+
generatedFiles: any;
|
|
7
|
+
githubCodespacesConfig: {
|
|
8
|
+
postCreateCommand: string;
|
|
9
|
+
};
|
|
10
|
+
commit(...args: any[]): ResultPromise;
|
|
11
|
+
lint(...args: any[]): ResultPromise;
|
|
12
|
+
prepare(...args: any[]): void;
|
|
13
|
+
test(...args: any[]): ResultPromise;
|
|
14
|
+
testRaw(...args: any[]): ResultPromise;
|
|
15
|
+
testDocker(...args: any[]): ResultPromise;
|
|
16
|
+
getPackageConfig(...args: any[]): any;
|
|
17
|
+
getGeneratedFiles(...args: any[]): any;
|
|
18
|
+
checkUnknownFiles(...args: any[]): void;
|
|
19
|
+
depcheck(...args: any[]): void;
|
|
20
|
+
getEditorIgnoreConfig(...args: any[]): void;
|
|
21
|
+
getEslintConfig(...args: any[]): void;
|
|
22
|
+
getGithubSyncMetadataConfig(...args: any[]): void;
|
|
23
|
+
getGithubWorkflowConfig(...args: any[]): void;
|
|
24
|
+
getGitignoreConfig(...args: any[]): void;
|
|
25
|
+
getGitpodConfig(...args: any[]): void;
|
|
26
|
+
getGitpodDockerfile(...args: any[]): void;
|
|
27
|
+
getLicenseString(...args: any[]): void;
|
|
28
|
+
getReadmeString(...args: any[]): void;
|
|
29
|
+
getReleaseConfig(...args: any[]): void;
|
|
30
|
+
getRenovateConfig(...args: any[]): void;
|
|
31
|
+
getVscodeConfig(...args: any[]): void;
|
|
32
|
+
constructor(config?: any, { cwd }?: {
|
|
33
|
+
cwd?: string;
|
|
34
|
+
});
|
|
35
|
+
run(name: any, ...args: any[]): any;
|
|
36
|
+
}
|
|
37
|
+
export { default as loadConfig } from './load-config';
|
|
38
|
+
export { default as loadConfigSync } from './load-config-sync';
|
|
39
|
+
export { Base };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.3",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -14,27 +14,25 @@
|
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
|
-
"checkUnknownFiles": "
|
|
18
|
-
"commit": "
|
|
19
|
-
"depcheck": "
|
|
20
|
-
"dev": "
|
|
21
|
-
"lint": "
|
|
22
|
-
"prepare": "
|
|
23
|
-
"prepublishOnly": "
|
|
24
|
-
"test": "
|
|
17
|
+
"checkUnknownFiles": "tsx src/cli.ts checkUnknownFiles",
|
|
18
|
+
"commit": "tsx src/cli.ts commit",
|
|
19
|
+
"depcheck": "tsx src/cli.ts depcheck",
|
|
20
|
+
"dev": "tsx src/cli.ts dev",
|
|
21
|
+
"lint": "tsx src/cli.ts lint",
|
|
22
|
+
"prepare": "tsx src/cli.ts prepare",
|
|
23
|
+
"prepublishOnly": "tsx src/cli.ts prepublishOnly",
|
|
24
|
+
"test": "tsx src/cli.ts test"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@commitlint/cli": "^18.6.1",
|
|
28
28
|
"@commitlint/config-conventional": "^18.6.3",
|
|
29
|
-
"@dword-design/base-config-node": "^3.0.
|
|
29
|
+
"@dword-design/base-config-node": "^3.0.7",
|
|
30
30
|
"@dword-design/ci": "^4.0.6",
|
|
31
|
-
"@dword-design/eslint-config": "^
|
|
31
|
+
"@dword-design/eslint-config": "^7.0.3",
|
|
32
32
|
"@dword-design/personal-data": "^2.0.3",
|
|
33
33
|
"@semantic-release/changelog": "^6.0.3",
|
|
34
34
|
"@semantic-release/git": "^10.0.1",
|
|
35
35
|
"ajv": "^8.17.1",
|
|
36
|
-
"babel-plugin-add-import-extension": "^1.6.0",
|
|
37
|
-
"babel-plugin-module-resolver": "^5.0.2",
|
|
38
36
|
"c8": "^9.1.0",
|
|
39
37
|
"change-case": "^5.4.4",
|
|
40
38
|
"commitizen": "^4.3.1",
|
|
@@ -43,12 +41,12 @@
|
|
|
43
41
|
"deepmerge": "^4.3.1",
|
|
44
42
|
"depcheck": "npm:@dword-design/depcheck@^0.0.7",
|
|
45
43
|
"depcheck-detector-bin-name": "^1.0.2",
|
|
46
|
-
"depcheck-detector-execa": "^4.0.
|
|
44
|
+
"depcheck-detector-execa": "^4.0.3",
|
|
47
45
|
"depcheck-detector-package-name": "^3.0.4",
|
|
48
46
|
"depcheck-package-name": "^3.0.1",
|
|
49
47
|
"endent": "npm:@dword-design/endent@^1.4.1",
|
|
50
|
-
"eslint": "^9.
|
|
51
|
-
"execa": "^9.
|
|
48
|
+
"eslint": "^9.28.0",
|
|
49
|
+
"execa": "^9.6.0",
|
|
52
50
|
"find-up": "^7.0.0",
|
|
53
51
|
"fs-extra": "^11.3.0",
|
|
54
52
|
"get-projectz-readme-section-regex": "^3.0.10",
|
|
@@ -61,7 +59,7 @@
|
|
|
61
59
|
"lodash-es": "^4.17.21",
|
|
62
60
|
"make-cli": "^4.0.0",
|
|
63
61
|
"output-files": "^2.0.32",
|
|
64
|
-
"package-name-regex": "^4.0.
|
|
62
|
+
"package-name-regex": "^4.0.1",
|
|
65
63
|
"parse-git-config": "npm:@dword-design/parse-git-config@^0.0.1",
|
|
66
64
|
"parse-packagejson-name": "^1.0.1",
|
|
67
65
|
"plugin-name-to-package-name": "npm:@dword-design/plugin-name-to-package-name@^0.1.2",
|
|
@@ -72,15 +70,14 @@
|
|
|
72
70
|
"spdx-expression-parse": "^4.0.0",
|
|
73
71
|
"spdx-license-list": "^6.10.0",
|
|
74
72
|
"tagged-template-noop": "^2.1.1",
|
|
73
|
+
"tsx": "^4.19.4",
|
|
75
74
|
"yaml": "^2.8.0"
|
|
76
75
|
},
|
|
77
76
|
"devDependencies": {
|
|
78
|
-
"@babel/cli": "^7.27.2",
|
|
79
77
|
"@dword-design/dotenv-json-extended": "^2.0.25",
|
|
80
78
|
"@playwright/test": "^1.52.0",
|
|
81
79
|
"p-event": "^6.0.1",
|
|
82
|
-
"renovate": "^39.264.
|
|
83
|
-
"rimraf": "^5.0.10",
|
|
80
|
+
"renovate": "^39.264.1",
|
|
84
81
|
"sharp": "^0.34.2",
|
|
85
82
|
"strip-ansi": "^7.1.0",
|
|
86
83
|
"uuid": "^11.1.0"
|