Skip to content

Commit

Permalink
Switch to using Yarn v4 for package management
Browse files Browse the repository at this point in the history
  • Loading branch information
filips123 committed Jul 19, 2024
1 parent 8769a1a commit 8662402
Show file tree
Hide file tree
Showing 5 changed files with 7,351 additions and 4,549 deletions.
45 changes: 11 additions & 34 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,21 @@
*.css diff=css
*.htm diff=html
*.html diff=html
*.php diff=php
*.vue diff=html
*.py diff=python
*.md diff=markdown
*.sh diff=bash

# Declare files that are binary
*.pdf binary
*.bmp binary
*.gif binary
*.ico binary
*.jpg binary
*.jpeg binary
*.png binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary
*.mp3 binary
*.ogg binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.webm binary
*.tar binary
*.zip binary
*.phar binary

# Declare files that must have CRLF line endings
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Mark Yarn files as generated
*/.yarn/** linguist-vendored
*/.yarn/releases/* binary
*/.yarn/plugins/**/* binary
*/.pnp.* binary linguist-generated

# Exclude unused files in archive
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.editorconfig export-ignore
.scrutinizer.yml export-ignore
.travis.yml export-ignore
.github export-ignore
phpunit.xml.dist export-ignore
phpcs.xml.dist export-ignore
phpdoc.xml.dist export-ignore
box.json.dist export-ignore
benches export-ignore
tests export-ignore
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $RECYCLE.BIN/
.nfs*
.project
.settings
.vim
.vs
.vscode
*.iml
Expand Down Expand Up @@ -87,6 +88,8 @@ tmp/
.nyc_output
.ruff_cache
.yarn-integrity
vite.config.js.timestamp*
vite.config.ts.timestamp*
*.tmp

# Test reports & Coverage reports
Expand All @@ -110,6 +113,14 @@ jspm_packages/
node_modules/
web_modules/

# Yarn Modern
*/.yarn/*
!*/.yarn/patches
!*/.yarn/plugins
!*/.yarn/releases
!*/.yarn/versions
.pnp.*

# GimVicUrnik Configuration & Database
config.yaml
app.db
Expand Down
5 changes: 5 additions & 0 deletions website/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# We have to use the node-modules linker as Yarn PnP does not work with Vite when using different drives
# See: https://github.com/vitejs/vite/issues/10802
# See: https://github.com/vitejs/vite/issues/15496
nodeLinker: node-modules
nmMode: hardlinks-global
41 changes: 21 additions & 20 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,37 +23,38 @@
"typecheck": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
"format": "prettier --write src"
},
"packageManager": "[email protected]",
"dependencies": {
"@mdi/font": "^7.4.47",
"@mdi/js": "^7.4.47",
"@sentry/vue": "^7.102.0",
"@vueuse/core": "^10.8.0",
"@sentry/vue": "^8.18.0",
"@vueuse/core": "^10.11.0",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"pulltorefreshjs": "^0.1.22",
"vue": "^3.4.19",
"vue-router": "^4.2.5",
"vuetify": "^3.5.4"
"vue": "^3.4.32",
"vue-router": "^4.4.0",
"vuetify": "^3.6.13"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.7.2",
"@tsconfig/node18": "^18.2.2",
"@types/node": "^18.19.17",
"@rushstack/eslint-patch": "^1.10.3",
"@sentry/vite-plugin": "^2.21.1",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.14.11",
"@types/pulltorefreshjs": "^0.1.7",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-vue": "^9.21.1",
"prettier": "^3.2.5",
"typescript": "~5.3.3",
"vite": "^5.1.4",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-vue": "^9.27.0",
"prettier": "^3.3.3",
"typescript": "^5.5.3",
"vite": "^5.3.4",
"vite-plugin-html": "^3.2.2",
"vite-plugin-pwa": "^0.19.0",
"vite-plugin-vuetify": "^2.0.1",
"vue-tsc": "^1.8.27"
"vite-plugin-pwa": "^0.20.0",
"vite-plugin-vuetify": "^2.0.3",
"vue-tsc": "^2.0.26"
}
}
Loading

0 comments on commit 8662402

Please sign in to comment.