Skip to content

Commit

Permalink
pub
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP committed Oct 1, 2023
1 parent 4cd11de commit 7f1b55e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
build: |
pnpm build
strip -x *.node
# - host: windows-latest
# build: pnpm build
# target: x86_64-pc-windows-msvc
- host: windows-latest
build: pnpm build
target: x86_64-pc-windows-msvc
# - host: windows-latest
# build: |
# pnpm build --target i686-pc-windows-msvc
Expand Down
1 change: 1 addition & 0 deletions addon/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
pnpm-lock.yaml
package-lock.json

# Runtime data
pids
Expand Down
8 changes: 6 additions & 2 deletions addon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rubick-native-addon",
"version": "0.0.2",
"version": "0.0.3-beta",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down Expand Up @@ -30,5 +30,9 @@
},
"devDependencies": {
"@napi-rs/cli": "^2.16.3"
}
},
"files": [
"index.js",
"index.d.ts"
]
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -d"
"build": "tsc -d",
"postinstall": "cd addon && npm install --production"
},
"devDependencies": {
"@types/node": "^20.7.1",
"picomatch": "^2.3.1",
"typescript": "^5.2.2"
},
"dependencies": {
Expand All @@ -22,7 +24,6 @@
"dist/",
"addon/package.json",
"addon/index.js",
"addon/index.d.ts",
"addon/*.node"
"addon/index.d.ts"
]
}

0 comments on commit 7f1b55e

Please sign in to comment.