File tree Expand file tree Collapse file tree 8 files changed +13
-6
lines changed
Expand file tree Collapse file tree 8 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 44 "type" : " module" ,
55 "bin" : {
66 "biome-check-staged" : " ./src/biome-check-staged.ts" ,
7+ "check-dist" : " ./src/check-dist.sh" ,
78 "safe-publish" : " ./src/safe-publish.ts"
89 },
910 "scripts" : {
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ if [ ! -d " ./dist" ]; then
4+ echo " './dist' directory not found in '${PWD} '"
5+ exit 1
6+ fi
Original file line number Diff line number Diff line change 2626 "format-staged" : " biome-check-staged" ,
2727 "lint" : " pnpm lint:biome" ,
2828 "lint:biome" : " pnpm biome check --files-ignore-unknown=true ." ,
29- "lint:publint" : " publint" ,
29+ "lint:publint" : " check-dist && publint" ,
3030 "prepublishOnly" : " turbo all:ci" ,
3131 "publish:safe" : " safe-publish" ,
3232 "test" : " vitest -c vitest.config.mts run" ,
Original file line number Diff line number Diff line change 2626 "format-staged" : " biome-check-staged" ,
2727 "lint" : " pnpm lint:biome" ,
2828 "lint:biome" : " pnpm biome check --files-ignore-unknown=true ." ,
29- "lint:publint" : " publint" ,
29+ "lint:publint" : " check-dist && publint" ,
3030 "prepublishOnly" : " turbo all:ci" ,
3131 "publish:safe" : " safe-publish" ,
3232 "typecheck" : " tsc --incremental true --tsBuildInfoFile .tsbuildinfo --noEmit -p ./tsconfig.json"
Original file line number Diff line number Diff line change 2626 "format-staged" : " biome-check-staged" ,
2727 "lint" : " pnpm lint:biome" ,
2828 "lint:biome" : " pnpm biome check --files-ignore-unknown=true ." ,
29- "lint:publint" : " publint" ,
29+ "lint:publint" : " check-dist && publint" ,
3030 "prepublishOnly" : " turbo all:ci" ,
3131 "publish:safe" : " safe-publish" ,
3232 "typecheck" : " tsc --incremental true --tsBuildInfoFile .tsbuildinfo --noEmit -p ./tsconfig.json"
Original file line number Diff line number Diff line change 3434 "format-staged" : " biome-check-staged" ,
3535 "lint" : " pnpm lint:biome" ,
3636 "lint:biome" : " pnpm biome check --files-ignore-unknown=true ." ,
37- "lint:publint" : " publint" ,
37+ "lint:publint" : " check-dist && publint" ,
3838 "prepublishOnly" : " turbo all:ci" ,
3939 "publish:safe" : " safe-publish" ,
4040 "test" : " vitest -c vitest.config.mts run" ,
Original file line number Diff line number Diff line change 2626 "format-staged" : " biome-check-staged" ,
2727 "lint" : " pnpm lint:biome" ,
2828 "lint:biome" : " pnpm biome check --files-ignore-unknown=true ." ,
29- "lint:publint" : " publint" ,
29+ "lint:publint" : " check-dist && publint" ,
3030 "prepublishOnly" : " turbo all:ci" ,
3131 "publish:safe" : " safe-publish" ,
3232 "test" : " vitest -c vitest.config.mts run" ,
Original file line number Diff line number Diff line change 2626 "format-staged" : " biome-check-staged" ,
2727 "lint" : " pnpm lint:biome" ,
2828 "lint:biome" : " pnpm biome check --files-ignore-unknown=true ." ,
29- "lint:publint" : " publint" ,
29+ "lint:publint" : " check-dist && publint" ,
3030 "prepublishOnly" : " turbo all:ci" ,
3131 "publish:safe" : " safe-publish" ,
3232 "test" : " vitest -c vitest.config.mts run" ,
You can’t perform that action at this time.
0 commit comments