Skip to content

Commit

Permalink
build: remove tests from build output (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek authored Feb 28, 2025
1 parent 2e263fa commit 4017bfb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dev": "concurrently \"npm run build:lib:watch\" \"npm run build:docs:watch\"",
"test": "npm run test:coverage --workspace @oruga-ui/oruga-next",
"test:ts": "npm run test:ts --workspace @oruga-ui/oruga-next",
"build": "npm run build:lib && npm run build:examples && npm run build:docs",
"build:docs": "npm run docs:build --workspace @oruga-ui/docs-next",
"build:docs:watch": "npm run docs:dev --workspace @oruga-ui/docs-next",
"build:lib": "npm run build:lib --workspace @oruga-ui/oruga-next",
Expand Down
2 changes: 2 additions & 0 deletions packages/examples/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
"../oruga/src/**/*.vue",
],
"exclude": [
"../oruga/src/__tests__/**",
"../oruga/src/**/*.test.ts",
"node_modules",
"dist"
]
Expand Down
1 change: 1 addition & 0 deletions packages/examples/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default defineConfig({
// for externalized deps
globals: {
vue: "Vue",
"@oruga-ui/oruga-next": "@oruga-ui/oruga-next",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/oruga/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
]
},
"include": [
"env.d.ts",
"../docs/src/types.ts",
"src/**/*",
"src/**/*.ts",
Expand All @@ -40,6 +39,7 @@
],
"exclude": [
"src/**/__tests__/*",
"src/**/*.test.ts",
"node_modules",
"dist"
],
Expand Down

0 comments on commit 4017bfb

Please sign in to comment.