Skip to content

Commit

Permalink
Merge pull request #20 from NomicFoundation/no-optional-dependencies
Browse files Browse the repository at this point in the history
Don't use platform-specific optional dependencies
  • Loading branch information
alcuadrado authored Jun 7, 2024
2 parents abd7b6d + 6acfc87 commit edd0e96
Show file tree
Hide file tree
Showing 23 changed files with 3,257 additions and 1,348 deletions.
191 changes: 59 additions & 132 deletions .github/workflows/CI.yml

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
target
Cargo.lock
.cargo
.github
npm
.eslintrc
.prettierignore
rustfmt.toml
yarn.lock
*.node
.yarn
__test__
renovate.json
Binary file added .yarn/install-state.gz
Binary file not shown.
894 changes: 894 additions & 0 deletions .yarn/releases/yarn-4.2.2.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.2.2.cjs
166 changes: 123 additions & 43 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ crate-type = ["cdylib"]
[dependencies]
solang-parser = "=0.1.13"
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "=2.11.2", default-features = false, features = ["napi4"] }
napi-derive = "=2.11.1"
napi = { version = "=2.16.6", default-features = false, features = ["napi4"] }
napi-derive = "=2.16.5"

[build-dependencies]
napi-build = "=2.0.1"
napi-build = "=2.1.3"

[profile.release]
lto = true
Loading

0 comments on commit edd0e96

Please sign in to comment.