Skip to content

Commit

Permalink
Fix breaking change with semantic-release library and version number …
Browse files Browse the repository at this point in the history
…generation.
  • Loading branch information
joelday committed Oct 3, 2024
1 parent bc6aeff commit 30c4473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/papyrus-lang-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@
"compile": "webpack --mode development",
"compile:release": "webpack --mode production",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"generate-version-number": "ts-node ./scripts/generate-version-number.ts",
"generate-version-number": "ts-node ./scripts/generate-version-number.mjs",
"semantic-release": "npm run copy-license && npm generate-changelog && semantic-release",
"generate-changelog": "npm version %VERSION% && conventional-changelog -r 0 --preset conventionalcommits -o CHANGELOG.md && npm version 0.0.0",
"lint": "eslint ."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import semanticRelease from 'semantic-release';

async function getVersionFromSemanticRelease() {
const { default: semanticRelease } = await import('semantic-release');
return await semanticRelease(
{
dryRun: true,
Expand Down

0 comments on commit 30c4473

Please sign in to comment.