Skip to content

Commit eb6e625

Browse files
authored
Merge pull request #174 from rhashimoto/merge-dev
Merge dev branch for 1.0.
2 parents 70931a9 + 8224660 commit eb6e625

File tree

170 files changed

+14175
-12660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+14175
-12660
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches: [ "master" ]
1111

1212
env:
13-
EM_VERSION: 3.1.45
13+
EM_VERSION: 3.1.47
1414
EM_CACHE_FOLDER: 'emsdk-cache'
1515

1616
jobs:
@@ -20,21 +20,28 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
node-version: [16.x]
23+
node-version: [20.x]
2424

2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
- name: Use Node.js ${{ matrix.node-version }}
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: ${{ matrix.node-version }}
3131
cache: 'npm'
32-
32+
33+
- uses: browser-actions/setup-chrome@v1
34+
id: setup-chrome
35+
with:
36+
chrome-version: 121
37+
- run: |
38+
${{ steps.setup-chrome.outputs.chrome-path }} --version
39+
3340
# Install yarn dependencies.
3441
- name: Get yarn cache directory path
3542
id: yarn-cache-dir-path
3643
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
37-
- uses: actions/cache@v3
44+
- uses: actions/cache@v4
3845
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
3946
with:
4047
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -44,12 +51,12 @@ jobs:
4451
- run: yarn install
4552

4653
- name: Test with checked-in WASM files
47-
run: yarn test --reporters progress
54+
run: yarn test
4855

4956
# Install EMSDK
5057
- name: Setup Emscripten
5158
id: cache-system-libraries
52-
uses: actions/cache@v3
59+
uses: actions/cache@v4
5360
with:
5461
path: ${{env.EM_CACHE_FOLDER}}
5562
key: ${{env.EM_VERSION}}-${{ runner.os }}
@@ -62,4 +69,4 @@ jobs:
6269
- name: Test WASM build
6370
run: |
6471
make clean && make
65-
yarn test --reporters progress
72+
yarn test

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@
1313
/debug
1414
/deps
1515
/tmp
16-
17-
/dist-xl.zip
18-
/dist-xl

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"arcanis.vscode-zipfs"
4+
]
5+
}

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"search.exclude": {
3+
"**/.yarn": true,
4+
"**/.pnp.*": true
5+
},
6+
"typescript.tsdk": ".yarn/sdks/typescript/lib",
7+
"typescript.enablePromptUseWorkspaceTsdk": true
8+
}

.yarn/releases/yarn-3.1.1.cjs

Lines changed: 0 additions & 768 deletions
This file was deleted.

.yarn/releases/yarn-4.0.2.cjs

Lines changed: 893 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/sdks/integrations.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file is automatically generated by @yarnpkg/sdks.
2+
# Manual changes might be lost!
3+
4+
integrations:
5+
- vscode

.yarn/sdks/typescript/bin/tsc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env node
2+
3+
const {existsSync} = require(`fs`);
4+
const {createRequire} = require(`module`);
5+
const {resolve} = require(`path`);
6+
7+
const relPnpApiPath = "../../../../.pnp.cjs";
8+
9+
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
10+
const absRequire = createRequire(absPnpApiPath);
11+
12+
if (existsSync(absPnpApiPath)) {
13+
if (!process.versions.pnp) {
14+
// Setup the environment to be able to require typescript/bin/tsc
15+
require(absPnpApiPath).setup();
16+
}
17+
}
18+
19+
// Defer to the real typescript/bin/tsc your application uses
20+
module.exports = absRequire(`typescript/bin/tsc`);

.yarn/sdks/typescript/bin/tsserver

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env node
2+
3+
const {existsSync} = require(`fs`);
4+
const {createRequire} = require(`module`);
5+
const {resolve} = require(`path`);
6+
7+
const relPnpApiPath = "../../../../.pnp.cjs";
8+
9+
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
10+
const absRequire = createRequire(absPnpApiPath);
11+
12+
if (existsSync(absPnpApiPath)) {
13+
if (!process.versions.pnp) {
14+
// Setup the environment to be able to require typescript/bin/tsserver
15+
require(absPnpApiPath).setup();
16+
}
17+
}
18+
19+
// Defer to the real typescript/bin/tsserver your application uses
20+
module.exports = absRequire(`typescript/bin/tsserver`);

.yarn/sdks/typescript/lib/tsc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env node
2+
3+
const {existsSync} = require(`fs`);
4+
const {createRequire} = require(`module`);
5+
const {resolve} = require(`path`);
6+
7+
const relPnpApiPath = "../../../../.pnp.cjs";
8+
9+
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
10+
const absRequire = createRequire(absPnpApiPath);
11+
12+
if (existsSync(absPnpApiPath)) {
13+
if (!process.versions.pnp) {
14+
// Setup the environment to be able to require typescript/lib/tsc.js
15+
require(absPnpApiPath).setup();
16+
}
17+
}
18+
19+
// Defer to the real typescript/lib/tsc.js your application uses
20+
module.exports = absRequire(`typescript/lib/tsc.js`);

0 commit comments

Comments
 (0)