purus 0.4.0 → 0.4.1

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/README-ja.md CHANGED
@@ -8,8 +8,12 @@
8
8
 
9
9
  ---
10
10
 
11
+ [![CI](https://github.com/otoneko1102/purus/actions/workflows/ci.yml/badge.svg)](https://github.com/otoneko1102/purus/actions/workflows/ci.yml)
11
12
  [![npm](https://img.shields.io/npm/v/purus)](https://www.npmjs.com/package/purus)
12
13
  [![npm downloads](https://img.shields.io/npm/dm/purus)](https://www.npmjs.com/package/purus)
14
+ [![License](https://img.shields.io/github/license/otoneko1102/purus)](https://github.com/otoneko1102/purus/blob/main/LICENSE)
15
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org/)
16
+ [![VS Code Extension](https://img.shields.io/visual-studio-marketplace/i/otoneko1102.purus)](https://marketplace.visualstudio.com/items?itemName=otoneko1102.purus)
13
17
  [![GitHub commit activity](https://img.shields.io/github/commit-activity/m/otoneko1102/purus)](https://github.com/otoneko1102/purus/pulse)
14
18
  [![GitHub last commit](https://img.shields.io/github/last-commit/otoneko1102/purus)](https://github.com/otoneko1102/purus/commits/main)
15
19
  ![US layout](https://img.shields.io/badge/US_layout-Supported-green)
@@ -49,6 +53,16 @@ npm install -D purus
49
53
 
50
54
  ドキュメントは [purus.work](https://purus.work) で確認できます。
51
55
 
56
+ ## 貢献
57
+
58
+ ガイドは [コチラ](https://github.com/otoneko1102/purus/blob/main/CONTRIBUTING-ja.md) !
59
+
60
+ <a href="https://github.com/otoneko1102/purus/graphs/contributors">
61
+ <img src="https://contrib.rocks/image?repo=otoneko1102/purus" />
62
+ </a>
63
+
64
+ Made with [contrib.rocks](https://contrib.rocks).
65
+
52
66
  ## 著者
53
67
 
54
68
  otoneko. https://github.com/otoneko1102
package/README.md CHANGED
@@ -8,8 +8,12 @@
8
8
 
9
9
  ---
10
10
 
11
+ [![CI](https://github.com/otoneko1102/purus/actions/workflows/ci.yml/badge.svg)](https://github.com/otoneko1102/purus/actions/workflows/ci.yml)
11
12
  [![npm](https://img.shields.io/npm/v/purus)](https://www.npmjs.com/package/purus)
12
13
  [![npm downloads](https://img.shields.io/npm/dm/purus)](https://www.npmjs.com/package/purus)
14
+ [![License](https://img.shields.io/github/license/otoneko1102/purus)](https://github.com/otoneko1102/purus/blob/main/LICENSE)
15
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org/)
16
+ [![VS Code Extension](https://img.shields.io/visual-studio-marketplace/i/otoneko1102.purus)](https://marketplace.visualstudio.com/items?itemName=otoneko1102.purus)
13
17
  [![GitHub commit activity](https://img.shields.io/github/commit-activity/m/otoneko1102/purus)](https://github.com/otoneko1102/purus/pulse)
14
18
  [![GitHub last commit](https://img.shields.io/github/last-commit/otoneko1102/purus)](https://github.com/otoneko1102/purus/commits/main)
15
19
  ![US layout](https://img.shields.io/badge/US_layout-Supported-green)
@@ -49,6 +53,16 @@ npm install -D purus
49
53
 
50
54
  The documentation is available on [purus.work](https://purus.work).
51
55
 
56
+ ## Contribute
57
+
58
+ The guide is [here](https://github.com/otoneko1102/purus/blob/main/CONTRIBUTING.md)!
59
+
60
+ <a href="https://github.com/otoneko1102/purus/graphs/contributors">
61
+ <img src="https://contrib.rocks/image?repo=otoneko1102/purus" />
62
+ </a>
63
+
64
+ Made with [contrib.rocks](https://contrib.rocks).
65
+
52
66
  ## Author
53
67
 
54
68
  otoneko. https://github.com/otoneko1102
@@ -8097,7 +8097,7 @@ function _M0FP48username4core3cmd4main10cmd__build(args) {
8097
8097
  }
8098
8098
  }
8099
8099
  const stmts = _M0MP28username4core6Parser5parse(_M0MP28username4core6Parser3new(filtered));
8100
- const header = no_header.val ? "" : "// Generated by Purus 0.4.0";
8100
+ const header = no_header.val ? "" : "// Generated by Purus 0.4.1";
8101
8101
  const js = _M0MP28username4core9JsCodegen16generate_2einner(_M0MP28username4core9JsCodegen3new(), stmts, header, shebang.val);
8102
8102
  if (to_stdout.val) {
8103
8103
  _M0FP311moonbitlang4core7builtin7printlnGsE(js);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purus",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "A language that compiles to JavaScript — no Shift key required",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -26,7 +26,8 @@
26
26
  "build:compiler": "moon build --target js",
27
27
  "build:copy": "node scripts/build.js",
28
28
  "build": "npm run build:compiler && npm run build:copy",
29
- "prepublishOnly": "npm run build"
29
+ "sync-version": "node scripts/sync-version.js",
30
+ "prepublishOnly": "npm run sync-version && npm run build"
30
31
  },
31
32
  "keywords": [
32
33
  "compiler",
@@ -36,8 +37,7 @@
36
37
  "altjs",
37
38
  "lang",
38
39
  "purus",
39
- "noshift",
40
- "noshift.js"
40
+ "noshift"
41
41
  ],
42
42
  "author": "otoneko1102 (https://github.com/otoneko1102)",
43
43
  "license": "Apache-2.0",