From 4b3f25a9baa08a3254e8071847eb34e34889cf40 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Fri, 13 Jan 2023 14:36:58 -0800 Subject: [PATCH] chore: remove superfluous fields from package.json --- .changeset/breezy-vans-prove.md | 14 ++++++++++++++ packages/adapter-auto/package.json | 2 -- packages/adapter-cloudflare-workers/package.json | 2 -- packages/adapter-cloudflare/package.json | 2 -- packages/adapter-netlify/package.json | 2 -- packages/adapter-node/package.json | 2 -- packages/adapter-static/package.json | 2 -- packages/adapter-vercel/package.json | 2 -- packages/amp/package.json | 2 -- packages/create-svelte/package.json | 2 -- packages/package/package.json | 1 - 11 files changed, 14 insertions(+), 19 deletions(-) create mode 100644 .changeset/breezy-vans-prove.md diff --git a/.changeset/breezy-vans-prove.md b/.changeset/breezy-vans-prove.md new file mode 100644 index 000000000000..43ae134d9afc --- /dev/null +++ b/.changeset/breezy-vans-prove.md @@ -0,0 +1,14 @@ +--- +'@sveltejs/adapter-auto': patch +'@sveltejs/adapter-cloudflare': patch +'@sveltejs/adapter-cloudflare-workers': patch +'@sveltejs/adapter-netlify': patch +'@sveltejs/adapter-node': patch +'@sveltejs/adapter-static': patch +'@sveltejs/adapter-vercel': patch +'@sveltejs/amp': patch +'create-svelte': patch +'@sveltejs/package': patch +--- + +"chore: remove superfluous fields from package.json" diff --git a/packages/adapter-auto/package.json b/packages/adapter-auto/package.json index 22ee8a13e792..231e1f8bd4c5 100644 --- a/packages/adapter-auto/package.json +++ b/packages/adapter-auto/package.json @@ -16,8 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", - "types": "index.d.ts", "files": [ "files", "index.js", diff --git a/packages/adapter-cloudflare-workers/package.json b/packages/adapter-cloudflare-workers/package.json index acad247a8a89..9e1369bd446b 100644 --- a/packages/adapter-cloudflare-workers/package.json +++ b/packages/adapter-cloudflare-workers/package.json @@ -16,8 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", - "types": "index.d.ts", "files": [ "ambient.d.ts", "files", diff --git a/packages/adapter-cloudflare/package.json b/packages/adapter-cloudflare/package.json index c3a3e88c04d4..740ce67165a2 100644 --- a/packages/adapter-cloudflare/package.json +++ b/packages/adapter-cloudflare/package.json @@ -16,14 +16,12 @@ }, "./package.json": "./package.json" }, - "types": "index.d.ts", "files": [ "files", "index.js", "index.d.ts", "ambient.d.ts" ], - "main": "index.js", "scripts": { "build": "esbuild src/worker.js --bundle --outfile=files/worker.js --external:SERVER --external:MANIFEST --format=esm", "lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore", diff --git a/packages/adapter-netlify/package.json b/packages/adapter-netlify/package.json index 7ae39879dd60..7b01bd97d22c 100644 --- a/packages/adapter-netlify/package.json +++ b/packages/adapter-netlify/package.json @@ -16,8 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", - "types": "index.d.ts", "files": [ "files", "index.d.ts" diff --git a/packages/adapter-node/package.json b/packages/adapter-node/package.json index 296c9feaf006..5563f0fbd301 100644 --- a/packages/adapter-node/package.json +++ b/packages/adapter-node/package.json @@ -16,8 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", - "types": "index.d.ts", "files": [ "files", "index.d.ts" diff --git a/packages/adapter-static/package.json b/packages/adapter-static/package.json index 53c1868e3d4a..4fb030a6eca2 100644 --- a/packages/adapter-static/package.json +++ b/packages/adapter-static/package.json @@ -9,7 +9,6 @@ "license": "MIT", "homepage": "https://kit.svelte.dev", "type": "module", - "main": "index.js", "exports": { ".": { "types": "./index.d.ts", @@ -17,7 +16,6 @@ }, "./package.json": "./package.json" }, - "types": "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 919d9e6595c9..a9b44786c583 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -16,8 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", - "types": "index.d.ts", "files": [ "files", "index.d.ts" diff --git a/packages/amp/package.json b/packages/amp/package.json index 19c681ab6a4a..cc59de2dbda9 100644 --- a/packages/amp/package.json +++ b/packages/amp/package.json @@ -16,8 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", - "types": "index.d.ts", "files": [ "index.js" ], diff --git a/packages/create-svelte/package.json b/packages/create-svelte/package.json index 4c55f67b474b..8fc5891a9b6d 100644 --- a/packages/create-svelte/package.json +++ b/packages/create-svelte/package.json @@ -9,7 +9,6 @@ "license": "MIT", "homepage": "https://kit.svelte.dev", "bin": "./bin.js", - "main": "./index.js", "dependencies": { "kleur": "^4.1.5", "prompts": "^2.4.2" @@ -43,6 +42,5 @@ "utils.js", "types" ], - "types": "types/index.d.ts", "type": "module" } diff --git a/packages/package/package.json b/packages/package/package.json index 1e0335b32545..5dce326a9e2e 100644 --- a/packages/package/package.json +++ b/packages/package/package.json @@ -45,7 +45,6 @@ "types": "./types/index.d.ts" } }, - "types": "types/index.d.ts", "engines": { "node": "^16.14 || >=18" }