-
Notifications
You must be signed in to change notification settings - Fork 1
docs: adding README & improving ci, structure #3
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 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1ccce25
docs: adding README & improving ci & structure
carere 5cde90d
fix: missing dev deps & ts errors
carere 5bf7d18
chore: adding agent-os
carere 3d40413
chore: adding spec & task for the first docs implementation
carere 08c551a
docs: adding README, wip some sections
carere 1d6e99d
docs: add placeholder for the logo
carere baaf7cb
chore: update npm trusted publisher workflows
carere 7447296
docs: update README
carere 9ed7cb0
fix: some minor issues on ci side
carere c5dc183
fix: some minor issues on ci side
carere c711cdb
fix: replace bun ci with frozen lockfile
carere File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /Users/carere/Projects/perso/agentic-layers/solux/.claude | ||
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,43 @@ | ||
| name: Pre-Release | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| override_version: | ||
| description: "Override the version to use for the pre-release" | ||
| type: string | ||
| required: false | ||
| default: "" | ||
|
|
||
| jobs: | ||
| pre-release: | ||
| if: github.ref == 'refs/heads/main' | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| steps: | ||
| - name: Git Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: Install Knope | ||
| uses: knope-dev/action@v2.1.0 | ||
| with: | ||
| version: 0.21.0 | ||
|
|
||
| - name: Install dependencies | ||
| run: bun ci | ||
cursor[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - name: Set up Git user | ||
| run: | | ||
| git config user.name "knope-bot" | ||
| git config user.email "knope-bot@users.noreply.github.com" | ||
|
|
||
| - name: Run Knope Pre-Release | ||
| run: knope pre-release ${{ inputs.override_version != '' && format('--override-version={0}', inputs.override_version) || '' }} | ||
| env: | ||
| GH_TOKEN: ${{ secrets.CI_WORKER_PAT }} | ||
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,49 @@ | ||
| name: Quality Assurance | ||
|
|
||
| on: | ||
| push: | ||
|
|
||
| jobs: | ||
| static-test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Git Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: Install dependencies | ||
| run: bun ci | ||
cursor[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - name: TypeScript Compiler | ||
| run: bun run compile | ||
|
|
||
| - name: Biome Lint + Format | ||
| run: bun run check | ||
|
|
||
| - name: Assuring build is working | ||
| run: bun run build | ||
|
|
||
| - name: Validate current commit (last commit) | ||
| if: github.event_name == 'push' | ||
| run: bun commitlint --last --verbose | ||
|
|
||
| unit-test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Git Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: Install dependencies | ||
| run: bun ci | ||
|
|
||
| - name: Unit Test Suite | ||
| run: bun test | ||
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,96 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [closed] | ||
| branches: [main] | ||
| workflow_dispatch: | ||
|
|
||
| env: | ||
| ARTIFACT_NAME: solux.tgz | ||
|
|
||
| jobs: | ||
| get-tag: | ||
| if: (github.ref == 'refs/heads/knope/pre-release' && github.event.pull_request.merged == true) || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') | ||
cursor[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: "Get tag of latest draft release" | ||
| run: echo "tag_name=$(gh release list --repo ${{ github.repository }} --json 'isDraft,tagName' --jq '.[] | select(.isDraft) | .tagName')" >> $GITHUB_OUTPUT | ||
carere marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| id: get-tag | ||
| outputs: | ||
| tag_name: ${{ steps.get-tag.outputs.tag_name }} | ||
|
|
||
| build-artifacts: | ||
| needs: [get-tag] | ||
| if: needs.get-tag.outputs.tag_name != '' | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Git Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: Install dependencies | ||
| run: bun ci | ||
cursor[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - name: Build project | ||
| run: bun run build | ||
|
|
||
| - name: Create artifact | ||
| run: bun pm pack --filename ${{ env.ARTIFACT_NAME }} | ||
|
|
||
| - name: Upload Artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: solux | ||
| path: ${{ env.ARTIFACT_NAME }} | ||
| if-no-files-found: error | ||
|
|
||
| release: | ||
| needs: [build-artifacts, get-tag] | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| permissions: | ||
| id-token: write | ||
| contents: write | ||
| steps: | ||
| - name: Git Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Git user | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "github-actions[bot]@users.noreply.github.com" | ||
|
|
||
| - name: Set up Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: Download artifacts | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| path: . | ||
| merge-multiple: true | ||
|
|
||
| - name: Upload artifacts to release | ||
| run: | | ||
| gh release upload ${{ needs.get-tag.outputs.tag_name }} ${{ env.ARTIFACT_NAME }} | ||
| gh release edit ${{ needs.get-tag.outputs.tag_name }} --draft=false --latest | ||
|
|
||
| - name: Create tag | ||
| run: | | ||
| git tag ${{ needs.get-tag.outputs.tag_name }} | ||
| git push origin ${{ needs.get-tag.outputs.tag_name }} | ||
|
|
||
| - name: Publish package | ||
| run: bun publish ${{ env.ARTIFACT_NAME }} | ||
carere marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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,23 +1,37 @@ | ||
| # moon | ||
| .moon/cache | ||
| .moon/docker | ||
| # dependencies (bun install) | ||
| node_modules | ||
|
|
||
| # output | ||
| out | ||
| dist | ||
| *.tgz | ||
|
|
||
| # testing | ||
| # code coverage | ||
| coverage | ||
| *.lcov | ||
|
|
||
| # Dependencies | ||
| node_modules | ||
| # claude code | ||
| .mcp.json | ||
| .claude/data | ||
|
|
||
| # Build | ||
| dist | ||
| lib/ | ||
| *.tsbuildinfo | ||
| .astro/ | ||
| solux.tgz | ||
| # logs | ||
| logs | ||
| _.log | ||
| report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json | ||
cursor[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # environment variables | ||
| # dotenv environment variable files | ||
| .env | ||
| .env.production | ||
| .env.development.local | ||
| .env.test.local | ||
| .env.production.local | ||
| .env.local | ||
|
|
||
| # caches | ||
| .cache | ||
| *.tsbuildinfo | ||
|
|
||
| # IntelliJ based IDEs | ||
| .idea | ||
|
|
||
| # macOS-specific files | ||
| .DS_Store | ||
| # Finder (MacOS) folder config | ||
| .DS_Store | ||
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.
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.