Skip to content

Commit 8a4a9aa

Browse files
authoredOct 10, 2023
fix: modernize build using esbuild (#1684)
* fix: modernize build using esbuild * example: build & serve demo w/ esbuild move to examples folder so more apps could be added * tools: add livereload, fix demo target folder * tools: remove Webpack tooling * tools: remove babel-eslint, upgrade standard * fix: robust minimal test stack esbuild/zora/c8 * fix: add esbuild global externals plugin evanw/esbuild#337
1 parent 3d47152 commit 8a4a9aa

Some content is hidden

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

57 files changed

+6656
-11263
lines changed
 

‎.github/workflows/ci.yml

+42-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,27 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
# node-version: [16.x, 18.x, 20.x]
12+
node-version: [16.x]
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
cache: npm
21+
- run: npm ci
22+
- run: npm run build:lib
23+
- run: npm run build:demo
24+
- run: npm run build:dist
25+
- run: npm run build:standalone
726

27+
lint:
828
runs-on: ubuntu-latest
929

1030
strategy:
@@ -13,16 +33,29 @@ jobs:
1333
node-version: [16.x]
1434

1535
steps:
16-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
1737
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v1
38+
uses: actions/setup-node@v3
1939
with:
2040
node-version: ${{ matrix.node-version }}
21-
- run: yarn install
22-
- run: yarn lint
23-
- run: yarn test:coverage -v
24-
- run: yarn build:lib
25-
- run: yarn build:demo
26-
- run: yarn build:dist
27-
- run: yarn build:standalone
41+
cache: npm
42+
- run: npm ci
43+
- run: npm run lint
2844

45+
test:
46+
runs-on: ubuntu-latest
47+
48+
strategy:
49+
matrix:
50+
# node-version: [16.x, 18.x, 20.x]
51+
node-version: [16.x]
52+
53+
steps:
54+
- uses: actions/checkout@v3
55+
- name: Use Node.js ${{ matrix.node-version }}
56+
uses: actions/setup-node@v3
57+
with:
58+
node-version: ${{ matrix.node-version }}
59+
cache: npm
60+
- run: npm ci
61+
- run: npm run test:coverage

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
node_modules
22
npm-debug.log
33
yarn-error.log
4-
package-lock.json
54
.DS_Store
65
/lib
76
/lazy
@@ -10,3 +9,4 @@ package-lock.json
109
/es6
1110
.idea/
1211
.vscode/
12+
/disttest/

0 commit comments

Comments
 (0)
Please sign in to comment.