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 4cdd238
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 22 deletions.
8 changes: 0 additions & 8 deletions .c8rc

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Build and Test

on: [push]
on:
push:
branches-ignore:
- main
- develop
workflow_call:

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- alpha

jobs:
build:
uses: ar-io/ar-io-sdk/.github/workflows/build.yml@alpha
release:
runs-on: ubuntu-latest
permissions:
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 4cdd238

Please sign in to comment.