![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
semantic-release-vsce
Advanced tools
semantic-release plugin to package and publish VS Code extensions
semantic-release plugin to package and publish VS Code extensions.
Step | Description |
---|---|
verify | Verify the presence and the validity of the authentication (set via environment variables) and the package.json |
prepare | Generate the .vsix file using vsce, this can be be controlled by providing packageVsix in config. Note: If the OVSX_PAT environment variable is set, this step will still run |
publish | Publish the extension |
npm install --save-dev semantic-release-vsce
or
yarn add --dev semantic-release-vsce
The plugin can be configured in the semantic-release configuration file:
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"semantic-release-vsce",
{
"packageVsix": true
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "*.vsix",
"label": "Extension File"
}
]
}
]
]
}
Option | Type | Description |
---|---|---|
packageVsix | boolean or string | If set to true , the plugin will generate a .vsix file. If is a string, it will be used as value for --out of vsce package . |
publish | boolean | The plugin will publish the package unless this option is set to false , in which case it will only package the extension vsix . |
Variable | Description |
---|---|
VSCE_PAT | Required unless publish is set to false . The personal access token to publish the extension of VS Code Marketplace |
OVSX_PAT | Optional. The personal access token to push to OpenVSX |
Publishing extensions to OpenVSX using this plugin is easy:
Get a valid personal access token with the correct privileges to the publisher namespace in OpenVSX. In order to get the personal access token, check this page.
Configure the OVSX_PAT
environment variable in your CI with the token that you created.
The plugin will automatically detect the environment variable and it will publish to OpenVSX, no additional configuration is needed. Enjoy!
name: release
on:
push:
branches: [master]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Node Dependencies
run: npm ci
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
FAQs
semantic-release plugin to package and publish VS Code extensions
The npm package semantic-release-vsce receives a total of 636 weekly downloads. As such, semantic-release-vsce popularity was classified as not popular.
We found that semantic-release-vsce demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.