Skip to content

Commit 206178c

Browse files
authored
chore: release v0.0.0-canary.1 (#14)
* fix: fix core and bump version * ci: add back nodejs tests
1 parent e2d8512 commit 206178c

File tree

5 files changed

+22
-13
lines changed

5 files changed

+22
-13
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
dry-run:
77
description: 'Run in dry-run mode (no actual publishing)'
88
required: false
9-
default: true
9+
default: false
1010
type: boolean
1111
npm-tag:
1212
description: 'NPM tag for publishing'
@@ -27,7 +27,7 @@ jobs:
2727
name: Build
2828
uses: rspack-contrib/rspack-toolchain/.github/workflows/build.yml@main
2929
with:
30-
napi-build-command: pnpm build
30+
napi-build-command: pnpm build --release
3131

3232
test:
3333
name: Test

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ on:
66
jobs:
77
test:
88
runs-on: ${{ matrix.os }}
9-
name: Node Test (${{ matrix.os }})
9+
name: test Node.js - ${{ matrix.os }}
1010

1111
strategy:
1212
fail-fast: false
1313
matrix:
1414
include:
15-
# - os: ubuntu-latest
16-
# target: x86_64-unknown-linux-gnu
15+
- os: ubuntu-latest
16+
target: x86_64-unknown-linux-gnu
1717
- os: macos-latest
1818
target: aarch64-apple-darwin
19-
# - os: windows-latest
20-
# target: x86_64-pc-windows-msvc
19+
- os: windows-latest
20+
target: x86_64-pc-windows-msvc
2121

2222
steps:
2323
- name: Checkout code

crates/binding/package.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rspack-template/binding",
3-
"version": "0.0.0-canary.0",
3+
"version": "0.0.0-canary.1",
44
"homepage": "https://github.com/rspack-contrib/rspack-binding-template",
55
"bugs": {
66
"url": "https://github.com/rspack-contrib/rspack-binding-template/issues"
@@ -34,7 +34,17 @@
3434
"binaryName": "binding",
3535
"targets": [
3636
"x86_64-apple-darwin",
37-
"aarch64-apple-darwin"
37+
"x86_64-pc-windows-msvc",
38+
"x86_64-unknown-linux-gnu",
39+
"x86_64-unknown-linux-musl",
40+
"i686-pc-windows-msvc",
41+
"aarch64-unknown-linux-gnu",
42+
"aarch64-apple-darwin",
43+
"aarch64-unknown-linux-musl",
44+
"aarch64-pc-windows-msvc",
45+
"armv7-linux-androideabi",
46+
"armv7-unknown-linux-gnueabihf",
47+
"aarch64-linux-android"
3848
]
3949
}
4050
}

lib/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
process.env.RSPACK_BINDING = require('node:path').join(
2-
__dirname,
3-
'../node_modules/@rspack-template/binding'
1+
process.env.RSPACK_BINDING = require('node:path').dirname(
2+
require.resolve('@rspack-template/binding')
43
);
54

65
const binding = require('@rspack-template/binding');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rspack-template/core",
3-
"version": "0.0.0-canary.0",
3+
"version": "0.0.0-canary.1",
44
"homepage": "https://github.com/rspack-contrib/rspack-binding-template",
55
"bugs": {
66
"url": "https://github.com/rspack-contrib/rspack-binding-template/issues"

0 commit comments

Comments
 (0)