diff --git a/.changeset/bump-uuid-to-v14.md b/.changeset/bump-uuid-to-v14.md new file mode 100644 index 00000000..8c0b3b35 --- /dev/null +++ b/.changeset/bump-uuid-to-v14.md @@ -0,0 +1,5 @@ +--- +"nostream": patch +--- + +Bump dev dependency uuid from 8.3.2 to 14.0.0 diff --git a/.github/workflows/dependabot-changeset.yml b/.github/workflows/dependabot-changeset.yml new file mode 100644 index 00000000..6d585855 --- /dev/null +++ b/.github/workflows/dependabot-changeset.yml @@ -0,0 +1,46 @@ +name: Dependabot Changeset + +on: + pull_request: + types: [opened, reopened] + +jobs: + add-changeset: + name: Add Changeset + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + fetch-depth: 0 + + - name: Check for existing changeset + id: check + run: | + filename=".changeset/dependabot-pr-${{ github.event.pull_request.number }}.md" + if [ -f "$filename" ]; then + echo "exists=true" >> "$GITHUB_OUTPUT" + else + echo "exists=false" >> "$GITHUB_OUTPUT" + fi + + - name: Create changeset + if: steps.check.outputs.exists == 'false' + env: + PR_TITLE: ${{ github.event.pull_request.title }} + run: | + filename=".changeset/dependabot-pr-${{ github.event.pull_request.number }}.md" + printf -- '---\n"nostream": patch\n---\n\n%s\n' "$PR_TITLE" > "$filename" + + - name: Commit and push changeset + if: steps.check.outputs.exists == 'false' + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add .changeset/dependabot-pr-${{ github.event.pull_request.number }}.md + git commit -m "chore: add changeset for dependabot PR #${{ github.event.pull_request.number }}" + git push diff --git a/package.json b/package.json index 25793dd1..311c7074 100644 --- a/package.json +++ b/package.json @@ -146,7 +146,7 @@ "ts-node": "10.9.2", "ts-node-dev": "^1.1.8", "typescript": "~5.7.3", - "uuid": "^8.3.2" + "uuid": "^14.0.0" }, "engines": { "node": ">=24.14.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 27574e7f..d17d9f74 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -166,8 +166,8 @@ importers: specifier: ~5.7.3 version: 5.7.3 uuid: - specifier: ^8.3.2 - version: 8.3.2 + specifier: ^14.0.0 + version: 14.0.0 optionalDependencies: lzma-native: specifier: ^8.0.6 @@ -3213,6 +3213,10 @@ packages: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} + uuid@14.0.0: + resolution: {integrity: sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==} + hasBin: true + uuid@8.3.2: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} hasBin: true @@ -6645,6 +6649,8 @@ snapshots: utils-merge@1.0.1: {} + uuid@14.0.0: {} + uuid@8.3.2: {} uuid@9.0.0: {}