1.4.5 • Published 3 months ago

jdg-ui-svelte v1.4.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

JDG SVELTE UI

Svelte components for the family of JDG UI elements.

Developing

Install dependencies

yarn

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: 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 link

Only 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 build

Repeat 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-svelte

Only 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 --force

Need to cancel the server and re-run using --force any 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-svelte

After 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 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 and yarn preview again 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 publish

Usage

If the host app doesn't already have jdg-ui-svelte installed:

yarn add jdg-ui-svelte@latest
1.2.0

6 months ago

1.2.3

6 months ago

1.2.2

6 months ago

1.2.1

6 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.1.9

6 months ago

1.1.8

7 months ago

1.1.7

7 months ago

1.1.6

7 months ago

1.1.5

7 months ago

1.1.4

7 months ago

1.1.3

7 months ago

1.1.2

7 months ago

1.4.5

3 months ago

1.4.4

4 months ago

1.4.3

4 months ago

1.4.2

4 months ago

1.4.1

4 months ago

1.4.0

4 months ago

1.3.7

4 months ago

1.3.6

4 months ago

1.3.5

4 months ago

1.3.4

5 months ago

1.3.3

6 months ago

1.3.2

6 months ago

1.3.1

6 months ago

1.3.0

6 months ago

0.25.6

8 months ago

0.25.5

8 months ago

1.0.0

8 months ago

0.20.1

9 months ago

0.20.0

9 months ago

0.25.4

8 months ago

0.25.3

8 months ago

0.25.2

8 months ago

0.25.1

8 months ago

0.25.0

8 months ago

0.21.1

9 months ago

0.21.0

9 months ago

0.22.0

9 months ago

0.23.6

8 months ago

0.23.5

8 months ago

0.23.4

8 months ago

0.23.3

8 months ago

0.23.2

8 months ago

0.23.1

8 months ago

0.23.0

8 months ago

0.24.1

8 months ago

0.24.0

8 months ago

0.20.3

9 months ago

0.20.2

9 months ago

0.8.8

1 year ago

0.8.7

1 year ago

0.8.6

1 year ago

0.17.2

11 months ago

0.17.3

11 months ago

0.17.4

11 months ago

0.13.0

11 months ago

0.13.1

11 months ago

0.17.0

11 months ago

0.17.1

11 months ago

0.18.1

11 months ago

0.14.5

11 months ago

0.18.2

11 months ago

0.10.1

1 year ago

0.10.2

12 months ago

0.14.0

11 months ago

0.14.1

11 months ago

0.14.2

11 months ago

0.14.3

11 months ago

0.18.0

11 months ago

0.14.4

11 months ago

0.10.0

1 year ago

0.19.0

10 months ago

0.19.1

10 months ago

0.19.2

10 months ago

0.19.3

10 months ago

0.19.4

10 months ago

0.19.5

10 months ago

0.19.6

10 months ago

0.19.7

10 months ago

0.11.0

12 months ago

0.11.1

12 months ago

0.11.2

12 months ago

0.11.3

12 months ago

0.15.0

11 months ago

0.11.4

12 months ago

0.15.1

11 months ago

0.15.2

11 months ago

0.9.0

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago

0.16.3

11 months ago

0.16.4

11 months ago

0.16.5

11 months ago

0.16.6

11 months ago

0.12.0

12 months ago

0.12.1

12 months ago

0.12.2

11 months ago

0.12.3

11 months ago

0.16.0

11 months ago

0.12.4

11 months ago

0.16.1

11 months ago

0.16.2

11 months ago

0.8.5

1 year ago

0.8.4

1 year ago

0.8.3

1 year ago

0.8.2

1 year ago

0.8.1

1 year ago

0.7.10

1 year ago

0.7.9

1 year ago

0.8.0

1 year ago

0.7.8

1 year ago

0.7.6

1 year ago

0.7.5

1 year ago

0.7.7

1 year ago

0.7.4

1 year ago

0.7.3

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.0

1 year ago

0.5.6

1 year ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.5

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.2

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.3

1 year ago

0.0.4

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago