Skip to content

Commit 74b3e7b

Browse files
authored
chore: rename built:lint to lint:build [AR-59677] (#431)
1 parent 840d29f commit 74b3e7b

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
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",

packages/design-system/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
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\"",
@@ -50,8 +51,7 @@
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",

packages/eslint-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
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"

packages/vite-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
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
},

turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"outputs": ["dist/**"],
3030
"dependsOn": ["^build"]
3131
},
32-
"build:lint": {
32+
"lint:build": {
3333
"dependsOn": ["build"]
3434
}
3535
}

0 commit comments

Comments
 (0)