Skip to content

Commit 79e64a7

Browse files
authored
Merge pull request #384 from antfu/feat/cli
Fix for npm build
2 parents fb45e94 + e139efc commit 79e64a7

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/ISSUE_TEMPLATE/issue.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ https://github.com/LingDong-/wenyan-lang/issues/177
1212
Thank you.
1313
1414
15-
For Chinese user: 如果你想赞美这个项目,谢谢你,但是请不需要建立新的 issue, Star 或告诉你的朋友即可。 如果你想批评这个项目,请到以下两个 issue 留言
15+
中文:如果你想赞美这个项目,谢谢你,但是请不要为此建立新的issue,你可以考虑直接Star或者把这个项目告诉你的朋友。如果你想批评这个项目,请到以下两个issue中留言讨论
1616
https://github.com/LingDong-/wenyan-lang/issues/174
1717
https://github.com/LingDong-/wenyan-lang/issues/177
1818
@@ -24,7 +24,9 @@ https://github.com/LingDong-/wenyan-lang/issues/177
2424

2525

2626

27-
## Before you open the issue, Please be sure ALL the items in the following list are checked
27+
## Checklist
2828

29-
- [ ] If this is a feature request, my request is NOT listed [Here](https://github.com/LingDong-/wenyan-lang#feature-requests)
30-
- [ ] If this is a bug report, my bug is not listed [Here](https://github.com/LingDong-/wenyan-lang#known-bugs)
29+
Before you create this issue, Please make sure ALL the following items are checked
30+
31+
- [ ] If this is a feature request, it's NOT listed [Here](https://github.com/LingDong-/wenyan-lang#feature-requests)
32+
- [ ] If this is a bug report, it's NOT listed [Here](https://github.com/LingDong-/wenyan-lang#known-bugs)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ wenyan examples/helloworld.wy
7575
# will outputs: 問天地好在。
7676
```
7777

78-
> From v0.1.0, the `wenyan` command will direct execute the script by default. If you are migrating from previous versions, please use `wenyan -h` to output the help and check [this PR](https://github.com/LingDong-/wenyan-lang) for the detailed changes.
78+
> From v0.1.0, the `wenyan` command will direct execute the script by default. If you are migrating from previous versions, please use `wenyan -h` to output the help and check [this PR](https://github.com/LingDong-/wenyan-lang/pull/356) for the detailed changes.
7979
8080

8181
### [The Online IDE](http://wenyan-lang.lingdong.works/ide.html)

tools/publish.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const packages = ["cli", "core", "render"];
1111

1212
const fileToCopy = [
1313
"README.md",
14-
"README.zh-Hans,md",
14+
"README.zh-Hans.md",
1515
"README.zh-Hant.md",
1616
"LICENSE"
1717
];
@@ -69,9 +69,6 @@ async function MakePackageJSON() {
6969
async function Publish() {
7070
for (const package of packages) {
7171
console.log(`Publishing ${npmOrganization}/${package}...`);
72-
execSync("npm unpublish", {
73-
cwd: path.join(distRoot, package)
74-
});
7572
execSync("npm publish --access public", {
7673
cwd: path.join(distRoot, package)
7774
});

0 commit comments

Comments
 (0)