fix: release flow

This commit is contained in:
molvqingtai 2024-09-28 13:14:48 +08:00
parent f2330cb0e7
commit e0f4a3f18a
3 changed files with 16 additions and 1 deletions

View file

@ -2,7 +2,10 @@
* @type {import('semantic-release').GlobalConfig} * @type {import('semantic-release').GlobalConfig}
*/ */
import { name } from 'package.json' import packageJson from './package.json' with { type: 'json' }
const name = packageJson.name
export default { export default {
branches: ['master'], branches: ['master'],
plugins: [ plugins: [

View file

@ -117,6 +117,7 @@
"jiti": "^2.0.0", "jiti": "^2.0.0",
"lint-staged": "^15.2.10", "lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"package-up": "^5.0.0",
"postcss": "^8.4.47", "postcss": "^8.4.47",
"postcss-rem-to-responsive-pixel": "^6.0.2", "postcss-rem-to-responsive-pixel": "^6.0.2",
"prettier": "^3.3.3", "prettier": "^3.3.3",

View file

@ -225,6 +225,9 @@ importers:
npm-run-all: npm-run-all:
specifier: ^4.1.5 specifier: ^4.1.5
version: 4.1.5 version: 4.1.5
package-up:
specifier: ^5.0.0
version: 5.0.0
postcss: postcss:
specifier: ^8.4.47 specifier: ^8.4.47
version: 8.4.47 version: 8.4.47
@ -5180,6 +5183,10 @@ packages:
resolution: {integrity: sha512-cbH9IAIJHNj9uXi196JVsRlt7cHKak6u/e6AkL/bkRelZ7rlL3X1YKxsZwa36xipOEKAsdtmaG6aAJoM1fx2zA==} resolution: {integrity: sha512-cbH9IAIJHNj9uXi196JVsRlt7cHKak6u/e6AkL/bkRelZ7rlL3X1YKxsZwa36xipOEKAsdtmaG6aAJoM1fx2zA==}
engines: {node: '>=14.16'} engines: {node: '>=14.16'}
package-up@5.0.0:
resolution: {integrity: sha512-MQEgDUvXCa3sGvqHg3pzHO8e9gqTCMPVrWUko3vPQGntwegmFo52mZb2abIVTjFnUcW0BcPz0D93jV5Cas1DWA==}
engines: {node: '>=18'}
pako@1.0.11: pako@1.0.11:
resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==}
@ -12554,6 +12561,10 @@ snapshots:
registry-url: 6.0.1 registry-url: 6.0.1
semver: 7.6.3 semver: 7.6.3
package-up@5.0.0:
dependencies:
find-up-simple: 1.0.0
pako@1.0.11: {} pako@1.0.11: {}
parent-module@1.0.1: parent-module@1.0.1: