Skip to content

Commit 704ca8e

Browse files
committed
chore: set up Changesets
1 parent 01cd09b commit 704ca8e

File tree

8 files changed

+2186
-19
lines changed

8 files changed

+2186
-19
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{ "repo": "kripod/css-homogenizer" }
6+
],
7+
"access": "public",
8+
"baseBranch": "main"
9+
}

.changeset/sweet-dancers-kick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"css-homogenizer": major
3+
---
4+
5+
refactor(reset-scoped)!: rewrite runtime, bundled using [tshy](https://github.com/isaacs/tshy)

.github/workflows/ci.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ concurrency:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
1113
steps:
1214
- uses: actions/checkout@v4
1315
- uses: pnpm/action-setup@v4
@@ -18,3 +20,12 @@ jobs:
1820
- run: pnpm install
1921
- run: pnpm run lint
2022
- run: pnpm run --if-present test
23+
- name: Create Release Pull Request or Publish to npm
24+
uses: changesets/action@v1
25+
with:
26+
publish: pnpm exec changeset publish
27+
commit: "chore: release"
28+
title: "chore: release"
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
provenance=true
2+
strict-peer-dependencies=true

CHANGELOG.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
# Changelog
2-
3-
All notable changes to this project will be documented in this file.
4-
5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7-
8-
## [Unreleased]
9-
10-
### Changed
11-
12-
- **reset-scoped:** rewrite runtime, bundled using [tshy](https://github.com/isaacs/tshy)
1+
# css-homogenizer
132

143
## [3.2.1] - 2023-06-05
154

@@ -109,7 +98,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10998
- **reset:** initial release
11099
- **base:** initial release
111100

112-
[unreleased]: https://github.com/kripod/css-homogenizer/compare/v3.2.1...HEAD
113101
[3.2.1]: https://github.com/kripod/css-homogenizer/compare/v3.2.0...v3.2.1
114102
[3.2.0]: https://github.com/kripod/css-homogenizer/compare/v3.1.0...v3.2.0
115103
[3.1.0]: https://github.com/kripod/css-homogenizer/compare/v3.0.2...v3.1.0

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878
"lint:fix:format": "prettier --write ."
7979
},
8080
"devDependencies": {
81+
"@changesets/changelog-github": "0.5.0",
82+
"@changesets/cli": "2.27.1",
8183
"@total-typescript/tsconfig": "1.0.4",
8284
"@types/react": "18.3.2",
8385
"prettier": "3.2.5",

0 commit comments

Comments
 (0)