@ctx-core/session 9.0.31 → 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,45 @@
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
+
19
+ ## 9.0.34
20
+
21
+ ### Patch Changes
22
+
23
+ - fix: tsconfig.json: "rootDir": "."
24
+ - Updated dependencies
25
+ - @ctx-core/env@14.0.4
26
+
27
+ ## 9.0.33
28
+
29
+ ### Patch Changes
30
+
31
+ - fix: package.json: exports
32
+ - Updated dependencies
33
+ - @ctx-core/env@14.0.3
34
+
35
+ ## 9.0.32
36
+
37
+ ### Patch Changes
38
+
39
+ - package.json: svelte: ./dist/index.js
40
+ - Updated dependencies
41
+ - @ctx-core/env@14.0.2
42
+
3
43
  ## 9.0.31
4
44
 
5
45
  ### 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.31",
3
+ "version": "9.0.36",
4
4
  "description": "ctx-core session",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -12,12 +12,12 @@
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/ctx-core/session/issues"
15
+ "url": "https://github.com/ctx-core/session.git"
16
16
  },
17
17
  "license": "Apache-2.0",
18
18
  "author": "Brian Takita",
19
19
  "type": "module",
20
- "types": "./src/index.ts",
20
+ "types": "./dist/index.d.ts",
21
21
  "exports": {
22
22
  ".": {
23
23
  "import": "./dist/index.js"
@@ -25,21 +25,26 @@
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@ctx-core/env": "^14.0.0"
28
+ "@ctx-core/env": "^14.0.6"
29
29
  },
30
30
  "devDependencies": {
31
- "@swc/cli": "^0.1.52",
32
- "@swc/core": "^1.2.118",
31
+ "@swc/cli": "^0.1.55",
32
+ "@swc/core": "^1.2.120",
33
+ "rimraf": "^3.0.2",
33
34
  "typescript": "next"
34
35
  },
35
36
  "publishConfig": {
36
37
  "access": "public",
37
38
  "cache": "~/.npm"
38
39
  },
40
+ "svelte": "./dist/index.js",
39
41
  "scripts": {
40
42
  "build": "npm run compile",
41
- "clean": "rm -rf dist",
42
- "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",
43
48
  "exec": "$@"
44
49
  }
45
50
  }
package/tsconfig.json CHANGED
@@ -23,7 +23,6 @@
23
23
  ],
24
24
  "rootDir": "src",
25
25
  "outDir": "dist",
26
- "mapRoot": "",
27
26
  "declarationDir": "dist",
28
27
  "lib": ["dom", "ESNext"],
29
28
  "importsNotUsedAsValues": "error",
package/COMMIT_EDITMSG DELETED
@@ -1 +0,0 @@
1
-