@ctx-core/session 9.0.34 → 9.0.36

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,21 @@
1
1
  # @ctx-core/session
2
2
 
3
+ ## 9.0.36
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: build
8
+ - Updated dependencies
9
+ - @ctx-core/env@14.0.6
10
+
11
+ ## 9.0.35
12
+
13
+ ### Patch Changes
14
+
15
+ - \*.d.ts export
16
+ - Updated dependencies
17
+ - @ctx-core/env@14.0.5
18
+
3
19
  ## 9.0.34
4
20
 
5
21
  ### Patch Changes
package/dist/env.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const SESSION_KEY: string | void;
2
+ export { SESSION_KEY };
@@ -0,0 +1 @@
1
+ export * from './env.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/session",
3
- "version": "9.0.34",
3
+ "version": "9.0.36",
4
4
  "description": "ctx-core session",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -17,15 +17,15 @@
17
17
  "license": "Apache-2.0",
18
18
  "author": "Brian Takita",
19
19
  "type": "module",
20
+ "types": "./dist/index.d.ts",
20
21
  "exports": {
21
22
  ".": {
22
- "import": "./dist/index.js",
23
- "types": "./src/index.ts"
23
+ "import": "./dist/index.js"
24
24
  },
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@ctx-core/env": "^14.0.4"
28
+ "@ctx-core/env": "^14.0.6"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@swc/cli": "^0.1.55",
@@ -40,8 +40,11 @@
40
40
  "svelte": "./dist/index.js",
41
41
  "scripts": {
42
42
  "build": "npm run compile",
43
- "clean": "rimraf dist",
44
- "compile": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
43
+ "clean": "rimraf dist && npm run clean_tsbuildinfo",
44
+ "clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
45
+ "compile": "npm run compile_source && npm run compile_declaration",
46
+ "compile_source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
47
+ "compile_declaration": "npm run clean_tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
45
48
  "exec": "$@"
46
49
  }
47
50
  }
package/tsconfig.json CHANGED
@@ -21,9 +21,8 @@
21
21
  "../../node_modules/@types",
22
22
  "node_modules/@types"
23
23
  ],
24
- "rootDir": ".",
24
+ "rootDir": "src",
25
25
  "outDir": "dist",
26
- "mapRoot": "",
27
26
  "declarationDir": "dist",
28
27
  "lib": ["dom", "ESNext"],
29
28
  "importsNotUsedAsValues": "error",