-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from RockiRider/feat/add-tests
Feat/add tests
- Loading branch information
Showing
25 changed files
with
1,341 additions
and
99 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#GitHub CODEOWNERS | ||
|
||
* @RockiRider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: "Release" | ||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
build_and_test: | ||
name: "Build and Test" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: npm ci | ||
- run: npm run build | ||
- name: Archive production artifacts | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: package-dist | ||
retention-days: 30 | ||
path: packages/mui-sonner/dist | ||
|
||
|
||
publish: | ||
runs-on: ubuntu-latest | ||
needs: build_and_test | ||
name: "Publish" | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: npm ci | ||
- name: Download production artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: package-dist | ||
path: packages/mui-sonner/dist | ||
|
||
- uses: JS-DevTools/npm-publish@v3 | ||
id: publish | ||
with: | ||
token: ${{ secrets.NPM_AUTH_TOKEN }} | ||
package: packages/mui-sonner | ||
|
||
- name: Bump version and push tag | ||
if: ${{ steps.publish.outputs.type }} | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
custom_tag: v${{steps.publish.outputs.version}} | ||
tag_prefix: vite-plugin-posthog_ | ||
|
||
- name: Create a GitHub release | ||
if: ${{ steps.publish.outputs.type }} | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: ${{ steps.tag_version.outputs.new_tag }} | ||
name: ${{ steps.tag_version.outputs.new_tag }} | ||
body: ${{ steps.tag_version.outputs.changelog }} | ||
generateReleaseNotes: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
# MUI-Sonner | ||
|
||
This is a Monorepo for the MUI-Sonner project. You can find the package inside the `packages` folder. | ||
This is a Monorepo for the mui-sonner project. You can find the package inside the `packages` folder. | ||
|
||
Todo | ||
|
||
- Todo | ||
- [] Close Button | ||
- [] Promise Button | ||
- [] SX Props to override button styles | ||
- Cleanup some types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
export const brand = { | ||
50: "#F0F7FF", | ||
100: "#CEE5FD", | ||
200: "#9CCCFC", | ||
300: "#55A6F6", | ||
400: "#0A66C2", | ||
500: "#0959AA", | ||
600: "#064079", | ||
700: "#033363", | ||
800: "#02294F", | ||
900: "#021F3B", | ||
}; | ||
|
||
export const secondary = { | ||
50: "#F9F0FF", | ||
100: "#E9CEFD", | ||
200: "#D49CFC", | ||
300: "#B355F6", | ||
400: "#750AC2", | ||
500: "#6709AA", | ||
600: "#490679", | ||
700: "#3B0363", | ||
800: "#2F024F", | ||
900: "#23023B", | ||
}; | ||
|
||
export const gray = { | ||
50: "#FBFCFE", | ||
100: "#EAF0F5", | ||
200: "#D6E2EB", | ||
300: "#BFCCD9", | ||
400: "#94A6B8", | ||
500: "#5B6B7C", | ||
600: "#4C5967", | ||
700: "#364049", | ||
800: "#131B20", | ||
900: "#090E10", | ||
}; | ||
|
||
export const green = { | ||
50: "#F6FEF6", | ||
100: "#E3FBE3", | ||
200: "#C7F7C7", | ||
300: "#A1E8A1", | ||
400: "#51BC51", | ||
500: "#1F7A1F", | ||
600: "#136C13", | ||
700: "#0A470A", | ||
800: "#042F04", | ||
900: "#021D02", | ||
}; |
Oops, something went wrong.