diff --git a/package.json b/package.json index 8512d02..4def471 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "private": true, + "type": "module", "scripts": { "install": "husky install && pnpm ls --r --filter \"./packages/*\"", "build": "cross-env NODE_OPTIONS=--max-old-space-size=16384 pnpm --filter \"./packages/*\" build", diff --git a/release.config.js b/release.config.mjs similarity index 59% rename from release.config.js rename to release.config.mjs index 931116c..9acb00d 100644 --- a/release.config.js +++ b/release.config.mjs @@ -1,9 +1,9 @@ -const { configure } = require('semantic-release-config-techor') +import { configure } from 'semantic-release-config-techor' -module.exports = configure({ +export default configure({ plugins: { '@semantic-release/exec': { verifyReleaseCmd: 'pnpm run version ${nextRelease.version}' } } -}) \ No newline at end of file +})