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,35 +1,46 @@
{ {
"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",
"exports": { "repository": {
".": { "type": "git",
"require": "./lib/index.js", "url": "gitea@git.lumeweb.com:LumeWeb/relay.git"
"import": "./lib/index.mjs" },
}, "exports": {
"./package.json": "./package.json" ".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs"
}, },
"devDependencies": { "./package.json": "./package.json"
"presetter": "^3.5.5", },
"presetter-preset-essentials": "^3.5.5", "devDependencies": {
"presetter-preset-hybrid": "^3.5.5" "@semantic-release/changelog": "^6.0.3",
}, "@semantic-release/commit-analyzer": "^10.0.1",
"readme": "ERROR: No README data found!", "@semantic-release/git": "^10.0.1",
"_id": "@lumeweb/libportal@0.1.0", "@semantic-release/npm": "^10.0.4",
"scripts": { "@semantic-release/release-notes-generator": "^11.0.3",
"prepare": "presetter bootstrap" "presetter": "^3.5.5",
}, "presetter-preset-essentials": "^3.5.5",
"dependencies": { "presetter-preset-hybrid": "^3.5.5",
"@noble/curves": "^1.1.0", "semantic-release": "^21.0.5"
"@noble/hashes": "^1.3.1", },
"detect-node": "^2.1.0", "readme": "ERROR: No README data found!",
"multiformats": "^11.0.2", "_id": "@lumeweb/libportal@0.1.0",
"node-fetch": "^3.3.1", "scripts": {
"p-defer": "^4.0.0", "prepare": "presetter bootstrap",
"stream-to-blob": "^2.0.1", "semantic-release": "semantic-release"
"tus-js-client": "^3.1.0", },
"web-streams-polyfill": "^3.2.1" "dependencies": {
} "@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"detect-node": "^2.1.0",
"multiformats": "^11.0.2",
"node-fetch": "^3.3.1",
"p-defer": "^4.0.0",
"stream-to-blob": "^2.0.1",
"tus-js-client": "^3.1.0",
"web-streams-polyfill": "^3.2.1"
}
} }