Skip to content
Merged
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
19 changes: 12 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,41 @@
---
name: 🐛 Bug
about: Found an issue in our library? Report it here to help us improve!
title: "Bug: "
labels: "Bug, Needs Triage"
assignees: ""
title: 'Bug: '
labels: 'Bug, Needs Triage'
assignees: ''
---

### Checks

<!-- Replace the whitespace between the square brackets with an 'x', e.g. [x] or After you create the PR, they will become checkboxes that you can click on. -->

- [ ] This is not a duplicate of an existing issue (please have a look through our [open issues list](https://github.com/nativeflowteam/nativeflowcss/issues) to make sure)
- [ ] I have thoroughly read and understand [Contributing Guide](https://github.com/nativeflowteam/nativeflowcss/blob/main/CONTRIBUTING.md)
- [ ] Would you like to work on this issue?

### Describe the bug

<!-- Give a short description to the bugs you're facing, max 1-2 lines, like a brief summary -->

### To Reproduce

<!-- Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error -->

### (optional) How *if it does* break UI
### (optional) How _if it does_ break UI

>Images
> Images

### (Optional) Additional Comments

*No response*
_No response_

### (Optional) Discord username

<!-- server link -->

*No response*
_No response_
16 changes: 11 additions & 5 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
---
name: 🚀 Enhancement/Feature Request
about: Suggest an enhancement or feature for our library to help us improve!
title: "Enhancement: "
labels: "Enhancement, Needs Triage"
assignees: ""
title: 'Enhancement: '
labels: 'Enhancement, Needs Triage'
assignees: ''
---

### Checks

<!-- Replace the whitespace between the square brackets with an 'x', e.g. [x] or After you create the PR, they will become checkboxes that you can click on. -->

- [ ] This is not a duplicate of an existing issue (please have a look through our [open issues list](https://github.com/nativeflowteam/nativeflowcss/issues) to make sure)
- [ ] I have thoroughly read and understand [Contributing Guide](https://github.com/nativeflowteam/nativeflowcss/blob/main/CONTRIBUTING.md)
- [ ] Would you like to work on this enhancement?

### Describe the enhancement

<!-- Give a short description of the enhancement or feature you are suggesting, max 1-2 lines, like a brief summary -->

### Describe the solution you'd like

<!-- A clear and concise description of what you want to happen -->

### Describe alternatives you've considered

<!-- A clear and concise description of any alternative solutions or features you've considered -->

### (Optional) Additional Comments

*No response*
_No response_

### (Optional) Discord username

<!-- server link -->

*No response*
_No response_
14 changes: 12 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<!-- Yay another PR, thank you so much for taking these efforts! -->

## Because

<!-- Summarize the purpose or reasons for this PR, e.g. what problem it solves or what benefit it provides. -->

## This PR

<!-- A bullet point list of one or more items describing the specific changes. -->

## Issue

<!--
If this PR closes an open issue in this repo, replace the XXXXX below with the issue number, e.g. Closes #2013.

Expand All @@ -16,18 +19,25 @@ If this PR does not close, but is related to another issue or PR, you can link i

_Note:_ any pull request created for an issue that already has someone else assigned **will be closed without review**.
-->

Closes #XXXXX

## Additional Information

<!-- Any other information about this PR, such as a link to a Discord discussion. -->
*No response*

_No response_

### (Optional) Discord username

<!-- server link -->
*No response*

_No response_

## Pull Request Requirements

<!-- Replace the whitespace between the square brackets with an 'x', e.g. [x] or After you create the PR, they will become checkboxes that you can click on. -->

- [ ] I have thoroughly read and understand [Contributing Guide](https://github.com/nativeflowteam/nativeflowcss/blob/main/CONTRIBUTING.md)
- [ ] The title of this PR follows the `location of change: brief description of change` format, e.g. `Sizing: Add padding support`
- [ ] The `Because` section summarizes the reason for this PR
Expand Down
25 changes: 0 additions & 25 deletions .github/actions/setup/action.yml

This file was deleted.

40 changes: 20 additions & 20 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
"Spacing":
- "src/spacing/*"
'Spacing':
- 'src/spacing/*'

"Flexbox":
- "src/flexbox/*"
'Flexbox':
- 'src/flexbox/*'

"Border":
- "src/border/*"
'Border':
- 'src/border/*'

"Typography":
- "src/typography/*"
'Typography':
- 'src/typography/*'

"Layout":
- "src/layout/*"
'Layout':
- 'src/layout/*'

"Effects":
- "src/effects/*"
'Effects':
- 'src/effects/*'

"Sizing":
- "src/sizing/*"
'Sizing':
- 'src/sizing/*'

"Transforms":
- "src/transforms/*"
'Transforms':
- 'src/transforms/*'

"Shadow":
- "src/shadow/*"
'Shadow':
- 'src/shadow/*'

"CI":
- ".github/**/*"
'CI':
- '.github/**/*'
45 changes: 32 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI

on:
push:
branches:
Expand All @@ -12,13 +13,19 @@ on:

jobs:
lint:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm

- name: Setup
uses: ./.github/actions/setup
- name: Install dependencies
run: npm ci

- name: Lint files
run: npm run lint
Expand All @@ -27,25 +34,37 @@ jobs:
run: npm run typecheck

test:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm

- name: Install dependencies
run: npm ci

- name: Run unit tests
run: npm test -- --maxWorkers=2 --coverage

build-library:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm

- name: Setup
uses: ./.github/actions/setup
- name: Install dependencies
run: npm ci

- name: Build package
run: npm run prepare
run: npm run build
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"quoteProps": "consistent",
"singleQuote": true,
"printWidth": 2000,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"endOfLine": "auto",
"endOfLine": "lf",
"semi": true
}
Loading
Loading