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

chore(deps): update all non-major dependencies #457

Merged
merged 10 commits into from
Oct 7, 2022
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
pull_request:
branches:
- main
env:
# we call `pnpm playwright install` instead
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'

jobs:
# "checks" job runs on linux + 16 only and checks that install, build, lint and audit work
Expand Down Expand Up @@ -61,7 +64,7 @@ jobs:
fail-fast: false
matrix:
node: [16]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-11, windows-latest]
include:
- node: 14
os: ubuntu-latest
Expand All @@ -87,6 +90,8 @@ jobs:
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts
- name: build
run: pnpm build:ci
- name: install playwright chromium
run: pnpm playwright install chromium
- name: run tests
run: pnpm test
- name: archive tests temp directory
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"prepare": "husky install"
},
"devDependencies": {
"@changesets/cli": "^2.24.4",
"@changesets/cli": "^2.25.0",
"@svitejs/changesets-changelog-github-compact": "^0.1.1",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.7.14",
"@types/semver": "^7.3.12",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"cross-env": "^7.0.3",
"esbuild": "^0.15.9",
"esbuild": "^0.15.10",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-html": "^7.1.0",
Expand Down Expand Up @@ -55,17 +55,16 @@
"prettier --write"
]
},
"packageManager": "pnpm@7.12.2",
"packageManager": "pnpm@7.13.1",
"engines": {
"pnpm": "^7.12.2",
"pnpm": "^7.13.1",
"yarn": "forbidden, use pnpm",
"npm": "forbidden, use pnpm",
"node": "^14.18.0 || >= 16"
},
"pnpm": {
"overrides": {
"@sveltejs/vite-plugin-svelte": "workspace:*",
"playwright-core": "1.25.2"
"@sveltejs/vite-plugin-svelte": "workspace:*"
},
"peerDependencyRules": {
"allowedVersions": {
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/autoprefixer-browerslist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "workspace:*",
"autoprefixer": "^10.4.12",
"postcss": "^8.4.16",
"postcss": "^8.4.17",
"postcss-load-config": "^4.0.1",
"svelte": "^3.50.1",
"svelte-preprocess": "^4.10.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/inspector-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"devDependencies": {
"@sveltejs/kit": "^1.0.0-next.504",
"@sveltejs/kit": "^1.0.0-next.508",
"svelte": "^3.50.1",
"vite": "^3.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/kit-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@sveltejs/adapter-node": "^1.0.0-next.96",
"@sveltejs/kit": "^1.0.0-next.504",
"@sveltejs/kit": "^1.0.0-next.508",
"e2e-test-dep-svelte-api-only": "file:../_test_dependencies/svelte-api-only",
"e2e-test-dep-vite-plugins": "file:../_test_dependencies/vite-plugins",
"svelte": "^3.50.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/e2e-tests/kit-node/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ const config = {
build: {
minify: false
},
plugins: [transformValidation(), sveltekit()]
plugins: [transformValidation(), sveltekit()],
optimizeDeps: {
// eagerly include these, otherwise vite optimizer might interfere with restarting while the test is running
include: ['svelte-i18n', 'e2e-test-dep-svelte-api-only']
}
};

export default config;
5 changes: 2 additions & 3 deletions packages/e2e-tests/vitestGlobalSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ const syncNodeModules = async () => {

const startPlaywrightServer = async () => {
const headless = !showTestBrowser;
const args = ['--disable-gpu', '--single-process', '--no-zygote', '--no-sandbox'];
const args = [];
if (isCI) {
args.push('--disable-setuid-sandbox', '--disable-dev-shm-usage');
args.push('--no-sandbox', '--disable-setuid-sandbox');
}
if (headless) {
args.push('--headless');
}
return chromium.launchServer({
channel: 'chrome',
headless,
args
});
Expand Down
4 changes: 2 additions & 2 deletions packages/playground/kit-demo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^1.0.0-next.80",
"@sveltejs/kit": "^1.0.0-next.504",
"@sveltejs/kit": "^1.0.0-next.508",
"@types/cookie": "^0.5.1",
"svelte": "^3.50.1",
"svelte-check": "^2.9.1",
Expand All @@ -21,7 +21,7 @@
},
"type": "module",
"dependencies": {
"@fontsource/fira-mono": "^4.5.9",
"@fontsource/fira-mono": "^4.5.10",
"cookie": "^0.5.0"
}
}
4 changes: 2 additions & 2 deletions packages/vite-plugin-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"debug": "^4.3.4",
"deepmerge": "^4.2.2",
"kleur": "^4.1.5",
"magic-string": "^0.26.4",
"magic-string": "^0.26.5",
"svelte-hmr": "^0.15.0"
},
"peerDependencies": {
Expand All @@ -67,7 +67,7 @@
"@types/debug": "^4.1.7",
"@types/diff-match-patch": "^1.0.32",
"diff-match-patch": "^1.0.5",
"esbuild": "^0.15.9",
"esbuild": "^0.15.10",
"rollup": "^2.79.1",
"svelte": "^3.50.1",
"tsup": "^6.2.3",
Expand Down
Loading