Skip to content

Commit

Permalink
chore(front): updates FE dependencies and patches
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 14, 2024
1 parent d5d567f commit f697a48
Show file tree
Hide file tree
Showing 4 changed files with 204 additions and 173 deletions.
2 changes: 1 addition & 1 deletion _utils/_scripts/front.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ while test "$1" != --; do
u | update)
printDgMsg "Updating dependencies..."
echo
cdfront && npx ncu -u --dep dev
cdfront && npx npm-check-updates -u --dep dev
echo # newline
printDgMsg "All dependencies up to date!"
echo # newline
Expand Down
20 changes: 10 additions & 10 deletions front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"@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.9",
"@iconify-json/simple-icons": "^1.1.86",
"@iconify-json/ph": "^1.1.10",
"@iconify-json/simple-icons": "^1.1.87",
"@iconify-json/typcn": "^1.1.9",
"@playwright/test": "^1.40.1",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.0.6",
"@sveltejs/kit": "^2.3.2",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.56.0",
Expand All @@ -56,28 +56,28 @@
"postcss-import": "^16.0.0",
"postcss-nested": "^6.0.1",
"postcss-nesting": "^12.0.2",
"prettier": "^3.1.1",
"prettier": "^3.2.1",
"prettier-plugin-css-order": "^2.0.1",
"prettier-plugin-svelte": "^3.1.2",
"rollup-plugin-bundle-stats": "^4.8.4",
"rollup-plugin-bundle-stats": "^4.9.0",
"rollup-plugin-visualizer": "^5.12.0",
"slugger": "^1.0.1",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte-check": "^3.6.3",
"svelte-highlight": "7.4.8",
"svelte-meta-tags": "^3.1.0",
"svelte-sitemap": "^2.6.0",
"typescript": "^5.3.3",
"unplugin-icons": "^0.18.1",
"unplugin-icons": "^0.18.2",
"vite": "^5.0.11",
"vite-plugin-progress": "^0.0.7",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
},
"type": "module",
"pnpm": {
"patchedDependencies": {
"@sveltejs/[email protected]": "patches/@[email protected].patch",
"[email protected]": "patches/[email protected].patch"
"[email protected]": "patches/[email protected].patch",
"@sveltejs/[email protected]": "patches/@[email protected].patch"
}
}
}
26 changes: 26 additions & 0 deletions front/patches/@[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/src/exports/vite/index.js b/src/exports/vite/index.js
index 98e487c4fae7f6dd485dcdbd87eb6fdcab7140f3..e12ba0a5b9a5ed5fc5bcf9acaab7c801c3daaba7 100644
--- a/src/exports/vite/index.js
+++ b/src/exports/vite/index.js
@@ -612,8 +612,8 @@ async function kit({ svelte_config }) {
input,
output: {
format: 'esm',
- entryFileNames: ssr ? '[name].js' : `${prefix}/[name].[hash].${ext}`,
- chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/chunks/[name].[hash].${ext}`,
+ entryFileNames: ssr ? '[name].js' : `${prefix}/[hash].${ext}`,
+ chunkFileNames: ssr ? 'chunks/js' : `${prefix}/chunks/[hash].${ext}`,
assetFileNames: `${prefix}/assets/[name].[hash][extname]`,
hoistTransitiveImports: false,
sourcemapIgnoreList
@@ -627,8 +627,8 @@ async function kit({ svelte_config }) {
worker: {
rollupOptions: {
output: {
- entryFileNames: `${prefix}/workers/[name]-[hash].js`,
- chunkFileNames: `${prefix}/workers/chunks/[name]-[hash].js`,
+ entryFileNames: `${prefix}/workers/[hash].js`,
+ chunkFileNames: `${prefix}/workers/chunks/[hash].js`,
assetFileNames: `${prefix}/workers/assets/[name]-[hash][extname]`,
hoistTransitiveImports: false
}
Loading

0 comments on commit f697a48

Please sign in to comment.