@revenexx/studio-shared 0.1.1 → 0.1.2
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/index.ts +4 -0
- package/package.json +3 -2
package/index.ts
CHANGED
|
@@ -10,3 +10,7 @@ export type * from './components/DataTable/types'
|
|
|
10
10
|
export type { SidebarNavItem, SidebarNavSection } from './components/Shared/SidebarNav.vue'
|
|
11
11
|
export type { PlatformAuth } from './composables/usePlatformAuth'
|
|
12
12
|
export type { PlatformTenant } from './composables/usePlatformTenant'
|
|
13
|
+
// NOTE: components are NOT value-exported here — this barrel is loaded in node
|
|
14
|
+
// contexts (types/config) where a `.vue` import fails. The studio modules that
|
|
15
|
+
// need a component explicitly import it via the `./components/*` subpath export
|
|
16
|
+
// (Vite-only), e.g. `@revenexx/studio-shared/components/Shared/SidebarNav.vue`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revenexx/studio-shared",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared revenexx Studio shell primitives (PageHeader, SidebarNav, StateCard, DataTable, …) + the platform provider contract (usePlatformAuth/usePlatformTenant). A Nuxt layer — extend it, then add a studio module.",
|
|
6
6
|
"main": "./nuxt.config.ts",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"types": "./index.ts",
|
|
10
10
|
"import": "./index.ts"
|
|
11
11
|
},
|
|
12
|
-
"./nuxt.config": "./nuxt.config.ts"
|
|
12
|
+
"./nuxt.config": "./nuxt.config.ts",
|
|
13
|
+
"./components/*": "./components/*"
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
15
16
|
"nuxt.config.ts",
|