Skip to content

Commit

Permalink
Update webpack et al (#115)
Browse files Browse the repository at this point in the history
* Get working nix environment for this repo

* Update webpack, typescript, etc

All in service of being able to update micromatch.
Confirmed the dev server tests still run, everything still compiles with
these updates.

* Update to fixed micromatch

* Remove deprecated calls

* Remove dead comment

* Updates for webpack-dev-server test

* One I can't catch locally

* Remove unused lockfile
  • Loading branch information
skeet70 authored Sep 9, 2024
1 parent 4abba9a commit 63d57ab
Show file tree
Hide file tree
Showing 14 changed files with 1,481 additions and 2,640 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
3 changes: 2 additions & 1 deletion .github/workflows/wasm-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
node_version:
- '14'
- '18'
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -26,6 +26,7 @@ jobs:
- uses: IronCoreLabs/[email protected]
with:
crate: wasm-bindgen-cli
version: 0.2.92 # needs to match Cargo.toml and flake.nix version
accesskey: AKIAU2WBY6VDTC563V7G
secretkey: ${{ secrets.TOOL_CACHE_SECRET_KEY }}
os: ubuntu-20.04
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ npm-debug.log
yarn-error.log
target/*
pkg/*
wasm-pack.log
wasm-pack.log
.direnv
104 changes: 76 additions & 28 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
gloo-utils = { version = "0.1", features = ["serde"] }
ironcore-search-helpers = "0.1"
js-sys = "0.3"
rand = { version = "0.7", features = [ "wasm-bindgen" ] }
rand_chacha = "0.2"
recrypt = { version = "0.12", features = [ "wasm" ], default-features = false }
serde = "1"
serde_derive = "1"
wasm-bindgen = { version = "0.2", features = [ "serde-serialize" ] }
wasm-bindgen = { version = "=0.2.92" }

[profile.dev]
opt-level = 2
Expand Down
92 changes: 92 additions & 0 deletions flake.lock

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

Loading

0 comments on commit 63d57ab

Please sign in to comment.