-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Converting packages to type: module to fix error with semantic-r…
…elease/error package being esm only
- Loading branch information
1 parent
71f6bae
commit 3e8301d
Showing
7 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
const { createPublish } = require('./lib/publish'); | ||
const { git } = require('./lib/git'); | ||
import { createPublish } from './lib/publish'; | ||
import { git } from './lib/git'; | ||
|
||
const publishTags = createPublish(git); | ||
async function publish(pluginConfig, context) { | ||
await publishTags(pluginConfig, context); | ||
} | ||
|
||
module.exports = { | ||
export { | ||
publish | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,13 @@ | |
"version": "2.0.0", | ||
"description": "Semantic Release Plugin to update all version Tags for a GitHub Action during a release", | ||
"main": "index.js", | ||
"type": "module", | ||
"contributors": [ | ||
"David Losert <[email protected]>" | ||
], | ||
"scripts": { | ||
"test": "vitest", | ||
"test:ci": "vitest" | ||
"test:ci": "vitest --coverage.enabled" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters