Skip to content

Commit

Permalink
update napi cli version & change import order
Browse files Browse the repository at this point in the history
  • Loading branch information
Adjective-Object committed Nov 3, 2024
1 parent 87adfef commit 94b9455
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion __test__/index.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import test from 'ava'
import * as good_fences from '../index.js';

console.log("imported good_fences:", good_fences, { showHidden: true, depth: 4 });
const { goodFences, GoodFencesResultType, findUnusedItems } = good_fences;
const { findUnusedItems, goodFences, GoodFencesResultType } = good_fences;

test('run crates/good_fences/tests/good_fences_integration through napi', (t) => {
const result = goodFences({
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"license": "MIT",
"devDependencies": {
"@napi-rs/cli": "^2.12.0",
"@napi-rs/cli": "^2.18.4",
"ava": "^4.3.0",
"beachball": "^2.36.0"
},
Expand All @@ -43,4 +43,4 @@
"commander": "^9.4.1"
},
"packageManager": "[email protected]+sha512.91d93b445d9284e7ed52931369bc89a663414e5582d00eea45c67ddc459a2582919eece27c412d6ffd1bd0793ff35399381cb229326b961798ce4f4cc60ddfdb"
}
}
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@good-fences/api@workspace:."
dependencies:
"@napi-rs/cli": "npm:^2.12.0"
"@napi-rs/cli": "npm:^2.18.4"
ava: "npm:^4.3.0"
beachball: "npm:^2.36.0"
commander: "npm:^9.4.1"
Expand All @@ -61,12 +61,12 @@ __metadata:
languageName: node
linkType: hard

"@napi-rs/cli@npm:^2.12.0":
version: 2.16.3
resolution: "@napi-rs/cli@npm:2.16.3"
"@napi-rs/cli@npm:^2.18.4":
version: 2.18.4
resolution: "@napi-rs/cli@npm:2.18.4"
bin:
napi: scripts/index.js
checksum: 10c0/9531d1aeb9bf40529c873b73c3dc5277ca28ff3bc97779f736732ef50b2de0719167e11397d193a1dd674d54c823c2b5fd3970c0cda9ea9e68444c1c2c29bded
checksum: 10c0/cb80bc86687ba01077a0faa8d38198bc632b7caacf3a42ec42c3ec04700084ca26be9eec13bf7ac7da90e6afb46c65a39de8a86825a53b74dec2f2f459c0a7ea
languageName: node
linkType: hard

Expand Down

0 comments on commit 94b9455

Please sign in to comment.