Skip to content

Commit

Permalink
Merge pull request #14 from ar-io/alpha
Browse files Browse the repository at this point in the history
chore: release v1.0.0
  • Loading branch information
dtfiedler authored Apr 23, 2024
2 parents 7383460 + 7f12787 commit 5440351
Show file tree
Hide file tree
Showing 63 changed files with 31,226 additions and 1,925 deletions.
8 changes: 0 additions & 8 deletions .c8rc

This file was deleted.

2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ src/**/*.test.ts
lib
**/*.cjs
**/*.mjs
examples
examples
17 changes: 8 additions & 9 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
{
"root": true,
"plugins": ["@typescript-eslint", "mocha", "prettier", "header"],
"plugins": ["@typescript-eslint", "jest", "prettier", "header"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:mocha/recommended",
"plugin:prettier/recommended"
"plugin:prettier/recommended",
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
"project": "./tsconfig.json",
},
"rules": {
"mocha/no-mocha-arrows": "off",
"header/header": ["error", "resources/license.header.js"],
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
"allowNullableObject": true,
"allowNullableBoolean": true,
"allowAny": true
}
]
}
"allowAny": true,
},
],
"@typescript-eslint/no-unused-vars": "error",
},
}
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: Build and Test

on: [push]
on:
pull_request:
workflow_call:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18.x, 20.x]
command: ['lint', 'format', 'test', 'build']
command: ['lint', 'format', 'test:integration', 'build']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set Up node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: 'yarn'
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
name: Release

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

on:
push:
branches:
- main
- alpha

jobs:
build:
uses: ar-io/ar-io-sdk/.github/workflows/build.yml@alpha
secrets: inherit
release:
runs-on: ubuntu-latest
needs: build
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ coverage
.nyc_output
dist
.husky/_
cache

# IDEs and editors
.vscode
Expand All @@ -13,3 +14,7 @@ yarn-error.log

# Build files
**/*.min.js

# test files
tests/wallets
tests/contracts
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
9 changes: 0 additions & 9 deletions .mocharc

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.17.0
v18.17.1
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CHANGELOG.md
17 changes: 6 additions & 11 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,28 @@
{
"name": "alpha",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
}
],
"repositoryUrl": "https://github.com/ardriveapp/node-sdk-template",
"repositoryUrl": "https://github.com/ar-io/ar-io-sdk",
"debug": "false",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/github",
"@semantic-release/exec",
{
"assets": [
"dist/**"
]
"prepareCmd": "./update-version.sh ${nextRelease.version}"
}
],
"@semantic-release/npm",
"@semantic-release/github",
[
"@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
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @ar-io/core-team
Loading

0 comments on commit 5440351

Please sign in to comment.