@opensystemslab/map 1.0.0-alpha.11 → 1.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/component-lib.es.js +1 -1
- package/dist/component-lib.umd.js +184 -146
- package/dist/{index-PCyWSA0Z.mjs → index-IocjROo3.mjs} +32836 -31071
- package/dist/{index.es-DjHXgkDI.mjs → index.es-C_lWlU7r.mjs} +1134 -1116
- package/dist/map.css +1 -1
- package/dist/purify.es-Cm3utOpm.mjs +560 -0
- package/package.json +26 -29
- package/types/components/address-autocomplete/main.test.d.ts +0 -5
- package/types/components/geocode-autocomplete/main.test.d.ts +0 -5
- package/types/components/my-map/drawing.d.ts +8 -2
- package/types/components/my-map/index.d.ts +7 -8
- package/types/components/my-map/layers.test.d.ts +0 -9
- package/types/components/my-map/main.test.d.ts +0 -5
- package/types/components/my-map/os-features.d.ts +8 -2
- package/types/components/my-map/snapping.d.ts +10 -3
- package/types/components/postcode-search/main.test.d.ts +0 -5
- package/types/test-utils.d.ts +1 -0
- package/dist/purify.es-DHbHSKL1.mjs +0 -528
package/README.md
CHANGED
|
@@ -71,10 +71,10 @@ Unit tests are written with [Vitest](https://vitest.dev/), [Happy Dom](https://w
|
|
|
71
71
|
|
|
72
72
|
### Docs
|
|
73
73
|
|
|
74
|
-
We use [
|
|
74
|
+
We use [Storybook](https://storybook.js.org/) for documenting our web components. Each component has a `*.stories.ts` file with interactive examples.
|
|
75
75
|
|
|
76
|
-
- `pnpm
|
|
77
|
-
- `pnpm
|
|
76
|
+
- `pnpm storybook` starts Storybook in watch mode for local development (port 7007)
|
|
77
|
+
- `pnpm storybook:build` builds the static site to `storybook-static/` for Netlify
|
|
78
78
|
|
|
79
79
|
### Deployments
|
|
80
80
|
|
|
@@ -86,6 +86,8 @@ To create a new release:
|
|
|
86
86
|
1. Run `npm publish` or `npm publish --tag next` if making a pre-release (requires permissions to OSL team in NPM & access to 2-factor auth method)
|
|
87
87
|
1. [Draft a new release](https://github.com/theopensystemslab/map/releases) via GitHub web: tag should match version, automatically generate changenotes and link above PR, then "Publish" and set as latest version (or set as pre-release if you used `--tag next` in above command)
|
|
88
88
|
|
|
89
|
+
Troubleshooting note: If any NPM permission issues, ensure you can successfully `npm login` according to the [latest authentication methods outlined here](https://github.blog/changelog/2025-12-09-npm-classic-tokens-revoked-session-based-auth-and-cli-token-management-now-available/) before running step #2 above.
|
|
90
|
+
|
|
89
91
|
## License
|
|
90
92
|
|
|
91
93
|
This repository is licensed under the [Open Government License v3](http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
|
package/dist/component-lib.es.js
CHANGED