File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ jobs:
149149 - name : Run Build
150150 run : |
151151 pnpm build --affected
152- pnpm build: lint --affected
152+ pnpm lint:build --affected
153153
154154 - name : Run Tests With Build
155155 run : pnpm test:requires-build --affected
Original file line number Diff line number Diff line change 1616 "lint:spell" : " cspell . --quiet" ,
1717 "lint:unused" : " knip" ,
1818 "lint:dedupe" : " pnpm dedupe --check" ,
19+ "lint:build" : " turbo run lint:build" ,
1920 "test" : " turbo run test" ,
2021 "test:coverage" : " turbo run test:coverage" ,
2122 "test:requires-build" : " turbo run test:requires-build" ,
2223 "build" : " turbo run build" ,
23- "build:lint" : " turbo run build:lint" ,
2424 "changelog" : " changeset" ,
2525 "release" : " pnpm build && changeset publish" ,
2626 "prepare" : " husky" ,
Original file line number Diff line number Diff line change 4141 "lint" : " pnpm generate-scss-dts && eslint --max-warnings=0 ${ESLINT_ARGS-} .; EXIT_CODE=$?; rm -rf .scss-dts; exit $EXIT_CODE" ,
4242 "//" : " ESLINT_ARGS is used to pass arguments to eslint. We're using it so we don't need to duplicate the lint script." ,
4343 "lint:fix" : " ESLINT_ARGS=--fix pnpm lint" ,
44+ "lint:build" : " publint && attw --pack" ,
4445 "typecheck" : " pnpm generate-scss-dts && tsgo; EXIT_CODE=$?; rm -rf .scss-dts; exit $EXIT_CODE" ,
4546 "generate-scss-dts" : " typed-scss-modules ./src -o ./.scss-dts --nameFormat all --exportType default > /dev/null 2>&1" ,
4647 "test" : " vitest --project=\" !requires-build\" " ,
5051 "test:requires-build" : " vitest --project=requires-build" ,
5152 "build" : " tsdown" ,
5253 "build:watch" : " pnpm build --watch" ,
53- "build:storybook" : " storybook build" ,
54- "build:lint" : " publint && attw --pack"
54+ "build:storybook" : " storybook build"
5555 },
5656 "dependencies" : {
5757 "@ark-ui/react" : " ^5.36.1" ,
Original file line number Diff line number Diff line change 3232 },
3333 "scripts" : {
3434 "lint" : " eslint --max-warnings=0 ." ,
35+ "lint:build" : " publint && attw --pack" ,
3536 "typecheck" : " tsgo" ,
3637 "test" : " vitest" ,
3738 "test:coverage" : " pnpm test --coverage" ,
38- "build" : " tsdown" ,
39- "build:lint" : " publint && attw --pack"
39+ "build" : " tsdown"
4040 },
4141 "dependencies" : {
4242 "eslint-no-restricted" : " ^0.1.1"
Original file line number Diff line number Diff line change 3737 },
3838 "scripts" : {
3939 "lint" : " eslint --max-warnings=0 ." ,
40+ "lint:build" : " TARBALL=$(pnpm pack | tail -n1) && publint $TARBALL && attw $TARBALL; rm -f $TARBALL" ,
4041 "typecheck" : " tsgo" ,
4142 "build" : " tsdown" ,
42- "build:lint" : " TARBALL=$(pnpm pack | tail -n1) && publint $TARBALL && attw $TARBALL; rm -f $TARBALL" ,
4343 "test" : " vitest" ,
4444 "test:coverage" : " pnpm test --coverage"
4545 },
Original file line number Diff line number Diff line change 2929 "outputs" : [" dist/**" ],
3030 "dependsOn" : [" ^build" ]
3131 },
32- "build: lint" : {
32+ "lint:build " : {
3333 "dependsOn" : [" build" ]
3434 }
3535 }
You can’t perform that action at this time.
0 commit comments