
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@labshare/semantic-release-config
Advanced tools
Shared semantic-release configuration for LabShare Github projects
Shared configuration for Semantic Release. Details: shared-config.
Labshare repositories can use the following configurations:
Defined in index.js file, loaded by default when requiring @labshare/semantic-release-config. Used by both client-side and server-side projects, contains the standard release procedure for semantic-release.
devDependency: npm i @labshare/semantic-release-config --save-dev{
"extends": "@labshare/semantic-release-config"
}
Defined in angular-lib.js file, specific for Angular Libraries. Loaded by default when requiring @labshare/semantic-release-config/angular-lib and adapted for the following requirements:
build step (npm run build:lib), NgPackagr will create a new folder for the bundled package (/dist, by default). This happens because:
In order for NgPackagr and Semantic-Release integrate correctly, some adjustments have been made necessary:
/distpackage.json and package-lock.json versions to reflect updates on Git repository after a release. However, since the default folder is now /dist, this specific configuration has to update root package.json and package-lock.json files with customized scripts.In your Angular Library repository:
Install ngPackagr as devDependency and configure it
Make sure you have build:lib script configured to call ng-packagr in the repo to be built,
as well as semantic-release script.
Install this module as devDependency: npm i @labshare/semantic-release-config --save-dev
Add to your semantic-release config file:
{
"extends": "@labshare/semantic-release-config/angular-lib"
}
jobs:
include:
- stage: release
if: branch = master
node_js: lts/*
script:
- npm run build:lib
deploy:
provider: script
skip_cleanup: true
script:
- npm run semantic-release
NPM_TOKEN owner should have publish permission on NPM groups.GH_TOKEN owner should have push permission for the Git Repository.FAQs
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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.