diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | doc/docs/.vitepress/config.mts | 14 | ||||
| -rw-r--r-- | doc/docs/de/index.md | 2 | ||||
| -rw-r--r-- | doc/docs/id-id/index.md | 2 | ||||
| -rw-r--r-- | doc/docs/index.md | 2 | ||||
| -rw-r--r-- | doc/docs/pt-br/index.md | 2 | ||||
| -rw-r--r-- | doc/docs/zh/index.md | 2 | ||||
| -rw-r--r-- | wasm/package.json | 132 |
8 files changed, 82 insertions, 75 deletions
| @@ -21,7 +21,6 @@ | |||
| 21 | <img src="doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png" width="360" alt="Xiaoyu, the YueScript mascot"/> | 21 | <img src="doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png" width="360" alt="Xiaoyu, the YueScript mascot"/> |
| 22 | </p> | 22 | </p> |
| 23 | 23 | ||
| 24 | |||
| 25 | <p align="center"> | 24 | <p align="center"> |
| 26 | <sub><b>Xiaoyu (小玉)</b> · Official YueScript Mascot</sub> | 25 | <sub><b>Xiaoyu (小玉)</b> · Official YueScript Mascot</sub> |
| 27 | </p> | 26 | </p> |
diff --git a/doc/docs/.vitepress/config.mts b/doc/docs/.vitepress/config.mts index 5a04667..1ebc5cc 100644 --- a/doc/docs/.vitepress/config.mts +++ b/doc/docs/.vitepress/config.mts | |||
| @@ -438,7 +438,7 @@ function createSidebar(basePath: string, locale: SidebarLocale) { | |||
| 438 | 438 | ||
| 439 | export default defineConfig({ | 439 | export default defineConfig({ |
| 440 | title: "YueScript", | 440 | title: "YueScript", |
| 441 | description: "A language that compiles to Lua", | 441 | description: "A delightful language that compiles to Lua", |
| 442 | base: docsBase, | 442 | base: docsBase, |
| 443 | head: [ | 443 | head: [ |
| 444 | ["meta", { name: "theme-color", content: "#b4ac8f" }], | 444 | ["meta", { name: "theme-color", content: "#b4ac8f" }], |
| @@ -452,7 +452,7 @@ export default defineConfig({ | |||
| 452 | "meta", | 452 | "meta", |
| 453 | { | 453 | { |
| 454 | property: "og:description", | 454 | property: "og:description", |
| 455 | content: "A language that compiles to Lua", | 455 | content: "A delightful language that compiles to Lua", |
| 456 | }, | 456 | }, |
| 457 | ], | 457 | ], |
| 458 | ["meta", { property: "og:type", content: "website" }], | 458 | ["meta", { property: "og:type", content: "website" }], |
| @@ -555,7 +555,7 @@ export default defineConfig({ | |||
| 555 | root: { | 555 | root: { |
| 556 | label: "English", | 556 | label: "English", |
| 557 | lang: "en-US", | 557 | lang: "en-US", |
| 558 | description: "A language that compiles to Lua", | 558 | description: "A delightful language that compiles to Lua", |
| 559 | themeConfig: { | 559 | themeConfig: { |
| 560 | nav: [ | 560 | nav: [ |
| 561 | { text: "Documentation", link: "/doc/" }, | 561 | { text: "Documentation", link: "/doc/" }, |
| @@ -568,7 +568,7 @@ export default defineConfig({ | |||
| 568 | "id-id": { | 568 | "id-id": { |
| 569 | label: "Bahasa Indonesia", | 569 | label: "Bahasa Indonesia", |
| 570 | lang: "id-ID", | 570 | lang: "id-ID", |
| 571 | description: "Bahasa yang dikompilasi ke Lua", | 571 | description: "Bahasa menyenangkan yang dikompilasi ke Lua", |
| 572 | themeConfig: { | 572 | themeConfig: { |
| 573 | nav: [ | 573 | nav: [ |
| 574 | { text: "Dokumentasi", link: "/id-id/doc/" }, | 574 | { text: "Dokumentasi", link: "/id-id/doc/" }, |
| @@ -581,7 +581,7 @@ export default defineConfig({ | |||
| 581 | de: { | 581 | de: { |
| 582 | label: "Deutsch", | 582 | label: "Deutsch", |
| 583 | lang: "de-DE", | 583 | lang: "de-DE", |
| 584 | description: "Eine Sprache, die zu Lua kompiliert", | 584 | description: "Eine wunderbare Sprache, die zu Lua kompiliert", |
| 585 | themeConfig: { | 585 | themeConfig: { |
| 586 | nav: [ | 586 | nav: [ |
| 587 | { text: "Dokumentation", link: "/de/doc/" }, | 587 | { text: "Dokumentation", link: "/de/doc/" }, |
| @@ -594,7 +594,7 @@ export default defineConfig({ | |||
| 594 | "pt-br": { | 594 | "pt-br": { |
| 595 | label: "Português (Brasil)", | 595 | label: "Português (Brasil)", |
| 596 | lang: "pt-BR", | 596 | lang: "pt-BR", |
| 597 | description: "Uma linguagem que compila para Lua", | 597 | description: "Uma linguagem encantadora que compila para Lua", |
| 598 | themeConfig: { | 598 | themeConfig: { |
| 599 | nav: [ | 599 | nav: [ |
| 600 | { text: "Documentação", link: "/pt-br/doc/" }, | 600 | { text: "Documentação", link: "/pt-br/doc/" }, |
| @@ -607,7 +607,7 @@ export default defineConfig({ | |||
| 607 | zh: { | 607 | zh: { |
| 608 | label: "简体中文", | 608 | label: "简体中文", |
| 609 | lang: "zh-CN", | 609 | lang: "zh-CN", |
| 610 | description: "一门编译到 Lua 的语言", | 610 | description: "一门令人愉悦且可编译为 Lua 的语言", |
| 611 | themeConfig: { | 611 | themeConfig: { |
| 612 | nav: [ | 612 | nav: [ |
| 613 | { text: "文档", link: "/zh/doc/" }, | 613 | { text: "文档", link: "/zh/doc/" }, |
diff --git a/doc/docs/de/index.md b/doc/docs/de/index.md index def69d3..203dd0e 100644 --- a/doc/docs/de/index.md +++ b/doc/docs/de/index.md | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | layout: home | 2 | layout: home |
| 3 | hero: | 3 | hero: |
| 4 | name: YueScript | 4 | name: YueScript |
| 5 | tagline: Eine Sprache, die zu Lua kompiliert | 5 | tagline: Eine wunderbare Sprache, die zu Lua kompiliert |
| 6 | image: | 6 | image: |
| 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png | 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png |
| 8 | alt: YueScript | 8 | alt: YueScript |
diff --git a/doc/docs/id-id/index.md b/doc/docs/id-id/index.md index 6c316ea..95dc22b 100644 --- a/doc/docs/id-id/index.md +++ b/doc/docs/id-id/index.md | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | layout: home | 2 | layout: home |
| 3 | hero: | 3 | hero: |
| 4 | name: YueScript | 4 | name: YueScript |
| 5 | tagline: Bahasa yang dikompilasi ke Lua | 5 | tagline: Bahasa menyenangkan yang dikompilasi ke Lua |
| 6 | image: | 6 | image: |
| 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png | 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png |
| 8 | alt: YueScript | 8 | alt: YueScript |
diff --git a/doc/docs/index.md b/doc/docs/index.md index 485d8a0..c16859e 100644 --- a/doc/docs/index.md +++ b/doc/docs/index.md | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | layout: home | 2 | layout: home |
| 3 | hero: | 3 | hero: |
| 4 | name: YueScript | 4 | name: YueScript |
| 5 | tagline: A language that compiles to Lua | 5 | tagline: A delightful language that compiles to Lua |
| 6 | image: | 6 | image: |
| 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png | 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png |
| 8 | alt: YueScript | 8 | alt: YueScript |
diff --git a/doc/docs/pt-br/index.md b/doc/docs/pt-br/index.md index 614349f..1852b6e 100644 --- a/doc/docs/pt-br/index.md +++ b/doc/docs/pt-br/index.md | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | layout: home | 2 | layout: home |
| 3 | hero: | 3 | hero: |
| 4 | name: YueScript | 4 | name: YueScript |
| 5 | tagline: Uma linguagem que compila para Lua | 5 | tagline: Uma linguagem encantadora que compila para Lua |
| 6 | image: | 6 | image: |
| 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png | 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png |
| 8 | alt: YueScript | 8 | alt: YueScript |
diff --git a/doc/docs/zh/index.md b/doc/docs/zh/index.md index c6274cf..740fe26 100644 --- a/doc/docs/zh/index.md +++ b/doc/docs/zh/index.md | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | layout: home | 2 | layout: home |
| 3 | hero: | 3 | hero: |
| 4 | name: 月之脚本 | 4 | name: 月之脚本 |
| 5 | tagline: 一门编译到 Lua 的语言 | 5 | tagline: 一门令人愉悦且可编译为 Lua 的语言 |
| 6 | image: | 6 | image: |
| 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png | 7 | src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png |
| 8 | alt: 月之脚本 | 8 | alt: 月之脚本 |
diff --git a/wasm/package.json b/wasm/package.json index 8e6212d..2e9f988 100644 --- a/wasm/package.json +++ b/wasm/package.json | |||
| @@ -1,64 +1,72 @@ | |||
| 1 | { | 1 | { |
| 2 | "name": "yuescript", | 2 | "name": "yuescript", |
| 3 | "version": "0.26.0", | 3 | "version": "0.26.0", |
| 4 | "description": "A Moonscript dialect compiles to Lua.", | 4 | "description": "A delightful language that compiles to Lua.", |
| 5 | "main": "./dist/esm/yuescript.mjs", | 5 | "main": "./dist/esm/yuescript.mjs", |
| 6 | "repository": { | 6 | "repository": { |
| 7 | "type": "git", | 7 | "type": "git", |
| 8 | "url": "git+https://github.com/pigpigyyy/Yuescript.git" | 8 | "url": "git+https://github.com/pigpigyyy/Yuescript.git" |
| 9 | }, | 9 | }, |
| 10 | "keywords": ["lua", "cpp", "moonscript", "yuescript", "transpiler"], | 10 | "keywords": [ |
| 11 | "exports": { | 11 | "lua", |
| 12 | ".": { | 12 | "cpp", |
| 13 | "import": "./dist/esm/yuescript.mjs", | 13 | "moonscript", |
| 14 | "require": "./dist/cjs/yuescript.js", | 14 | "yuescript", |
| 15 | "types": "./dist/esm/yuescript.d.ts" | 15 | "transpiler" |
| 16 | }, | 16 | ], |
| 17 | "./yuescript.wasm": { | 17 | "exports": { |
| 18 | "import": "./dist/esm/yuescript.wasm", | 18 | ".": { |
| 19 | "require": "./dist/cjs/yuescript.wasm" | 19 | "import": "./dist/esm/yuescript.mjs", |
| 20 | }, | 20 | "require": "./dist/cjs/yuescript.js", |
| 21 | "./yuescript.wasm.map": { | 21 | "types": "./dist/esm/yuescript.d.ts" |
| 22 | "import": "./dist/esm/yuescript.wasm.map", | 22 | }, |
| 23 | "require": "./dist/cjs/yuescript.wasm.map" | 23 | "./yuescript.wasm": { |
| 24 | } | 24 | "import": "./dist/esm/yuescript.wasm", |
| 25 | }, | 25 | "require": "./dist/cjs/yuescript.wasm" |
| 26 | "files": [ | 26 | }, |
| 27 | "./dist/cjs/yuescript.cjs", | 27 | "./yuescript.wasm.map": { |
| 28 | "./dist/esm/yuescript.mjs", | 28 | "import": "./dist/esm/yuescript.wasm.map", |
| 29 | "./dist/esm/yuescript.d.ts", | 29 | "require": "./dist/cjs/yuescript.wasm.map" |
| 30 | "./dist/esm/yuescript.wasm", | 30 | } |
| 31 | "./dist/esm/yuescript.wasm.map", | 31 | }, |
| 32 | "./dist/cjs/yuescript.d.ts", | 32 | "files": [ |
| 33 | "./dist/cjs/yuescript.wasm", | 33 | "./dist/cjs/yuescript.cjs", |
| 34 | "./dist/cjs/yuescript.wasm.map" | 34 | "./dist/esm/yuescript.mjs", |
| 35 | 35 | "./dist/esm/yuescript.d.ts", | |
| 36 | ], | 36 | "./dist/esm/yuescript.wasm", |
| 37 | "browser": { | 37 | "./dist/esm/yuescript.wasm.map", |
| 38 | "child_process": false, | 38 | "./dist/cjs/yuescript.d.ts", |
| 39 | "crypto": false, | 39 | "./dist/cjs/yuescript.wasm", |
| 40 | "fs": false, | 40 | "./dist/cjs/yuescript.wasm.map" |
| 41 | "fs/promises": false, | 41 | ], |
| 42 | "path": false, | 42 | "browser": { |
| 43 | "url": false, | 43 | "child_process": false, |
| 44 | "vm": false, | 44 | "crypto": false, |
| 45 | "ws": false | 45 | "fs": false, |
| 46 | }, | 46 | "fs/promises": false, |
| 47 | "author": "pigpigyyy", | 47 | "path": false, |
| 48 | "license": "MIT", | 48 | "url": false, |
| 49 | "bugs": { | 49 | "vm": false, |
| 50 | "url": "https://github.com/pigpigyyy/Yuescript/issues" | 50 | "ws": false |
| 51 | }, | 51 | }, |
| 52 | "homepage": "https://github.com/pigpigyyy/Yuescript#readme", | 52 | "author": "pigpigyyy", |
| 53 | "tsd": { | 53 | "license": "MIT", |
| 54 | "compilerOptions": { | 54 | "bugs": { |
| 55 | "lib": ["ES2017", "DOM"] | 55 | "url": "https://github.com/pigpigyyy/Yuescript/issues" |
| 56 | } | 56 | }, |
| 57 | }, | 57 | "homepage": "https://github.com/pigpigyyy/Yuescript#readme", |
| 58 | "types": "./dist/esm/yuescript.d.ts", | 58 | "tsd": { |
| 59 | "engines": { | 59 | "compilerOptions": { |
| 60 | "node": ">=18.0.0" | 60 | "lib": [ |
| 61 | }, | 61 | "ES2017", |
| 62 | "devDependencies": {}, | 62 | "DOM" |
| 63 | "scripts": {} | 63 | ] |
| 64 | } | ||
| 65 | }, | ||
| 66 | "types": "./dist/esm/yuescript.d.ts", | ||
| 67 | "engines": { | ||
| 68 | "node": ">=18.0.0" | ||
| 69 | }, | ||
| 70 | "devDependencies": {}, | ||
| 71 | "scripts": {} | ||
| 64 | } | 72 | } |
