Skip to content

Commit 239dfc2

Browse files
authored
Merge pull request #97 from github/wtr-and-esbuild
Wtr and esbuild
2 parents e7e0ab6 + 70ee9a7 commit 239dfc2

15 files changed

+7164
-3043
lines changed

Diff for: .devcontainer/devcontainer.json

+21-23
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/javascript-node
33
{
4-
"name": "Node.js",
5-
"build": {
6-
"dockerfile": "Dockerfile",
7-
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
8-
// Append -bullseye or -buster to pin to an OS version.
9-
// Use -bullseye variants on local arm64/Apple Silicon.
10-
"args": { "VARIANT": "16" }
11-
},
4+
"name": "Node.js",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
8+
// Append -bullseye or -buster to pin to an OS version.
9+
// Use -bullseye variants on local arm64/Apple Silicon.
10+
"args": {"VARIANT": "16"}
11+
},
1212

13-
// Set *default* container specific settings.json values on container create.
14-
"settings": {},
13+
// Set *default* container specific settings.json values on container create.
14+
"settings": {},
1515

16-
// Add the IDs of extensions you want installed when the container is created.
17-
"extensions": [
18-
"dbaeumer.vscode-eslint"
19-
],
16+
// Add the IDs of extensions you want installed when the container is created.
17+
"extensions": ["dbaeumer.vscode-eslint"],
2018

21-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
22-
// "forwardPorts": [],
19+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
20+
// "forwardPorts": [],
2321

24-
// Use 'postCreateCommand' to run commands after the container is created.
25-
// "postCreateCommand": "yarn install",
22+
// Use 'postCreateCommand' to run commands after the container is created.
23+
// "postCreateCommand": "yarn install",
2624

27-
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
28-
"remoteUser": "node",
29-
"features": {
30-
"git": "latest"
31-
}
25+
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
26+
"remoteUser": "node",
27+
"features": {
28+
"git": "latest"
29+
}
3230
}

Diff for: .github/workflows/nodejs.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- name: Use Node.js
15-
uses: actions/setup-node@v1
16-
with:
17-
node-version: '14.x'
18-
- run: npm install
19-
- run: npm run build --if-present
20-
- run: npm test
21-
env:
22-
CI: true
13+
- uses: actions/checkout@v2
14+
- name: Use Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: '20.x'
18+
- run: npm install
19+
- run: npm run build --if-present
20+
- run: npm test
21+
env:
22+
CI: true

Diff for: .github/workflows/publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 14
15+
node-version: 20
1616
registry-url: https://registry.npmjs.org/
1717
cache: npm
1818
- run: npm ci
@@ -29,20 +29,20 @@ jobs:
2929
- uses: actions/checkout@v3
3030
- uses: actions/setup-node@v3
3131
with:
32-
node-version: 14
32+
node-version: 20
3333
registry-url: https://registry.npmjs.org/
3434
cache: npm
3535
- run: npm ci
3636
- run: npm test
3737
- name: Setup GHPR
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: 14
40+
node-version: 20
4141
registry-url: 'https://npm.pkg.github.com'
4242
- run: npm version ${TAG_NAME} --git-tag-version=false
4343
env:
4444
TAG_NAME: ${{ github.event.release.tag_name }}
4545
- name: Publish to GHPR
4646
run: npm publish
4747
env:
48-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: examples/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

Diff for: karma.config.js

-19
This file was deleted.

0 commit comments

Comments
 (0)