-
-
Notifications
You must be signed in to change notification settings - Fork 5
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 #23 from OutpostHQ/pnpm-migrate
feat: migrate from yarn workspace to pnpm workspace
- Loading branch information
Showing
22 changed files
with
10,416 additions
and
16,000 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,18 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": [ | ||
"@changesets/changelog-github", | ||
{ "repo": "outposthq/tasty" } | ||
], | ||
"commit": false, | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { | ||
"onlyUpdatePeerDependentsWhenOutOfRange": true | ||
}, | ||
"ignore": [ | ||
"example" | ||
] | ||
} |
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,41 +1,64 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
name: "Bug Report" | ||
description: "File a bug report" | ||
body: | ||
|
||
# Bug report | ||
- type: "markdown" | ||
attributes: | ||
value: | | ||
Thanks for creating an issue! 🙂 | ||
|
||
## Describe the bug | ||
Please search open/closed issues before submitting. Someone | ||
might have asked the same thing before! 🔎 | ||
|
||
A clear and concise description of what the bug is. | ||
|
||
## To Reproduce | ||
|
||
Steps to reproduce the behavior, please provide code snippets or a repository: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
## Expected behavior | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
## Screenshots | ||
|
||
If applicable, add screenshots to help explain your problem. | ||
|
||
## System information | ||
|
||
- OS: [e.g. macOS, Windows] | ||
- Browser (if applies) [e.g. chrome, safari] | ||
- Version of Stitches: [e.g. 0.0.2] | ||
- Version of Node.js: [e.g. 10.10.0] | ||
|
||
## Additional context | ||
|
||
Add any other context about the problem here. | ||
- type: "input" | ||
id: "description" | ||
attributes: | ||
label: "Description" | ||
description: "A brief description of the issue." | ||
placeholder: | | ||
When I \_**\_, I expected \_\_** to happen but \_\_\_\_ happened instead. | ||
validations: | ||
required: true | ||
- type: "input" | ||
id: "reproduction" | ||
attributes: | ||
label: "Link to Reproduction" | ||
description: | | ||
A link to a CodeSandbox reproduction which demonstrates the bug | ||
placeholder: "https://codesandbox.io/" | ||
validations: | ||
required: true | ||
- type: "textarea" | ||
id: "steps" | ||
attributes: | ||
label: "Steps to reproduce" | ||
description: | | ||
Explain how to cause the issue in the provided reproduction. | ||
value: | 1. Go to '...' 2. Click on '...' 3. Scroll down to '...' 4. See error | ||
- type: "input" | ||
id: "tastycss-version" | ||
attributes: | ||
label: "TastyCSS Version" | ||
description: "The version of Tastycss you use." | ||
placeholder: "0.8.9" | ||
validations: | ||
required: true | ||
- type: "input" | ||
id: "browser" | ||
attributes: | ||
label: "Browser" | ||
description: "The browser(s) this issue occurred with." | ||
placeholder: "Google Chrome 93" | ||
- type: "checkboxes" | ||
id: "operating-system" | ||
attributes: | ||
label: "Operating System" | ||
description: "The operating system(s) this issue occurred with." | ||
options: - label: "macOS" - label: "Windows" - label: "Linux" | ||
- type: "textarea" | ||
id: "additional-information" | ||
attributes: | ||
label: "Additional Information" | ||
description: | | ||
Use this section to provide any additional information you might have | ||
like screenshots, notes, or links to ideas. |
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 @@ | ||
blank_issues_enabled: false |
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,19 +1,56 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
name: "Feature Request" | ||
description: "Request a feature or enhancement" | ||
labels: ["needs triage"] | ||
body: | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
- type: "markdown" | ||
attributes: | ||
value: | | ||
Thanks for filing an issue! 🙂 | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
Please search open/closed issues before submitting. Someone | ||
might have asked the same thing before! 🔎 | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
- type: "textarea" | ||
id: "description" | ||
attributes: | ||
label: "Description" | ||
description: "Please describe your request in one or two sentences." | ||
validations: | ||
required: true | ||
- type: "textarea" | ||
id: "justification" | ||
attributes: | ||
label: "Problem Statement/Justification" | ||
description: | | ||
Please provide information(s) why this should be added to TastyCSS | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
If this feature is related to a problem you've noticed, mention it as | ||
well. | ||
|
||
validations: | ||
required: true | ||
|
||
- type: "textarea" | ||
id: "proposed-solution" | ||
attributes: | ||
label: "Proposed Solution or API" | ||
description: | | ||
Please provide code snippets, gists, or links to the ideal | ||
design or API. | ||
validations: | ||
required: true | ||
- type: "textarea" | ||
id: "alternatives" | ||
attributes: | ||
label: "Alternatives" | ||
description: | | ||
What alternative solutions have you considered before making this | ||
request? | ||
- type: "textarea" | ||
id: "additional-information" | ||
attributes: | ||
label: "Additional Information" | ||
description: | | ||
What resources (links, screenshots, etc.) do you have to assist this | ||
effort? |
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,26 @@ | ||
name: 'Install' | ||
description: 'Sets up Node.js and runs install' | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install dependencies | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.nvmrc' | ||
registry-url: 'https://registry.npmjs.org' | ||
cache: 'pnpm' | ||
|
||
- name: Setup Git User | ||
shell: bash | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Shubham Kaushal" | ||
- name: Install dependencies | ||
shell: bash | ||
run: pnpm install |
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,38 @@ | ||
<!--- | ||
Thanks for creating a Pull Request 💖! | ||
Please read the following before submitting: | ||
- PRs that adds new external dependencies might take a while to review. | ||
- Keep your PR as small as possible. | ||
- Limit your PR to one type (docs, feature, refactoring, ci, or bugfix) | ||
--> | ||
|
||
Closes # <!-- Github issue # here --> | ||
|
||
## Description | ||
|
||
> Add a brief description | ||
## Current behavior (updates) | ||
|
||
> Please describe the current behavior that you are modifying | ||
## New behavior | ||
|
||
> Please describe the behavior or changes this PR adds | ||
## Is this a breaking change (Yes/No): | ||
|
||
<!-- If Yes, please describe the impact and migration path for existing TastyCSS users. --> | ||
|
||
## Checklist | ||
|
||
Before taking this PR from the draft, please, make sure you have done the following: | ||
|
||
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> | ||
|
||
- [ ] Pipeline is passed. | ||
- [ ] Tests are added (including unit tests and stories in the storybook). | ||
- [ ] Tests are passed successfully. | ||
- [ ] If you're adding a new component/new props, add stories that describe how this component/prop works. | ||
|
||
## Additional Information |
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
name: Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install | ||
uses: ./.github/composite-actions/install | ||
|
||
- name: Build packages | ||
run: pnpm build |
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,48 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
paths: | ||
- '.changeset/**' | ||
- 'packages/**' | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install | ||
uses: ./.github/composite-actions/install | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
- name: Create release Pull Request or publish to NPM | ||
id: changesets | ||
uses: changesets/action@v1 | ||
with: | ||
publish: pnpm release | ||
commit: 'ci(changesets): version packages' | ||
setupGitUser: false | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create @dev release | ||
if: steps.changesets.outputs.published != 'true' | ||
run: | | ||
git checkout main | ||
pnpm version:dev | ||
pnpm release:dev | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
save-exact = true | ||
auto-install-peers = 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
16.x |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.