@blakearoberts/visage 0.0.4-rc.15 → 0.0.4-rc.16

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -373,8 +373,8 @@ function resolveConfig(options) {
373
373
  function resolveComposeName(root) {
374
374
  const name = (packageName(root) ?? basename(resolve(root)))
375
375
  .toLowerCase()
376
- .replace(/[^a-z0-9_-]+/g, '-')
377
- .replace(/^[^a-z0-9]+|[^a-z0-9]+$/g, '');
376
+ .replace(/^[^a-z0-9]+/, '')
377
+ .replace(/[^a-z0-9_-]+/g, '-');
378
378
  return `${name}-visage`;
379
379
  }
380
380
  function packageName(root) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blakearoberts/visage",
3
- "version": "0.0.4-rc.15",
3
+ "version": "0.0.4-rc.16",
4
4
  "description": "Vite plugin for local development with HMR and OIDC session cookie lifecycle semantics.",
5
5
  "type": "module",
6
6
  "author": "Blake Roberts",