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

Parjs-211-expose-compiler-as-library #3304

Merged
merged 6 commits into from
Dec 25, 2024

Conversation

samuelstroschein
Copy link
Member

feat: expose compiler as library

closes opral/inlang-paraglide-js#206

The Paraglide compiler is now exposed as a library. This allows you to use and extend the compiler however you need.

import { compile } from '@inlang/paraglide-js/compiler';

await compile({
  path: "/path/to/project.inlang",
  outdir: "/path/to/output",
});

Copy link

changeset-bot bot commented Dec 25, 2024

🦋 Changeset detected

Latest commit: 5928ad4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@inlang/paraglide-js Minor
@lix-js/server-api-schema Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

nx-cloud bot commented Dec 25, 2024

View your CI Pipeline Execution ↗ for commit 5928ad4.

Command Status Duration Result
nx run-many --nx-bail --target=build --parallel ✅ Succeeded 10s View ↗
nx run-many --target=test --parallel ✅ Succeeded 1s View ↗
nx run-many --target=lint --parallel ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2024-12-25 16:49:01 UTC

@samuelstroschein samuelstroschein merged commit 3d048a7 into main Dec 25, 2024
3 checks passed
@samuelstroschein samuelstroschein deleted the parjs-211-expose-compiler-as-library branch December 25, 2024 17:05
@github-actions github-actions bot locked and limited conversation to collaborators Dec 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

expose compiler as library
1 participant