Skip to content

Commit

Permalink
configure yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Magiczne committed Nov 11, 2024
1 parent 3f016d8 commit 83ce2b6
Show file tree
Hide file tree
Showing 6 changed files with 1,419 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,16 @@
# Local History for Visual Studio Code
.history/

### Yarn ###
node_modules
.pnp.*
.yarn/*
yarn-error.log
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

### Common ###
*.exe
20 changes: 20 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"arrowParens": "avoid",
"bracketSpacing": true,
"bracketSameLine": false,
"printWidth": 120,
"quoteProps": "as-needed",
"semi": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"useTabs": false,
"overrides": [
{
"files": ["*.scss"],
"options": {
"singleQuote": false
}
}
]
}
934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.5.1.cjs
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "@magiczne/advent-of-code",
"private": true,
"repository": "[email protected]:Magiczne/AdvenfOfCode.git",
"author": "Michał Kleszczyński <[email protected]>",
"license": "MIT",
"scripts": {
"format": "prettier 2022 --write"
},
"dependencies": {
"prettier": "^3.3.3"
},
"workspaces": [
"2022"
],
"packageManager": "[email protected]"
}
Loading

0 comments on commit 83ce2b6

Please sign in to comment.