Skip to content

Commit

Permalink
chore: set up Changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed May 16, 2024
1 parent 01cd09b commit 704ca8e
Show file tree
Hide file tree
Showing 8 changed files with 2,186 additions and 19 deletions.
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)
9 changes: 9 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "kripod/css-homogenizer" }
],
"access": "public",
"baseBranch": "main"
}
5 changes: 5 additions & 0 deletions .changeset/sweet-dancers-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"css-homogenizer": major
---

refactor(reset-scoped)!: rewrite runtime, bundled using [tshy](https://github.com/isaacs/tshy)
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
Expand All @@ -18,3 +20,12 @@ jobs:
- run: pnpm install
- run: pnpm run lint
- run: pnpm run --if-present test
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: pnpm exec changeset publish
commit: "chore: release"
title: "chore: release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
provenance=true
strict-peer-dependencies=true
14 changes: 1 addition & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- **reset-scoped:** rewrite runtime, bundled using [tshy](https://github.com/isaacs/tshy)
# css-homogenizer

## [3.2.1] - 2023-06-05

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

[unreleased]: https://github.com/kripod/css-homogenizer/compare/v3.2.1...HEAD
[3.2.1]: https://github.com/kripod/css-homogenizer/compare/v3.2.0...v3.2.1
[3.2.0]: https://github.com/kripod/css-homogenizer/compare/v3.1.0...v3.2.0
[3.1.0]: https://github.com/kripod/css-homogenizer/compare/v3.0.2...v3.1.0
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
"lint:fix:format": "prettier --write ."
},
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@total-typescript/tsconfig": "1.0.4",
"@types/react": "18.3.2",
"prettier": "3.2.5",
Expand Down
Loading

0 comments on commit 704ca8e

Please sign in to comment.