@undrr/undrr-mangrove 1.2.8 → 1.2.9

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 CHANGED
@@ -255,16 +255,20 @@ For CDN and static asset hosting in the [UNDRR Static assets repo](https://gitla
255
255
 
256
256
  ### Production CDN
257
257
 
258
+ All assets are now served from versioned endpoints for stability:
259
+
258
260
  ```
259
- https://assets.undrr.org/static/sitemap.html#mangrove-1-2-4
261
+ https://assets.undrr.org/static/sitemap.html#mangrove-1-2-9
260
262
  https://assets.undrr.org/static/mangrove/README.md
261
263
  https://assets.undrr.org/static/mangrove/latest/assets/css/style.css
262
264
  https://assets.undrr.org/static/mangrove/latest/components/MegaMenu.js
263
265
  https://assets.undrr.org/static/mangrove/latest/assets/js/tabs.js
264
- https://assets.undrr.org/static/mangrove/1.2.5/css/style.css
266
+ https://assets.undrr.org/static/mangrove/1.2.9/assets/css/style.css
267
+ https://assets.undrr.org/static/mangrove/1.2.9/components/MegaMenu.js
268
+ https://assets.undrr.org/static/mangrove/1.2.9/assets/js/tabs.js
265
269
  ```
266
270
 
267
- ### Bleeding edge test repo
271
+ #### Bleeding edge test repo
268
272
 
269
273
  ```
270
274
  https://assets.undrr.org/testing/static/sitemap.html#mangrove-1-2-4
@@ -273,6 +277,31 @@ https://assets.undrr.org/testing/static/mangrove/1.2.5/css/style.css
273
277
  ... etc
274
278
  ```
275
279
 
280
+ ### Checking and updating to the latest version
281
+
282
+ To check the current latest version available on npm:
283
+
284
+ ```bash
285
+ npm view @undrr/undrr-mangrove version
286
+ # or
287
+ npm info @undrr/undrr-mangrove version
288
+ ```
289
+
290
+ To install the latest version:
291
+
292
+ ```bash
293
+ npm install @undrr/undrr-mangrove@latest
294
+ ```
295
+
296
+ To update all dependencies to their latest semver-compatible versions:
297
+
298
+ ```bash
299
+ npm outdated
300
+ npm update
301
+ ```
302
+
303
+ **Note**: We no longer provide bleeding-edge or "latest" endpoints. All CDN assets are now served from stable, versioned releases to ensure consistency and reliability.
304
+
276
305
  ## Assorted technical notes
277
306
 
278
307
  - **Developing on Windows**: You may encounter some issues when developing directly on Windows (Jest does not seem to run), we suggest you use the Docker container and commands (e.g. `yarn run docker-up`)