Skip to content

Commit 3b086e3

Browse files
committed
fix(ts-lib-tools): 修复新建的 monorepo 子模块发布之前不编译和发布失败的缺陷
1 parent 261e198 commit 3b086e3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## v0.14.2 - 2021.8.19
44

55
- fix(ts-lib-tools): 修复打包时包含了 jest 的 `__snapshots__` 目录的缺陷
6+
- fix(ts-lib-tools): 修复新建的 monorepo 子模块发布之前不编译和发布失败的缺陷
67

78
## v0.14.1 - 2021.8.5
89

packages/ts-lib-tools/assets/module-template/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "ts-lib-tools build --simple",
1111
"test": "ts-lib-tools test",
1212
"lint": "ts-lib-tools lint",
13-
"release": "yarn publish dist --tag latest"
13+
"release": "yarn build && yarn publish dist --tag latest"
1414
},
1515
"browserslist": {
1616
"production": [
@@ -23,5 +23,8 @@
2323
"last 1 firefox version",
2424
"last 1 safari version"
2525
]
26+
},
27+
"publishConfig": {
28+
"access": "public"
2629
}
2730
}

0 commit comments

Comments
 (0)