Skip to content

Conversation

@arnaugiralt
Copy link
Member

Publishing process broke when I updated the version for the Github action we use to publish the toolkit to NPM.

For reasons that I don't understand, the previous version of the action ignored the contents of .gitignore, which was fixed in newer versions. However, our process relied on that incorrect step. I created the .npmignore file to pick which files are published to NPM. This means to ignore everything but files under /dist directory (created when running npm run build) and LICENSE, README.md and package.json files. I think that it does not make sense to have all the project files available when installing the package, but let me know if you'd prefer it this way.

Also updated the package version to 30.2.1

…ishing the package

- Update package version to 30.2.1
@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@arnaugiralt arnaugiralt merged commit 4dc5791 into master Feb 15, 2024
@arnaugiralt arnaugiralt deleted the fix-npm-distribution-and-update-version-to-30.2.1 branch February 15, 2024 15:49
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.

4 participants