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

SWC plugin for Vite and NextJS #186

Closed

Conversation

zacharyweidenbach
Copy link

@zacharyweidenbach zacharyweidenbach commented Oct 25, 2024

implementation, fails to compile due to module compat issue

@guyca guyca marked this pull request as ready for review October 25, 2024 08:51
@guyca guyca marked this pull request as draft October 25, 2024 15:21
@@ -0,0 +1,11 @@
# react-obsidian
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you plan on adding short docs or description here? If not I think we can remove the file. Even 1-2 lines is enough, we'll document this in the installation section.

packages/swc-plugin-obsidian/babel.config.js Show resolved Hide resolved
{
"name": "swc-plugin-obsidian",
"version": "3.0.0-alpha.6",
"description": "Dependency injection framework for React and React Native applications",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't forget to update the description.

"build": "tsc --project tsconfig.json",
"pretest": "tsc --project tsconfig.json",
"test": "npx jest",
"test-coverage": "npx jest --coverage"
Copy link
Collaborator

Choose a reason for hiding this comment

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

We don't have unit tests so I guess we can remove the coverage script?

"globals": "^15.9.0",
"jest": "29.7.x",
"jest-environment-jsdom": "^29.7.0",
"jest-extended": "^4.0.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Some of these dependencies aren't used - we should clean up the dev dependencies later. I'm pretty sure jest-extended and jest-when aren't used.

@guyca guyca changed the title implementation, fails to compile due to module compat issue SWC plugin for Vite and NextJS Oct 27, 2024
guyca added a commit that referenced this pull request Nov 7, 2024
Copy pasted from #186
@guyca
Copy link
Collaborator

guyca commented Nov 15, 2024

Closing in favor of #190 . Thanks @zacharyweidenbach for your hard work 👑

@guyca guyca closed this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants