Skip to content

Commit

Permalink
prevent test suites getting published (#6386)
Browse files Browse the repository at this point in the history
* remove obsolete refs to packaging

* ignore all test folders

* add changeset
  • Loading branch information
ignatiusmb committed Aug 29, 2022
1 parent 7fd675f commit a0147ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-trains-vanish.md
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

prevent test suites from getting published
5 changes: 2 additions & 3 deletions packages/kit/package.json
Expand Up @@ -50,9 +50,8 @@
"files": [
"src",
"!src/**/*.spec.js",
"!src/packaging/test",
"!src/core/**/fixtures",
"!src/core/sync/create_manifest_data/test",
"!src/core/**/test",
"types",
"svelte-kit.js"
],
Expand All @@ -65,7 +64,7 @@
"prepublishOnly": "npm run build",
"test": "npm run test:unit && npm run test:integration",
"test:integration": "pnpm run -r --workspace-concurrency 1 --filter=\"./test/**\" test",
"test:unit": "uvu src \"(spec\\.js|test[\\\\/]index\\.js)\" -i packaging",
"test:unit": "uvu src \"(spec\\.js|test[\\\\/]index\\.js)\"",
"types": "node scripts/extract-types.js",
"postinstall": "node svelte-kit.js sync"
},
Expand Down

0 comments on commit a0147ea

Please sign in to comment.