@uni-helper/vite-plugin-uni-pages 0.4.2 → 0.4.3

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/client.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  /// <reference path="./global.d.ts" />
2
2
 
3
3
  declare module 'virtual:uni-pages' {
4
- import type { SubPackage } from './src/config/index'
5
- import type { PageMetaDatum } from './src/types'
4
+ import type { PageMetaDatum, SubPackage } from '@uni-helper/uni-pages-types'
6
5
 
7
6
  export const pages: PageMetaDatum[]
8
7
  export const subPackages: SubPackage[]
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /// <reference path="./client.d.ts" />
2
2
 
3
- export type * from './dist/index.d.mts'
4
- export type { default } from './dist/index.d.mts'
3
+ export * from './dist/index.d.mts'
4
+ export { default } from './dist/index.d.mts'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uni-helper/vite-plugin-uni-pages",
3
3
  "type": "module",
4
- "version": "0.4.2",
4
+ "version": "0.4.3",
5
5
  "description": "File system based routing for uni-app applications using Vite",
6
6
  "author": "KeJun",
7
7
  "maintainers": [
@@ -27,11 +27,11 @@
27
27
  "exports": {
28
28
  ".": {
29
29
  "import": {
30
- "types": "./dist/index.d.mts",
30
+ "types": "./index.d.ts",
31
31
  "default": "./dist/index.mjs"
32
32
  },
33
33
  "require": {
34
- "types": "./dist/index.d.cts",
34
+ "types": "./index.d.ts",
35
35
  "default": "./dist/index.cjs"
36
36
  }
37
37
  },
@@ -72,7 +72,7 @@
72
72
  "unconfig": "^7.5.0",
73
73
  "write-file-atomic": "^7.0.1",
74
74
  "yaml": "^2.9.0",
75
- "@uni-helper/uni-pages-types": "0.4.2"
75
+ "@uni-helper/uni-pages-types": "0.4.3"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@antfu/utils": "^9.3.0",