chore: add semantic-release

This commit is contained in:
Derrick Hammer 2023-06-15 20:52:58 -04:00
parent c42f218100
commit 601773b904
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 75 additions and 32 deletions

32
.releaserc Normal file
View File

@ -0,0 +1,32 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json"
]
}
]
],
"branches": [
"master",
{
name: "develop",
prerelease: true
},
{
name: "develop-*",
prerelease: true
},
]
}

View File

@ -1,9 +1,13 @@
{ {
"name": "@lumeweb/libportal", "name": "@lumeweb/libportal",
"version": "0.1.0", "version": "0.0.0-development",
"main": "lib/index.js", "main": "lib/index.js",
"module": "lib/index.mjs", "module": "lib/index.mjs",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "gitea@git.lumeweb.com:LumeWeb/relay.git"
},
"exports": { "exports": {
".": { ".": {
"require": "./lib/index.js", "require": "./lib/index.js",
@ -12,14 +16,21 @@
"./package.json": "./package.json" "./package.json": "./package.json"
}, },
"devDependencies": { "devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^10.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.4",
"@semantic-release/release-notes-generator": "^11.0.3",
"presetter": "^3.5.5", "presetter": "^3.5.5",
"presetter-preset-essentials": "^3.5.5", "presetter-preset-essentials": "^3.5.5",
"presetter-preset-hybrid": "^3.5.5" "presetter-preset-hybrid": "^3.5.5",
"semantic-release": "^21.0.5"
}, },
"readme": "ERROR: No README data found!", "readme": "ERROR: No README data found!",
"_id": "@lumeweb/libportal@0.1.0", "_id": "@lumeweb/libportal@0.1.0",
"scripts": { "scripts": {
"prepare": "presetter bootstrap" "prepare": "presetter bootstrap",
"semantic-release": "semantic-release"
}, },
"dependencies": { "dependencies": {
"@noble/curves": "^1.1.0", "@noble/curves": "^1.1.0",