Skip to content

Commit

Permalink
update yarn configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gumaerc committed Jan 26, 2024
1 parent aeeef19 commit e14a4d8
Show file tree
Hide file tree
Showing 7 changed files with 926 additions and 2,024 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.{js,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ repos:
- .secrets.baseline
- --exclude-files
- README.md
exclude: .*_test.*|yarn\.lock
- --exclude-files
- .yarn/
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
Expand All @@ -23,3 +24,4 @@ repos:
args:
- --no-config
- --no-semi
exclude: "(node_modules/|.yarn/)"
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.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.0.2.cjs
21 changes: 1 addition & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,4 @@
{
"name": "mit-open-login-button",
"version": "0.0.1",
"description": "A basic login button for your website to log in using MIT Open",
"main": "index",
"types": "index",
"repository": "https://github.com/mitodl/mit-open-login-button",
"author": "Carey Gumaer <[email protected]>",
"license": "MIT",
"scripts": {
"lint": "eslint './**/*.{js,jsx,ts,tsx}'"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.19.1",
"eslint": "^8.56.0",
"eslint-config-google": "^0.14.0",
"eslint-config-mitodl": "^1.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"typescript": "^5.3.3",
"typescript-eslint": "^0.0.1-alpha.0"
}
"packageManager": "[email protected]"
}
Loading

0 comments on commit e14a4d8

Please sign in to comment.