Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM][experimental][WIP Yarn workspaces to help with Lerna #5665

Closed
wants to merge 10 commits into from
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"packages/*"
],
"npmClient": "yarn",
"version": "independent"
"version": "independent",
"useWorkspaces": true
}
16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
}
},
"scripts": {
"install:all": "yarn && lerna bootstrap",
"up": "yarn && lerna bootstrap && lerna run start --parallel -- --color",
"install:all": "yarn && lerna bootstrap ",
"up": "yarn install:all && lerna run start --parallel -- --color",
"up:manager": "yarn install:all && yarn start:manager",
"start:manager": "lerna run build --stream --scope linode-js-sdk && lerna run start --stream --scope linode-manager -- --color",
"start:docker": "lerna run build --stream --scope linode-js-sdk && yarn start:all",
Expand All @@ -33,7 +33,15 @@
"docker:storybook": "docker build -f Dockerfile . -t 'storybook' && docker run -it --rm -p 6006:6006 -v $(pwd)/packages/manager/src:/home/node/app/packages/manager/src -v $(pwd)/packages/linode-js-sdk/src:/home/node/app/packages/linode-js-sdk/src storybook storybook",
"docker:storybook:test": "docker-compose -f packages/manager/storybook-test.yml up --build --exit-code-from storybook-test"
},
"resolutions":{
"handlebars":"^4.4.3"
"resolutions": {
"handlebars": "^4.4.3"
},
"workspaces": {
"packages": [
"packages/*"
]
},
"dependencies": {
"typescript": "3.5.3"
}
}
7,159 changes: 0 additions & 7,159 deletions packages/linode-js-sdk/yarn.lock

This file was deleted.

6 changes: 0 additions & 6 deletions packages/manager/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,6 @@ module.exports = {
plugins: () => [
require('postcss-flexbugs-fixes'),
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9', // React doesn't support IE8 anyway
],
flexbox: 'no-2009',
}),
],
Expand Down
6 changes: 0 additions & 6 deletions packages/manager/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,6 @@ module.exports = {
plugins: () => [
require('postcss-flexbugs-fixes'),
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9', // React doesn't support IE8 anyway
],
flexbox: 'no-2009',
}),
],
Expand Down
Loading