@halospv3/hce.shared-config 2.6.4 → 2.6.6
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,28 @@
|
|
|
1
|
+
## [2.6.6](https://github.com/halospv3/hce.shared/compare/v2.6.5...v2.6.6) (2025-07-30)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **deps:** ponyfill `string.replaceAll`; add core-js ([e65882e](https://github.com/halospv3/hce.shared/commit/e65882eb176b904831d81362bd2553a7a04ffbdf))
|
|
6
|
+
* **deps:** update `semantic-release-export-data` to v1.1.0; force it to resolve `@actions/core` to ^1.11.1 ([66fec8e](https://github.com/halospv3/hce.shared/commit/66fec8ed6ec602215ae657a78de6a63b79fb2fde))
|
|
7
|
+
|
|
8
|
+
## [2.6.5](https://github.com/halospv3/hce.shared/compare/v2.6.4...v2.6.5) (2025-07-15)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **deps:** update dependency globals to v16 ([#431](https://github.com/halospv3/hce.shared/issues/431)) ([d7a440c](https://github.com/halospv3/hce.shared/commit/d7a440c19c1e28ec2678198df3ad60bcaae2ca90))
|
|
13
|
+
|
|
1
14
|
## [2.6.4](https://github.com/halospv3/hce.shared/compare/v2.6.3...v2.6.4) (2025-07-03)
|
|
2
15
|
|
|
16
|
+
## [2.6.4-develop.3](https://github.com/halospv3/hce.shared/compare/v2.6.4-develop.2...v2.6.4-develop.3) (2025-07-03)
|
|
17
|
+
|
|
18
|
+
## [2.6.4-develop.2](https://github.com/halospv3/hce.shared/compare/v2.6.4-develop.1...v2.6.4-develop.2) (2025-07-03)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **deps:** update dependency globals to v16 ([#431](https://github.com/halospv3/hce.shared/issues/431)) ([d7a440c](https://github.com/halospv3/hce.shared/commit/d7a440c19c1e28ec2678198df3ad60bcaae2ca90))
|
|
23
|
+
|
|
24
|
+
## [2.6.4-develop.1](https://github.com/halospv3/hce.shared/compare/v2.6.3...v2.6.4-develop.1) (2025-07-03)
|
|
25
|
+
|
|
3
26
|
## [2.6.3](https://github.com/halospv3/hce.shared/compare/v2.6.2...v2.6.3) (2025-07-02)
|
|
4
27
|
|
|
5
28
|
### Bug Fixes
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require('core-js/stable/string/replace-all');
|
|
3
4
|
const node_child_process = require('node:child_process');
|
|
4
5
|
const node_fs = require('node:fs');
|
|
5
6
|
const path = require('node:path');
|
|
6
7
|
const tmp = require('tmp');
|
|
8
|
+
|
|
9
|
+
/// <reference lib="ES2021.string" />
|
|
7
10
|
function createDummyNupkg() {
|
|
8
11
|
const dirResult = tmp.dirSync({
|
|
9
12
|
unsafeCleanup: true
|
|
@@ -18,7 +21,7 @@ function createDummyNupkg() {
|
|
|
18
21
|
};
|
|
19
22
|
node_child_process.execSync('dotnet new console --name DUMMY', options);
|
|
20
23
|
const packOut = node_child_process.execSync(`dotnet pack DUMMY --configuration Release --output ${path.dirname(dummyPkgFullPath)}`, options);
|
|
21
|
-
const createdLine = packOut.
|
|
24
|
+
const createdLine = packOut.replaceAll('\r', '').split('\n').find(line => line.includes('Successfully created package'))?.trim();
|
|
22
25
|
if (!node_fs.existsSync(dummyPkgFullPath)) throw new Error(`The dummy nupkg was created, but could not be found at ${dummyPkgFullPath}. See '${createdLine}'.`);
|
|
23
26
|
return dummyPkgFullPath;
|
|
24
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDummyNupkg.cjs","sources":["../../src/dotnet/createDummyNupkg.ts"],"sourcesContent":null,"names":["dirSync","join","existsSync","unlinkSync","execSync","dirname"],"mappings":"
|
|
1
|
+
{"version":3,"file":"createDummyNupkg.cjs","sources":["../../src/dotnet/createDummyNupkg.ts"],"sourcesContent":null,"names":["dirSync","join","existsSync","unlinkSync","execSync","dirname"],"mappings":";;;;;;;;AAAA;AAMO,SAAS,gBAAgB,GAAG;AACnC,EAAE,MAAM,SAAS,GAAGA,WAAO,CAAC;AAC5B,IAAI,aAAa,EAAE;AACnB,GAAG,CAAC;AACJ,EAAE,MAAM,gBAAgB,GAAGC,SAAI,CAAC,SAAS,CAAC,IAAI,EAAE,mBAAmB,CAAC;;AAEpE;AACA,EAAE,IAAIC,kBAAU,CAAC,gBAAgB,CAAC,EAAEC,kBAAU,CAAC,gBAAgB,CAAC;AAChE,EAAE,MAAM,OAAO,GAAG;AAClB,IAAI,GAAG,EAAE,SAAS,CAAC,IAAI;AACvB,IAAI,QAAQ,EAAE;AACd,GAAG;AACH,EAAEC,2BAAQ,CAAC,iCAAiC,EAAE,OAAO,CAAC;AACtD,EAAE,MAAM,OAAO,GAAGA,2BAAQ,CAAC,CAAC,mDAAmD,EAAEC,YAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC;AACtH,EAAE,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC,EAAE,IAAI,EAAE;AAClI,EAAE,IAAI,CAACH,kBAAU,CAAC,gBAAgB,CAAC,EAAE,MAAM,IAAI,KAAK,CAAC,CAAC,uDAAuD,EAAE,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,CAAC,CAAC;AACzJ,EAAE,OAAO,gBAAgB;AACzB;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDummyNupkg.d.ts","sourceRoot":"","sources":["../../src/dotnet/createDummyNupkg.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createDummyNupkg.d.ts","sourceRoot":"","sources":["../../src/dotnet/createDummyNupkg.ts"],"names":[],"mappings":"AACA,OAAO,mCAAmC,CAAC;AAM3C,wBAAgB,gBAAgB,IAAI,MAAM,CAwBzC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@halospv3/hce.shared-config",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.6",
|
|
4
4
|
"description": "Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"halo",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"format": "prettier --write",
|
|
40
40
|
"lint": "eslint --cache --fix .",
|
|
41
41
|
"eslint-inspector": "eslint --inspect-config",
|
|
42
|
-
"
|
|
42
|
+
"prepack": "packemon pack --addExports --addFiles --declaration --loadConfigs && npm run validate",
|
|
43
43
|
"prepare": "husky",
|
|
44
44
|
"presemantic-release": "npm run pack && npm run check",
|
|
45
45
|
"semantic-release": "npx semantic-release",
|
|
@@ -66,14 +66,15 @@
|
|
|
66
66
|
"@types/node": "^20.12.12",
|
|
67
67
|
"@types/semantic-release": "^20.0.6",
|
|
68
68
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
69
|
+
"core-js": "^3.44.0",
|
|
69
70
|
"debug": "^4.3.4",
|
|
70
71
|
"eslint-plugin-jsonc": "^2.15.1",
|
|
71
|
-
"globals": "^
|
|
72
|
+
"globals": "^16.0.0",
|
|
72
73
|
"husky": "^9.0.11",
|
|
73
74
|
"js-yaml": "^4.1.0",
|
|
74
75
|
"node-fetch": "^3.3.2",
|
|
75
76
|
"semantic-release": "^24.0.0",
|
|
76
|
-
"semantic-release-export-data": "^1.0
|
|
77
|
+
"semantic-release-export-data": "^1.1.0",
|
|
77
78
|
"typescript-eslint": "^8.35.1"
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
|
@@ -81,13 +82,13 @@
|
|
|
81
82
|
"@babel/core": "^7.24.6",
|
|
82
83
|
"@babel/eslint-parser": "^7.24.6",
|
|
83
84
|
"@eslint/eslintrc": "^3.1.0",
|
|
84
|
-
"@tsconfig/node-lts": "^
|
|
85
|
+
"@tsconfig/node-lts": "^22.0.0",
|
|
85
86
|
"@types/babel__core": "^7.20.5",
|
|
86
87
|
"@types/debug": "^4.1.12",
|
|
87
88
|
"@types/tmp": "^0.2.6",
|
|
88
89
|
"ajv": "^8.13.0",
|
|
89
90
|
"ajv-draft-04": "^1.0.0",
|
|
90
|
-
"dotenv": "^
|
|
91
|
+
"dotenv": "^17.0.0",
|
|
91
92
|
"eslint": "^9.0.0",
|
|
92
93
|
"node-fetch": "^3.3.2",
|
|
93
94
|
"packemon": "^4.0.1",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference lib="ES2021.string" />
|
|
2
|
+
import 'core-js/stable/string/replace-all';
|
|
1
3
|
import { execSync, type ExecSyncOptionsWithStringEncoding } from 'node:child_process';
|
|
2
4
|
import { existsSync, unlinkSync } from 'node:fs';
|
|
3
5
|
import { dirname, join } from 'node:path';
|
|
@@ -19,7 +21,7 @@ export function createDummyNupkg(): string {
|
|
|
19
21
|
execSync('dotnet new console --name DUMMY', options);
|
|
20
22
|
const packOut = execSync(`dotnet pack DUMMY --configuration Release --output ${dirname(dummyPkgFullPath)}`, options);
|
|
21
23
|
|
|
22
|
-
const createdLine = packOut.
|
|
24
|
+
const createdLine = packOut.replaceAll('\r', '')
|
|
23
25
|
.split('\n')
|
|
24
26
|
.find(line => line.includes('Successfully created package'))?.trim();
|
|
25
27
|
|