@ctx-core/env 14.0.0 → 14.0.4

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,46 @@
1
1
  # @ctx-core/env
2
2
 
3
+ ## 14.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: tsconfig.json: "rootDir": "."
8
+ - Updated dependencies
9
+ - @ctx-core/error@11.1.12
10
+ - @ctx-core/function@20.2.15
11
+ - @ctx-core/object@22.0.3
12
+ - @ctx-core/store@27.0.50
13
+
14
+ ## 14.0.3
15
+
16
+ ### Patch Changes
17
+
18
+ - fix: package.json: exports
19
+ - Updated dependencies
20
+ - @ctx-core/error@11.1.11
21
+ - @ctx-core/function@20.2.14
22
+ - @ctx-core/object@22.0.2
23
+ - @ctx-core/store@27.0.49
24
+
25
+ ## 14.0.2
26
+
27
+ ### Patch Changes
28
+
29
+ - package.json: svelte: ./dist/index.js
30
+ - Updated dependencies
31
+ - @ctx-core/error@11.1.10
32
+ - @ctx-core/function@20.2.13
33
+ - @ctx-core/object@22.0.1
34
+ - @ctx-core/store@27.0.48
35
+
36
+ ## 14.0.1
37
+
38
+ ### Patch Changes
39
+
40
+ - svelte: 3.44.2 -> 3.44.3
41
+ - Updated dependencies
42
+ - @ctx-core/store@27.0.47
43
+
3
44
  ## 14.0.0
4
45
 
5
46
  ### Major Changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/throw_missing_env.ts"],"sourcesContent":["import { error_ctx_I, throw_error } from '@ctx-core/error'\n/**\n * Throws an error for for a missing env variable\n */\nexport function throw_missing_env(env_name: string) {\n\tconst error_message = `\n${env_name} environment variable not set.\ndev: make sure ${env_name} is set in your .env file\nheroku: make sure ${env_name} is set using \\`heroku config:set\\`\n\t`.trim()\n\tthrow_error({ error_message, type: 'missing_env' } as error_ctx_I)\n}\nexport {\n\tthrow_missing_env as throw__missing__env\n}\n"],"names":["throw_error","throw_missing_env","env_name","error_message","trim","type","throw__missing__env"],"mappings":"AAAA,MAAM,GAAgBA,WAAW,QAAQ,CAAiB;AAC1D,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,MAAM,UAAUC,iBAAiB,CAACC,QAAgB,EAAE,CAAC;IACpD,KAAK,CAACC,aAAa,IAAI,CACxB,EAAED,QAAQ,CAAC,8CACI,EAAEA,QAAQ,CAAC,4CACR,EAAEA,QAAQ,CAAC,qCAC5B,EAAEE,IAAI;IACNJ,WAAW,CAAC,CAAC;QAACG,aAAa;QAAEE,IAAI,EAAE,CAAa;IAAC,CAAC;AACnD,CAAC;AACD,MAAM,GACLJ,iBAAiB,IAAIK,mBAAmB"}
1
+ {"version":3,"sources":["../src/throw_missing_env.ts"],"sourcesContent":["import { error_ctx_I, throw_error } from '@ctx-core/error'\n/**\n * Throws an error for for a missing env variable\n */\nexport function throw_missing_env(env_name: string) {\n\tconst error_message = `\n${env_name} environment variable not set.\ndev: make sure ${env_name} is set in your .env file\nheroku: make sure ${env_name} is set using \\`heroku config:set\\`\n\t`.trim()\n\tthrow_error({ error_message, type: 'missing_env' } as error_ctx_I)\n}\nexport {\n\tthrow_missing_env as throw__missing__env\n}\n"],"names":["throw_error","throw_missing_env","env_name","error_message","trim","type","throw__missing__env"],"mappings":"AAAA,MAAM,GAAgBA,WAAW,QAAQ,CAAiB;AAC1D,EAEG,AAFH;;CAEG,AAFH,EAEG,CACH,MAAM,UAAUC,iBAAiB,CAACC,QAAgB,EAAE,CAAC;IACpD,KAAK,CAACC,aAAa,IAAI;AACxB,EAAED,QAAQ,CAAC;eACI,EAAEA,QAAQ,CAAC;kBACR,EAAEA,QAAQ,CAAC;CAC5B,EAAEE,IAAI;IACNJ,WAAW,CAAC,CAAC;QAACG,aAAa;QAAEE,IAAI,EAAE,CAAa;IAAC,CAAC;AACnD,CAAC;AACD,MAAM,GACLJ,iBAAiB,IAAIK,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/env",
3
- "version": "14.0.0",
3
+ "version": "14.0.4",
4
4
  "description": "ctx-core env",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -12,37 +12,39 @@
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/ctx-core/env/issues"
15
+ "url": "https://github.com/ctx-core/env.git"
16
16
  },
17
17
  "license": "Apache-2.0",
18
18
  "author": "Brian Takita",
19
19
  "type": "module",
20
- "types": "./src/index.ts",
21
20
  "exports": {
22
21
  ".": {
23
- "import": "./dist/index.js"
22
+ "import": "./dist/index.js",
23
+ "types": "./src/index.ts"
24
24
  },
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@ctx-core/error": "^11.1.9",
29
- "@ctx-core/function": "^20.2.12",
30
- "@ctx-core/object": "^22.0.0",
31
- "@ctx-core/store": "^27.0.46",
32
- "svelte": "3.44.2"
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",
32
+ "svelte": "^3.44.3"
33
33
  },
34
34
  "devDependencies": {
35
- "@swc/cli": "^0.1.52",
36
- "@swc/core": "^1.2.118",
35
+ "@swc/cli": "^0.1.55",
36
+ "@swc/core": "^1.2.120",
37
+ "rimraf": "^3.0.2",
37
38
  "typescript": "next"
38
39
  },
39
40
  "publishConfig": {
40
41
  "access": "public",
41
42
  "cache": "~/.npm"
42
43
  },
44
+ "svelte": "./dist/index.js",
43
45
  "scripts": {
44
46
  "build": "npm run compile",
45
- "clean": "rm -rf dist",
47
+ "clean": "rimraf dist",
46
48
  "compile": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
47
49
  "exec": "$@"
48
50
  }
package/tsconfig.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "../../node_modules/@types",
22
22
  "node_modules/@types"
23
23
  ],
24
- "rootDir": "src",
24
+ "rootDir": ".",
25
25
  "outDir": "dist",
26
26
  "mapRoot": "",
27
27
  "declarationDir": "dist",
package/COMMIT_EDITMSG DELETED
@@ -1 +0,0 @@
1
-