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

fix: use correct build for publish #230

Merged
merged 2 commits into from
Jun 13, 2023
Merged

Conversation

Lodin
Copy link
Contributor

@Lodin Lodin commented Jun 12, 2023

This PR improves the package registration system on client. Now, the version is added to build during the build (also, build is run during npm version command). So, now the source file only contains a __VERSION__ placeholder for the version which will be replaced during the build.

@Lodin
Copy link
Contributor Author

Lodin commented Jun 12, 2023

Note that the published code is gonna be obfuscated. The source maps are coming along with the code, so user would be able to track it. I have used the experience from Lit. They also obfuscate their code before publishing.

@MatthewVaadin
Copy link
Collaborator

Should the version in the package.json files be changed to 2.1.1? I don't think we can re-use the 2.1.0 version.

@MatthewVaadin MatthewVaadin merged commit 222c6bc into main Jun 13, 2023
@MatthewVaadin MatthewVaadin deleted the fix/empty-npm-package branch June 13, 2023 07:07
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