Skip to content

Commit

Permalink
Upgrade dependencies (#7852)
Browse files Browse the repository at this point in the history
* Upgrade dependencies

* update templates

* fix pnpm check

* format

* update fixtures

* remove paths config
  • Loading branch information
benmccann authored Nov 28, 2022
1 parent 299707c commit 581c43e
Show file tree
Hide file tree
Showing 47 changed files with 639 additions and 362 deletions.
6 changes: 6 additions & 0 deletions .changeset/many-monkeys-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@sveltejs/adapter-auto': patch
'create-svelte': patch
---

Upgrade dependencies
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
},
"homepage": "https://github.com/sveltejs/kit#readme",
"devDependencies": {
"@changesets/cli": "^2.25.0",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-json": "^5.0.1",
"@changesets/cli": "^2.25.2",
"@rollup/plugin-commonjs": "^23.0.3",
"@rollup/plugin-json": "^5.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@svitejs/changesets-changelog-github-compact": "^0.1.1",
"playwright": "^1.28.1",
"prettier": "^2.7.1",
"prettier": "^2.8.0",
"rollup": "^2.79.1",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"tiny-glob": "^0.2.9",
"turbo": "^1.6.1",
"typescript": "^4.8.4"
"turbo": "^1.6.3",
"typescript": "^4.9.3"
},
"packageManager": "pnpm@7.17.1",
"engines": {
Expand Down
7 changes: 4 additions & 3 deletions packages/adapter-auto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
"check": "tsc"
},
"devDependencies": {
"@types/node": "^16.11.68",
"typescript": "^4.8.4"
"@sveltejs/kit": "workspace:*",
"@types/node": "^16.18.3",
"typescript": "^4.9.3"
},
"dependencies": {
"import-meta-resolve": "^2.1.0"
"import-meta-resolve": "^2.2.0"
}
}
8 changes: 3 additions & 5 deletions packages/adapter-auto/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
"noImplicitAny": true,
"module": "esnext",
"target": "esnext",
"moduleResolution": "node",
"baseUrl": ".",
"paths": {
"@sveltejs/kit": ["../kit/types/index"]
}
"skipLibCheck": true,
"moduleResolution": "node16",
"baseUrl": "."
},
"include": ["**/*.js"]
}
6 changes: 3 additions & 3 deletions packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"check": "tsc"
},
"dependencies": {
"@cloudflare/workers-types": "^4.0.0",
"@cloudflare/workers-types": "^4.20221111.1",
"@iarna/toml": "^2.2.5",
"esbuild": "^0.15.12"
},
"devDependencies": {
"@cloudflare/kv-asset-handler": "^0.2.0",
"@types/node": "^16.11.68",
"typescript": "^4.8.4"
"@types/node": "^16.18.3",
"typescript": "^4.9.3"
}
}
6 changes: 3 additions & 3 deletions packages/adapter-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@cloudflare/workers-types": "^4.0.0",
"@cloudflare/workers-types": "^4.20221111.1",
"esbuild": "^0.15.12",
"worktop": "0.8.0-next.14"
},
"devDependencies": {
"@types/node": "^16.11.68",
"@types/node": "^16.18.3",
"@types/ws": "^8.5.3",
"typescript": "^4.8.4"
"typescript": "^4.9.3"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
},
"devDependencies": {
"@netlify/functions": "^1.3.0",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-commonjs": "^23.0.3",
"@rollup/plugin-json": "^5.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@sveltejs/kit": "workspace:*",
"@types/node": "^16.11.68",
"@types/node": "^16.18.3",
"@types/set-cookie-parser": "^2.4.2",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"typescript": "^4.8.4",
"typescript": "^4.9.3",
"uvu": "^0.5.6"
}
}
4 changes: 2 additions & 2 deletions packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"@types/node": "^16.11.68",
"@types/node": "^16.18.3",
"c8": "^7.12.0",
"polka": "^1.0.0-next.22",
"rimraf": "^3.0.2",
"sirv": "^2.0.2",
"typescript": "^4.8.4",
"typescript": "^4.9.3",
"uvu": "^0.5.6"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"@types/node": "^16.11.68",
"@types/node": "^16.18.3",
"sirv": "^2.0.2",
"svelte": "^3.52.0",
"typescript": "^4.8.4",
"svelte": "^3.53.1",
"typescript": "^4.9.3",
"uvu": "^0.5.6",
"vite": "^3.2.1"
"vite": "^3.2.4"
}
}
4 changes: 2 additions & 2 deletions packages/adapter-static/test/apps/prerendered/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"svelte": "^3.52.0",
"vite": "^3.2.1"
"svelte": "^3.53.1",
"vite": "^3.2.4"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/adapter-static/test/apps/spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@sveltejs/adapter-node": "workspace:*",
"@sveltejs/kit": "workspace:*",
"sirv-cli": "^2.0.2",
"svelte": "^3.52.0",
"vite": "^3.2.1"
"svelte": "^3.53.1",
"vite": "^3.2.4"
},
"type": "module"
}
6 changes: 4 additions & 2 deletions packages/adapter-vercel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { nodeFileTrace } from '@vercel/nft';
import esbuild from 'esbuild';

/** @type {import('.').default} **/
export default function ({ external = [], edge, split } = {}) {
const plugin = function ({ external = [], edge, split } = {}) {
return {
name: '@sveltejs/adapter-vercel',

Expand Down Expand Up @@ -196,7 +196,7 @@ export default function ({ external = [], edge, split } = {}) {
);
}
};
}
};

