commit-pack 1.0.10 → 1.0.11
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/bin/index.mjs +2 -0
- package/lib/index.mjs +1 -0
- package/package.json +1 -5
package/bin/index.mjs
CHANGED
package/lib/index.mjs
CHANGED
|
@@ -29,6 +29,7 @@ function detectPackageManager() {
|
|
|
29
29
|
return 'npm';
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
console.log('执行 postinstall 脚本:bin/index.js');
|
|
32
33
|
const packageManager = detectPackageManager();
|
|
33
34
|
console.log(_chalk.default.green(`检测到使用的包管理器:${packageManager}`));
|
|
34
35
|
const packageJsonPath = _path.default.join(projectRoot, 'package.json');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commit-pack",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "A setup package to automatly check project's style and commit configuration",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -56,10 +56,6 @@
|
|
|
56
56
|
"shelljs": "^0.8.5",
|
|
57
57
|
"standard-version": "^9.5.0"
|
|
58
58
|
},
|
|
59
|
-
"vscode_custom_css.imports": [
|
|
60
|
-
"file:///Users/jett/code/Res/custom/custom.css",
|
|
61
|
-
"file:///Users/jett/code/Res/custom/custom.js"
|
|
62
|
-
],
|
|
63
59
|
"scripts": {
|
|
64
60
|
"postinstall": "node bin/index.mjs",
|
|
65
61
|
"lint": "eslint ./ --ext .ts,.tsx,.json --max-warnings=0",
|