File tree Expand file tree Collapse file tree 7 files changed +21
-40
lines changed Expand file tree Collapse file tree 7 files changed +21
-40
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " lib-boilerplate" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.0.0 " ,
44 "type" : " module" ,
55 "description" : " A simple library boilerplate." ,
66 "repository" : " git+https://github.com/un-ts/lib-boilerplate.git" ,
3333 ],
3434 "scripts" : {
3535 "build" : " run-p 'build:*'" ,
36- "build:tsc" : " tsc -b " ,
37- "build:tsdown" : " tsdown --clean false -d lib --format cjs --tsconfig src/tsconfig.json src/index.ts" ,
36+ "build:tsc" : " tsc -p src " ,
37+ "build:tsdown" : " tsdown --clean false -d lib --format cjs src/index.ts" ,
3838 "clean" : " premove .type-coverage coverage dist lib .eslintcache .stylelintcache" ,
3939 "dev" : " vitest" ,
4040 "docs" : " vite" ,
4343 "lint" : " run-p 'lint:*'" ,
4444 "lint:es" : " eslint . --cache --max-warnings 10" ,
4545 "lint:style" : " stylelint . --cache" ,
46- "lint:tsc" : " tsc -b --noEmit" ,
46+ "lint:tsc" : " tsc -p tsconfig.eslint.json --noEmit" ,
4747 "prepare" : " simple-git-hooks && yarn-berry-deduplicate || exit 0" ,
4848 "release" : " yarn build && clean-pkg-json && changeset publish" ,
4949 "serve" : " vite preview" ,
Original file line number Diff line number Diff line change 11{
2- "extends" : " ../tsconfig.lib " ,
2+ "extends" : " .." ,
33 "compilerOptions" : {
44 "composite" : true ,
55 "rootDir" : " ." ,
Original file line number Diff line number Diff line change 11{
2- "extends" : " ../tsconfig.lib" ,
3- "compilerOptions" : {
4- "composite" : true ,
5- "noEmit" : true ,
6- "paths" : {
7- "lib-boilerplate" : [" ../src/index.ts" ]
8- }
9- },
10- "include" : [" ../src" , " ." ]
2+ "extends" : " ../tsconfig.eslint"
113}
Original file line number Diff line number Diff line change 1+ {
2+ // https://github.com/dominikg/tsconfck/issues/220
3+ "extends" : " ./tsconfig.json" ,
4+ "compilerOptions" : {
5+ "paths" : {
6+ "lib-boilerplate" : [" ./src/index.ts" ]
7+ }
8+ }
9+ }
Original file line number Diff line number Diff line change 11{
2- "extends" : " ./tsconfig.lib" ,
3- "files" : [],
4- "references" : [
5- {
6- "path" : " ./src"
7- },
8- {
9- "path" : " ./test"
10- },
11- {
12- "path" : " ./tsconfig.node.json"
13- }
14- ]
2+ "extends" : " @1stg/tsconfig/node16" ,
3+ "compilerOptions" : {
4+ "rootDir" : " ." ,
5+ // https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#node-12
6+ "target" : " ES2019"
7+ }
158}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments