From 24499dc72a2b5f3046f2cffa5889e7a6ff58aeb7 Mon Sep 17 00:00:00 2001 From: bluwy Date: Sun, 15 Jan 2023 12:40:02 +0800 Subject: [PATCH 1/2] fix: publish missing files --- .changeset/purple-poets-approve.md | 10 ++++++++++ packages/adapter-cloudflare-workers/package.json | 1 + packages/adapter-netlify/package.json | 1 + packages/adapter-node/package.json | 1 + packages/adapter-static/package.json | 4 ++++ packages/adapter-vercel/package.json | 1 + packages/amp/package.json | 3 ++- 7 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .changeset/purple-poets-approve.md diff --git a/.changeset/purple-poets-approve.md b/.changeset/purple-poets-approve.md new file mode 100644 index 000000000000..dd5ab4b2056e --- /dev/null +++ b/.changeset/purple-poets-approve.md @@ -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 diff --git a/packages/adapter-cloudflare-workers/package.json b/packages/adapter-cloudflare-workers/package.json index c8aba28e2531..d8b9575f72a6 100644 --- a/packages/adapter-cloudflare-workers/package.json +++ b/packages/adapter-cloudflare-workers/package.json @@ -20,6 +20,7 @@ "files": [ "ambient.d.ts", "files", + "index.js", "index.d.ts" ], "scripts": { diff --git a/packages/adapter-netlify/package.json b/packages/adapter-netlify/package.json index f06220fe1b6a..09891a08bdb7 100644 --- a/packages/adapter-netlify/package.json +++ b/packages/adapter-netlify/package.json @@ -19,6 +19,7 @@ "types": "index.d.ts", "files": [ "files", + "index.js", "index.d.ts" ], "scripts": { diff --git a/packages/adapter-node/package.json b/packages/adapter-node/package.json index 80e4ec4bafbc..0f7fbb1ead4b 100644 --- a/packages/adapter-node/package.json +++ b/packages/adapter-node/package.json @@ -19,6 +19,7 @@ "types": "index.d.ts", "files": [ "files", + "index.js", "index.d.ts" ], "scripts": { diff --git a/packages/adapter-static/package.json b/packages/adapter-static/package.json index 19e36f1d420e..2a6691dcedb0 100644 --- a/packages/adapter-static/package.json +++ b/packages/adapter-static/package.json @@ -17,6 +17,10 @@ "./package.json": "./package.json" }, "types": "index.d.ts", + "files": [ + "index.js", + "index.d.ts" + ], "scripts": { "lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore", "check": "tsc", diff --git a/packages/adapter-vercel/package.json b/packages/adapter-vercel/package.json index 8a2d235d3144..9a47bbf643e9 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -19,6 +19,7 @@ "types": "index.d.ts", "files": [ "files", + "index.js", "index.d.ts" ], "scripts": { diff --git a/packages/amp/package.json b/packages/amp/package.json index 7222b3bc0d8f..6ff8464e7b44 100644 --- a/packages/amp/package.json +++ b/packages/amp/package.json @@ -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", From b937664fe1087d9a524e1c52067f0841046a48a5 Mon Sep 17 00:00:00 2001 From: bluwy Date: Sun, 15 Jan 2023 12:44:42 +0800 Subject: [PATCH 2/2] chore: fix files --- packages/adapter-static/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/adapter-static/package.json b/packages/adapter-static/package.json index 2a6691dcedb0..71d3df4ce6c5 100644 --- a/packages/adapter-static/package.json +++ b/packages/adapter-static/package.json @@ -19,7 +19,8 @@ "types": "index.d.ts", "files": [ "index.js", - "index.d.ts" + "index.d.ts", + "platforms.js" ], "scripts": { "lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore",