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
10 changes: 7 additions & 3 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "pizzajsdev/pizzajs" }],
"baseBranch": "main",
"commit": true,
"baseBranch": "origin/main",
"commit": false,
"access": "public",
"updateInternalDependencies": "patch",
"fixed": [],
"linked": []
"linked": [],
"snapshot": {
"useCalculatedVersion": true,
"prereleaseTemplate": "{tag}-{datetime}-{commit}"
}
}
5 changes: 5 additions & 0 deletions .changeset/weak-wings-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@pizzajsdev/utils': patch
---

initial release
7 changes: 6 additions & 1 deletion .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 'Setup project'
uses: ./.github/actions/setup-project
Expand All @@ -32,7 +34,10 @@ jobs:
- name: 'Lint'
run: pnpm lint

- name: 'Run tests'
- name: 'Check missing changesets'
run: pnpm changeset status --since origin/main

- name: 'Test'
run: pnpm test

- name: 'Build project'
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: 'Release'
if: github.repository == 'pizzajsdev/pizzajs'
permissions:
contents: write
packages: write
Expand All @@ -31,7 +33,9 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Lint'
run: pnpm lint
- name: 'Run tests'
- name: 'Check missing changesets'
run: pnpm changeset status --since origin/main
- name: 'Test'
run: pnpm test
- name: Create Release Pull Request or Publish to package registry
uses: changesets/action@v1
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"type": "module",
"scripts": {
"build": "pnpm -r run build",
"changelog": "changeset",
"dev": "pnpm -r --parallel run dev",
"format": "pnpm format:prettier && pnpm format:pkg",
"format:pkg": "bun run --bun sort-package-json package.json packages/*/package.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pizzajsdev/utils",
"version": "0.3.0",
"description": "Utility functions for PizzaJS",
"description": "Utility functions for PizzaJS.",
"homepage": "https://github.com/pizzajsdev/pizzajs#readme",
"bugs": {
"url": "https://github.com//pizzajsdev/pizzajs/issues"
Expand Down