@alwatr/env 1.0.0 → 5.0.0

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
@@ -3,6 +3,32 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 5.0.0 (2024-11-02)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
11
+
12
+ ### Bug Fixes
13
+
14
+ * **env:** package.json path ([fff643d](https://github.com/Alwatr/nanolib/commit/fff643d949340e84509502e62b2587d03a47e034)) by @
15
+
16
+ ### Code Refactoring
17
+
18
+ * **env:** rename package and function ([6d72576](https://github.com/Alwatr/nanolib/commit/6d72576576964ba4bf3bdc5767e14d9293f941c9)) by @
19
+ * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
20
+
21
+ ### Dependencies update
22
+
23
+ * bump the development-dependencies group across 1 directory with 2 updates ([2dfda9e](https://github.com/Alwatr/nanolib/commit/2dfda9ec38a595f1fd961490d1a2fbf060f20a66)) by @
24
+ * update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @
25
+
26
+ ## [1.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/env@1.0.0...@alwatr/env@1.0.1) (2024-11-02)
27
+
28
+ ### Dependencies update
29
+
30
+ * update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @AliMD
31
+
6
32
  ## 1.0.0 (2024-10-25)
7
33
 
8
34
  ### Bug Fixes
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/env v1.0.0 */
1
+ /* @alwatr/env v5.0.0 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -26,7 +26,7 @@ __export(main_exports, {
26
26
  module.exports = __toCommonJS(main_exports);
27
27
  var import_package_tracer = require("@alwatr/package-tracer");
28
28
  var import_platform_info = require("@alwatr/platform-info");
29
- __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/env", "1.0.0");
29
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/env", "5.0.0");
30
30
  function getEnv(option) {
31
31
  let value = process.env[option.name];
32
32
  if (value === "") value = void 0;
package/dist/main.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* @alwatr/env v1.0.0 */
1
+ /* @alwatr/env v5.0.0 */
2
2
 
3
3
  // src/main.ts
4
4
  import { packageTracer } from "@alwatr/package-tracer";
5
5
  import { platformInfo } from "@alwatr/platform-info";
6
- __dev_mode__: packageTracer.add("@alwatr/env", "1.0.0");
6
+ __dev_mode__: packageTracer.add("@alwatr/env", "5.0.0");
7
7
  function getEnv(option) {
8
8
  let value = process.env[option.name];
9
9
  if (value === "") value = void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/env",
3
- "version": "1.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "A tiny and tree-shakable TypeScript library to get environment variables with type-safe and fallback value for development and production.",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -67,16 +67,16 @@
67
67
  "clean": "rm -rfv dist *.tsbuildinfo"
68
68
  },
69
69
  "dependencies": {
70
- "@alwatr/package-tracer": "^1.0.7",
71
- "@alwatr/platform-info": "^1.2.7"
70
+ "@alwatr/package-tracer": "^5.0.0",
71
+ "@alwatr/platform-info": "^5.0.0"
72
72
  },
73
73
  "devDependencies": {
74
- "@alwatr/nano-build": "^2.0.3",
75
- "@alwatr/prettier-config": "^1.0.6",
76
- "@alwatr/tsconfig-base": "^1.3.3",
77
- "@alwatr/type-helper": "^2.0.3",
78
- "@types/node": "^22.8.0",
74
+ "@alwatr/nano-build": "^5.0.0",
75
+ "@alwatr/prettier-config": "^5.0.0",
76
+ "@alwatr/tsconfig-base": "^5.0.0",
77
+ "@alwatr/type-helper": "^5.0.0",
78
+ "@types/node": "^22.8.6",
79
79
  "typescript": "^5.6.3"
80
80
  },
81
- "gitHead": "a1e430a02f9a5711fc43f19012091bcd8806c4f9"
81
+ "gitHead": "7d12943fafa8ef50636346e66ff56c50e2fd0c72"
82
82
  }