@h3ravel/router 0.1.0 → 0.2.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/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @h3ravel/router
2
+
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - aea734f: Fix all known bugs and improved interdependecy between packages.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [aea734f]
12
+ - @h3ravel/core@0.2.0
13
+ - @h3ravel/support@0.2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/router",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Route facade, decorators and controller system for H3ravel.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,9 +9,8 @@
9
9
  "access": "public"
10
10
  },
11
11
  "dependencies": {
12
- "h3": "^2.0.0-beta.1",
13
- "@h3ravel/core": "0.1.0",
14
- "@h3ravel/support": "0.1.0"
12
+ "@h3ravel/core": "0.2.0",
13
+ "@h3ravel/support": "0.2.0"
15
14
  },
16
15
  "devDependencies": {
17
16
  "typescript": "^5.4.0"
package/src/Router.ts CHANGED
@@ -18,7 +18,7 @@ export class Router {
18
18
  private groupPrefix = ''
19
19
  private groupMiddleware: EventHandler[] = []
20
20
 
21
- constructor(private h3App: H3, private app: Application) { }
21
+ constructor(protected h3App: H3, private app: Application) { }
22
22
 
23
23
  /**
24
24
  * Route Resolver
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../../tsconfig.json",
2
+ "extends": "../tsconfig/tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "outDir": "dist"
5
5
  },
package/vite.config.ts DELETED
@@ -1,9 +0,0 @@
1
- import { defineConfig } from 'tsup'
2
-
3
- export default defineConfig({
4
- entry: ['src/index.ts'],
5
- format: ['esm', 'cjs'],
6
- dts: true,
7
- sourcemap: true,
8
- clean: true
9
- })