Skip to content

Commit ee006e6

Browse files
committed
prepare v1 release
use node16
1 parent 7188c7a commit ee006e6

File tree

10 files changed

+6113
-94
lines changed

10 files changed

+6113
-94
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- macos-latest
2525
- windows-latest
2626
node:
27-
- 14
27+
- 16
2828
steps:
2929
- name: Checkout Source
3030
uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22
All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Unreleased
88

9+
[All Changes](https://github.com/HaaLeo/publish-vscode-extension/compare/v1.0.0...master)
10+
11+
## [v1.0.0](https://github.com/HaaLeo/publish-vscode-extension/tree/v1.0.0)
12+
913
### Added
10-
* Adds `--pre-release` functionality for `vsce` Issue [#16](https://github.com/HaaLeo/publish-vscode-extension/issues/16).
14+
* Adds `--pre-release` functionality for `vsce`. Issue [#16](https://github.com/HaaLeo/publish-vscode-extension/issues/16). Contributed by [@gnikit](https://github.com/gnikit).
1115

12-
[All Changes](https://github.com/HaaLeo/publish-vscode-extension/compare/v0.4.2...master)
16+
[All Changes](https://github.com/HaaLeo/publish-vscode-extension/compare/v0.4.2...v1.0.0)
1317

1418
## [v0.4.2](https://github.com/HaaLeo/publish-vscode-extension/tree/v0.4.2) 2021-06-26
1519

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ It would be a shame to reject a PR with your awesome work just because somebody
3737
First you need to fork the repo, clone it and install all dependencies.
3838

3939
```zsh
40+
# Use node v16
41+
nvm install 16
42+
4043
# Clone the repository
4144
git clone [email protected]:yourUserName/publish-vscode-extension.git
4245
cd publish-vscode-extension

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
GitHub action to publish your VS Code Extension to the [Open VSX Registry](https://open-vsx.org/) or the [Visual Studio Marketplace](https://marketplace.visualstudio.com).
99

10+
> All breaking changes of **v1** are listed in the [changelog](CHANGELOG.md#changelog)
11+
1012
## Usage
1113

1214
To use the GitHub Action, just [reference the action](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#referencing-actions-in-your-workflow) in your workflow file.
@@ -29,7 +31,7 @@ jobs:
2931
- uses: actions/checkout@v2
3032
- uses: actions/setup-node@v1
3133
with:
32-
node-version: 14
34+
node-version: 16
3335
- run: npm ci
3436
- name: Publish to Open VSX Registry
3537
uses: HaaLeo/publish-vscode-extension@v1

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ outputs:
5252
description: The path to the packaged and published VSIX file.
5353

5454
runs:
55-
using: 'node12'
55+
using: 'node16'
5656
main: 'dist/index.js'

dist/index.js

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129100,7 +129100,7 @@ function _getPackageName(packagePath) {
129100129100

129101129101
/***/ }),
129102129102

129103-
/***/ 6144:
129103+
/***/ 399:
129104129104
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
129105129105

129106129106
"use strict";
@@ -129115,6 +129115,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
129115129115
});
129116129116
};
129117129117
Object.defineProperty(exports, "__esModule", ({ value: true }));
129118+
exports.main = void 0;
129118129119
const core = __nccwpck_require__(2186);
129119129120
const packageJSON = __nccwpck_require__(4147);
129120129121
const createPackage_1 = __nccwpck_require__(5325);
@@ -129141,6 +129142,7 @@ function main() {
129141129142
}
129142129143
});
129143129144
}
129145+
exports.main = main;
129144129146
function _errorHandler(error) {
129145129147
const message = error.stack || error.message || String(error);
129146129148
core.setFailed(message);
@@ -129165,7 +129167,6 @@ function _getInputs() {
129165129167
preRelease: core.getInput('preRelease') === 'true',
129166129168
};
129167129169
}
129168-
void main();
129169129170

129170129171

129171129172
/***/ }),
@@ -131646,7 +131647,7 @@ module.exports = JSON.parse('{"application/andrew-inset":["ez"],"application/app
131646131647
/***/ ((module) => {
131647131648

131648131649
"use strict";
131649-
module.exports = JSON.parse('{"name":"publish-vscode-extension","version":"0.4.2","description":"GitHub action to publish your VS Code Extension to the Open VSX Registry.","main":"dist/index.js","scripts":{"test":"nyc mocha \'out/test/**/*.test.js\'","coverage":"nyc report --reporter=lcov","build":"npm run build:ncc && npm run build:test","build:ncc":"ncc build src/index.ts --source-map --no-source-map-register","build:test":"tsc -p tsconfig.json","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/HaaLeo/publish-vscode-extension.git"},"keywords":["github","action","open","vsx","vscode","publish","Visual Studio Code"],"author":{"name":"HaaLeo","url":"https://github.com/HaaLeo"},"license":"SEE LICENSE IN LICENSE.txt","bugs":{"url":"https://github.com/HaaLeo/publish-vscode-extension/issues"},"homepage":"https://github.com/HaaLeo/publish-vscode-extension#readme","dependencies":{"@actions/core":"^1.6.0","ovsx":"^0.2.1","vsce":"^2.5.1"},"devDependencies":{"@types/chai":"^4.3.0","@types/chai-as-promised":"^7.1.4","@types/mocha":"^8.2.3","@types/node":"^12.20.37","@types/sinon":"^10.0.6","@types/sinon-chai":"^3.2.6","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","@vercel/ncc":"^0.33.0","chai":"^4.3.4","chai-as-promised":"^7.1.1","eslint":"^8.4.1","eslint-plugin-import":"^2.25.3","eslint-plugin-prefer-arrow":"^1.2.3","mocha":"^9.1.3","nyc":"^15.1.0","sinon":"^12.0.1","sinon-chai":"^3.7.0","typescript":"^4.5.4"}}');
131650+
module.exports = JSON.parse('{"name":"publish-vscode-extension","version":"1.0.0","description":"GitHub action to publish your VS Code Extension to the Open VSX Registry.","main":"dist/index.js","scripts":{"test":"nyc mocha \'out/test/**/*.test.js\'","coverage":"nyc report --reporter=lcov","build":"npm run build:ncc && npm run build:test","build:ncc":"ncc build src/index.ts --source-map --no-source-map-register","build:test":"tsc -p tsconfig.json","lint":"eslint . --ext .ts"},"repository":{"type":"git","url":"git+https://github.com/HaaLeo/publish-vscode-extension.git"},"keywords":["github","action","open","vsx","vscode","publish","Visual Studio Code"],"author":{"name":"HaaLeo","url":"https://github.com/HaaLeo"},"license":"SEE LICENSE IN LICENSE.txt","bugs":{"url":"https://github.com/HaaLeo/publish-vscode-extension/issues"},"homepage":"https://github.com/HaaLeo/publish-vscode-extension#readme","dependencies":{"@actions/core":"^1.6.0","ovsx":"^0.2.1","vsce":"^2.5.1"},"devDependencies":{"@types/chai":"^4.3.0","@types/chai-as-promised":"^7.1.4","@types/mocha":"^9.0.0","@types/node":"^14.14.31","@types/sinon":"^10.0.6","@types/sinon-chai":"^3.2.6","@typescript-eslint/eslint-plugin":"^5.7.0","@typescript-eslint/parser":"^5.7.0","@vercel/ncc":"^0.33.0","chai":"^4.3.4","chai-as-promised":"^7.1.1","eslint":"^8.4.1","eslint-plugin-import":"^2.25.3","eslint-plugin-prefer-arrow":"^1.2.3","mocha":"^9.1.3","nyc":"^15.1.0","sinon":"^12.0.1","sinon-chai":"^3.7.0","typescript":"^4.5.4"}}');
131650131651

131651131652
/***/ })
131652131653

@@ -131700,13 +131701,19 @@ module.exports = JSON.parse('{"name":"publish-vscode-extension","version":"0.4.2
131700131701
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
131701131702
/******/
131702131703
/************************************************************************/
131703-
/******/
131704-
/******/ // startup
131705-
/******/ // Load entry module and return exports
131706-
/******/ // This entry module is referenced by other modules so it can't be inlined
131707-
/******/ var __webpack_exports__ = __nccwpck_require__(6144);
131708-
/******/ module.exports = __webpack_exports__;
131709-
/******/
131704+
var __webpack_exports__ = {};
131705+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
131706+
(() => {
131707+
"use strict";
131708+
var exports = __webpack_exports__;
131709+
131710+
Object.defineProperty(exports, "__esModule", ({ value: true }));
131711+
const main_1 = __nccwpck_require__(399);
131712+
void (0, main_1.main)();
131713+
131714+
})();
131715+
131716+
module.exports = __webpack_exports__;
131710131717
/******/ })()
131711131718
;
131712131719
//# sourceMappingURL=index.js.map

0 commit comments

Comments
 (0)