@guanghechen/config 1.0.0-alpha.14 → 1.0.0-alpha.15

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,20 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-alpha.15](https://github.com/guanghechen/sora/compare/@guanghechen/config@1.0.0-alpha.14...@guanghechen/config@1.0.0-alpha.15) (2024-02-03)
7
+
8
+ ### Performance Improvements
9
+
10
+ - 🔧 fix nx scripts
11
+ ([47bc4e6](https://github.com/guanghechen/sora/commit/47bc4e66df825cb37127219bccf60dc81d6a9b48))
12
+ - 🔧 update tsconfig
13
+ ([98855bc](https://github.com/guanghechen/sora/commit/98855bcc245d98c61217c5bafc6a1b2506b7824d))
14
+
15
+ # Change Log
16
+
17
+ All notable changes to this project will be documented in this file. See
18
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
19
+
6
20
  # [1.0.0-alpha.14](https://github.com/guanghechen/sora/compare/@guanghechen/config@1.0.0-alpha.13...@guanghechen/config@1.0.0-alpha.14) (2024-01-21)
7
21
 
8
22
  ### Performance Improvements
package/lib/cjs/index.cjs CHANGED
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
 
10
10
  var satisfies__default = /*#__PURE__*/_interopDefault(satisfies);
11
11
 
12
- const isProduction = process.env.NODE_ENV === 'production';
12
+ const isProduction = process.env['NODE_ENV'] === 'production';
13
13
  const prefix = 'Invariant failed';
14
14
  function invariant(condition, message) {
15
15
  if (condition)
package/lib/esm/index.mjs CHANGED
@@ -3,7 +3,7 @@ import satisfies from 'semver/functions/satisfies.js';
3
3
  import { createHash } from 'node:crypto';
4
4
  export * from '@guanghechen/config.types';
5
5
 
6
- const isProduction = process.env.NODE_ENV === 'production';
6
+ const isProduction = process.env['NODE_ENV'] === 'production';
7
7
  const prefix = 'Invariant failed';
8
8
  function invariant(condition, message) {
9
9
  if (condition)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/config",
3
- "version": "1.0.0-alpha.14",
3
+ "version": "1.0.0-alpha.15",
4
4
  "author": {
5
5
  "name": "guanghechen",
6
6
  "url": "https://github.com/guanghechen/"
@@ -8,10 +8,10 @@
8
8
  "description": "Utilities for defining config followed by semantic version.",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/guanghechen/sora/tree/@guanghechen/config@1.0.0-alpha.13",
11
+ "url": "https://github.com/guanghechen/sora/tree/@guanghechen/config@1.0.0-alpha.14",
12
12
  "directory": "packages/config"
13
13
  },
14
- "homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/config@1.0.0-alpha.13/packages/config#readme",
14
+ "homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/config@1.0.0-alpha.14/packages/config#readme",
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
@@ -34,19 +34,14 @@
34
34
  "LICENSE",
35
35
  "README.md"
36
36
  ],
37
- "scripts": {
38
- "build": "../../node_modules/.bin/rimraf lib/ && ../../node_modules/.bin/cross-env NODE_ENV=production ../../node_modules/.bin/rollup -c ../../rollup.config.mjs",
39
- "prepublishOnly": "yarn build",
40
- "test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
41
- },
42
37
  "dependencies": {
43
- "@guanghechen/byte": "^1.0.0-alpha.5",
44
- "@guanghechen/config.types": "^1.0.0-alpha.5",
45
- "@guanghechen/resource.types": "^1.0.0-alpha.4",
38
+ "@guanghechen/byte": "^1.0.0-alpha.6",
39
+ "@guanghechen/config.types": "^1.0.0-alpha.6",
40
+ "@guanghechen/resource.types": "^1.0.0-alpha.5",
46
41
  "semver": "^7.5.4"
47
42
  },
48
43
  "devDependencies": {
49
44
  "@guanghechen/internal": "^1.0.0-alpha.0"
50
45
  },
51
- "gitHead": "7df798c4579de2f64ddc74f238bc2a6ed1b40bb1"
46
+ "gitHead": "9c051a66df3f4dbd8eddd709046af0a975fdc702"
52
47
  }