Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: NO-JIRA release test #71

Closed
wants to merge 2 commits into from
Closed
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
50 changes: 50 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Release
on:
push:
branches: ['main', 'latest']
workflow_dispatch:

permissions:
contents: read # for checkout

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
environment:
name: production
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build package
run: yarn build

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
98 changes: 98 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# 1.0.0-rc.1 (2023-10-02)


### Bug Fixes

* fix medium size in theme ([#9](https://github.com/VirtusLab/tetrisly-react/issues/9)) ([e690061](https://github.com/VirtusLab/tetrisly-react/commit/e690061ca930be884128d1fb82858f9810cbefa8))
* NO-JIRA text input onChange behavior ([#44](https://github.com/VirtusLab/tetrisly-react/issues/44)) ([a267e35](https://github.com/VirtusLab/tetrisly-react/commit/a267e3540e968101195a7a4120a01a3659be1d28))
* **storybook:** path to brand logo TET-138 ([#56](https://github.com/VirtusLab/tetrisly-react/issues/56)) ([dc23158](https://github.com/VirtusLab/tetrisly-react/commit/dc2315832bc241a1642c52a3f5bcd9b734727e3c))
* TET-191 remove extract margin props util, fix double focus ([#64](https://github.com/VirtusLab/tetrisly-react/issues/64)) ([e9382f4](https://github.com/VirtusLab/tetrisly-react/commit/e9382f47357d18bf557bb6ebb17ddf5a2fe09268))
* TET-245 deep clone default config ([#67](https://github.com/VirtusLab/tetrisly-react/issues/67)) ([ac917ee](https://github.com/VirtusLab/tetrisly-react/commit/ac917eeaf7666af4be34d8345ee04cc3a32c309e))


### Features

* **861n1w5zd:** helper text ([#12](https://github.com/VirtusLab/tetrisly-react/issues/12)) ([d9acc62](https://github.com/VirtusLab/tetrisly-react/commit/d9acc62ab61a7aa4cbc20cf4e932c9874deaa13c))
* add checkbox group ([#26](https://github.com/VirtusLab/tetrisly-react/issues/26)) ([4e5ebda](https://github.com/VirtusLab/tetrisly-react/commit/4e5ebda842fce345745b7e794971d220bb1ff214)), closes [#31](https://github.com/VirtusLab/tetrisly-react/issues/31)
* add Label ([#13](https://github.com/VirtusLab/tetrisly-react/issues/13)) ([91cf31f](https://github.com/VirtusLab/tetrisly-react/commit/91cf31f3e6211676b8078db006fb1db8e1a7bd9d))
* add status dot ([#11](https://github.com/VirtusLab/tetrisly-react/issues/11)) ([a1885a3](https://github.com/VirtusLab/tetrisly-react/commit/a1885a3020555e8af6eb848e85bb1a07687253ae))
* divider ([#20](https://github.com/VirtusLab/tetrisly-react/issues/20)) ([8af17e4](https://github.com/VirtusLab/tetrisly-react/commit/8af17e45e00293b38ded8eae9c0dc705dfd7746a))
* setup storybook library ([#2](https://github.com/VirtusLab/tetrisly-react/issues/2)) ([b14dc94](https://github.com/VirtusLab/tetrisly-react/commit/b14dc94aef1450a6aabafe714a82bc757d9006d3))
* TET-128 custom prop tester ([#30](https://github.com/VirtusLab/tetrisly-react/issues/30)) ([bc94444](https://github.com/VirtusLab/tetrisly-react/commit/bc9444479a28a4f37f00513ee23d933e8eac16ac))
* TET-130 text input hasClearButton ([#33](https://github.com/VirtusLab/tetrisly-react/issues/33)) ([ea7a3c0](https://github.com/VirtusLab/tetrisly-react/commit/ea7a3c092a5378d2b667bbc92db95327e2d92e5d))
* TET-136 alert banner ([#41](https://github.com/VirtusLab/tetrisly-react/issues/41)) ([b955fa4](https://github.com/VirtusLab/tetrisly-react/commit/b955fa41980ef3d1f90a239c3957df848e5e3a9e))
* TET-137 inline banner ([#46](https://github.com/VirtusLab/tetrisly-react/issues/46)) ([5b97834](https://github.com/VirtusLab/tetrisly-react/commit/5b9783496fc4383362cccf23a8fe7d6cbe9c3732))
* TET-141 select ([#65](https://github.com/VirtusLab/tetrisly-react/issues/65)) ([65e1f27](https://github.com/VirtusLab/tetrisly-react/commit/65e1f278e0ffe0852726b1d8e1edc40106d071ff))
* tet-196 counter ([#43](https://github.com/VirtusLab/tetrisly-react/issues/43)) ([709f3ca](https://github.com/VirtusLab/tetrisly-react/commit/709f3ca61591fa7bf25d86faa8cd1db2302a83d6))
* tet-196 merge custom prop ([#45](https://github.com/VirtusLab/tetrisly-react/issues/45)) ([dda3aef](https://github.com/VirtusLab/tetrisly-react/commit/dda3aef73106dcae22d4a75cd10b9040ba448948))
* TET-63 inline message ([#24](https://github.com/VirtusLab/tetrisly-react/issues/24)) ([234a3e7](https://github.com/VirtusLab/tetrisly-react/commit/234a3e74ed633b1cccf8af676e488a8ed5b67ef3))
* tet-64 popover ([#37](https://github.com/VirtusLab/tetrisly-react/issues/37)) ([2eed7bb](https://github.com/VirtusLab/tetrisly-react/commit/2eed7bb0b8f657211241f39bdfd7f0aa818defbf))
* TET-65 search input ([#35](https://github.com/VirtusLab/tetrisly-react/issues/35)) ([bb92fac](https://github.com/VirtusLab/tetrisly-react/commit/bb92facd09bf52170ec07ac6d799633f6007f94d))
* TET-66 inline search input ([#38](https://github.com/VirtusLab/tetrisly-react/issues/38)) ([11483e1](https://github.com/VirtusLab/tetrisly-react/commit/11483e1dc3ca43d3e5a0adba30233971b17a7bda))
* theme tokens update after figma variables release ([#8](https://github.com/VirtusLab/tetrisly-react/issues/8)) ([124ce87](https://github.com/VirtusLab/tetrisly-react/commit/124ce873f213f8bd39235c357711235a90d90ca7))

# 1.0.0-rc.1 (2023-10-02)


### Bug Fixes

* fix medium size in theme ([#9](https://github.com/VirtusLab/tetrisly-react/issues/9)) ([e690061](https://github.com/VirtusLab/tetrisly-react/commit/e690061ca930be884128d1fb82858f9810cbefa8))
* NO-JIRA text input onChange behavior ([#44](https://github.com/VirtusLab/tetrisly-react/issues/44)) ([a267e35](https://github.com/VirtusLab/tetrisly-react/commit/a267e3540e968101195a7a4120a01a3659be1d28))
* **storybook:** path to brand logo TET-138 ([#56](https://github.com/VirtusLab/tetrisly-react/issues/56)) ([dc23158](https://github.com/VirtusLab/tetrisly-react/commit/dc2315832bc241a1642c52a3f5bcd9b734727e3c))
* TET-191 remove extract margin props util, fix double focus ([#64](https://github.com/VirtusLab/tetrisly-react/issues/64)) ([e9382f4](https://github.com/VirtusLab/tetrisly-react/commit/e9382f47357d18bf557bb6ebb17ddf5a2fe09268))
* TET-245 deep clone default config ([#67](https://github.com/VirtusLab/tetrisly-react/issues/67)) ([ac917ee](https://github.com/VirtusLab/tetrisly-react/commit/ac917eeaf7666af4be34d8345ee04cc3a32c309e))


### Features

* **861n1w5zd:** helper text ([#12](https://github.com/VirtusLab/tetrisly-react/issues/12)) ([d9acc62](https://github.com/VirtusLab/tetrisly-react/commit/d9acc62ab61a7aa4cbc20cf4e932c9874deaa13c))
* add checkbox group ([#26](https://github.com/VirtusLab/tetrisly-react/issues/26)) ([4e5ebda](https://github.com/VirtusLab/tetrisly-react/commit/4e5ebda842fce345745b7e794971d220bb1ff214)), closes [#31](https://github.com/VirtusLab/tetrisly-react/issues/31)
* add Label ([#13](https://github.com/VirtusLab/tetrisly-react/issues/13)) ([91cf31f](https://github.com/VirtusLab/tetrisly-react/commit/91cf31f3e6211676b8078db006fb1db8e1a7bd9d))
* add status dot ([#11](https://github.com/VirtusLab/tetrisly-react/issues/11)) ([a1885a3](https://github.com/VirtusLab/tetrisly-react/commit/a1885a3020555e8af6eb848e85bb1a07687253ae))
* divider ([#20](https://github.com/VirtusLab/tetrisly-react/issues/20)) ([8af17e4](https://github.com/VirtusLab/tetrisly-react/commit/8af17e45e00293b38ded8eae9c0dc705dfd7746a))
* setup storybook library ([#2](https://github.com/VirtusLab/tetrisly-react/issues/2)) ([b14dc94](https://github.com/VirtusLab/tetrisly-react/commit/b14dc94aef1450a6aabafe714a82bc757d9006d3))
* TET-128 custom prop tester ([#30](https://github.com/VirtusLab/tetrisly-react/issues/30)) ([bc94444](https://github.com/VirtusLab/tetrisly-react/commit/bc9444479a28a4f37f00513ee23d933e8eac16ac))
* TET-130 text input hasClearButton ([#33](https://github.com/VirtusLab/tetrisly-react/issues/33)) ([ea7a3c0](https://github.com/VirtusLab/tetrisly-react/commit/ea7a3c092a5378d2b667bbc92db95327e2d92e5d))
* TET-136 alert banner ([#41](https://github.com/VirtusLab/tetrisly-react/issues/41)) ([b955fa4](https://github.com/VirtusLab/tetrisly-react/commit/b955fa41980ef3d1f90a239c3957df848e5e3a9e))
* TET-137 inline banner ([#46](https://github.com/VirtusLab/tetrisly-react/issues/46)) ([5b97834](https://github.com/VirtusLab/tetrisly-react/commit/5b9783496fc4383362cccf23a8fe7d6cbe9c3732))
* TET-141 select ([#65](https://github.com/VirtusLab/tetrisly-react/issues/65)) ([65e1f27](https://github.com/VirtusLab/tetrisly-react/commit/65e1f278e0ffe0852726b1d8e1edc40106d071ff))
* tet-196 counter ([#43](https://github.com/VirtusLab/tetrisly-react/issues/43)) ([709f3ca](https://github.com/VirtusLab/tetrisly-react/commit/709f3ca61591fa7bf25d86faa8cd1db2302a83d6))
* tet-196 merge custom prop ([#45](https://github.com/VirtusLab/tetrisly-react/issues/45)) ([dda3aef](https://github.com/VirtusLab/tetrisly-react/commit/dda3aef73106dcae22d4a75cd10b9040ba448948))
* TET-63 inline message ([#24](https://github.com/VirtusLab/tetrisly-react/issues/24)) ([234a3e7](https://github.com/VirtusLab/tetrisly-react/commit/234a3e74ed633b1cccf8af676e488a8ed5b67ef3))
* tet-64 popover ([#37](https://github.com/VirtusLab/tetrisly-react/issues/37)) ([2eed7bb](https://github.com/VirtusLab/tetrisly-react/commit/2eed7bb0b8f657211241f39bdfd7f0aa818defbf))
* TET-65 search input ([#35](https://github.com/VirtusLab/tetrisly-react/issues/35)) ([bb92fac](https://github.com/VirtusLab/tetrisly-react/commit/bb92facd09bf52170ec07ac6d799633f6007f94d))
* TET-66 inline search input ([#38](https://github.com/VirtusLab/tetrisly-react/issues/38)) ([11483e1](https://github.com/VirtusLab/tetrisly-react/commit/11483e1dc3ca43d3e5a0adba30233971b17a7bda))
* theme tokens update after figma variables release ([#8](https://github.com/VirtusLab/tetrisly-react/issues/8)) ([124ce87](https://github.com/VirtusLab/tetrisly-react/commit/124ce873f213f8bd39235c357711235a90d90ca7))

# 1.0.0-rc.1 (2023-10-02)


### Bug Fixes

* fix medium size in theme ([#9](https://github.com/VirtusLab/tetrisly-react/issues/9)) ([e690061](https://github.com/VirtusLab/tetrisly-react/commit/e690061ca930be884128d1fb82858f9810cbefa8))
* NO-JIRA text input onChange behavior ([#44](https://github.com/VirtusLab/tetrisly-react/issues/44)) ([a267e35](https://github.com/VirtusLab/tetrisly-react/commit/a267e3540e968101195a7a4120a01a3659be1d28))
* **storybook:** path to brand logo TET-138 ([#56](https://github.com/VirtusLab/tetrisly-react/issues/56)) ([dc23158](https://github.com/VirtusLab/tetrisly-react/commit/dc2315832bc241a1642c52a3f5bcd9b734727e3c))
* TET-191 remove extract margin props util, fix double focus ([#64](https://github.com/VirtusLab/tetrisly-react/issues/64)) ([e9382f4](https://github.com/VirtusLab/tetrisly-react/commit/e9382f47357d18bf557bb6ebb17ddf5a2fe09268))
* TET-245 deep clone default config ([#67](https://github.com/VirtusLab/tetrisly-react/issues/67)) ([ac917ee](https://github.com/VirtusLab/tetrisly-react/commit/ac917eeaf7666af4be34d8345ee04cc3a32c309e))


### Features

* **861n1w5zd:** helper text ([#12](https://github.com/VirtusLab/tetrisly-react/issues/12)) ([d9acc62](https://github.com/VirtusLab/tetrisly-react/commit/d9acc62ab61a7aa4cbc20cf4e932c9874deaa13c))
* add checkbox group ([#26](https://github.com/VirtusLab/tetrisly-react/issues/26)) ([4e5ebda](https://github.com/VirtusLab/tetrisly-react/commit/4e5ebda842fce345745b7e794971d220bb1ff214)), closes [#31](https://github.com/VirtusLab/tetrisly-react/issues/31)
* add Label ([#13](https://github.com/VirtusLab/tetrisly-react/issues/13)) ([91cf31f](https://github.com/VirtusLab/tetrisly-react/commit/91cf31f3e6211676b8078db006fb1db8e1a7bd9d))
* add status dot ([#11](https://github.com/VirtusLab/tetrisly-react/issues/11)) ([a1885a3](https://github.com/VirtusLab/tetrisly-react/commit/a1885a3020555e8af6eb848e85bb1a07687253ae))
* divider ([#20](https://github.com/VirtusLab/tetrisly-react/issues/20)) ([8af17e4](https://github.com/VirtusLab/tetrisly-react/commit/8af17e45e00293b38ded8eae9c0dc705dfd7746a))
* setup storybook library ([#2](https://github.com/VirtusLab/tetrisly-react/issues/2)) ([b14dc94](https://github.com/VirtusLab/tetrisly-react/commit/b14dc94aef1450a6aabafe714a82bc757d9006d3))
* TET-128 custom prop tester ([#30](https://github.com/VirtusLab/tetrisly-react/issues/30)) ([bc94444](https://github.com/VirtusLab/tetrisly-react/commit/bc9444479a28a4f37f00513ee23d933e8eac16ac))
* TET-130 text input hasClearButton ([#33](https://github.com/VirtusLab/tetrisly-react/issues/33)) ([ea7a3c0](https://github.com/VirtusLab/tetrisly-react/commit/ea7a3c092a5378d2b667bbc92db95327e2d92e5d))
* TET-136 alert banner ([#41](https://github.com/VirtusLab/tetrisly-react/issues/41)) ([b955fa4](https://github.com/VirtusLab/tetrisly-react/commit/b955fa41980ef3d1f90a239c3957df848e5e3a9e))
* TET-137 inline banner ([#46](https://github.com/VirtusLab/tetrisly-react/issues/46)) ([5b97834](https://github.com/VirtusLab/tetrisly-react/commit/5b9783496fc4383362cccf23a8fe7d6cbe9c3732))
* TET-141 select ([#65](https://github.com/VirtusLab/tetrisly-react/issues/65)) ([65e1f27](https://github.com/VirtusLab/tetrisly-react/commit/65e1f278e0ffe0852726b1d8e1edc40106d071ff))
* tet-196 counter ([#43](https://github.com/VirtusLab/tetrisly-react/issues/43)) ([709f3ca](https://github.com/VirtusLab/tetrisly-react/commit/709f3ca61591fa7bf25d86faa8cd1db2302a83d6))
* tet-196 merge custom prop ([#45](https://github.com/VirtusLab/tetrisly-react/issues/45)) ([dda3aef](https://github.com/VirtusLab/tetrisly-react/commit/dda3aef73106dcae22d4a75cd10b9040ba448948))
* TET-63 inline message ([#24](https://github.com/VirtusLab/tetrisly-react/issues/24)) ([234a3e7](https://github.com/VirtusLab/tetrisly-react/commit/234a3e74ed633b1cccf8af676e488a8ed5b67ef3))
* tet-64 popover ([#37](https://github.com/VirtusLab/tetrisly-react/issues/37)) ([2eed7bb](https://github.com/VirtusLab/tetrisly-react/commit/2eed7bb0b8f657211241f39bdfd7f0aa818defbf))
* TET-65 search input ([#35](https://github.com/VirtusLab/tetrisly-react/issues/35)) ([bb92fac](https://github.com/VirtusLab/tetrisly-react/commit/bb92facd09bf52170ec07ac6d799633f6007f94d))
* TET-66 inline search input ([#38](https://github.com/VirtusLab/tetrisly-react/issues/38)) ([11483e1](https://github.com/VirtusLab/tetrisly-react/commit/11483e1dc3ca43d3e5a0adba30233971b17a7bda))
* theme tokens update after figma variables release ([#8](https://github.com/VirtusLab/tetrisly-react/issues/8)) ([124ce87](https://github.com/VirtusLab/tetrisly-react/commit/124ce873f213f8bd39235c357711235a90d90ca7))
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 VirtusLab

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
29 changes: 20 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
{
"name": "tetrisly-react",
"private": true,
"version": "0.0.0",
"name": "@virtuslab/tetrisly-react",
"version": "1.0.0-rc.1",
"type": "module",
"homepage": "https://virtuslab.github.io/tetrisly-react",
"main": "dist/tetrisly-react.umd.js",
"module": "dist/tetrisly-react.es.js",
"types": "dist/tetrisly-react.es.d.ts",
"files": [
"dist"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "restricted"
},
"scripts": {
"build": "tsc && vite build",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "vitest run",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepare": "husky install"
"prepare": "husky install",
"semantic-release": "semantic-release"
},
"dependencies": {
"@commitlint/cli": "^17.7.1",
Expand All @@ -26,6 +36,8 @@
"styled-components": "5.3.3"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@storybook/addon-essentials": "^7.0.26",
"@storybook/addon-interactions": "^7.0.26",
"@storybook/addon-links": "^7.0.26",
Expand Down Expand Up @@ -55,6 +67,7 @@
"jsdom": "^22.1.0",
"lint-staged": ">=10",
"prettier": "^3.0.2",
"semantic-release": "^22.0.5",
"storybook": "^7.0.26",
"typescript": "^5.1.6",
"vite": "^4.4.2",
Expand All @@ -63,11 +76,9 @@
"vitest": "^0.34.2",
"zod": "^3.22.2"
},
"exports": {
".": {
"import": "./dist/tetrisly-icons.es.js",
"require": "./dist/tetrisly-icons.umd.js"
}
"repository": {
"type": "git",
"url": "https://github.com/VirtusLab/tetrisly-react.git"
},
"resolutions": {
"strip-ansi": "^6.0.1",
Expand Down
23 changes: 23 additions & 0 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
branches: ['development', 'main', 'latest', {name: 'alpha', prerelease: "rc"}],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/npm',
'@semantic-release/github',
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
},
],
[
'@semantic-release/git',
{
assets: ['package.json', 'CHANGELOG.md'],
message:
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
],
};
Loading