Enable the example projects to use locally linked versions of the Vime packages #227
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Currently, it is not possible to use
npm link
or Lerna to use the local version of the@vime/*
packages. There were a number of issues preventing this, all of which should be fixed by this PR.The main motivation for this change is to make it possible to quickly test local changes to
@vime/core
without any ceremony.Issue Number: N/A
What is the new behavior?
examples/*
has been added to the Lerna workspaces, making it possible to bootstrap the@vime/*
packages in these projects.npm run build
has been changed to run only on the public packages (i.e. noprivate: true
). This preserves the existing behaviour that examples will not be built during CI.npm run bootstrap:all
command is introduced to allow bootstrapping the examples if desired.@vime/core
: copy theicons/
folder structure correctly, so icons load whenNODE_ENV === development
.@vime/react-example
: resolvereact
andreact-dom
correctly when using linked packages@vime/rollup-example
: update the CSS extension to make CSS generation work@vime/stencil-example
: fix icons not being found in dev mode@vime/webpack-example
: ensure Webpack always loads the extracted CSS@vime/angular-example
: preserve symlinks in Angular configDoes this introduce a breaking change?
Other information