jdg-ui-svelte v1.4.5
JDG SVELTE UI
Svelte components for the family of JDG UI elements.
Developing
Install dependencies
yarnRun the dev package
Use this when changes are in progress and realtime updates are required.
This doesn't build the package, but just runs it for local debugging.
yarn run devNOTE: Styles may flash more during first load. This won't happen in the final package.
Testing
It's a good idea to test the locally-built package in a locally-built website before publishing, to make sure everything is working.
In the jdg-ui-svelte repo
First, create a link:
yarn linkOnly need to do this once, unless a link is already present from a while ago, in which case run
yarn unlink
Then, build the jdg-ui-svelte package locally:
yarn buildRepeat this step after every package change you want to test locally
In the consuming website repo
Link to the jdg-ui-svelte package:
yarn link jdg-ui-svelteOnly need to do this once, unless a link is already present from a while ago, in which case run
yarn unlink jdg-ui-svelte
Cancel any current yarn run dev command and re-run the dev server using --force:
yarn run dev --forceNeed to cancel the server and re-run using
--forceany time the UI package has changed locally
To revert to using the official package (not the linked one), be sure to un-link:
yarn unlink jdg-ui-svelteAfter this, need to run
yarn install --force
Previewing
Build and preview the final package
Use this when changes are not in progress, and the package should be actually built for final testing.
First, build the jdg-ui-svelte package locally:
yarn buildThen host the package (and demo site) locally for viewing:
yarn previewNOTE: When testing, you may notice that styles flash when the page initially loads. This can be ignored as it shouldn't happen when the final website host is compiled.
NOTE: If changes are made after building, cancel the preview server, and run
yarn buildandyarn previewagain to ensure the latest version of the package is built. This also helps ensure any linked websites use the latest local package.
Publishing
First, update the version in package.json by incrementing whichever field makes sense given the current changes.
Then:
yarn publishUsage
If the host app doesn't already have jdg-ui-svelte installed:
yarn add jdg-ui-svelte@latest1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago