semantic-release-vsce 5.5.6 → 5.5.7

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.
@@ -11,6 +11,6 @@ jobs:
11
11
  validate-pr-title:
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
- - uses: amannn/action-semantic-pull-request@v5.0.2
14
+ - uses: amannn/action-semantic-pull-request@v5.2.0
15
15
  env:
16
16
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/README.md CHANGED
@@ -96,6 +96,23 @@ Which `.vsix` file (or files) to publish. This controls what value will be used
96
96
  | `VSCE_TARGET` | _Optional_. The target to use when packaging or publishing the extension (used as `vsce package --target ${VSCE_TARGET}`). When set to `universal`, behave as if `VSCE_TARGET` was not set (i.e. build the universal/generic `vsix`). See [the platform-specific example](#platform-specific-on-github-actions) |
97
97
  | `OVSX_PAT` | _Optional_. The personal access token to push to OpenVSX |
98
98
 
99
+ ### Configuring `vsce`
100
+
101
+ You can set `vsce` options in the `package.json`, like:
102
+
103
+ ```jsonc
104
+ // package.json
105
+ {
106
+ "vsce": {
107
+ "baseImagesUrl": "https://my.custom/base/images/url"
108
+ "dependencies": true,
109
+ "yarn": false
110
+ }
111
+ }
112
+ ```
113
+
114
+ For more information, check the [`vsce` docs](https://github.com/microsoft/vscode-vsce#configuration).
115
+
99
116
  ### Publishing to OpenVSX
100
117
 
101
118
  Publishing extensions to OpenVSX using this plugin is easy:
package/index.js CHANGED
@@ -56,8 +56,8 @@ async function publish(
56
56
 
57
57
  if (pluginConfig?.publishPackagePath) {
58
58
  // Expand glob
59
- const glob = require('glob');
60
- packagePath = glob.sync(pluginConfig.publishPackagePath, { cwd });
59
+ const globSync = require('glob').glob.sync;
60
+ packagePath = globSync(pluginConfig.publishPackagePath, { cwd });
61
61
  }
62
62
 
63
63
  return vscePublish(version, packagePath, logger, cwd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semantic-release-vsce",
3
- "version": "5.5.6",
3
+ "version": "5.5.7",
4
4
  "description": "semantic-release plugin to package and publish VS Code extensions",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -51,7 +51,7 @@
51
51
  "@vscode/vsce": "^2.15.0",
52
52
  "execa": "^5.0.0",
53
53
  "fs-extra": "^11.1.0",
54
- "glob": "^8.0.3",
54
+ "glob": "^10.2.1",
55
55
  "ovsx": "^0.8.0"
56
56
  },
57
57
  "peerDependencies": {
@@ -69,9 +69,9 @@
69
69
  "husky": "^8.0.2",
70
70
  "lint-staged": "^13.0.3",
71
71
  "nyc": "^15.1.0",
72
- "prettier": "2.8.3",
72
+ "prettier": "2.8.7",
73
73
  "proxyquire": "^2.1.3",
74
- "semantic-release": "^20.0.2",
74
+ "semantic-release": "^21.0.1",
75
75
  "sinon": "^15.0.0"
76
76
  },
77
77
  "lint-staged": {
@@ -181,7 +181,9 @@ test('expand globs if publishPackagePath is set', async (t) => {
181
181
  './lib/publish': vscePublishStub,
182
182
  './lib/prepare': vscePrepareStub,
183
183
  glob: {
184
- sync: sinon.stub().returns(['package1.vsix', 'package2.vsix']),
184
+ glob: {
185
+ sync: sinon.stub().returns(['package1.vsix', 'package2.vsix']),
186
+ },
185
187
  },
186
188
  });
187
189