@h3ravel/shared 0.3.0 → 0.4.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @h3ravel/shared
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8ceb2c1: implement the Application class directly since it already implements the IClass contract
8
+
9
+ ### Patch Changes
10
+
11
+ - a27f452: chore: fix all linting issues.
12
+ - c906050: chore: migrate tests suite to jest
13
+ - Updated dependencies [8ceb2c1]
14
+ - Updated dependencies [a27f452]
15
+ - Updated dependencies [c906050]
16
+ - @h3ravel/support@0.4.0
17
+
3
18
  ## 0.3.0
4
19
 
5
20
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/shared",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Shared Utilities.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "h3": "^2.0.0-beta.1",
13
- "@h3ravel/support": "0.3.0"
13
+ "@h3ravel/support": "0.4.0"
14
14
  },
15
15
  "scripts": {
16
16
  "build": "tsup",
@@ -18,6 +18,6 @@
18
18
  "dev": "tsx watch src/index.ts",
19
19
  "start": "node dist/index.js",
20
20
  "lint": "eslint . --ext .ts",
21
- "test": "vitest"
21
+ "test": "jest --passWithNoTests"
22
22
  }
23
23
  }
@@ -1,4 +1,4 @@
1
- import { IServiceProvider } from "./IServiceProvider";
1
+ import { IServiceProvider } from './IServiceProvider'
2
2
 
3
3
  export type IPathName = 'views' | 'routes' | 'assets' | 'base' | 'public' | 'storage' | 'config'
4
4
 
@@ -1,8 +1,8 @@
1
- import type { Middleware, MiddlewareOptions } from "h3";
1
+ import type { Middleware, MiddlewareOptions } from 'h3'
2
2
 
3
- import { IApplication } from "./IApplication";
4
- import { IRequest } from "./IRequest";
5
- import { IResponse } from "./IResponse";
3
+ import { IApplication } from './IApplication'
4
+ import { IRequest } from './IRequest'
5
+ import { IResponse } from './IResponse'
6
6
 
7
7
  /**
8
8
  * Interface for the Router contract, defining methods for HTTP routing.
@@ -1,6 +1,6 @@
1
1
  import { DotNestedKeys, DotNestedValue } from '@h3ravel/support'
2
2
 
3
- import type { H3Event } from "h3";
3
+ import type { H3Event } from 'h3'
4
4
 
5
5
  /**
6
6
  * Interface for the Request contract, defining methods for handling HTTP request data.
@@ -1,6 +1,6 @@
1
1
  import { DotNestedKeys, DotNestedValue } from '@h3ravel/support'
2
2
 
3
- import type { H3Event } from "h3";
3
+ import type { H3Event } from 'h3'
4
4
 
5
5
  /**
6
6
  * Interface for the Response contract, defining methods for handling HTTP responses.
package/tsconfig.json CHANGED
@@ -12,5 +12,6 @@
12
12
  "resolveJsonModule": true
13
13
  // "target": "ES2022",
14
14
  // "module": "ESNext",
15
- }
15
+ },
16
+ "exclude": ["./dist", "./**/dist", "/.node_modules"]
16
17
  }