@ctx-core/env 14.0.4 → 14.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/env
2
2
 
3
+ ## 14.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/error@11.1.17
10
+ - @ctx-core/function@20.2.20
11
+ - @ctx-core/object@22.0.8
12
+ - @ctx-core/store@27.0.55
13
+
14
+ ## 14.0.8
15
+
16
+ ### Patch Changes
17
+
18
+ - tsconfig.json: "target": "ES2021"
19
+ - Updated dependencies
20
+ - @ctx-core/error@11.1.16
21
+ - @ctx-core/function@20.2.19
22
+ - @ctx-core/object@22.0.7
23
+ - @ctx-core/store@27.0.54
24
+
25
+ ## 14.0.7
26
+
27
+ ### Patch Changes
28
+
29
+ - package.json: "types": "./src/index.ts": better editing experience
30
+ - Updated dependencies
31
+ - @ctx-core/error@11.1.15
32
+ - @ctx-core/function@20.2.18
33
+ - @ctx-core/object@22.0.6
34
+ - @ctx-core/store@27.0.53
35
+
36
+ ## 14.0.6
37
+
38
+ ### Patch Changes
39
+
40
+ - fix: build
41
+ - Updated dependencies
42
+ - @ctx-core/error@11.1.14
43
+ - @ctx-core/function@20.2.17
44
+ - @ctx-core/object@22.0.5
45
+ - @ctx-core/store@27.0.52
46
+
47
+ ## 14.0.5
48
+
49
+ ### Patch Changes
50
+
51
+ - \*.d.ts export
52
+ - Updated dependencies
53
+ - @ctx-core/error@11.1.13
54
+ - @ctx-core/function@20.2.16
55
+ - @ctx-core/object@22.0.4
56
+ - @ctx-core/store@27.0.51
57
+
3
58
  ## 14.0.4
4
59
 
5
60
  ### Patch Changes
package/COMMIT_EDITMSG ADDED
@@ -0,0 +1,2 @@
1
+
2
+
@@ -0,0 +1,7 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Writable$ } from '@ctx-core/store';
3
+ export declare const CACHE_VERSION$_b: B<CACHE_VERSION$_T>;
4
+ export declare type CACHE_VERSION_T = false | string;
5
+ export interface CACHE_VERSION$_T extends Writable$<CACHE_VERSION_T> {
6
+ }
7
+ export { CACHE_VERSION$_b as b__CACHE_VERSION, };
@@ -0,0 +1,7 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Writable$ } from '@ctx-core/store';
3
+ export declare const NODE_ENV$_b: B<NODE_ENV$_T>;
4
+ export declare type NODE_ENV_T = string;
5
+ export interface NODE_ENV$_T extends Writable$<NODE_ENV_T> {
6
+ }
7
+ export { NODE_ENV$_b as b__NODE_ENV };
@@ -0,0 +1,7 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Writable$ } from '@ctx-core/store';
3
+ export declare const VERSION$_b: B<VERSION$_T>;
4
+ export declare type VERSION_T = string;
5
+ export interface VERSION$_T extends Writable$<VERSION_T> {
6
+ }
7
+ export { VERSION$_b as b__VERSION, };
@@ -0,0 +1,7 @@
1
+ export * from './CACHE_VERSION$_b.js';
2
+ export * from './is_development$_b.js';
3
+ export * from './is_production$_b.js';
4
+ export * from './is_staging$_b.js';
5
+ export * from './NODE_ENV$_b.js';
6
+ export * from './throw_missing_env.js';
7
+ export * from './VERSION$_b.js';
@@ -0,0 +1,7 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Readable$ } from '@ctx-core/store';
3
+ export declare const is_development$_b: B<is_development$_T>;
4
+ export declare type is_development_T = boolean;
5
+ export interface is_development$_T extends Readable$<is_development_T> {
6
+ }
7
+ export { is_development$_b as b__is__development };
@@ -0,0 +1,7 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Readable$ } from '@ctx-core/store';
3
+ export declare const is_production$_b: B<is_production$_T>;
4
+ export declare type is_production_T = boolean;
5
+ export interface is_production$_T extends Readable$<is_production_T> {
6
+ }
7
+ export { is_production$_b as b__is__production };
@@ -0,0 +1,7 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Readable$ } from '@ctx-core/store';
3
+ export declare const is_staging$_b: B<is_staging$_T>;
4
+ export declare type is_staging_T = boolean;
5
+ export interface is_staging$_T extends Readable$<is_staging_T> {
6
+ }
7
+ export { is_staging$_b as b__is__staging };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Throws an error for for a missing env variable
3
+ */
4
+ export declare function throw_missing_env(env_name: string): void;
5
+ export { throw_missing_env as throw__missing__env };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/env",
3
- "version": "14.0.4",
3
+ "version": "14.0.9",
4
4
  "description": "ctx-core env",
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/error": "^11.1.12",
29
- "@ctx-core/function": "^20.2.15",
30
- "@ctx-core/object": "^22.0.3",
31
- "@ctx-core/store": "^27.0.50",
28
+ "@ctx-core/error": "^11.1.17",
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",