Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
d239f6c
build: replace Lerna with Turborepo for monorepo management
isonnymichael Apr 14, 2026
967adc1
build: adopt Bun bundler with unified CJS/ESM/types output structure
isonnymichael Apr 14, 2026
e06ba1d
build: enforce linting and formatting standards
isonnymichael Apr 14, 2026
f964e28
test: fix test runner and skip broken evidence test
isonnymichael Apr 14, 2026
bdaac30
ci: consolidate release automation with tag-triggered publishing
isonnymichael Apr 14, 2026
7fa208f
fix: resolve lint errors for CI by sorting imports/exports and skippi…
isonnymichael Apr 14, 2026
989f4a1
fix: address CodeRabbit review feedback across all packages
isonnymichael Apr 14, 2026
62aa59a
fix: regenerate yarn.lock and add fail-fast: false to test matrix
isonnymichael Apr 14, 2026
1c54979
chore: add .yarn/install-state.gz to .gitignore
isonnymichael Apr 17, 2026
1678467
feat: enable sourceMap in all packages' tsconfigs
isonnymichael Apr 17, 2026
2910f05
fix: include optionalDependencies in build externals list
isonnymichael Apr 17, 2026
ab7eb25
refactor: use Bun's JS API for bundling instead of child_process
isonnymichael Apr 17, 2026
3022e6f
refactor: remove project-wide eslint rule disabling for proto types
isonnymichael Apr 17, 2026
a442015
ci: move NPM config to yarnrc/npmrc and prepare CD for OIDC
isonnymichael Apr 17, 2026
1b11c20
fix: add tsconfig and Bun type declarations for scripts
isonnymichael Apr 17, 2026
8b9d67a
fix: wrap build script in async function to avoid top-level await
isonnymichael Apr 17, 2026
2a4ecdc
fix: resolve CI lint failures and address CodeRabbit feedback
isonnymichael Apr 17, 2026
b738bb7
fix: remove NPM_TOKEN, fix rwa tsconfig, use @types/bun
isonnymichael Apr 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ jobs:
with:
node-version: "20"

- uses: oven-sh/setup-bun@v2

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Run ESLint
run: yarn lint

- name: Check formatting with Prettier
run: yarn prettier --check "**/*.{ts,tsx}" --ignore-path .prettierignore
run: yarn format:check
49 changes: 0 additions & 49 deletions .github/workflows/publish-evm.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/publish-lcd.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/publish-proto.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/publish-rwa.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/publish-utils.yml

This file was deleted.

60 changes: 60 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Publish Packages

on:
workflow_dispatch: {}
push:
tags: ["v*"]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"

- uses: oven-sh/setup-bun@v2

- name: Setup Yarn
run: corepack enable

- name: Install dependencies
run: yarn install --immutable

- name: Build all packages
run: yarn build

- name: Run tests
env:
TEST_MNEMONIC: ${{ secrets.TEST_MNEMONIC }}
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
TEST_HEX_ADDRESS: ${{ secrets.TEST_HEX_ADDRESS }}
run: yarn test
Comment thread
isonnymichael marked this conversation as resolved.

- name: Publish @kiichain/kiijs-proto
continue-on-error: true
run: cd packages/proto && npm publish --provenance --access public

- name: Publish @kiichain/kiijs-lcd
continue-on-error: true
run: cd packages/lcd && npm publish --provenance --access public

- name: Publish @kiichain/kiijs-utils
continue-on-error: true
run: cd packages/utils && npm publish --provenance --access public

- name: Publish @kiichain/kiijs-evm
continue-on-error: true
run: cd packages/evm && npm publish --provenance --access public

- name: Publish @kiichain/kiijs-rwa
continue-on-error: true
run: cd packages/rwa && npm publish --provenance --access public
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package: ["evm", "proto", "utils", "rwa"]

Expand All @@ -20,13 +21,13 @@ jobs:
with:
node-version: "20"

# Install Yarn (modern Berry)
- uses: oven-sh/setup-bun@v2

- name: Setup Yarn
run: |
corepack enable
yarn install --no-immutable
yarn install --immutable

# Run tests with coverage
- name: Test ${{ matrix.package }}
working-directory: ./packages/${{ matrix.package }}
env:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
**/dist
**/yarn-error.log
**/.env
lerna-debug.log
.turbo
.yarn/install-state.gz
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
Binary file removed .yarn/install-state.gz
Binary file not shown.
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
nodeLinker: node-modules

npmRegistryServer: "https://registry.npmjs.org"

yarnPath: .yarn/releases/yarn-4.10.3.cjs
Loading
Loading