Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/config.json

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Beta Release

on:
push:
branches:
- main
workflow_dispatch:

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

permissions:
id-token: write
contents: read

jobs:
beta:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v4
- run: pnpm install

- name: Set beta version
run: |
CURRENT_VERSION=$(node -p "require('./packages/dataqueue/package.json').version")
TIMESTAMP=$(date +%Y%m%d%H%M%S)
BETA_VERSION="${CURRENT_VERSION}-beta.${TIMESTAMP}"
echo "Publishing beta version: $BETA_VERSION"
cd packages/dataqueue && npm version "$BETA_VERSION" --no-git-tag-version && cd ../..
cd packages/react && npm version "$BETA_VERSION" --no-git-tag-version && cd ../..
cd packages/dashboard && npm version "$BETA_VERSION" --no-git-tag-version && cd ../..

- name: Build all packages
run: pnpm --filter '@nicnocquee/*' run build

- name: Publish beta
run: |
cd packages/dataqueue && npm publish --tag beta --provenance --access public && cd ../..
cd packages/react && npm publish --tag beta --provenance --access public && cd ../..
cd packages/dashboard && npm publish --tag beta --provenance --access public && cd ../..
51 changes: 0 additions & 51 deletions .github/workflows/changeset-version-pr.yml

This file was deleted.

7 changes: 2 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ Thank you for your interest in contributing to **dataqueue**! Your help is great
## Submitting Changes

- Ensure your branch is up to date with `main` before opening a PR.
- Run `pnpm changeset:add` from the **repo root** to add a new changeset. Here you can choose the type of change (major, minor, patch) and the affected packages.
- Make changes in the changeset if needed. Then commit the changeset.
- Provide a clear description of your changes in the PR.
- Reference any related issues (e.g., `Resolves #123`).
- Be responsive to feedback and make requested changes promptly.
Expand All @@ -113,9 +111,8 @@ Thank you for your interest in contributing to **dataqueue**! Your help is great

## Publishing

1. Run `pnpm changeset:version` from the **repo root** to bump versions of all affected packages and update changelogs.
2. Commit the changes and push to the `main` branch.
3. Create a new GitHub Release. All packages with bumped versions are published to npm automatically by CI.
- **Production release:** Create a new GitHub Release. All publishable packages are published to npm automatically by CI.
- **Beta release:** Every push to `main` automatically publishes a beta pre-release to npm under the `beta` dist-tag.

## Reporting Issues

Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "dataqueue-monorepo",
"private": true,
"devDependencies": {
"@changesets/cli": "^2.29.5",
"pnpm": "^9.0.0",
"prettier": "^3.6.2",
"turbo": "^2.5.4"
Expand All @@ -18,10 +17,7 @@
"test": "turbo run test",
"test:e2e": "turbo run test:e2e --filter e2e",
"format": "prettier --write .",
"check-format": "prettier --check .",
"changeset:add": "changeset",
"changeset:version": "changeset version",
"release": "turbo run build --filter='@nicnocquee/*' && changeset publish"
"check-format": "prettier --check ."
},
"packageManager": "pnpm@9.0.0"
}
Loading
Loading