Skip to content

Commit d93b0db

Browse files
authored
fix: update check script in package.json files to use --pack option (#86)
1 parent 8c0c2a0 commit d93b0db

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ jobs:
2424
pnpm install
2525
- name: Build
2626
run: pnpm build
27+
- name: Check
28+
run: pnpm check
2729
- name: Test
2830
run: pnpm test

packages/airtable/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "tsup src/index.ts --format esm --dts --clean",
1515
"dev": "tsup src/index.ts --format esm --dts --watch",
1616
"prepublishOnly": "node --run build",
17-
"check": "publint && attw $(pnpm pack) --ignore-rules=cjs-resolves-to-esm",
17+
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm",
1818
"test": "vitest run",
1919
"test:watch": "vitest"
2020
},

packages/bluesky/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "tsup src/index.ts --format esm --dts --clean",
1515
"dev": "tsup src/index.ts --format esm --dts --watch",
1616
"prepublishOnly": "node --run check && node --run build",
17-
"check": "publint && attw $(pnpm pack) --ignore-rules=cjs-resolves-to-esm"
17+
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm"
1818
},
1919
"devDependencies": {
2020
"@arethetypeswrong/cli": "^0.17.3",

packages/csv/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "tsup src/index.ts --format esm --dts --clean",
1515
"dev": "tsup src/index.ts --format esm --dts --watch",
1616
"prepublishOnly": "node --run build",
17-
"check": "publint && attw $(pnpm pack) --ignore-rules=cjs-resolves-to-esm",
17+
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm",
1818
"test": "vitest run",
1919
"test:watch": "vitest"
2020
},

packages/feed/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "tsup src/index.ts --format esm --dts --clean",
1515
"dev": "tsup src/index.ts --format esm --dts --watch",
1616
"prepublishOnly": "node --run build",
17-
"check": "publint && attw $(pnpm pack) --ignore-rules=cjs-resolves-to-esm",
17+
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm",
1818
"test": "vitest run",
1919
"test:watch": "vitest"
2020
},

packages/mock/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "tsup src/index.ts --format esm --dts --clean",
1515
"dev": "tsup src/index.ts --format esm --dts --watch",
1616
"prepublishOnly": "node --run build",
17-
"check": "publint && attw $(pnpm pack) --ignore-rules=cjs-resolves-to-esm",
17+
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm",
1818
"test": "vitest run",
1919
"test:watch": "vitest"
2020
},

packages/utils/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
"build": "tsup src/index.ts --format esm --dts --clean",
1515
"dev": "tsup src/index.ts --format esm --dts --watch",
1616
"prepublishOnly": "node --run build",
17-
"check": "publint && attw $(pnpm pack) --ignore-rules=cjs-resolves-to-esm",
18-
"test": "vitest run",
19-
"test:watch": "vitest"
17+
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm"
2018
},
2119
"devDependencies": {
2220
"@arethetypeswrong/cli": "^0.17.3",

0 commit comments

Comments
 (0)