Skip to content

Commit

Permalink
chore(svelte-query): Update @sveltejs/package to v2 (#5242)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins authored Apr 23, 2023
1 parent 9d437c2 commit 195772e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
4 changes: 2 additions & 2 deletions packages/svelte-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"test:eslint": "eslint --ext .svelte,.ts ./src",
"test:lib": "vitest run --coverage true",
"test:lib:dev": "vitest watch",
"build": "svelte-package && rimraf ./build/lib/package.json"
"build": "svelte-package --input ./src --output ./build/lib && rimraf ./build/lib/__tests__"
},
"devDependencies": {
"@sveltejs/package": "^1.0.0",
"@sveltejs/package": "^2.0.2",
"@sveltejs/vite-plugin-svelte": "^2.0.2",
"@testing-library/svelte": "^3.2.2",
"@vitest/coverage-istanbul": "^0.27.1",
Expand Down
7 changes: 0 additions & 7 deletions packages/svelte-query/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

const config = {
preprocess: vitePreprocess(),
package: {
source: "./src",
dir: "./build/lib",
files: (filepath) => {
return !filepath.includes("__tests__");
},
},
};

export default config;
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 195772e

Please sign in to comment.