@guanghechen/config 1.0.0-alpha.14 → 1.0.0-alpha.16
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 +26 -0
- package/lib/cjs/index.cjs +1 -1
- package/lib/esm/index.mjs +1 -1
- package/package.json +8 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,32 @@
|
|
|
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.16](https://github.com/guanghechen/sora/compare/@guanghechen/config@1.0.0-alpha.15...@guanghechen/config@1.0.0-alpha.16) (2024-03-09)
|
|
7
|
+
|
|
8
|
+
### Performance Improvements
|
|
9
|
+
|
|
10
|
+
- 🔧 fix config
|
|
11
|
+
([214a842](https://github.com/guanghechen/sora/commit/214a84231af7614dc46990b01ee8cfff44c6f20c))
|
|
12
|
+
|
|
13
|
+
# Change Log
|
|
14
|
+
|
|
15
|
+
All notable changes to this project will be documented in this file. See
|
|
16
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
17
|
+
|
|
18
|
+
# [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)
|
|
19
|
+
|
|
20
|
+
### Performance Improvements
|
|
21
|
+
|
|
22
|
+
- 🔧 fix nx scripts
|
|
23
|
+
([47bc4e6](https://github.com/guanghechen/sora/commit/47bc4e66df825cb37127219bccf60dc81d6a9b48))
|
|
24
|
+
- 🔧 update tsconfig
|
|
25
|
+
([98855bc](https://github.com/guanghechen/sora/commit/98855bcc245d98c61217c5bafc6a1b2506b7824d))
|
|
26
|
+
|
|
27
|
+
# Change Log
|
|
28
|
+
|
|
29
|
+
All notable changes to this project will be documented in this file. See
|
|
30
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
31
|
+
|
|
6
32
|
# [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
33
|
|
|
8
34
|
### 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
|
|
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
|
|
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.
|
|
3
|
+
"version": "1.0.0-alpha.16",
|
|
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.
|
|
11
|
+
"url": "https://github.com/guanghechen/sora/tree/@guanghechen/config@1.0.0-alpha.15",
|
|
12
12
|
"directory": "packages/config"
|
|
13
13
|
},
|
|
14
|
-
"homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/config@1.0.0-alpha.
|
|
14
|
+
"homepage": "https://github.com/guanghechen/sora/tree/@guanghechen/config@1.0.0-alpha.15/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.
|
|
44
|
-
"@guanghechen/config.types": "^1.0.0-alpha.
|
|
45
|
-
"@guanghechen/resource.types": "^1.0.0-alpha.
|
|
46
|
-
"semver": "^7.
|
|
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",
|
|
41
|
+
"semver": "^7.6.0"
|
|
47
42
|
},
|
|
48
43
|
"devDependencies": {
|
|
49
44
|
"@guanghechen/internal": "^1.0.0-alpha.0"
|
|
50
45
|
},
|
|
51
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "8f4595ed8e3b21ac509a16aeb52cbb686636d9f0"
|
|
52
47
|
}
|