Skip to content

Commit

Permalink
Change workspac name to packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykay-p committed Dec 7, 2020
1 parent 32e2b6f commit 86b7a43
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 10 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"airbnb",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["prettier"]
}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"packages": ["apps/*"],
"packages": ["packages/*"],
"version": "0.1.0",
"npmClient": "yarn",
"useWorkspaces": true
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"prettier": "^2.2.1"
},
"workspaces": [
"apps/*"
"packages/*"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged --allow-empty"
}
},
"lint-staged": {
"apps/**/*.{js, jsx}": [
"packages/**/*.{js, jsx}": [
"prettier --write",
"git add"
]
Expand Down
5 changes: 1 addition & 4 deletions apps/front/.eslintrc.json → packages/dodam/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
},
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"airbnb",
"plugin:prettier/recommended"
"plugin:react/recommended"
],
"settings": {
"react": {
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions apps/front/package.json → packages/dodam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"dependencies": {
"next": "10.0.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"styled-jsx": "^3.3.2"
"react-dom": "17.0.1"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7955,7 +7955,7 @@ [email protected]:
loader-utils "^2.0.0"
schema-utils "^2.6.6"

[email protected], styled-jsx@^3.3.2:
[email protected]:
version "3.3.2"
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-3.3.2.tgz#2474601a26670a6049fb4d3f94bd91695b3ce018"
integrity sha512-daAkGd5mqhbBhLd6jYAjYBa9LpxYCzsgo/f6qzPdFxVB8yoGbhxvzQgkC0pfmCVvW3JuAEBn0UzFLBfkHVZG1g==
Expand Down

0 comments on commit 86b7a43

Please sign in to comment.