@vit-foundation/ui 0.18.0 → 0.19.0
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/dist/index.d.ts +1 -1
- package/dist/index.js +10 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -6,4 +6,4 @@ export * from './admin.js';
|
|
|
6
6
|
export * from './forms/index.js';
|
|
7
7
|
export * from './config/index.js';
|
|
8
8
|
export * from './edit/index.js';
|
|
9
|
-
export { buildQueryString
|
|
9
|
+
export { buildQueryString } from './utils/paths.js';
|
package/dist/index.js
CHANGED
|
@@ -12,5 +12,13 @@ export * from './forms/index.js';
|
|
|
12
12
|
// App wiring: configuration context and the edit-mode contract.
|
|
13
13
|
export * from './config/index.js';
|
|
14
14
|
export * from './edit/index.js';
|
|
15
|
-
//
|
|
16
|
-
|
|
15
|
+
// The one path utility a host actually reads: fndvit-website re-exports
|
|
16
|
+
// `buildQueryString` from its own `utils/nav.ts`, so the URL a list mirrors
|
|
17
|
+
// and the hrefs it renders are spelled by this function in both codebases.
|
|
18
|
+
// The other three are NOT exported. `isInternalPath` and `isExternalUrl` are
|
|
19
|
+
// the destination classifiers `Link` and `TimelineMilestone` branch on, and
|
|
20
|
+
// `isPathUnder` is the prefix match `Nav` and `Sidebar` highlight the current
|
|
21
|
+
// section with — all four in-package readers reach them by deep import, and
|
|
22
|
+
// no host imports any of the three. Exporting them would pin their behaviour
|
|
23
|
+
// into semver for no reader; `paths.test.ts` is what holds them instead.
|
|
24
|
+
export { buildQueryString } from './utils/paths.js';
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vit-foundation/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run prepack",
|
|
7
7
|
"preview": "vite preview",
|
|
8
8
|
"prepare": "svelte-kit sync || echo ''",
|
|
9
9
|
"prepack": "svelte-kit sync && svelte-package && publint",
|
|
10
|
-
"_comment:prepublishOnly": "Publishing is MANUAL
|
|
10
|
+
"_comment:prepublishOnly": "Publishing is MANUAL — the release workflow that fired on every v* tag had no NPM_TOKEN, failed every time, and was deleted, so this is the ONLY publish gate. npm runs it before prepack.",
|
|
11
11
|
"prepublishOnly": "npm run lint && npm run check && npm run test:unit -- --run",
|
|
12
12
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
13
13
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|