Skip to content

Commit

Permalink
chore: cleanup .releaserc and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Mar 12, 2024
1 parent 4b283d6 commit dd2b1d3
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 25 deletions.
8 changes: 0 additions & 8 deletions .c8rc

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Release

on:
push:
branches:
- main
- alpha
workflow_run:
workflows: ['Buld and Test']
branches: [main, alpha]
types:
- completed

jobs:
release:
Expand Down
22 changes: 15 additions & 7 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
{
"name": "alpha",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
}
],
"repositoryUrl": "https://github.com/ar-io/ar-io-sdk",
Expand All @@ -16,21 +12,33 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"prepareCmd": "./update-version.sh ${nextRelease.version}"
}
],
[
"@semantic-release/npm",
{
"access": "public"
}
],
[
"@semantic-release/github",
{
"assets": [
"dist/**"
"lib/**",
"bundles/**"
]
}
],
[
"@semantic-release/git",
{
"assets": [
"src/version.ts",
"package.json",
"yarn.lock",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
{
"name": "@ar-io/sdk",
"name": "@ar.io/sdk",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/ar-io/ar-io-sdk.git"
"url": "git+https://github.com/ar-io/ar-io-sdk.git"
},
"main": "./lib/cjs/node/index.js",
"module": "./lib/esm/node/index.js",
"types": "./lib/types/node/index.d.ts",
"browser": "./bundles/web.bundle.min.js",
"type": "module",
"engines": {
"node": ">=18"
},
"license": "AGPL-3.0-or-later",
"files": [
"lib",
"bundles",
Expand Down Expand Up @@ -41,10 +45,6 @@
"browser": "./bundles/web.bundle.min.js"
}
},
"engines": {
"node": ">=18"
},
"license": "AGPL-3.0-or-later",
"scripts": {
"build:web": "node bundle.mjs",
"build:esm": "yarn tsc -p tsconfig.json",
Expand Down
Empty file modified update-version.sh
100644 → 100755
Empty file.

0 comments on commit dd2b1d3

Please sign in to comment.