Skip to content

Commit a9367e0

Browse files
committed
chore: update build config and dependencies
1 parent 40c87c7 commit a9367e0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
"README.md"
3030
],
3131
"scripts": {
32-
"watch:build": "yarn dlx nodemon --watch src --ext ts,tsx,js,json --exec \"yarn build\"",
32+
"watch:build": "npx nodemon --watch src --ext ts,tsx,js,json --exec \"yarn build\"",
3333
"lint": "eslint --fix",
3434
"test": "NODE_OPTIONS='--expose-gc' node --stack-size=10000 --max-old-space-size=8192 --experimental-vm-modules $(yarn bin jest) --ci --verbose --testPathIgnorePatterns=\"tests/performance.test.ts\" --testPathIgnorePatterns=\"tests/react-createelement-comparison.test.ts\"",
3535
"test:perf": "NODE_OPTIONS='--expose-gc' node --stack-size=10000 --max-old-space-size=8192 --experimental-vm-modules $(yarn bin jest) --ci --verbose tests/performance.test.ts tests/react-createelement-comparison.test.ts",
3636
"test:all": "NODE_OPTIONS='--expose-gc' node --stack-size=10000 --max-old-space-size=8192 --experimental-vm-modules $(yarn bin jest) --ci --verbose",
37-
"prebuild": "yarn lint && yarn test:all",
37+
"prebuild": "yarn lint && yarn tsgo --noEmit && yarn test:all",
3838
"build": "yarn prebuild && rm -rf ./dist && rollup -c rollup.config.ts && tsgo -p tsconfig.build.json --diagnostics && tsc-alias -p tsconfig.build.json",
3939
"publish:prerelease": "./prepublish.sh && yarn build && yarn version -i prerelease && yarn npm publish --tag next",
4040
"publish:patch": "./prepublish.sh && yarn build && yarn version -i patch && yarn npm publish --tag latest",

tests/props-attributes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Div, Node, type NodeInstance, type Theme, ThemeProvider } from '@src/main.js'
1+
import { Div, Node, NodeInstance, type Theme, ThemeProvider } from '@src/main.js'
22
import { cleanup, render } from '@testing-library/react'
33
import { createRef } from 'react'
44
import { createSerializer, matchers } from '@emotion/jest'

tsconfig.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"moduleResolution": "bundler",
77
"esModuleInterop": true,
88
"allowSyntheticDefaultImports": true,
9-
"baseUrl": ".",
10-
"paths": {
11-
"@src/*": ["src/*"],
12-
"@tests/*": ["tests/*"]
13-
},
14-
"outDir": "dist",
9+
"noEmit": true,
1510
"importHelpers": true,
1611
"isolatedModules": true,
17-
"strict": true
12+
"skipLibCheck": true,
13+
"strict": true,
14+
"paths": {
15+
"@src/*": ["./src/*"],
16+
"@tests/*": ["./tests/*"]
17+
}
1818
},
1919
"include": ["src", "tests", "rollup.config.ts"],
2020
"exclude": ["dist", "node_modules"]

0 commit comments

Comments
 (0)