chore: restructure project into yarn workspaces, remove next

This commit is contained in:
41666 2021-03-09 23:25:16 -05:00
parent 49e308507e
commit 8d06327c03
266 changed files with 16466 additions and 3350 deletions

View file

@ -24,111 +24,47 @@
"postinstall": "is-ci || husky install",
"storybook": "start-storybook -p 6006",
"storybook:build": "build-storybook",
"build": "run-p -c build:*",
"build:design-system": "yarn workspace @roleypoly/design-system run build",
"build:web": "yarn workspace @roleypoly/web run build",
"test": "jest",
"ui": "next dev -p 6601",
"ui:build": "next build",
"ui:prod": "cross-env next start -p ${PORT:-3000}",
"worker": "node src/backend-emulator/main.js"
},
"dependencies": {
"chroma-js": "^2.1.0",
"isomorphic-unfetch": "^3.1.0",
"ksuid": "^2.0.0",
"lodash": "^4.17.20",
"next": "^10.0.5",
"nookies": "^2.5.0",
"react": "^17.0.1",
"react-custom-scrollbars": "^4.2.1",
"react-dom": "^17.0.1",
"react-icons": "^4.1.0",
"react-is": "^17.0.1",
"react-tooltip": "^4.2.15",
"styled-components": "^5.2.1",
"styled-normalize": "^8.0.7",
"swr": "^0.4.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@cloudflare/workers-types": "^2.1.0",
"@icons/material": "^0.4.1",
"@peculiar/webcrypto": "^1.1.4",
"@storybook/addon-actions": "^6.1.14",
"@storybook/addon-essentials": "^6.1.14",
"@storybook/addon-links": "^6.1.14",
"@storybook/addons": "^6.1.14",
"@storybook/react": "^6.1.14",
"@storybook/theming": "^6.1.14",
"@types/chroma-js": "^2.1.3",
"@types/enzyme": "^3.10.8",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.167",
"@types/minimist": "^1.2.1",
"@types/node": "^14.14.31",
"@types/react": "^17.0.0",
"@types/react-custom-scrollbars": "^4.0.7",
"@types/react-dom": "^17.0.0",
"@types/styled-components": "^5.1.7",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"babel-plugin-styled-components": "^1.12.0",
"chokidar": "^3.5.1",
"dotenv": "^8.2.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.1",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^32.2.0",
"eslint-plugin-react": "^7.22.0",
"husky": "^5.0.6",
"is-ci": "^2.0.0",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"jest-environment-enzyme": "^7.1.2",
"jest-enzyme": "^7.1.2",
"jest-react-hooks-shallow": "^1.4.2",
"jest-styled-components": "^7.0.3",
"level": "^6.0.1",
"lint-staged": "^10.5.3",
"minimist": "^1.2.5",
"node-fetch": "^2.6.1",
"husky": "^5.1.3",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prettier-plugin-organize-imports": "^1.1.1",
"prettier-plugin-pkg": "^0.8.0",
"prettier-plugin-sh": "^0.6.0",
"stylelint": "^13.8.0",
"stylelint": "^13.12.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-standard": "^21.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-prettier": "^1.1.2",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.14",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"tslint": "^6.1.3",
"typescript": "^4.1.3",
"webpack": "^4.46.0"
"stylelint-prettier": "^1.2.0",
"is-ci": "^3.0.0",
"typescript": "^4.2.3"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"stylelint --fix",
"prettier --write"
],
"*.go": [
"go fmt"
],
"*.{json,Dockerfile,sh,md,gitignore,env,mdx,yml,html}": [
"*.{json,Dockerfile,sh,md,env,mdx,yml,html}": [
"prettier --write"
],
".husky/pre-commit": [
"prettier --write"
]
}
},
"private": true,
"workspaces": [
"packages/*"
]
}