-
Couldn't load subscription status.
- Fork 42
Enhance/shared babel #738
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
Enhance/shared babel #738
Conversation
.babelrc
Outdated
| "transform-decorators-legacy" | ||
| "transform-function-bind", // stage 0 | ||
| "transform-export-extensions", // stage 1 | ||
| "transform-class-properties" // stage 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you also consider extending babelrc from babel-settings?
packages/monorepo-tools/package.json
Outdated
| "scripts": {}, | ||
| "dependencies": { | ||
| "@yarnpkg/lockfile": "^1.0.0", | ||
| "babel-settings": "0.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
devDependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
babel-settings is more complicated, babel-runtime is a runtime dependency rather than a dev dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm... good point though.. let me reconsider this.
package.json
Outdated
| "list-file-matchers": "babel-node scripts/listFileMatchers.js" | ||
| }, | ||
| "dependencies": { | ||
| "babel-settings": "0.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
devDependencies?
| "eslint-plugin-import": "^2.8.0", | ||
| "eslint-plugin-jsx-a11y": "^6.0.2", | ||
| "eslint-plugin-react": "^7.5.1", | ||
| "eslint-settings": "0.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this make yarn install broken?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think so. I've done a git clean -xdf to clear out all the files to do a clean install. Plus all the CI tests passed, so the installation should be fine.
Uh oh!
There was an error while loading. Please reload this page.