1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.github
Gastón Fournier 201c86838f
Test npm publish (#3554)
## About the changes

https://github.blog/changelog/2022-10-24-npm-v9-0-0-released/ introduced
a breaking change in the way they handle files inside package.json which
caused some issues with the way we pack and distribute Unleash:

> npm pack now follows a strict order of operations when applying ignore
rules. If a files array is present in the package.json, then rules in
.gitignore and .npmignore files from the root will be ignored.

What we discovered is that when having a nested .gitignore (the one we
have inside frontend), `npm publish` was taking that nested .gitignore
into account (despite the fact that we also have a package.json with
files inside the same folder). We tricked this by removing the `build`
folder from `frontend/.gitignore` and instead adding it into the root
`.gitignore` which is being ignored by `npm publish` following what's
stated in the release note above.

-----------------

Co-authored-by: Gard Rimestad <gard@getunleash.io>
2023-04-18 15:44:19 +02:00
..
ext-logos chore: update readme 2021-06-13 23:26:20 +02:00
workflows Test npm publish (#3554) 2023-04-18 15:44:19 +02:00
dashboard.png docs: Readme update dashboard screenshot (#953) 2021-09-23 21:19:10 +02:00
deploy-digital.svg chore: Added Deploy To Digital Ocean Button (#874) 2021-06-21 14:15:33 +02:00
deploy-heroku-20.png fix: styles to docs 2021-06-05 00:25:35 +02:00
FUNDING.yml
github_header_opaque_landscape.svg fix: add missing header image 2022-04-07 15:40:43 +02:00
github_online_demo.svg readme: Update online demo image (#2528) 2022-11-24 13:35:23 +00:00
github_unleash_users.svg fix: Add unleash users image 2022-04-08 13:19:24 +02:00
Logo_DarkBlue_Transparent_Portrait.png fix: update README.md 2021-06-04 19:31:28 +02:00
Logo_DarkBlue_Transparent_Portrait.svg fix: update README.md 2021-06-04 19:35:43 +02:00
logo.png fix: proper logo 2021-06-04 23:26:40 +02:00
stale.yml Meta: use org-wide stale bot config (#1789) 2022-07-05 15:59:11 +02:00
Unleash_architecture.svg docs: improve introduction section 2021-06-14 21:48:19 +02:00
unleash-logo.svg
update_own_version.sh fix: version for older npm 2023-02-27 11:30:42 +01:00