@gravito/ion 1.0.0-beta.6 → 2.0.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/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +12 -10
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GravitoContext, GravitoVariables, GravitoOrbit, PlanetCore } from 'gravito
|
|
1
|
+
import { GravitoContext, GravitoVariables, GravitoOrbit, PlanetCore } from '@gravito/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview Inertia.js Service for Gravito
|
|
@@ -122,7 +122,7 @@ declare class InertiaService {
|
|
|
122
122
|
* @since 1.0.0
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
|
-
declare module 'gravito
|
|
125
|
+
declare module '@gravito/core' {
|
|
126
126
|
interface GravitoVariables {
|
|
127
127
|
/** Inertia.js service for SPA rendering */
|
|
128
128
|
inertia?: InertiaService;
|
|
@@ -136,7 +136,7 @@ declare module 'gravito-core' {
|
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
138
|
* ```typescript
|
|
139
|
-
* import { PlanetCore, defineConfig } from 'gravito
|
|
139
|
+
* import { PlanetCore, defineConfig } from '@gravito/core'
|
|
140
140
|
* import { OrbitIon } from '@gravito/ion'
|
|
141
141
|
*
|
|
142
142
|
* const core = await PlanetCore.boot(defineConfig({
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GravitoContext, GravitoVariables, GravitoOrbit, PlanetCore } from 'gravito
|
|
1
|
+
import { GravitoContext, GravitoVariables, GravitoOrbit, PlanetCore } from '@gravito/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview Inertia.js Service for Gravito
|
|
@@ -122,7 +122,7 @@ declare class InertiaService {
|
|
|
122
122
|
* @since 1.0.0
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
|
-
declare module 'gravito
|
|
125
|
+
declare module '@gravito/core' {
|
|
126
126
|
interface GravitoVariables {
|
|
127
127
|
/** Inertia.js service for SPA rendering */
|
|
128
128
|
inertia?: InertiaService;
|
|
@@ -136,7 +136,7 @@ declare module 'gravito-core' {
|
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
138
|
* ```typescript
|
|
139
|
-
* import { PlanetCore, defineConfig } from 'gravito
|
|
139
|
+
* import { PlanetCore, defineConfig } from '@gravito/core'
|
|
140
140
|
* import { OrbitIon } from '@gravito/ion'
|
|
141
141
|
*
|
|
142
142
|
* const core = await PlanetCore.boot(defineConfig({
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravito/ion",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Inertia.js adapter for Gravito",
|
|
5
|
-
"module": "./dist/index.mjs",
|
|
6
5
|
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
@@ -21,18 +21,20 @@
|
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "bun run build.ts",
|
|
23
23
|
"test": "bun test",
|
|
24
|
-
"typecheck": "tsc --noEmit"
|
|
24
|
+
"typecheck": "bun tsc -p tsconfig.json --noEmit --skipLibCheck",
|
|
25
|
+
"test:coverage": "bun test --coverage --coverage-threshold=80",
|
|
26
|
+
"test:ci": "bun test --coverage --coverage-threshold=80"
|
|
25
27
|
},
|
|
26
28
|
"peerDependencies": {
|
|
27
|
-
"gravito
|
|
28
|
-
"@gravito/photon": "
|
|
29
|
+
"@gravito/core": "workspace:*",
|
|
30
|
+
"@gravito/photon": "workspace:*"
|
|
29
31
|
},
|
|
30
32
|
"devDependencies": {
|
|
31
33
|
"bun-types": "latest",
|
|
32
|
-
"gravito
|
|
33
|
-
"@gravito/photon": "
|
|
34
|
+
"@gravito/core": "workspace:*",
|
|
35
|
+
"@gravito/photon": "workspace:*",
|
|
34
36
|
"tsup": "^8.5.1",
|
|
35
|
-
"typescript": "
|
|
37
|
+
"typescript": "^5.9.3"
|
|
36
38
|
},
|
|
37
39
|
"keywords": [
|
|
38
40
|
"gravito",
|
|
@@ -53,4 +55,4 @@
|
|
|
53
55
|
"url": "git+https://github.com/gravito-framework/gravito.git",
|
|
54
56
|
"directory": "packages/ion"
|
|
55
57
|
}
|
|
56
|
-
}
|
|
58
|
+
}
|