/**
* @param {string} file
Expand Down Expand Up @@ -333,3 +333,5 @@ async function create_function_bundle(builder, entry, dir, runtime) {

write(`${dir}/package.json`, JSON.stringify({ type: 'module' }));
}

export default plugin;
4 changes: 2 additions & 2 deletions packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"@types/node": "^16.11.68",
"typescript": "^4.8.4"
"@types/node": "^16.18.3",
"typescript": "^4.9.3"
}
}
8 changes: 4 additions & 4 deletions packages/create-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"@types/prettier": "^2.7.1",
"@types/prompts": "^2.4.1",
"gitignore-parser": "^0.0.2",
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.8.0",
"sucrase": "^3.28.0",
"svelte": "^3.52.0",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.8.1",
"sucrase": "^3.29.0",
"svelte": "^3.53.1",
"svelte-preprocess": "^4.10.7",
"tiny-glob": "^0.2.9",
"uvu": "^0.5.6"
Expand Down
6 changes: 3 additions & 3 deletions packages/create-svelte/templates/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"@neoconfetti/svelte": "^1.0.0",
"@sveltejs/adapter-auto": "workspace:*",
"@sveltejs/kit": "workspace:*",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-preprocess": "^4.10.7",
"typescript": "^4.8.4",
"vite": "^3.2.1"
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"preview": "vite preview"
},
"devDependencies": {
"@fontsource/fira-mono": "^4.5.0",
"@fontsource/fira-mono": "^4.5.10",
"@neoconfetti/svelte": "^1.0.0",
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"svelte": "^3.46.0",
"vite": "^3.1.0"
"svelte": "^3.53.1",
"vite": "^3.2.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"devDependencies": {
"@sveltejs/adapter-auto": "workspace:*",
"@sveltejs/kit": "workspace:*",
"svelte": "^3.44.0",
"vite": "^3.1.0"
"svelte": "^3.53.1",
"vite": "^3.2.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"@sveltejs/adapter-auto": "workspace:*",
"@sveltejs/kit": "workspace:*",
"@sveltejs/package": "workspace:*",
"svelte": "^3.44.0",
"tslib": "^2.3.1",
"typescript": "^4.8.2",
"vite": "^3.1.0"
"svelte": "^3.53.1",
"tslib": "^2.4.1",
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module"
}
10 changes: 5 additions & 5 deletions packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
"@types/connect": "^3.4.35",
"@types/marked": "^4.0.7",
"@types/mime": "^3.0.1",
"@types/node": "^16.11.68",
"@types/node": "^16.18.3",
"@types/sade": "^1.7.4",
"@types/set-cookie-parser": "^2.4.2",
"marked": "^4.2.2",
"marked": "^4.2.3",
"rollup": "^2.79.1",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-preprocess": "^4.10.7",
"typescript": "^4.8.4",
"typescript": "^4.9.3",
"uvu": "^0.5.6",
"vite": "^3.2.1"
"vite": "^3.2.4"
},
"peerDependencies": {
"svelte": "^3.44.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/kit/test/apps/amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@sveltejs/kit": "workspace:*",
"cross-env": "^7.0.3",
"purify-css": "^1.2.5",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-check": "^2.9.2",
"typescript": "^4.8.4",
"vite": "^3.2.1"
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module"
}
6 changes: 3 additions & 3 deletions packages/kit/test/apps/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@sveltejs/kit": "workspace:*",
"cross-env": "^7.0.3",
"rimraf": "^3.0.2",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-check": "^2.9.2",
"typescript": "^4.8.4",
"vite": "^3.2.1"
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module"
}
6 changes: 3 additions & 3 deletions packages/kit/test/apps/dev-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"@sveltejs/kit": "workspace:*",
"cross-env": "^7.0.3",
"rimraf": "^3.0.2",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-check": "^2.9.2",
"typescript": "^4.8.4",
"vite": "^3.2.1"
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module"
}
6 changes: 3 additions & 3 deletions packages/kit/test/apps/options-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@sveltejs/adapter-node": "workspace:*",
"@sveltejs/kit": "workspace:*",
"cross-env": "^7.0.3",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-check": "^2.9.2",
"typescript": "^4.8.4",
"vite": "^3.2.1"
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module"
}
6 changes: 3 additions & 3 deletions packages/kit/test/apps/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"cross-env": "^7.0.3",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-check": "^2.9.2",
"typescript": "^4.8.4",
"vite": "^3.2.1"
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module"
}
6 changes: 3 additions & 3 deletions packages/kit/test/apps/writes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@sveltejs/kit": "workspace:*",
"cross-env": "^7.0.3",
"rimraf": "^3.0.2",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-check": "^2.9.2",
"typescript": "^4.8.4",
"vite": "^3.2.1"
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"check": "svelte-kit sync && tsc && svelte-check"
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"@sveltejs/adapter-auto": "workspace:*",
"svelte": "^3.48.0",
"@sveltejs/kit": "workspace:*",
"svelte": "^3.53.1",
"svelte-check": "^2.7.1",
"typescript": "^4.8.2",
"vite": "^3.1.1"
"typescript": "^4.9.3",
"vite": "^3.2.4"
},
"type": "module"
}
Loading

0 comments on commit 581c43e

Please sign in to comment.