@ctx-core/session 9.0.34 → 9.0.39

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,45 @@
1
1
  # @ctx-core/session
2
2
 
3
+ ## 9.0.39
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: error TS6059: \* is not under 'rootDir': package.json: types: ./dist/index.d.ts
8
+ - Updated dependencies
9
+ - @ctx-core/env@14.0.9
10
+
11
+ ## 9.0.38
12
+
13
+ ### Patch Changes
14
+
15
+ - tsconfig.json: "target": "ES2021"
16
+ - Updated dependencies
17
+ - @ctx-core/env@14.0.8
18
+
19
+ ## 9.0.37
20
+
21
+ ### Patch Changes
22
+
23
+ - package.json: "types": "./src/index.ts": better editing experience
24
+ - Updated dependencies
25
+ - @ctx-core/env@14.0.7
26
+
27
+ ## 9.0.36
28
+
29
+ ### Patch Changes
30
+
31
+ - fix: build
32
+ - Updated dependencies
33
+ - @ctx-core/env@14.0.6
34
+
35
+ ## 9.0.35
36
+
37
+ ### Patch Changes
38
+
39
+ - \*.d.ts export
40
+ - Updated dependencies
41
+ - @ctx-core/env@14.0.5
42
+
3
43
  ## 9.0.34
4
44
 
5
45
  ### Patch Changes
package/COMMIT_EDITMSG ADDED
@@ -0,0 +1,2 @@
1
+
2
+
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.39",
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.9"
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "compileOnSave": true,
3
3
  "compilerOptions": {
4
- "target": "ES2020",
4
+ "target": "ES2021",
5
5
  "composite": true,
6
6
  "declaration": true,
7
7
  "sourceMap": true,
@@ -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",