Skip to content

Commit 0367d4a

Browse files
authored
fix(*): test command prebuild core package (#82)
1 parent ca5bdfc commit 0367d4a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

_templates/packages/router/package.json.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ to: packages/<%= name %>/package.json
2525
"package.json"
2626
],
2727
"scripts": {
28-
"test": "vitest run",
28+
"test": "pnpm --filter \"@use-funnel/core\" build && vitest run",
2929
"test:unit": "vitest --root test/",
3030
"build": "rimraf dist && concurrently \"pnpm:build:*\"",
3131
"build:dist": "tsup",

packages/browser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"package.json"
2323
],
2424
"scripts": {
25-
"test": "vitest run",
25+
"test": "pnpm --filter \"@use-funnel/core\" build && vitest run",
2626
"test:unit": "vitest --root test/",
2727
"build": "rimraf dist && concurrently \"pnpm:build:*\"",
2828
"build:dist": "tsup",

packages/next/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"index.d.ts"
2323
],
2424
"scripts": {
25-
"test": "vitest run",
25+
"test": "pnpm --filter \"@use-funnel/core\" build && vitest run",
2626
"test:watch": "vitest watch",
2727
"test:unit": "vitest --root test/",
2828
"build": "rimraf dist && concurrently \"pnpm:build:*\"",

packages/react-navigation-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"package.json"
2323
],
2424
"scripts": {
25-
"test": "jest .",
25+
"test": "pnpm --filter \"@use-funnel/core\" build && jest .",
2626
"build": "rimraf dist && concurrently \"pnpm:build:*\"",
2727
"build:dist": "tsup",
2828
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly",

packages/react-router-dom/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"package.json"
2323
],
2424
"scripts": {
25-
"test": "vitest run",
25+
"test": "pnpm --filter \"@use-funnel/core\" build && vitest run",
2626
"test:unit": "vitest --root test/",
2727
"build": "rimraf dist && concurrently \"pnpm:build:*\"",
2828
"build:dist": "tsup",

0 commit comments

Comments
 (0)