@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 CHANGED
@@ -18,7 +18,7 @@ bun add @gravito/stasis
18
18
  ## 🚀 Usage
19
19
 
20
20
  ```typescript
21
- import { PlanetCore } from 'gravito-core';
21
+ import { PlanetCore } from '@gravito/core';
22
22
  import orbitCache from '@gravito/stasis';
23
23
 
24
24
  const core = new PlanetCore();
package/README.zh-TW.md CHANGED
@@ -11,7 +11,7 @@ bun add @gravito/stasis
11
11
  ## 快速開始
12
12
 
13
13
  ```typescript
14
- import { PlanetCore } from 'gravito-core'
14
+ import { PlanetCore } from '@gravito/core'
15
15
  import orbitCache from '@gravito/stasis'
16
16
 
17
17
  const core = new PlanetCore()
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { PlanetCore, GravitoOrbit } from 'gravito-core';
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-core' {
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-core';
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-core' {
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-beta.6",
3
+ "version": "1.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "description": "Standard Cache Orbit for Galaxy Architecture",
8
- "module": "./dist/index.mjs",
9
- "main": "./dist/index.cjs",
8
+ "main": "dist/index.cjs",
9
+ "module": "dist/index.js",
10
10
  "type": "module",
11
- "types": "./dist/index.d.ts",
11
+ "types": "dist/index.d.ts",
12
12
  "exports": {
13
13
  ".": {
14
14
  "types": "./dist/index.d.ts",
15
- "import": "./dist/index.mjs",
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": "bun run build.ts",
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-core": "1.0.0-beta.6",
40
- "@gravito/plasma": "1.0.0-beta.6"
39
+ "@gravito/core": "workspace:*",
40
+ "@gravito/plasma": "workspace:*"
41
41
  },
42
42
  "devDependencies": {
43
- "@gravito/plasma": "1.0.0-beta.6",
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
+ }