diff --git a/.github/workflows/build_test_publish.yml b/.github/workflows/build_test_publish.yml index 3f800c23..c724db88 100644 --- a/.github/workflows/build_test_publish.yml +++ b/.github/workflows/build_test_publish.yml @@ -47,8 +47,8 @@ jobs: export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL}" git config --global "user.email" "${GIT_AUTHOR_EMAIL}" git config --global "user.name" "${GIT_AUTHOR_NAME}" + set -o pipefail yarn release 2>&1 | tee /tmp/release.log - exit ${PIPESTATUS[0]} - name: Upload release log if: failure() diff --git a/.prettierignore b/.prettierignore index 3a2314ce..48a841e4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,3 +6,4 @@ CHANGELOG.md fixtures ./packages/exposure-keys/proto/* .yarnrc.yml +CLAUDE.md diff --git a/AGENTS.md b/AGENTS.md index 788751d4..6b8b5834 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,7 @@ This file contains knowledge and conventions for AI agents working in this repos ## Project Overview -This is a yarn workspaces monorepo managed by [multi-semantic-release](https://github.com/qiwi/multi-semantic-release), containing multiple independently published Node.js/TypeScript packages by [Florian Imdahl](https://github.com/ffflorian). +This is a yarn workspaces monorepo managed by [multi-semantic-release](https://github.com/dhoulb/multi-semantic-release), containing multiple independently published Node.js/TypeScript packages by [Florian Imdahl](https://github.com/ffflorian). - **License**: GPL-3.0 - **Node.js requirement**: >= 18.0 (CI uses Node.js 24.x) @@ -73,7 +73,7 @@ Each package supports `build`, `clean`, and `test` scripts run via `yarn workspa - **Versioning**: Independent versioning via conventional commits - **Publishing**: `multi-semantic-release` (dhoulb) publishes to npm; only packages whose files changed are released. Private packages are excluded via `--ignore-private-packages`. Only allowed from `main` branch. - **Cross-repo deps**: When a package in this repo depends on another package in this repo, use `*` as the version — multi-semantic-release replaces it with the correct version at publish time. -- **Release config**: Root `.releaserc.json` extends `@ffflorian/semantic-release-config` +- **Release config**: Root `.releaserc.json` with explicit plugin list (no `@semantic-release/git`); a single post-release commit is created by CI instead ## Dependencies diff --git a/lefthook.yml b/lefthook.yml index ed6d7fe3..5905f98e 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -2,6 +2,7 @@ pre-commit: parallel: false commands: prettier: + exclude: 'CLAUDE.md' glob: '*.{js,ts,css,md,json,yml,yaml}' run: npx --no-install prettier --write {staged_files} && git add {staged_files} oxlint: diff --git a/packages/my-timezone/package.json b/packages/my-timezone/package.json index 88d1f59e..e913ed27 100644 --- a/packages/my-timezone/package.json +++ b/packages/my-timezone/package.json @@ -3,7 +3,7 @@ "bin": "dist/cli.js", "dependencies": { "commander": "14.0.3", - "ntpclient": "1.16.1" + "ntpclient": "*" }, "description": "Calculate the true solar time at any geographic location.", "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 6b7c5c0d..a92535cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3984,12 +3984,12 @@ __metadata: linkType: hard "brace-expansion@npm:^1.1.7": - version: 1.1.13 - resolution: "brace-expansion@npm:1.1.13" + version: 1.1.11 + resolution: "brace-expansion@npm:1.1.11" dependencies: balanced-match: "npm:^1.0.0" concat-map: "npm:0.0.1" - checksum: 10c0/384c61bb329b6adfdcc0cbbdd108dc19fb5f3e84ae15a02a74f94c6c791b5a9b035aae73b2a51929a8a478e2f0f212a771eb6a8b5b514cccfb8d0c9f2ce8cbd8 + checksum: 10c0/695a56cd058096a7cb71fb09d9d6a7070113c7be516699ed361317aca2ec169f618e28b8af352e02ab4233fb54eb0168460a40dc320bab0034b36ab59aaad668 languageName: node linkType: hard @@ -9159,7 +9159,7 @@ __metadata: dependencies: commander: "npm:14.0.3" nock: "npm:14.0.11" - ntpclient: "npm:1.16.1" + ntpclient: "npm:*" tsx: "npm:4.21.0" typescript: "npm:6.0.2" vitest: "npm:4.1.0" @@ -9670,7 +9670,7 @@ __metadata: languageName: unknown linkType: soft -"ntpclient@npm:1.16.1, ntpclient@workspace:packages/ntpclient": +"ntpclient@npm:*, ntpclient@workspace:packages/ntpclient": version: 0.0.0-use.local resolution: "ntpclient@workspace:packages/ntpclient" dependencies: