-
Notifications
You must be signed in to change notification settings - Fork 14
feat: v1.0.0 revamp Turborepo, Bun bundler, unified output, CI automation #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
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 967adc1
build: adopt Bun bundler with unified CJS/ESM/types output structure
isonnymichael e06ba1d
build: enforce linting and formatting standards
isonnymichael f964e28
test: fix test runner and skip broken evidence test
isonnymichael bdaac30
ci: consolidate release automation with tag-triggered publishing
isonnymichael 7fa208f
fix: resolve lint errors for CI by sorting imports/exports and skippi…
isonnymichael 989f4a1
fix: address CodeRabbit review feedback across all packages
isonnymichael 62aa59a
fix: regenerate yarn.lock and add fail-fast: false to test matrix
isonnymichael 1c54979
chore: add .yarn/install-state.gz to .gitignore
isonnymichael 1678467
feat: enable sourceMap in all packages' tsconfigs
isonnymichael 2910f05
fix: include optionalDependencies in build externals list
isonnymichael ab7eb25
refactor: use Bun's JS API for bundling instead of child_process
isonnymichael 3022e6f
refactor: remove project-wide eslint rule disabling for proto types
isonnymichael a442015
ci: move NPM config to yarnrc/npmrc and prepare CD for OIDC
isonnymichael 1b11c20
fix: add tsconfig and Bun type declarations for scripts
isonnymichael 8b9d67a
fix: wrap build script in async function to avoid top-level await
isonnymichael 2a4ecdc
fix: resolve CI lint failures and address CodeRabbit feedback
isonnymichael b738bb7
fix: remove NPM_TOKEN, fix rwa tsconfig, use @types/bun
isonnymichael File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
|
|
||
| - 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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,5 @@ | |
| **/dist | ||
| **/yarn-error.log | ||
| **/.env | ||
| lerna-debug.log | ||
| .turbo | ||
| .yarn/install-state.gz | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| registry=https://registry.npmjs.org/ |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.