@devpow112/babel-config 1.1.2 → 1.2.0
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/README.md +6 -6
- package/package.json +20 -16
- package/src/common.js +2 -1
- package/src/node-12.js +1 -2
- package/src/node-14.js +4 -0
- package/src/node-16.js +1 -2
- package/src/node-18.js +1 -2
- package/src/node-20.js +4 -0
package/README.md
CHANGED
|
@@ -58,22 +58,22 @@ npm run lint:md
|
|
|
58
58
|
npm run lint:pkg
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
###
|
|
61
|
+
### Fixing
|
|
62
62
|
|
|
63
|
-
Execute
|
|
63
|
+
Execute automatic fixers via `npm`.
|
|
64
64
|
|
|
65
65
|
```console
|
|
66
66
|
# javascript, markdown and package.json
|
|
67
|
-
npm run
|
|
67
|
+
npm run fix
|
|
68
68
|
|
|
69
69
|
# javascript only
|
|
70
|
-
npm run
|
|
70
|
+
npm run fix:js
|
|
71
71
|
|
|
72
72
|
# markdown only
|
|
73
|
-
npm run
|
|
73
|
+
npm run fix:md
|
|
74
74
|
|
|
75
75
|
# package.json only
|
|
76
|
-
npm run
|
|
76
|
+
npm run fix:pkg
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
<!-- links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devpow112/babel-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Shareable babel configuration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"babel-config"
|
|
@@ -11,42 +11,46 @@
|
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/devpow112/babel-config.git"
|
|
14
|
+
"url": "git+https://github.com/devpow112/babel-config.git"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"author": "Devon Powell <devon.f.powell@gmail.com>",
|
|
18
18
|
"exports": {
|
|
19
19
|
"./node-12": "./src/node-12.js",
|
|
20
20
|
"./node-12.js": "./src/node-12.js",
|
|
21
|
+
"./node-14": "./src/node-14.js",
|
|
22
|
+
"./node-14.js": "./src/node-14.js",
|
|
21
23
|
"./node-16": "./src/node-16.js",
|
|
22
24
|
"./node-16.js": "./src/node-16.js",
|
|
23
25
|
"./node-18": "./src/node-18.js",
|
|
24
|
-
"./node-18.js": "./src/node-18.js"
|
|
26
|
+
"./node-18.js": "./src/node-18.js",
|
|
27
|
+
"./node-20": "./src/node-20.js",
|
|
28
|
+
"./node-20.js": "./src/node-20.js"
|
|
25
29
|
},
|
|
26
30
|
"files": [
|
|
27
31
|
"src/**/*.js"
|
|
28
32
|
],
|
|
29
33
|
"scripts": {
|
|
30
34
|
"lint": "run-s -s lint:git lint:js lint:md lint:pkg",
|
|
31
|
-
"lint:js": "eslint .",
|
|
32
|
-
"lint:md": "markdownlint .",
|
|
35
|
+
"lint:js": "eslint . --ignore-path .gitignore",
|
|
36
|
+
"lint:md": "markdownlint . --ignore-path .gitignore",
|
|
33
37
|
"lint:git": "commitlint --from origin/main --to HEAD",
|
|
34
|
-
"lint:pkg": "
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
38
|
+
"lint:pkg": "npm run -s fix:pkg -- --check",
|
|
39
|
+
"fix": "run-s -s fix:js fix:md fix:pkg",
|
|
40
|
+
"fix:js": "npm run -s lint:js -- --fix",
|
|
41
|
+
"fix:md": "npm run -s lint:md -- --fix",
|
|
42
|
+
"fix:pkg": "sort-package-json"
|
|
39
43
|
},
|
|
40
44
|
"devDependencies": {
|
|
41
|
-
"@commitlint/cli": "^17.
|
|
45
|
+
"@commitlint/cli": "^17.8.1",
|
|
42
46
|
"@devpow112/commitlint-config": "^2.0.0",
|
|
43
47
|
"@devpow112/eslint-config": "^2.0.1",
|
|
44
|
-
"@devpow112/semantic-release-config": "^2.1
|
|
45
|
-
"eslint": "^8.
|
|
46
|
-
"markdownlint-cli": "^0.
|
|
48
|
+
"@devpow112/semantic-release-config": "^2.2.1",
|
|
49
|
+
"eslint": "^8.56.0",
|
|
50
|
+
"markdownlint-cli": "^0.38.0",
|
|
47
51
|
"npm-run-all": "^4.1.5",
|
|
48
|
-
"semantic-release": "^
|
|
49
|
-
"sort-package-json": "^2.
|
|
52
|
+
"semantic-release": "^22.0.12",
|
|
53
|
+
"sort-package-json": "^2.6.0"
|
|
50
54
|
},
|
|
51
55
|
"peerDependencies": {
|
|
52
56
|
"@babel/cli": "^7",
|
package/src/common.js
CHANGED
package/src/node-12.js
CHANGED
package/src/node-14.js
ADDED
package/src/node-16.js
CHANGED
package/src/node-18.js
CHANGED
package/src/node-20.js
ADDED