kn-cli 1.0.73 → 1.0.74

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/build/start.sh CHANGED
@@ -96,7 +96,21 @@ setNpmSetup(){
96
96
  then
97
97
  echo "切换到淘宝npm源"
98
98
  npm config set registry https://registry.npm.taobao.org
99
- npm config set registry https://registry.npm.taobao.org -g
99
+ npm config set registry https://registry.npm.taobao.org -g
100
+ fi
101
+
102
+ if [ $registryType = "zheda" ]
103
+ then
104
+ echo "切换到浙大源"
105
+ npm config set registry https://mirrors.zju.edu.cn/npm
106
+ npm config set registry https://mirrors.zju.edu.cn/npm -g
107
+ fi
108
+
109
+ if [ $registryType = "huawei" ]
110
+ then
111
+ echo "切换到华为源"
112
+ npm config set registry https://repo.huaweicloud.com/repository/npm/
113
+ npm config set registry https://repo.huaweicloud.com/repository/npm/ -g
100
114
  fi
101
115
  fi
102
116
  npm install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-cli",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -96,6 +96,9 @@ module.exports = {
96
96
 
97
97
 
98
98
  # 更新日志
99
+ * 1.0.74
100
+ 工程模版内增加vscode基础配置
101
+
99
102
  * 1.0.73
100
103
  修改 start.sh内 `if[ "dev_mode"x == "watch"x ]` --> `if [ "${dev_mode}" = "watch" ]` 以兼容系统
101
104
 
@@ -0,0 +1,9 @@
1
+ {
2
+ "editor.tabSize": 2,
3
+ "files.exclude": {
4
+ "**/node_modules": true,
5
+ },
6
+ "search.exclude": {
7
+ "**/release": true,
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "editor.tabSize": 2,
3
+ "files.exclude": {
4
+ "**/node_modules": true,
5
+ },
6
+ "search.exclude": {
7
+ "**/release": true,
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "editor.tabSize": 2,
3
+ "files.exclude": {
4
+ "**/node_modules": true,
5
+ },
6
+ "search.exclude": {
7
+ "**/release": true,
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "editor.tabSize": 2,
3
+ "files.exclude": {
4
+ "**/node_modules": true,
5
+ },
6
+ "search.exclude": {
7
+ "**/release": true,
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "editor.tabSize": 2,
3
+ "files.exclude": {
4
+ "**/node_modules": true,
5
+ },
6
+ "search.exclude": {
7
+ "**/release": true,
8
+ }
9
+ }