@daiyam/artifact-vsx-ts 0.11.22 → 0.11.24
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/.artifactrc.yml
CHANGED
|
@@ -2,7 +2,10 @@ $schema: https://raw.githubusercontent.com/zokugun/artifact/v0.11.0/schemas/v3/p
|
|
|
2
2
|
|
|
3
3
|
upsert:
|
|
4
4
|
.github/scripts/get-changelog.js:
|
|
5
|
-
|
|
5
|
+
if_exists: remove
|
|
6
|
+
|
|
7
|
+
.github/scripts/get-changelog.cjs:
|
|
8
|
+
if_exists: remove
|
|
6
9
|
|
|
7
10
|
update:
|
|
8
11
|
CHANGELOG.md:
|
|
@@ -92,7 +92,7 @@ jobs:
|
|
|
92
92
|
- name: Get Changelog
|
|
93
93
|
if: env.RELEASE_EXISTS == 'no'
|
|
94
94
|
run: |
|
|
95
|
-
CHANGELOG_ENTRY=$(
|
|
95
|
+
CHANGELOG_ENTRY=$(npx @zokugun/extract-changelog get ${VERSION})
|
|
96
96
|
|
|
97
97
|
# Properly handle multiline output in GitHub Actions
|
|
98
98
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
package/configs/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
Changelog
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
All notable changes to this project will be documented in this file.
|
|
5
|
+
|
|
6
|
+
The format is based on [Keep a Changelog][keepachangelog], and this project adheres to [Semantic Versioning][semver].
|
|
7
|
+
|
|
8
|
+
[Unreleased]
|
|
9
|
+
------------
|
|
10
|
+
|
|
11
|
+
### Added
|
|
2
12
|
|
|
3
|
-
## v0.1.0 | #[[date.YYYY-MM-DD]]
|
|
4
13
|
- initial release
|
|
14
|
+
|
|
15
|
+
[keepachangelog]: https://keepachangelog.com/en/2.0.0/
|
|
16
|
+
[semver]: https://semver.org/spec/v2.0.0.html
|
|
17
|
+
[unreleased]: https://github.com/#[[vars.REPOSITORY_SLUG]]/compare/0.0.0...HEAD
|
package/configs/package.json
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"browser": "./lib/index.js",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "npm run clean && npm run compile:src && npm run bundle",
|
|
11
|
-
"clean": "rimraf out *.vsix",
|
|
11
|
+
"clean": "rimraf lib out *.vsix",
|
|
12
12
|
"package": "rimraf *.vsix && vsce package",
|
|
13
13
|
"release": "release-it",
|
|
14
14
|
"vscode:prepublish": "npm run build",
|
|
15
15
|
"watch:src": "tsc-watch -p src --onSuccess 'npm run bundle'"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@zokugun/fs-extra-plus": "0.
|
|
18
|
+
"@zokugun/fs-extra-plus": "0.6.1",
|
|
19
19
|
"@zokugun/is-it-type": "0.8.1",
|
|
20
|
-
"@zokugun/xtry": "0.
|
|
20
|
+
"@zokugun/xtry": "0.12.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/vscode": "1.56.0",
|
|
@@ -26,8 +26,11 @@
|
|
|
26
26
|
"tsc-watch": "7.2.1"
|
|
27
27
|
},
|
|
28
28
|
"overrides": {
|
|
29
|
+
"get-uri": {
|
|
30
|
+
"basic-ftp": "6.2.3"
|
|
31
|
+
},
|
|
29
32
|
"release-it": {
|
|
30
|
-
"undici": "7.
|
|
33
|
+
"undici": "7.30.1"
|
|
31
34
|
}
|
|
32
35
|
},
|
|
33
36
|
"allowScripts": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daiyam/artifact-vsx-ts",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.24",
|
|
4
4
|
"description": "The configuration to create Visual Studio extensions and publish them on Visual Studio Marketplace and Open VSX Registry.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Baptiste Augrain",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"project-template",
|
|
32
32
|
"scaffold"
|
|
33
33
|
],
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "49c03e0903ca14cc185a08b1271f630ba811d413"
|
|
35
35
|
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-console */
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
const fs = require('fs');
|
|
5
|
-
const path = require('path');
|
|
6
|
-
|
|
7
|
-
const EXIT_SUCCESS = 0;
|
|
8
|
-
const EXIT_FAILURE = 1;
|
|
9
|
-
|
|
10
|
-
// Get version from command line argument (with 'v' prefix)
|
|
11
|
-
const [,, version] = process.argv;
|
|
12
|
-
|
|
13
|
-
try {
|
|
14
|
-
const changelog = fs.readFileSync(path.join(process.cwd(), 'CHANGELOG.md'), 'utf8');
|
|
15
|
-
|
|
16
|
-
// Regular expression to match a version section with the date
|
|
17
|
-
// Matches from "## v0.8.1 | 2025-04-23" until the next ## or end of file
|
|
18
|
-
const versionRegex = new RegExp(`## ${version} \\| \\d{4}-\\d{2}-\\d{2}[^#]*(?=## |$)`, 's');
|
|
19
|
-
|
|
20
|
-
const match = changelog.match(versionRegex);
|
|
21
|
-
|
|
22
|
-
if(match) {
|
|
23
|
-
const [header] = match;
|
|
24
|
-
|
|
25
|
-
// Remove the version header and trim whitespace
|
|
26
|
-
const notes = header.replace(/^## v\d+\.\d+\.\d+ \| \d{4}-\d{2}-\d{2}\n/, '').trim();
|
|
27
|
-
|
|
28
|
-
console.log(notes);
|
|
29
|
-
process.exit(EXIT_SUCCESS);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
console.error(`No changelog entry found for version ${version}`);
|
|
33
|
-
process.exit(EXIT_FAILURE);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch(error) {
|
|
37
|
-
console.error('Error reading CHANGELOG.md:', error);
|
|
38
|
-
process.exit(EXIT_FAILURE);
|
|
39
|
-
}
|