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

chore: move babel plugins from core package to internal #3518

Merged
merged 26 commits into from
Oct 22, 2021

Conversation

thedavidprice
Copy link
Contributor

@thedavidprice thedavidprice commented Oct 6, 2021

This moves the Babel plugins from Core to Internal. Core now contains only config.


This replaces #3122 (branched from @peterp branch in that PR)

This branch reverts the babel-plugin-redwood-mock-cell-data.ts and related files to get both build and tests to pass. Files reverted:

  1. packages/internal/src/build/babelPlugins/babel-plugin-redwood-mock-cell-data.ts
  2. packages/internal/src/build/babelPlugins/tests/babel-plugin-redwood-mock-cell-data.test.ts
  3. packages/internal/src/build/babelPlugins/tests/fixtures/mock-cell-data/output_TodoListCell.mock.js
  4. packages/internal/src/build/babelPlugins/tests/fixtures/mock-cell-data/output_NumTodosCell.mock.js

@thedavidprice thedavidprice added this to the next-release-priority milestone Oct 13, 2021
@dac09 dac09 assigned dac09 and unassigned dac09 Oct 18, 2021
@thedavidprice thedavidprice changed the base branch from pp-move-babel-plugins-from-core-to-internal to main October 20, 2021 21:53
@thedavidprice thedavidprice changed the title PR#3122 Update from main: dsp --> pp move babel plugins from core to internal Continuing #3122 move babel plugins from core to internal Oct 20, 2021
@@ -19,7 +19,7 @@
"node-fetch": "2.6.1",
"tasuku": "1.0.2",
"toml": "3.0.0",
"vscode-ripgrep": "1.0.0",
"vscode-ripgrep": "1.12.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtoar FYI: I had a strange yarn install error that I resolved by upgrading. Didn't check the release notes for this yet.

{
test: ['./api/', './scripts/'],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtoar FOUND IT! Not sure why this was removed. But this config is necessary for the Jest Babel API config. Added this back in and passing!

@thedavidprice thedavidprice requested a review from dac09 October 21, 2021 01:03
@thedavidprice
Copy link
Contributor Author

@dac09 this is ready for review

@thedavidprice thedavidprice changed the title Continuing #3122 move babel plugins from core to internal chore: move babel plugins from core package to internal Oct 21, 2021
@thedavidprice thedavidprice requested a review from jtoar October 22, 2021 15:00
packages/internal/src/ast.ts Outdated Show resolved Hide resolved
@thedavidprice thedavidprice merged commit 3b0e07c into main Oct 22, 2021
@thedavidprice thedavidprice deleted the dsp-pp-move-babel-plugins-from-core-to-internal branch October 22, 2021 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants