-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): add basic WASM support (#394)
- Loading branch information
1 parent
82538a0
commit 8df4e85
Showing
51 changed files
with
17,700 additions
and
3,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -750,3 +750,9 @@ TSWLatexianTemp* | |
|
||
# glossaries | ||
*.glstex | ||
|
||
# WASM files | ||
*.wasm | ||
|
||
# WASM preview | ||
.preview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,5 @@ java adoptopenjdk-17.0.9+9 | |
nodejs 20.11.0 | ||
just 1.22.1 | ||
flatc 23.3.3 | ||
pnpm 8.14.1 | ||
goreleaser 1.21.1 | ||
make 4.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,6 @@ use ( | |
./lib/test | ||
./lib/types | ||
./lib/utils | ||
./wasm | ||
./xsd | ||
) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,29 @@ | ||
@install: | ||
pnpm install | ||
npm install | ||
|
||
@add +args: | ||
pnpm add {{args}} | ||
npm install {{args}} | ||
|
||
@clean: | ||
rm -rf coverage dist | ||
rm -rf coverage dist ../**/*.odict ../**/*.log | ||
|
||
[private] | ||
@dlx +args: | ||
./node_modules/.bin/{{args}} | ||
|
||
@schema: | ||
flatc --ts -o ./src/__generated__ ../flatbuffers/service.fbs ../flatbuffers/enums.fbs | ||
|
||
@check +args="": | ||
just dlx rome check {{args}} . | ||
npx biome check {{args}} . | ||
|
||
@format +args="": | ||
just dlx rome format {{args}} . | ||
npx biome format {{args}} . | ||
|
||
@build: install | ||
just dlx swc -d dist ./src/*.ts ./src/**/*.ts & \ | ||
just dlx tsc | ||
npx swc -d dist ./src/*.ts ./src/**/*.ts & \ | ||
npx tsc | ||
|
||
@test +args="": install | ||
rm -rf *.log | ||
@test +args="": install && clean | ||
just ../build | ||
just dlx tsc | ||
RUNTIME_ENV=test just dlx jest {{args}} | ||
npx tsc | ||
RUNTIME_ENV=test npx jest {{args}} | ||
|
||
@publish: build | ||
pnpm publish | ||
npm publish |
Oops, something went wrong.