Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: publish missing files #8532

Merged
merged 2 commits into from
Jan 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/purple-poets-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@sveltejs/adapter-cloudflare-workers': patch
'@sveltejs/adapter-netlify': patch
'@sveltejs/adapter-node': patch
'@sveltejs/adapter-static': patch
'@sveltejs/adapter-vercel': patch
'@sveltejs/amp': patch
---

fix: publish missing files
1 change: 1 addition & 0 deletions packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"files": [
"ambient.d.ts",
"files",
"index.js",
"index.d.ts"
],
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"types": "index.d.ts",
"files": [
"files",
"index.js",
"index.d.ts"
],
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"types": "index.d.ts",
"files": [
"files",
"index.js",
"index.d.ts"
],
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"./package.json": "./package.json"
},
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"platforms.js"
],
Comment on lines +20 to +24
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we were publishing all files previously: https://www.npmjs.com/package/@sveltejs/adapter-static?activeTab=explore. I scoped this down to the ones we need.

"scripts": {
"lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore",
"check": "tsc",
Expand Down
1 change: 1 addition & 0 deletions packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"types": "index.d.ts",
"files": [
"files",
"index.js",
"index.d.ts"
],
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion packages/amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
},
"types": "index.d.ts",
"files": [
"index.js"
"index.js",
"index.d.ts"
],
"scripts": {
"lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore",
Expand Down