jdg-ui-svelte v0.8.5
JDG SVELTE UI
Svelte components for the family of JDG UI elements.
Developing
First time install
yarn install
Run 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 dev
NOTE: 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.
Building
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 build
Then host the package (and demo site) locally for viewing:
yarn preview
NOTE: 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 build
andyarn preview
again to ensure the latest version of the package is built. This also helps ensure any linked websites use the latest local 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.
First, create a link in the jdg-ui-svelte
repo:
yarn link
Then, switch to the repo where you want to use jdg-ui-svelte
, and run:
yarn link jdg-ui-svelte
In the host app, if you want to use the official package (not the linked one), be sure to un-link:
yarn unlink jdg-ui-svelte
Publishing
First, update the version in package.json by incrementing whichever field makes sense given the current changes.
Then:
yarn publish
Usage
If the host app doesn't already have jdg-ui-svelte installed:
yarn add jdg-ui-svelte@latest
18 days ago
19 days ago
21 days ago
22 days ago
26 days ago
27 days ago
27 days ago
27 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago