aaex-file-router 1.6.3 → 1.6.4

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.
Files changed (2) hide show
  1. package/README.md +2 -3
  2. package/package.json +18 -6
package/README.md CHANGED
@@ -2,9 +2,8 @@
2
2
 
3
3
  A file-based routing system for React projects that automatically generates routes from your file structure. Similar to Next.js App Router or Remix file conventions.
4
4
 
5
- ## V. 1.6.3
6
-
7
- Added server side routing mainly for AaExJS but it also works inside vite SSR.
5
+ ## V. 1.6.4
6
+ Hopefully made code editors able to autocomplete and suggest imorts from the package
8
7
 
9
8
  ## Table of Contents
10
9
 
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "aaex-file-router",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "A file-based routing system for React projects that automatically generates routes from your file structure. Similar to Next.js App Router or Remix file conventions.",
5
5
  "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
6
7
  "scripts": {
7
8
  "test": "node ./dist/test/index.js",
8
9
  "build": "npx tsc",
9
10
  "dev": "npx tsc --watch",
10
- "release": "npx tsc && npm publish "
11
+ "release": "npx tsc && npm publish"
11
12
  },
12
13
  "keywords": [
13
14
  "react",
@@ -15,9 +16,21 @@
15
16
  "vite-plugin"
16
17
  ],
17
18
  "exports": {
18
- ".": "./dist/index.js",
19
- "./core": "./dist/core/index.js",
20
- "./plugin": "./dist/plugin/index.js"
19
+ ".": {
20
+ "import": "./dist/index.js",
21
+ "require": "./dist/index.js",
22
+ "types": "./dist/index.d.ts"
23
+ },
24
+ "./core": {
25
+ "import": "./dist/core/index.js",
26
+ "require": "./dist/core/index.js",
27
+ "types": "./dist/core/index.d.ts"
28
+ },
29
+ "./plugin": {
30
+ "import": "./dist/plugin/index.js",
31
+ "require": "./dist/plugin/index.js",
32
+ "types": "./dist/plugin/index.d.ts"
33
+ }
21
34
  },
22
35
  "author": "TmRAaEx",
23
36
  "license": "MIT",
@@ -27,7 +40,6 @@
27
40
  "README.md",
28
41
  "LICENCE"
29
42
  ],
30
- "types": "dist/index.d.ts",
31
43
  "devDependencies": {
32
44
  "@types/node": "^24.10.1",
33
45
  "@types/react": "^19.2.7",