-
Notifications
You must be signed in to change notification settings - Fork 0
Develop #9
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
Develop #9
Changes from all commits
5ac2347
b253ea6
71440e7
0a86163
f36a450
63bc86b
31b09c5
b4a6370
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| "@ciscode/query-kit": minor | ||
| --- | ||
|
|
||
| Initial public release v0.1.0. | ||
|
|
||
| - `createQuery` — typed query definition factory (key builder + fetcher + `useQuery` shorthand) | ||
| - `usePaginatedQuery` — offset and cursor pagination hook with flat data array | ||
| - `createMutation` — typed mutation definition factory (`useMutation` shorthand) | ||
| - `invalidateQueries` — type-safe query invalidation via `QueryDefinition` (no raw string keys) | ||
| - `setQueryData` — type-safe cache write via `QueryDefinition` | ||
| - Peer dependency: `@tanstack/react-query >= 5` |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * @CISCODE-MA/devops |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: npm | ||
| directory: '/' | ||
| schedule: | ||
| interval: monthly | ||
| open-pull-requests-limit: 1 | ||
| groups: | ||
| npm-dependencies: | ||
| patterns: | ||
| - '*' | ||
| assignees: | ||
| - CISCODE-MA/devops | ||
| labels: | ||
| - 'dependencies' | ||
| - 'npm' | ||
| commit-message: | ||
| prefix: 'chore(deps)' | ||
| include: 'scope' | ||
| rebase-strategy: auto |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: CI - PR Validation | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [develop] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| validate: | ||
| name: CI - PR Validation | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
| cache: npm | ||
|
|
||
| - name: Install | ||
| run: npm ci | ||
|
|
||
| - name: Format (check) | ||
| run: npm run format | ||
|
|
||
| - name: Lint | ||
| run: npm run lint | ||
|
|
||
| - name: Typecheck | ||
| run: npm run typecheck | ||
|
|
||
| - name: Test | ||
| run: npm test | ||
|
|
||
| - name: Build | ||
| run: npm run build |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,16 +3,6 @@ name: CI - Release Check | |||||||||
| on: | ||||||||||
| pull_request: | ||||||||||
| branches: [master] | ||||||||||
| workflow_dispatch: | ||||||||||
| inputs: | ||||||||||
| sonar: | ||||||||||
| description: 'Run SonarCloud analysis' | ||||||||||
| required: true | ||||||||||
| default: 'false' | ||||||||||
| type: choice | ||||||||||
| options: | ||||||||||
| - 'false' | ||||||||||
| - 'true' | ||||||||||
|
|
||||||||||
| concurrency: | ||||||||||
| group: ci-release-${{ github.ref }} | ||||||||||
|
|
@@ -24,15 +14,11 @@ jobs: | |||||||||
| runs-on: ubuntu-latest | ||||||||||
| timeout-minutes: 25 | ||||||||||
|
||||||||||
| timeout-minutes: 25 | |
| timeout-minutes: 25 | |
| permissions: | |
| contents: read |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tag validation only checks that
v${package.json version}exists somewhere in the repo (git rev-parse "$TAG"), not that the tag points at the current commit being published. This can allow publishing code onmasterthat isn’t actually tagged with the version. Consider verifying the tag is onHEAD(e.g., usinggit describe --exact-match --tags HEADor checkinggit tag --points-at HEAD).