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",
"version": "0.1.0",
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs"
},
"./package.json": "./package.json"
"name": "@lumeweb/libportal",
"version": "0.0.0-development",
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "gitea@git.lumeweb.com:LumeWeb/relay.git"
},
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs"
},
"devDependencies": {
"presetter": "^3.5.5",
"presetter-preset-essentials": "^3.5.5",
"presetter-preset-hybrid": "^3.5.5"
},
"readme": "ERROR: No README data found!",
"_id": "@lumeweb/libportal@0.1.0",
"scripts": {
"prepare": "presetter bootstrap"
},
"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"
}
"./package.json": "./package.json"
},
"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-preset-essentials": "^3.5.5",
"presetter-preset-hybrid": "^3.5.5",
"semantic-release": "^21.0.5"
},
"readme": "ERROR: No README data found!",
"_id": "@lumeweb/libportal@0.1.0",
"scripts": {
"prepare": "presetter bootstrap",
"semantic-release": "semantic-release"
},
"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"
}
}