-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(front): upgrade to and refactor frontend for [email protected] (#1268)
BREAKING CHANGE: Upgrade build and linting configuration with [email protected] flatconfig Closes #1268
- Loading branch information
Showing
12 changed files
with
609 additions
and
606 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import globals from 'globals'; | ||
import js from '@eslint/js'; | ||
import eslintPluginSvelte from 'eslint-plugin-svelte'; | ||
import eslintConfigPrettier from 'eslint-config-prettier'; | ||
|
||
export default [ | ||
js.configs.recommended, | ||
...eslintPluginSvelte.configs['flat/recommended'], | ||
eslintConfigPrettier, | ||
{ | ||
files: ['**/*.svelte', '**/*.js'], | ||
languageOptions: { | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020, | ||
extraFileExtensions: ['.svelte'], | ||
}, | ||
globals: { | ||
...globals.browser, | ||
...globals.es2020, | ||
...globals.node, | ||
plausible: true, | ||
}, | ||
}, | ||
rules: { | ||
'svelte/no-at-html-tags': 'off', | ||
}, | ||
}, | ||
{ | ||
ignores: ['node_modules', 'build', '.svelte-kit', '.report'], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,43 +37,43 @@ | |
"@iconify-json/gg": "^1.1.9", | ||
"@iconify-json/icomoon-free": "^1.1.8", | ||
"@iconify-json/icon-park-outline": "^1.1.15", | ||
"@iconify-json/mdi": "^1.1.64", | ||
"@iconify-json/ph": "^1.1.11", | ||
"@iconify-json/simple-icons": "^1.1.91", | ||
"@iconify-json/mdi": "^1.1.66", | ||
"@iconify-json/ph": "^1.1.12", | ||
"@iconify-json/simple-icons": "^1.1.99", | ||
"@iconify-json/typcn": "^1.1.9", | ||
"@playwright/test": "^1.41.2", | ||
"@playwright/test": "^1.43.1", | ||
"@sveltejs/adapter-static": "^3.0.1", | ||
"@sveltejs/kit": "^2.5.0", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.2", | ||
"autoprefixer": "^10.4.17", | ||
"eslint": "^8.56.0", | ||
"@sveltejs/kit": "^2.5.5", | ||
"@sveltejs/vite-plugin-svelte": "^3.1.0", | ||
"autoprefixer": "^10.4.19", | ||
"eslint": "^9.0.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-svelte": "^2.35.1", | ||
"eslint-plugin-svelte": "^2.37.0", | ||
"highlight.js": "^11.9.0", | ||
"html-minifier-terser": "^7.2.0", | ||
"marked": "^12.0.0", | ||
"marked": "^12.0.1", | ||
"marked-alert": "^2.0.1", | ||
"patch-package": "^8.0.0", | ||
"postcss": "^8.4.35", | ||
"postcss-import": "^16.0.1", | ||
"postcss": "^8.4.38", | ||
"postcss-import": "^16.1.0", | ||
"postcss-nested": "^6.0.1", | ||
"postcss-nesting": "^12.0.2", | ||
"postcss-nesting": "^12.1.1", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-css-order": "^2.0.1", | ||
"prettier-plugin-svelte": "^3.2.1", | ||
"rollup-plugin-bundle-stats": "^4.10.1", | ||
"prettier-plugin-css-order": "^2.1.2", | ||
"prettier-plugin-svelte": "^3.2.3", | ||
"rollup-plugin-bundle-stats": "^4.12.2", | ||
"rollup-plugin-visualizer": "^5.12.0", | ||
"slugger": "^1.0.1", | ||
"svelte": "^4.2.11", | ||
"svelte-check": "^3.6.4", | ||
"svelte": "^4.2.14", | ||
"svelte-check": "^3.6.9", | ||
"svelte-highlight": "7.6.0", | ||
"svelte-meta-tags": "^3.1.0", | ||
"svelte-meta-tags": "^3.1.2", | ||
"svelte-sitemap": "^2.6.0", | ||
"typescript": "^5.3.3", | ||
"typescript": "^5.4.5", | ||
"unplugin-icons": "^0.18.5", | ||
"vite": "^5.1.3", | ||
"vite": "^5.2.8", | ||
"vite-plugin-progress": "^0.0.7", | ||
"vitest": "^1.3.0" | ||
"vitest": "^1.5.0" | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0 <=20.x.x", | ||
|
@@ -84,7 +84,7 @@ | |
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]", | ||
"@sveltejs/[email protected].0": "patches/@[email protected].0.patch" | ||
"@sveltejs/[email protected].5": "patches/@[email protected].5.patch" | ||
} | ||
} | ||
} |
File renamed without changes.
Oops, something went wrong.