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

Migrate to package.json/tsconfig.json crates #99

Merged
merged 9 commits into from Mar 6, 2024
Merged

Conversation

milesj
Copy link
Contributor

@milesj milesj commented Feb 29, 2024

This PR migrates to the https://crates.io/crates/nodejs_package_json and https://crates.io/crates/typescript_tsconfig_json crates, that'll be used by Rolldown and other tools in the future. Better to standardize on common shapes, instead of duplicating over and over again.

For actually changes, will leave them as comments in the PR.

napi/src/options.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
src/options.rs Outdated Show resolved Hide resolved
src/tsconfig.rs Show resolved Hide resolved
src/tsconfig.rs Show resolved Hide resolved
src/tsconfig.rs Show resolved Hide resolved
src/tsconfig.rs Show resolved Hide resolved
Copy link

codspeed-hq bot commented Mar 1, 2024

CodSpeed Performance Report

Merging #99 will not alter performance

Comparing milesj:jsts (6af6b62) with main (eb6ada0)

Summary

✅ 2 untouched benchmarks

src/lib.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/package_json.rs Outdated Show resolved Hide resolved
src/options.rs Outdated Show resolved Hide resolved
@milesj
Copy link
Contributor Author

milesj commented Mar 4, 2024

@Boshen @ematipico Made some changes. I have some more ideas to take this further if need be.

@Boshen
Copy link
Member

Boshen commented Mar 5, 2024

I'll test this in Rspack before merging.

@Boshen Boshen enabled auto-merge (squash) March 6, 2024 08:22
@Boshen Boshen merged commit 290ebce into oxc-project:main Mar 6, 2024
17 checks passed
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.

None yet

3 participants