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

Bump the dev group with 5 updates #161

Merged
merged 4 commits into from
Mar 11, 2024
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
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.git/
.vscode/
.yarn/
.yarnrc
.yarnrc.yml
/.svelte-kit
/build
/package
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.git/
.vscode/
.yarn/
.yarnrc
.yarnrc.yml
/.svelte-kit
/build
/package
Expand Down
2 changes: 1 addition & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.git/
.vscode/
.yarn/
.yarnrc
.yarnrc.yml
/.svelte-kit
/build
/package
Expand Down
6 changes: 4 additions & 2 deletions .svelte-kit/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"ambient.d.ts",
"non-ambient.d.ts",
"./types/**/$types.d.ts",
"../svelte.config.js",
"../vite.config.js",
"../vite.config.ts",
"../src/**/*.js",
Expand All @@ -51,6 +50,9 @@
"../tests/**/*.svelte"
],
"exclude": [
"../node_modules/**"
"../node_modules/**",
"../src/service-worker.js",
"../src/service-worker.ts",
"../src/service-worker.d.ts"
]
}
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ nodeLinker: node-modules
packageExtensions:
markdown-it-anchor@*:
peerDependenciesMeta:
'@types/markdown-it':
"@types/markdown-it":
optional: true
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/kit": "^2.5.2",
"@sveltejs/kit": "^2.5.3",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/svelte": "^4.2.1",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"@types/node": "*",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vitest/coverage-v8": "^1.3.1",
"chokidar-cli": "^3.0.0",
"eslint": "^8.57.0",
Expand All @@ -76,9 +76,9 @@
"svelte": "^4.2.12",
"svelte-check": "^3.6.6",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vitest": "^1.3.1"
},
"packageManager": "[email protected].0"
"packageManager": "[email protected].1"
}
1 change: 1 addition & 0 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"../.eslintrc.cjs",
"../svelte.config.js",
"../vite.config.ts",
"../vitest.config.ts",
"../src/**/*.d.ts"
]
}
27 changes: 0 additions & 27 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference types="vitest" />

import { sveltekit } from '@sveltejs/kit/vite';
import path from 'path';
import { NodePackageImporter } from 'sass';
Expand All @@ -15,29 +13,4 @@ export default defineConfig({
},
},
},
/**
* @see https://vitest.dev/config/#configuration
*/
test: {
include: ['./test/js/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
globals: true,
environment: 'jsdom',
watch: false,
setupFiles: './test/js/setup.js',
clearMocks: true,
reporters: 'dot',
coverage: {
enabled: true,
reporter: ['text-summary', 'html'],
include: ['src/**/*.{js,ts,svelte}'],
exclude: [
'src/**/*.d.ts',
'src/routes/styleguide/**/*',
'src/routes/+layout.*',
],
all: true,
skipFull: true,
reportOnFailure: true,
},
},
});
34 changes: 34 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { defineConfig, mergeConfig } from 'vitest/config';

import viteConfig from './vite.config.js';

/**
* @see https://vitest.dev/config/#configuration
*/
export default mergeConfig(
viteConfig,
defineConfig({
test: {
include: ['./test/js/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
globals: true,
environment: 'jsdom',
watch: false,
setupFiles: './test/js/setup.js',
clearMocks: true,
reporters: 'dot',
coverage: {
enabled: true,
reporter: ['text-summary', 'html'],
include: ['src/**/*.{js,ts,svelte}'],
exclude: [
'src/**/*.d.ts',
'src/routes/styleguide/**/*',
'src/routes/+layout.*',
],
all: true,
skipFull: true,
reportOnFailure: true,
},
},
}),
);
Loading