@paraxe/vue 1.0.0 → 1.0.1

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.
@@ -0,0 +1,2 @@
1
+ import { ComponentResolver } from 'unplugin-vue-components/types';
2
+ export declare function ParaxeResolver(): ComponentResolver;
@@ -0,0 +1,2 @@
1
+ export * from './resolver/index.js'
2
+ export {}
@@ -0,0 +1,12 @@
1
+ function r() {
2
+ return {
3
+ type: "component",
4
+ resolve: (e) => ({
5
+ name: e,
6
+ from: "@paraxe/vue"
7
+ })
8
+ };
9
+ }
10
+ export {
11
+ r as ParaxeResolver
12
+ };
package/package.json CHANGED
@@ -1,29 +1,34 @@
1
- {
2
- "name": "@paraxe/vue",
3
- "version": "1.0.0",
4
- "type": "module",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
12
- }
13
- },
14
- "scripts": {
15
- "dev": "vite",
16
- "build": "vite build",
17
- "typecheck": "vue-tsc --noEmit"
18
- },
19
- "dependencies": {
20
- "@paraxe/core": "workspace:*",
21
- "vue": "^3.5.13"
22
- },
23
- "devDependencies": {
24
- "@vitejs/plugin-vue": "^6.0.1",
25
- "vite": "^7.1.2",
26
- "vue-tsc": "^3.0.5",
27
- "typescript": "^5.9.2"
28
- }
29
- }
1
+ {
2
+ "name": "@paraxe/vue",
3
+ "version": "1.0.1",
4
+ "type": "module",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ },
13
+ "./resolver": {
14
+ "types": "./dist/resolver/index.d.ts",
15
+ "import": "./dist/resolver.js"
16
+ }
17
+ },
18
+ "dependencies": {
19
+ "@paraxe/core": "^1.0.0",
20
+ "vue": "^3.5.13"
21
+ },
22
+ "devDependencies": {
23
+ "@vitejs/plugin-vue": "^6.0.1",
24
+ "typescript": "^5.9.2",
25
+ "unplugin-vue-components": "^32.1.0",
26
+ "vite": "^7.1.2",
27
+ "vue-tsc": "^3.0.5"
28
+ },
29
+ "scripts": {
30
+ "dev": "vite",
31
+ "build": "vite build",
32
+ "typecheck": "vue-tsc --noEmit"
33
+ }
34
+ }
@@ -0,0 +1,13 @@
1
+ import type { ComponentResolver } from "unplugin-vue-components/types";
2
+
3
+ export function ParaxeResolver(): ComponentResolver {
4
+ return {
5
+ type: "component",
6
+ resolve: (name) => {
7
+ return {
8
+ name,
9
+ from: "@paraxe/vue",
10
+ };
11
+ },
12
+ };
13
+ }
package/vite.config.ts CHANGED
@@ -18,10 +18,13 @@ export default defineConfig({
18
18
  emptyOutDir: true,
19
19
 
20
20
  lib: {
21
- entry: resolve(process.cwd(), "src/index.ts"),
22
- formats: ["es"],
23
- fileName: "index",
21
+ entry: {
22
+ index: resolve(process.cwd(), "src/index.ts"),
23
+ resolver: resolve(process.cwd(), "src/resolver/index.ts"),
24
24
  },
25
+ formats: ["es"],
26
+ fileName: "[name]",
27
+ },
25
28
 
26
29
  rollupOptions: {
27
30
  external: ["vue", "@paraxe/core"],
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@paraxe/vue",
3
- "version": "1.0.0",
4
- "buildTimestamp": "2026-08-18T09:04:57.955Z"
5
- }