Skip to content

Commit 59f6773

Browse files
committed
1.0.8
1 parent ca95e3c commit 59f6773

File tree

5 files changed

+16
-25
lines changed

5 files changed

+16
-25
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,11 @@ jobs:
1010
name: Release builds to npm
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
15-
- uses: pnpm/action-setup@v2
16-
with:
17-
version: 9
18-
run_install: false
19-
- uses: actions/setup-node@v3
13+
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v4
15+
- uses: actions/setup-node@v4
2016
with:
21-
node-version: 18
17+
node-version: 22
2218
cache: pnpm
2319
registry-url: https://registry.npmjs.org
2420

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@moonlight-mod/create-extension",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"license": "MIT",
55
"repository": {
66
"type": "git",
@@ -15,6 +15,5 @@
1515
},
1616
"devDependencies": {
1717
"prettier": "^3.4.2"
18-
},
19-
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
18+
}
2019
}

template/.github/workflows/deploy.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@ jobs:
1515
name: Deploy to GitHub Pages
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
19-
20-
- uses: pnpm/action-setup@v2
21-
with:
22-
version: 9
23-
run_install: false
24-
- uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
- uses: pnpm/action-setup@v4
20+
- uses: actions/setup-node@v4
2521
with:
26-
node-version: 18
22+
node-version: 22
2723
cache: pnpm
2824

2925
- name: Install dependencies

template/build.mjs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ if (clean) {
1313
const exts = fs.readdirSync("./src");
1414

1515
for (const ext of exts) {
16+
/** @type {import("@moonlight-mod/esbuild-config").ESBuildFactoryOptions} */
1617
const cfg = {
17-
src: path.resolve(path.join("src", ext)),
18-
dst: path.resolve(path.join("dist", ext)),
19-
esm: esm.includes(ext),
20-
ext
18+
ext,
19+
entry: path.resolve(path.join("src", ext)),
20+
output: path.resolve(path.join("dist", ext)),
21+
esm: esm.includes(ext)
2122
};
2223

2324
if (watch) {

template/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
},
1616
"devDependencies": {
1717
"@electron/asar": "^3.2.8",
18-
"@moonlight-mod/esbuild-config": "github:moonlight-mod/esbuild-config",
18+
"@moonlight-mod/esbuild-config": "^1.0.0",
1919
"@moonlight-mod/eslint-config": "github:moonlight-mod/eslint-config",
2020
"esbuild": "^0.19.3",
21-
"esbuild-copy-static-files": "^0.1.0",
2221
"eslint": "^9.12.0",
2322
"prettier": "^3.1.0",
2423
"typescript": "^5.3.2"

0 commit comments

Comments
 (0)