@ctx-core/window 12.0.4 → 12.0.9

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,60 @@
1
1
  # @ctx-core/window
2
2
 
3
+ ## 12.0.9
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/dom@11.0.48
10
+ - @ctx-core/function@20.2.20
11
+ - @ctx-core/object@22.0.8
12
+ - @ctx-core/store@27.0.55
13
+
14
+ ## 12.0.8
15
+
16
+ ### Patch Changes
17
+
18
+ - tsconfig.json: "target": "ES2021"
19
+ - Updated dependencies
20
+ - @ctx-core/dom@11.0.47
21
+ - @ctx-core/function@20.2.19
22
+ - @ctx-core/object@22.0.7
23
+ - @ctx-core/store@27.0.54
24
+
25
+ ## 12.0.7
26
+
27
+ ### Patch Changes
28
+
29
+ - package.json: "types": "./src/index.ts": better editing experience
30
+ - Updated dependencies
31
+ - @ctx-core/dom@11.0.46
32
+ - @ctx-core/function@20.2.18
33
+ - @ctx-core/object@22.0.6
34
+ - @ctx-core/store@27.0.53
35
+
36
+ ## 12.0.6
37
+
38
+ ### Patch Changes
39
+
40
+ - fix: build
41
+ - Updated dependencies
42
+ - @ctx-core/dom@11.0.45
43
+ - @ctx-core/function@20.2.17
44
+ - @ctx-core/object@22.0.5
45
+ - @ctx-core/store@27.0.52
46
+
47
+ ## 12.0.5
48
+
49
+ ### Patch Changes
50
+
51
+ - \*.d.ts export
52
+ - Updated dependencies
53
+ - @ctx-core/dom@11.0.44
54
+ - @ctx-core/function@20.2.16
55
+ - @ctx-core/object@22.0.4
56
+ - @ctx-core/store@27.0.51
57
+
3
58
  ## 12.0.4
4
59
 
5
60
  ### Patch Changes
@@ -0,0 +1,5 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Writable$ } from '@ctx-core/store';
3
+ export declare const hostname$_b: B<hostname$_T>;
4
+ export declare type hostname$_T = Writable$<string | undefined>;
5
+ export { hostname$_b as b__hostname };
@@ -0,0 +1,5 @@
1
+ export * from './hostname$_b.js';
2
+ export * from './pathname$_b.js';
3
+ export * from './window_location$_b.js';
4
+ export * from './window_location_hostname$_b.js';
5
+ export * from './window_location_pathname$_b.js';
@@ -0,0 +1,6 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Writable$ } from '@ctx-core/store';
3
+ export declare const pathname$_b: B<pathname$_T>;
4
+ export interface pathname$_T extends Writable$<string | undefined> {
5
+ }
6
+ export { pathname$_b as b__pathname };
@@ -0,0 +1,8 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Writable$ } from '@ctx-core/store';
3
+ export declare const window_location$_b: B<window_location$_T>;
4
+ export interface window_location$_T extends Writable$<Location | undefined> {
5
+ reset_window_location: () => void;
6
+ reset__location__window: () => void;
7
+ }
8
+ export { window_location$_b as b__location__window, };
@@ -0,0 +1,4 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Readable$ } from '@ctx-core/store';
3
+ export declare const window_location_hostname$_b: B<window_location_hostname$_T>;
4
+ export declare type window_location_hostname$_T = Readable$<string | undefined>;
@@ -0,0 +1,7 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Readable$ } from '@ctx-core/store';
3
+ export declare const window_location_pathname$_b: B<window_location_pathname$_T>;
4
+ export declare type window_location_pathname_T = string | undefined;
5
+ export interface window_location_pathname$_T extends Readable$<window_location_pathname_T> {
6
+ }
7
+ export { window_location_pathname$_b as window_location_pathname_b, window_location_pathname$_b as b__pathname__location__window, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/window",
3
- "version": "12.0.4",
3
+ "version": "12.0.9",
4
4
  "description": "ctx-core window",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -17,18 +17,18 @@
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/dom": "^11.0.43",
29
- "@ctx-core/function": "^20.2.15",
30
- "@ctx-core/object": "^22.0.3",
31
- "@ctx-core/store": "^27.0.50",
28
+ "@ctx-core/dom": "^11.0.48",
29
+ "@ctx-core/function": "^20.2.20",
30
+ "@ctx-core/object": "^22.0.8",
31
+ "@ctx-core/store": "^27.0.55",
32
32
  "svelte": "^3.44.3"
33
33
  },
34
34
  "devDependencies": {
@@ -44,8 +44,11 @@
44
44
  "svelte": "./dist/index.js",
45
45
  "scripts": {
46
46
  "build": "npm run compile",
47
- "clean": "rimraf dist",
48
- "compile": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
47
+ "clean": "rimraf dist && npm run clean_tsbuildinfo",
48
+ "clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
49
+ "compile": "npm run compile_source && npm run compile_declaration",
50
+ "compile_source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
51
+ "compile_declaration": "npm run clean_tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
49
52
  "exec": "$@"
50
53
  }
51
54
  }
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",