-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add changeset and release plan
- Loading branch information
1 parent
b6db445
commit 23212d5
Showing
8 changed files
with
155 additions
and
89 deletions.
There are no files selected for viewing
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,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) |
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,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
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,7 @@ | ||
--- | ||
'@almond-ui/storybook': major | ||
'@almond-ui/core': major | ||
'@almond-ui/docs': major | ||
--- | ||
|
||
Major release Almond-UI tailwind components |
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,40 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm Manager | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
|
||
- name: Setup Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: "pnpm" | ||
|
||
- name: Install Dependencies | ||
run: pnpm install | ||
|
||
- name: Create Release Pull Request or Publish to npm | ||
id: changesets | ||
uses: changesets/action@v1 | ||
with: | ||
# This expects you to have a script called release which does a build for your packages and calls changeset publish | ||
publish: pnpm run release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
@@ -1,87 +1,87 @@ | ||
{ | ||
"name": "@almond-ui/core", | ||
"description": "A React component library for building modern web applications using Tailwind CSS.", | ||
"version": "0.10.1", | ||
"license": "MIT", | ||
"author": { | ||
"name": "Francis Masha", | ||
"email": "francismasha96@gmail.com" | ||
}, | ||
"homepage": "https://almond-ui.dev/", | ||
"repository": { | ||
"url": "https://github.com/mashafrancis/almond-ui.git", | ||
"type": "git", | ||
"directory": "packages/core" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/mashafrancis/almond-ui/issues" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"reactjs", | ||
"tailwind", | ||
"tailwindcss", | ||
"nextjs", | ||
"components", | ||
"ui-kit" | ||
], | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist/**", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"prebuild": "rm -rf dist", | ||
"build": "rollup -c rollup.config.mjs", | ||
"dev": "pnpm run build --watch", | ||
"lint": "eslint \"src/**/*.ts*\"", | ||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", | ||
"test": "vitest run" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^25.0.3", | ||
"@rollup/plugin-node-resolve": "^15.1.0", | ||
"@rollup/plugin-terser": "^0.4.3", | ||
"@rollup/plugin-typescript": "^11.1.2", | ||
"@testing-library/react": "^14.0.0", | ||
"@types/react": "^18.2.15", | ||
"@types/react-dom": "^18.2.7", | ||
"eslint": "^8.45.0", | ||
"eslint-config-next": "latest", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-turbo": "latest", | ||
"eslint-plugin-react": "7.32.2", | ||
"happy-dom": "^10.5.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"rollup": "^3.26.3", | ||
"rollup-plugin-copy": "^3.4.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-preserve-directives": "^0.2.0", | ||
"rollup-plugin-typescript-paths": "^1.4.0", | ||
"tsc-alias": "^1.8.7", | ||
"tslib": "^2.6.0", | ||
"typescript": "^5.1.6", | ||
"vite-tsconfig-paths": "^4.2.0", | ||
"vitest": "^0.33.0" | ||
}, | ||
"dependencies": { | ||
"@floating-ui/react": "^0.24.8", | ||
"@floating-ui/react-dom": "^2.0.1", | ||
"@tailwindcss/forms": "^0.5.4", | ||
"class-variance-authority": "^0.7.0", | ||
"framer-motion": "^10.12.22", | ||
"tailwind-merge": "^1.14.0", | ||
"tailwind-scrollbar": "^3.0.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
"name": "@almond-ui/core", | ||
"description": "A React component library for building modern web applications using Tailwind CSS.", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"author": { | ||
"name": "Francis Masha", | ||
"email": "francismasha96@gmail.com" | ||
}, | ||
"homepage": "https://almond-ui.dev/", | ||
"repository": { | ||
"url": "https://github.com/mashafrancis/almond-ui.git", | ||
"type": "git", | ||
"directory": "packages/core" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/mashafrancis/almond-ui/issues" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"reactjs", | ||
"tailwind", | ||
"tailwindcss", | ||
"nextjs", | ||
"components", | ||
"ui-kit" | ||
], | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist/**", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"prebuild": "rm -rf dist", | ||
"build": "rollup -c rollup.config.mjs", | ||
"dev": "pnpm run build --watch", | ||
"lint": "eslint \"src/**/*.ts*\"", | ||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", | ||
"test": "vitest run" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^25.0.3", | ||
"@rollup/plugin-node-resolve": "^15.1.0", | ||
"@rollup/plugin-terser": "^0.4.3", | ||
"@rollup/plugin-typescript": "^11.1.2", | ||
"@testing-library/react": "^14.0.0", | ||
"@types/react": "^18.2.15", | ||
"@types/react-dom": "^18.2.7", | ||
"eslint": "^8.45.0", | ||
"eslint-config-next": "latest", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-turbo": "latest", | ||
"eslint-plugin-react": "7.32.2", | ||
"happy-dom": "^10.5.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"rollup": "^3.26.3", | ||
"rollup-plugin-copy": "^3.4.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-preserve-directives": "^0.2.0", | ||
"rollup-plugin-typescript-paths": "^1.4.0", | ||
"tsc-alias": "^1.8.7", | ||
"tslib": "^2.6.0", | ||
"typescript": "^5.1.6", | ||
"vite-tsconfig-paths": "^4.2.0", | ||
"vitest": "^0.33.0" | ||
}, | ||
"dependencies": { | ||
"@floating-ui/react": "^0.24.8", | ||
"@floating-ui/react-dom": "^2.0.1", | ||
"@tailwindcss/forms": "^0.5.4", | ||
"class-variance-authority": "^0.7.0", | ||
"framer-motion": "^10.12.22", | ||
"tailwind-merge": "^1.14.0", | ||
"tailwind-scrollbar": "^3.0.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.