Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/release-napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ jobs:
- os: ubuntu-latest
target: powerpc64le-unknown-linux-gnu
build: pnpm build --use-napi-cross
- os: ubuntu-latest
target: riscv64gc-unknown-linux-gnu
build: |
sudo apt-get update &&
sudo apt-get install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu -y &&
export CC=riscv64-linux-gnu-gcc &&
export CXX=riscv64-linux-gnu-g++ &&
pnpm build
- os: ubuntu-latest
target: s390x-unknown-linux-gnu
build: export CFLAGS="-fuse-ld=lld" && pnpm build --use-napi-cross
Expand Down Expand Up @@ -126,11 +134,11 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
if-no-files-found: error
name: bindings-${{ matrix.target }}
path: |
napi/*.node
napi/*.wasm
if-no-files-found: error

build-freebsd:
needs: check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Run release-plz
id: release-plz
uses: MarcoIeni/release-plz-action@245a2a85f1ebdb6a7dd33c813443793e33f08544 # v0.5
uses: MarcoIeni/release-plz-action@245a2a85f1ebdb6a7dd33c813443793e33f08544 # v0.5.103
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand Down
74 changes: 59 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resolver = "2"
[package]
name = "unrs_resolver"
version = "1.4.1"
authors = ["UnRS"]
authors = ["JounQin <[email protected]> (https://www.1stG.me)"]
categories = ["development-tools"]
edition = "2024"
homepage = "https://github.com/unrs/unrs-resolver"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pnp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pnp",
"packageManager": "yarn@4.8.1",
"packageManager": "yarn@4.9.1",
"dependencies": {
"beachball": "^2.52.0",
"is-even": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pnpm-workspace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"license": "MIT",
"dependencies": {
"enhanced-resolve": "^5.18.1",
"oxc-resolver": "^5.0.0"
"unrs-resolver": "workspace:*"
}
}
10 changes: 5 additions & 5 deletions fixtures/tsconfig/cases/extends-paths/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
}
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
}
}
6 changes: 3 additions & 3 deletions fixtures/tsconfig/cases/extends-paths/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "./tsconfig.base.json",
"extends": "./tsconfig.base.json",
"compilerOptions": {
"baseUrl": "src",
},
"baseUrl": "src"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"composite": true,
"paths": {
"foo": ["${configDir}/foo.js"]
"foo": ["${configDir}/src/foo.js"]
}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"baseUrl": "${configDir}",
"paths": {
"@/*": ["./src/*"]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"baseUrl": "${configDir}/",
"paths": {
"@/*": ["./src/*"]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig_template_variable1.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig_template_variable2.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig_template_variable3.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig_template_variable4.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"path": "../project_c/tsconfig.json"
},
{
"path": "../../paths_template_variable/tsconfig2.json"
"path": "../../paths_template_variable/tsconfig.json"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"path": "../project_c/tsconfig.json"
},
{
"path": "../../paths_template_variable/tsconfig2.json"
"path": "../../paths_template_variable/tsconfig.json"
}
]
}
File renamed without changes.
2 changes: 1 addition & 1 deletion fixtures/tsconfig/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"paths": {
"ts-path": ["foo.js"]
"ts-path": ["src/foo.js"]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"paths": {
"foo": ["${configDir}/foo.js"]
"foo": ["${configDir}/src/foo.js"]
}
}
}
8 changes: 8 additions & 0 deletions fixtures/tsconfig/tsconfig_template_variable2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"baseUrl": "${configDir}",
"paths": {
"foo": ["./src/foo.js"]
}
}
}
8 changes: 8 additions & 0 deletions fixtures/tsconfig/tsconfig_template_variable3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"foo": ["${configDir}/src/foo.js"]
}
}
}
8 changes: 8 additions & 0 deletions fixtures/tsconfig/tsconfig_template_variable4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"baseUrl": "${configDir}",
"paths": {
"foo": ["${configDir}/src/foo.js"]
}
}
}
3 changes: 0 additions & 3 deletions napi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,3 @@ mimalloc-safe = { version = "0.1.50", features = ["skip_collect_on_exit", "local

[build-dependencies]
napi-build = "2.1.6"

[package.metadata.cargo-machete]
ignored = ["napi"]
1 change: 1 addition & 0 deletions npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"armv7-unknown-linux-gnueabihf",
"armv7-unknown-linux-musleabihf",
"powerpc64le-unknown-linux-gnu",
"riscv64gc-unknown-linux-gnu",
"s390x-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
Expand Down
Loading
Loading