@stacksjs/router 0.51.0 → 0.52.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/README.md CHANGED
@@ -38,7 +38,7 @@ pnpm test
38
38
 
39
39
  Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
40
40
 
41
- ## 💪🏼 Contributing
41
+ ## 🚜 Contributing
42
42
 
43
43
  Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
44
44
 
package/dist/index.d.ts CHANGED
@@ -1,2 +1 @@
1
- export declare function router(): string;
2
- export {};
1
+ export declare function router(): void;
package/dist/index.mjs CHANGED
@@ -1,4 +1,2 @@
1
1
  export function router() {
2
- return "";
3
2
  }
4
- export {};
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/router",
3
3
  "type": "module",
4
- "version": "0.51.0",
5
- "packageManager": "pnpm@7.26.3",
4
+ "version": "0.52.0",
5
+ "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework router.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -23,7 +23,12 @@
23
23
  "typescript",
24
24
  "javascript"
25
25
  ],
26
- "main": "dist/index.mjs",
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "import": "./dist/index.mjs"
30
+ }
31
+ },
27
32
  "module": "dist/index.mjs",
28
33
  "types": "dist/index.d.ts",
29
34
  "contributors": [
@@ -33,21 +38,15 @@
33
38
  "dist",
34
39
  "README.md"
35
40
  ],
36
- "engines": {
37
- "node": ">=v18.14.0",
38
- "pnpm": ">=7.26.3"
39
- },
40
41
  "peerDependencies": {
41
- "vue-router": "^4.1.6"
42
+ "vue-router": "^4.2.0"
42
43
  },
43
44
  "devDependencies": {
44
- "mkdist": "^1.1.0",
45
- "typescript": "^4.9.5",
46
- "@stacksjs/testing": "0.51.0"
45
+ "@stacksjs/development": "0.52.0"
47
46
  },
48
47
  "scripts": {
49
- "build": "mkdist -d",
50
- "dev": "mkdist -d",
48
+ "build": "unbuild",
49
+ "dev": "unbuild --stub",
51
50
  "typecheck": "tsc --noEmit"
52
51
  }
53
52
  }