Skip to content

Commit 934f5c2

Browse files
committed
Merge remote-tracking branch 'origin/master' into chore/test-improve
2 parents d0edb7d + 0e24a2d commit 934f5c2

34 files changed

+508
-74778
lines changed

documentation/Standard-Lib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Add comments in the stdlib files (one line above the function/value), the format
141141

142142
After you fill the comments, you need to update the document by running
143143
```bash
144-
npm run docs:update
144+
npm run build:docs
145145
```
146146

147147
Check the output document out and submit a pull request. Thank you!

lib/曆法.wy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
今有一術。名之曰「言彼之時刻」。欲行是術。必先得一數。曰「時」。乃行是術曰。
252252
施「時差」於「時」。加其於「時」。名之曰「甲」。
253253
夫「甲」。夫八萬六千四百。取二以施「取底除」。名之曰「乙」。
254-
夫「乙」之「「餘」」。取一以施「言時刻」。乃得矣。
254+
夫「乙」之「「餘」」。取一以施「取底」。取一以施「言時刻」。乃得矣。
255255
是謂「言彼之時刻」之術也。
256256

257257
注曰「「彼年何年號。同Javascript之"西元" for modern dates也。」」
@@ -349,7 +349,7 @@
349349
今有一術。名之曰「彼秒何秒」。欲行是術。必先得一數。曰「時」。乃行是術曰。
350350
施「時差」於「時」。加其於「時」。名之曰「甲」。
351351
夫「甲」。夫六十。取二以施「取底除」。
352-
取一以施「取底」。乃得矣。
352+
夫其之「「餘」」。取一以施「取底」。乃得矣。
353353
是謂「彼秒何秒」之術也。
354354

355355
吾有一術。名之曰「月積何日」。欲行是術。必先得一數。曰「積月」。乃行是術曰。

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,14 @@
2020
"scripts": {
2121
"build": "npm run clear && webpack --mode production",
2222
"build:dev": "npm run clear && webpack --mode development",
23+
"build:site": "webpack --mode development --config webpack.site.config.js",
24+
"build:docs": "node ./tools/make_examples_readme.js && node ./tools/make_stdlib_cheatsheet.js",
25+
"dev:site": "webpack --mode development --config webpack.site.config.js --watch",
2326
"dev": "npm run clear && webpack --mode development --watch",
2427
"clear": "rimraf ./dist",
2528
"publish": "bump --commit && node ./tools/publish.js",
2629
"publish:ci": "node ./tools/publish.js",
2730
"release": "bump --commit --tag && git push --follow-tags",
28-
"docs:update": "node ./tools/stdlib_doc.js",
29-
"make_examples_readme": "node ./tools/make_examples_readme.js",
30-
"make_ide": "node ./tools/make_ide.js",
31-
"make_site": "node ./tools/make_site.js",
32-
"ide:dev": "nodemon --ignore build,dist ./tools/make_ide.js",
33-
"site:dev": "nodemon --ignore build,dist ./tools/make_site.js",
3431
"test": "mocha --require mocha-snapshots",
3532
"test:update": "mocha --require mocha-snapshots --update",
3633
"lint:fix": "npm run lint -- --fix",

0 commit comments

Comments
 (0)