Skip to content

Conversation

@peaBerberian
Copy link
Collaborator

@Florent-Bouisset noticed that some release published in the v4 had a dist directory with unnecessary v3-related artefacts inside.

This is due to the fact that /dist was added to our .gitignore file (so it isn't tracked by git) and back-and-forth between v3 and v4 code means that the dist directory might end up having potentially v3 stuff.

We could be adding those in the .npmignore to prevent them to be published to npm, but I guess it makes more sense to just clean-up the dist directory each time we redo the build:all script which re-build every files and directories inside that that directory (and which is the script we do before every release).

@Florent-Bouisset noticed that some release published in the v4 had a
`dist` directory with unnecessary v3-related artefacts inside.

This is due to the fact that `/dist` was added to our `.gitignore` file
(so it isn't tracked by git) and back-and-forth between v3 and v4 code
means that the dist directory might end up having potentially v3 stuff.

We could be adding those in the `.npmignore` to prevent them to be
published to npm, but I guess it makes more sense to just clean-up the
`dist` directory each time we redo the `build:all` script which
re-build every files and directories inside that that directory (and
which is the script we do before every release).
@peaBerberian peaBerberian merged commit fd582d1 into stable Feb 6, 2024
@peaBerberian peaBerberian added this to the 4.0.0-rc.2 milestone Feb 6, 2024
@peaBerberian peaBerberian deleted the misc/clean-dist branch February 7, 2024 17:57
@peaBerberian peaBerberian mentioned this pull request Feb 21, 2024
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.

3 participants