@dword-design/base 9.4.1 → 9.4.2
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.
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import endent from "@dword-design/functions/dist/endent.js";
|
|
2
2
|
import includes from "@dword-design/functions/dist/includes.js";
|
|
3
|
-
import packageJsonSchema from '@dword-design/package-json-schema';
|
|
4
3
|
import Ajv from 'ajv';
|
|
5
4
|
import packageName from 'depcheck-package-name';
|
|
6
5
|
import { execa } from 'execa';
|
|
7
6
|
import { createRequire } from 'module';
|
|
8
7
|
import isCI from "./is-ci.js";
|
|
8
|
+
import packageJsonSchema from "./package-json-schema.js";
|
|
9
9
|
const _require = createRequire(import.meta.url);
|
|
10
10
|
const ajv = new Ajv({
|
|
11
11
|
allowUnionTypes: true
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import packageNameRegex from 'package-name-regex';
|
|
2
|
+
export default {
|
|
3
|
+
properties: {
|
|
4
|
+
baseConfig: {
|
|
5
|
+
properties: {
|
|
6
|
+
depcheckConfig: {
|
|
7
|
+
type: 'object'
|
|
8
|
+
},
|
|
9
|
+
name: {
|
|
10
|
+
type: 'string'
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
type: ['string', 'object']
|
|
14
|
+
},
|
|
15
|
+
bin: {
|
|
16
|
+
additionalProperties: {
|
|
17
|
+
pattern: /^\.\/dist\//.source,
|
|
18
|
+
type: 'string'
|
|
19
|
+
},
|
|
20
|
+
type: 'object'
|
|
21
|
+
},
|
|
22
|
+
dependencies: {
|
|
23
|
+
additionalProperties: {
|
|
24
|
+
type: 'string'
|
|
25
|
+
},
|
|
26
|
+
type: 'object'
|
|
27
|
+
},
|
|
28
|
+
description: {
|
|
29
|
+
type: 'string'
|
|
30
|
+
},
|
|
31
|
+
devDependencies: {
|
|
32
|
+
additionalProperties: {
|
|
33
|
+
type: 'string'
|
|
34
|
+
},
|
|
35
|
+
type: 'object'
|
|
36
|
+
},
|
|
37
|
+
keywords: {
|
|
38
|
+
items: {
|
|
39
|
+
type: 'string'
|
|
40
|
+
},
|
|
41
|
+
type: 'array'
|
|
42
|
+
},
|
|
43
|
+
name: {
|
|
44
|
+
pattern: packageNameRegex.source,
|
|
45
|
+
type: 'string'
|
|
46
|
+
},
|
|
47
|
+
version: {
|
|
48
|
+
type: 'string'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
type: 'object'
|
|
52
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.2",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"@dword-design/ci": "^3.0.0",
|
|
34
34
|
"@dword-design/eslint-config": "^3.0.6",
|
|
35
35
|
"@dword-design/functions": "^4.0.0",
|
|
36
|
-
"@dword-design/package-json-schema": "^2.0.0",
|
|
37
36
|
"@dword-design/personal-data": "^1.0.1",
|
|
38
37
|
"@dword-design/pretest": "^1.0.0",
|
|
39
38
|
"@dword-design/setup-test": "^1.0.2",
|
|
@@ -71,6 +70,7 @@
|
|
|
71
70
|
"mocha-ui-exports-auto-describe": "^2.0.0",
|
|
72
71
|
"nyc": "^15.0.0",
|
|
73
72
|
"output-files": "^2.0.0",
|
|
73
|
+
"package-name-regex": "^2.0.6",
|
|
74
74
|
"parse-git-config": "^3.0.0",
|
|
75
75
|
"parse-packagejson-name": "^1.0.1",
|
|
76
76
|
"plugin-name-to-package-name": "npm:@dword-design/plugin-name-to-package-name",
|