Skip to content

Commit dfa505a

Browse files
committed
rollup client
1 parent ac92804 commit dfa505a

23 files changed

+602
-416
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
node-version: 18
1717
cache: 'yarn'
1818
- run: yarn --frozen-lockfile
19-
- run: yarn c8 --check-coverage -x src/preview.ts -x src/toolConfig.ts --lines 80 --per-file yarn test:mocha
19+
- run: yarn c8 --check-coverage -x src/preview.ts -x src/toolConfig.ts -x src/client --lines 80 --per-file yarn test:mocha
2020
- run: yarn test:tsc
2121
- run: |
2222
echo ::add-matcher::.github/eslint.json

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"test": "yarn test:mocha && yarn test:tsc && yarn test:lint",
2828
"test:coverage": "c8 yarn test:mocha",
2929
"test:mocha": "rm -rf test/.observablehq/cache test/input/build/*/.observablehq/cache && tsx ./node_modules/.bin/mocha 'test/**/*-test.*'",
30-
"test:lint": "eslint src test public",
30+
"test:lint": "eslint src test",
3131
"test:tsc": "tsc --noEmit"
3232
},
3333
"c8": {
@@ -43,6 +43,7 @@
4343
},
4444
"dependencies": {
4545
"@observablehq/runtime": "^5.9.4",
46+
"@rollup/plugin-terser": "^0.4.4",
4647
"acorn": "^8.11.2",
4748
"acorn-walk": "^8.3.0",
4849
"fast-array-diff": "^1.1.0",
@@ -56,6 +57,7 @@
5657
"markdown-it-anchor": "^8.6.7",
5758
"mime": "^3.0.0",
5859
"open": "^9.1.0",
60+
"rollup": "^4.6.0",
5961
"send": "^0.18.0",
6062
"tar-stream": "^3.1.6",
6163
"tsx": "^3.13.0",

0 commit comments

Comments
 (0)