Skip to content

Commit

Permalink
Merge pull request wasmerio#341 from wasmerio/refactor-directory
Browse files Browse the repository at this point in the history
Refactor directory and associated code to more closely match the API we want
  • Loading branch information
Michael Bryan authored Nov 27, 2023
2 parents 3d06ef4 + 2c15d7f commit abf66f2
Show file tree
Hide file tree
Showing 13 changed files with 622 additions and 366 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Install JS Dependencies
run: npm install
run: npm ci
- name: Build
run: npm run build
- name: Generate Docs
run: npx typedoc --out docs lib.ts
run: npm run docs
- name: Upload API Docs
uses: JamesIves/[email protected]
if: github.ref == 'refs/heads/main'
Expand Down
100 changes: 100 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@
"build:dev": "wasm-pack build --dev --target=web --weak-refs --no-pack && rollup -c --environment BUILD:development",
"dev": "rollup -c -w",
"test": "web-test-runner --node-resolve --esbuild-target auto --config ./web-dev-server.config.mjs",
"docs": "typedoc",
"doc:watch": "typedoc --watch",
"clean": "rimraf dist coverage pkg target"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"dependencies": {},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@rollup/plugin-node-resolve": "~15.0.1",
Expand All @@ -53,6 +54,7 @@
"rollup-plugin-typescript2": "^0.34.1",
"ts-loader": "^9.2.6",
"tslib": "^2.3.1",
"typedoc": "^0.25.4",
"typescript": "^4.5.2"
},
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead"
Expand Down
Loading

0 comments on commit abf66f2

Please sign in to comment.