@ctx-core/core-js 11.0.33 → 11.0.38

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,51 @@
1
1
  # @ctx-core/core-js
2
2
 
3
+ ## 11.0.38
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/object@22.0.8
10
+ - @ctx-core/package@9.1.20
11
+
12
+ ## 11.0.37
13
+
14
+ ### Patch Changes
15
+
16
+ - tsconfig.json: "target": "ES2021"
17
+ - Updated dependencies
18
+ - @ctx-core/object@22.0.7
19
+ - @ctx-core/package@9.1.19
20
+
21
+ ## 11.0.36
22
+
23
+ ### Patch Changes
24
+
25
+ - package.json: "types": "./src/index.ts": better editing experience
26
+ - Updated dependencies
27
+ - @ctx-core/object@22.0.6
28
+ - @ctx-core/package@9.1.18
29
+
30
+ ## 11.0.35
31
+
32
+ ### Patch Changes
33
+
34
+ - fix: build
35
+ - Updated dependencies
36
+ - Updated dependencies
37
+ - @ctx-core/package@9.1.17
38
+ - @ctx-core/object@22.0.5
39
+
40
+ ## 11.0.34
41
+
42
+ ### Patch Changes
43
+
44
+ - \*.d.ts export
45
+ - Updated dependencies
46
+ - @ctx-core/object@22.0.4
47
+ - @ctx-core/package@9.1.16
48
+
3
49
  ## 11.0.33
4
50
 
5
51
  ### Patch Changes
@@ -0,0 +1 @@
1
+ export declare const CORE_JS_SHIM_URL: string;
@@ -0,0 +1,2 @@
1
+ export declare function CORE_JS_SHIM_URL_(): string;
2
+ export { CORE_JS_SHIM_URL_ as _CORE_JS_SHIM_URL, };
@@ -0,0 +1,2 @@
1
+ export declare function core_js_version_(): Promise<string>;
2
+ export { core_js_version_ as _core_js_version, };
@@ -0,0 +1,3 @@
1
+ export * from './CORE_JS_SHIM_URL.js';
2
+ export * from './CORE_JS_SHIM_URL_.js';
3
+ export * from './core_js_version_.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/core-js",
3
- "version": "11.0.33",
3
+ "version": "11.0.38",
4
4
  "description": "ctx-core core-js",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -17,16 +17,16 @@
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/object": "^22.0.3",
29
- "@ctx-core/package": "^9.1.15"
28
+ "@ctx-core/object": "^22.0.8",
29
+ "@ctx-core/package": "^9.1.20"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@swc/cli": "^0.1.55",
@@ -41,8 +41,11 @@
41
41
  "svelte": "./dist/index.js",
42
42
  "scripts": {
43
43
  "build": "npm run compile",
44
- "clean": "rimraf dist",
45
- "compile": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
44
+ "clean": "rimraf dist && npm run clean_tsbuildinfo",
45
+ "clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
46
+ "compile": "npm run compile_source && npm run compile_declaration",
47
+ "compile_source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
48
+ "compile_declaration": "npm run clean_tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
46
49
  "exec": "$@"
47
50
  }
48
51
  }
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",