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: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
19 changes: 19 additions & 0 deletions .changeset/khaki-timers-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
"@debugids/rolldown": minor
"@debugids/browser": minor
"@debugids/esbuild": minor
"@debugids/webpack": minor
"@debugids/common": minor
"@debugids/parcel-optimizer-debugids": minor
"@debugids/rollup": minor
"@debugids/rspack": minor
"@debugids/node": minor
"@debugids/vite": minor
"@debugids/cli": minor
---

Initial Publish of Debug ID packages

This is an initial release of JavaScript polyfills, bundler plugins and utils
for the [TC39 Debug ID
proposal](https://github.com/tc39/source-map/blob/main/proposals/debug-id.md).
28 changes: 28 additions & 0 deletions .github/workflows/prepare-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Prepare Publish

on:
workflow_dispatch:

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
publish:
name: Prepare Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
node-version-file: "package.json"
- name: Install
run: yarn install
- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
version: yarn changeset:consume
commit: "meta(changelog): Update package versions"
title: "meta(changelog): Update package versions"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36 changes: 36 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish

on:
push:
branches:
- main
paths:
- "**/CHANGELOG.md"

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
if: |
contains(github.event.head_commit.message, 'meta(changelog)')
&& contains(github.event.head_commit.message, 'Update package versions')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
node-version-file: "package.json"
- name: Install
run: yarn install
- name: Build
run: yarn build
- name: Publish to NPM
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
publish: pnpm changeset:publish
createGithubReleases: true
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
"test:node": "cd test/node && yarn test",
"test:browser": "cd test/browser && yarn test",
"lint": "biome check",
"fix": "biome check --write"
"fix": "biome check --write",
"changeset:add": "changeset",
"changeset:consume": "changeset version",
"changeset:publish": "changeset publish"
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
"@changesets/cli": "^2.27.9",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-typescript": "^12.1.0",
"@rspack/cli": "^1.0.8",
Expand Down
Loading
Loading