@gravito/stasis 1.0.0-beta.6 → 1.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/README.md +1 -1
- package/README.zh-TW.md +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +13 -13
package/README.md
CHANGED
package/README.zh-TW.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlanetCore, GravitoOrbit } from 'gravito
|
|
1
|
+
import { PlanetCore, GravitoOrbit } from '@gravito/core';
|
|
2
2
|
|
|
3
3
|
declare class LockTimeoutError extends Error {
|
|
4
4
|
name: string;
|
|
@@ -440,7 +440,7 @@ declare class OrbitStasis implements GravitoOrbit {
|
|
|
440
440
|
declare function orbitCache(core: PlanetCore, options?: OrbitCacheOptions): CacheManager;
|
|
441
441
|
/** @deprecated Use OrbitStasis instead */
|
|
442
442
|
declare const OrbitCache: typeof OrbitStasis;
|
|
443
|
-
declare module 'gravito
|
|
443
|
+
declare module '@gravito/core' {
|
|
444
444
|
interface GravitoVariables {
|
|
445
445
|
/** Cache manager for caching operations */
|
|
446
446
|
cache?: CacheManager;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlanetCore, GravitoOrbit } from 'gravito
|
|
1
|
+
import { PlanetCore, GravitoOrbit } from '@gravito/core';
|
|
2
2
|
|
|
3
3
|
declare class LockTimeoutError extends Error {
|
|
4
4
|
name: string;
|
|
@@ -440,7 +440,7 @@ declare class OrbitStasis implements GravitoOrbit {
|
|
|
440
440
|
declare function orbitCache(core: PlanetCore, options?: OrbitCacheOptions): CacheManager;
|
|
441
441
|
/** @deprecated Use OrbitStasis instead */
|
|
442
442
|
declare const OrbitCache: typeof OrbitStasis;
|
|
443
|
-
declare module 'gravito
|
|
443
|
+
declare module '@gravito/core' {
|
|
444
444
|
interface GravitoVariables {
|
|
445
445
|
/** Cache manager for caching operations */
|
|
446
446
|
cache?: CacheManager;
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravito/stasis",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"description": "Standard Cache Orbit for Galaxy Architecture",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"main": "dist/index.cjs",
|
|
9
|
+
"module": "dist/index.js",
|
|
10
10
|
"type": "module",
|
|
11
|
-
"types": "
|
|
11
|
+
"types": "dist/index.d.ts",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
16
|
"require": "./dist/index.cjs"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"LICENSE"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"build": "
|
|
25
|
+
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
26
26
|
"test": "bun test",
|
|
27
|
-
"typecheck": "tsc --noEmit"
|
|
27
|
+
"typecheck": "bun tsc -p tsconfig.json --noEmit --skipLibCheck"
|
|
28
28
|
},
|
|
29
29
|
"keywords": [
|
|
30
30
|
"gravito",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"author": "Carl Lee <carllee0520@gmail.com>",
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"gravito
|
|
40
|
-
"@gravito/plasma": "
|
|
39
|
+
"@gravito/core": "workspace:*",
|
|
40
|
+
"@gravito/plasma": "workspace:*"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@gravito/plasma": "
|
|
43
|
+
"@gravito/plasma": "workspace:*",
|
|
44
|
+
"@gravito/core": "workspace:*",
|
|
45
|
+
"@gravito/photon": "workspace:*",
|
|
44
46
|
"bun-types": "latest",
|
|
45
|
-
"gravito-core": "1.0.0-beta.6",
|
|
46
|
-
"@gravito/photon": "1.0.0-beta.1",
|
|
47
47
|
"tsup": "^8.5.1",
|
|
48
48
|
"typescript": "^5.9.3"
|
|
49
49
|
},
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
"url": "git+https://github.com/gravito-framework/gravito.git",
|
|
54
54
|
"directory": "packages/stasis"
|
|
55
55
|
}
|
|
56
|
-
}
|
|
56
|
+
}
|