Repository navigation
Rename everything: use scoped packages - #6495
Conversation
…bootstrap [skip ci]
| @@ -1,17 +1,17 @@ | |||
| { | |||
| "name": "babel-plugin-codemod-optional-catch-binding", | |||
| "name" : "@babel/plugin-codemod-optional-catch-binding", | |||
There was a problem hiding this comment.
Got an extra space before the colon here.
| @@ -1,5 +1,5 @@ | |||
| { | |||
| "name": "babel-preset-env", | |||
| "name" : "@babel/preset-env", | |||
There was a problem hiding this comment.
Got an extra space before the colon here.
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/5352/ |
|
Did you use a codemod for the switch to scoped? I think it would be useful to publish it (even if it's a Just in case, note that greenkeeper:
|
Andarist
left a comment
There was a problem hiding this comment.
lgtm, there is some followup work to be done though, would be good to list it down:
- possibly renaming directories (+ repository urls) (+ relative paths to packages in READMEs)
- change npm, badges et al urls
- change some babel-preset-env links (probably should point to monorepo)
- figure out
babel-plugin-syntax-trailing-function-commassituation - is
packages/babel-cli/index.jsa deprecation message (should be removed) or helpful warning (should stay)? packages/babel-code-frame/src/index.jshas some deprecation warning in it - probably should be removed- there is leftover
babel-plugin-transform-async-functions/package.json- what should be done with it? packages/babel-runtime/scripts/build-dist.jsuses some relative paths - grabbing stuff directly from 'packages', imho packages directories should be independent
|
Alright it's fine to merge as is and do the rest ^. I think we can figure out the directory change later/npm/badge because it will be 0 downloads/links anyway. Finally! 🎉 We should do all of the rest of those, could make issues for them too |
This is leftover from #6495 Closes #6504 Signed-off-by: Will Soto <[email protected]>
| - Use it via UNPKG: https://unpkg.com/babel-standalone@6/babel.min.js. This is a simple way to embed it on a webpage without having to do any other setup. | ||
| - Install via Bower: `bower install babel-standalone` | ||
| - Install via NPM: `npm install --save babel-standalone` | ||
| - Use it via UNPKG: https://unpkg.com/@babel/standalone@6/babel.min.js. This is a simple way to embed it on a webpage without having to do any other setup. |
There was a problem hiding this comment.
We need to double check that this is the correct syntax for Unpkg URLs.
There was a problem hiding this comment.
it is - syntax is as follows: https://unpkg.com/package_name@version/path/to/file.js
where package_name might be scoped
| @@ -16,11 +16,11 @@ It's true that using Babel through Webpack, Browserify or Gulp should be suffici | |||
| Installation | |||
| ============ | |||
|
|
|||
| There are several ways to get a copy of babel-standalone. Pick whichever one you like: | |||
| There are several ways to get a copy of @babel/standalone. Pick whichever one you like: | |||
There was a problem hiding this comment.
I think some of this text should still say babel-standalone, what do you think?
There was a problem hiding this comment.
maybe just "standalone Babel"? 🤔
| - Install via Bower: `bower install babel-standalone` | ||
| - Install via NPM: `npm install --save babel-standalone` | ||
| - Use it via UNPKG: https://unpkg.com/@babel/standalone@6/babel.min.js. This is a simple way to embed it on a webpage without having to do any other setup. | ||
| - Install via Bower: `bower install @babel/standalone` |
There was a problem hiding this comment.
This is definitely not right, but maybe we should just remove this line now :P
Since the package won't be downloadable as `@babel/standalone` it's best to just remove it, since it's pretty much deprecated as is. I left the other mention of babel-standalone-bower since I guess that's just the name and still useful in other cases cc @Daniel15 reported in babel#6495 (review)
* docs(babel-standalone): remove bower mention Since the package won't be downloadable as `@babel/standalone` it's best to just remove it, since it's pretty much deprecated as is. I left the other mention of babel-standalone-bower since I guess that's just the name and still useful in other cases cc @Daniel15 reported in #6495 (review) * Update README.md
* docs(babel-standalone): remove bower mention Since the package won't be downloadable as `@babel/standalone` it's best to just remove it, since it's pretty much deprecated as is. I left the other mention of babel-standalone-bower since I guess that's just the name and still useful in other cases cc @Daniel15 reported in babel#6495 (review) * Update README.md
Closes #5294 (rebased/fixed version of previous PR from like a year ago)