8000 Merge remote-tracking branch 'upstream/main' into chore/merge_upstream · unrs/unrs-resolver@56e6d60 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56e6d60

Browse files
committed
Merge remote-tracking branch 'upstream/main' into chore/merge_upstream
2 parents 4d9421e + 778f015 commit 56e6d60

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1319
-871
lines changed

.clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
avoid-breaking-exported-api = false

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,5 @@ jobs:
102102
run: pnpm run test
103103
env:
104104
WASI_TEST: 1
105+
106+
- run: git diff --exit-code # Must commit index.d.ts

.github/workflows/release-napi.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,10 @@ jobs:
187187
needs:
188188
- build
189189
- build-freebsd
190-
env:
191-
COREPACK_INTEGRITY_KEYS: 0
192190
steps:
193191
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
194192

195-
- name: Install pnpm
196-
run: corepack enable
193+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
197194

198195
- name: Setup Node.js
199196
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -222,4 +219,8 @@ jobs:
222219
run: |
223220
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
224221
pnpm napi pre-publish --no-gh-release --tagstyle npm --npm-dir npm
222+
223+
# Publish root package
224+
cp package.json napi/package.json
225+
cp README.md napi/README.md
225226
npm publish napi/ --tag latest --provenance --access public

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
target/
22
/npm
33
/node_modules
4+
/fixtures/pnpm/node_modules
45
fuzz/Cargo.lock

CONTRIBUTING.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# CONTRIBUTING.md
2+
3+
```bash
4+
just init
5+
just install
6+
just ready
7+
```
8+
9+
## Rust
10+
11+
```bash
12+
just example /path/to/directory specifier
13+
just test
14+
```
15+
16+
## Napi
17+
18+
```bash
19+
pnpm run build
20+
pnpm test
21+
```

0 commit comments

Comments
 (0)
0