-
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 #4 from Applelo/dev
Version 1.1.1
- Loading branch information
Showing
21 changed files
with
1,676 additions
and
945 deletions.
There are no files selected for viewing
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,3 @@ | ||
{ | ||
"extends": "@antfu" | ||
} |
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,41 @@ | ||
# Contributing | ||
|
||
Contributions are welcome and will be fully credited. | ||
|
||
## Creating issues | ||
|
||
### Bug reports | ||
|
||
Always try to provide as much information as possible. If you are reporting a bug, try to provide a repro. This will help me check the problem quicker. | ||
|
||
### Feature requests | ||
|
||
Lay out the reasoning behind it and propose an API for it. Ideally, you should have a practical example to prove the utility of the feature you're requesting. | ||
|
||
## Pull Requests | ||
|
||
I only accept contributions via Pull Requests on [Github](https://github.com/{{ githubAccount }}/{{ name }}). | ||
|
||
Here are some guidelines to make the process smoother and easier for me and you: | ||
|
||
- **Add a test** - New features and maybe bugs need tests. If you find it difficult to test, please tell me in the pull request and I will try to help you! | ||
- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. | ||
- **Run `pnpm test` locally** - This will allow you to go faster | ||
- **Run `pnpm lint` and `pnpm typechecking` locally** - This will prevent you to have surprise for not respecting eslint config and problem with typescript | ||
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. | ||
- **Send coherent history** - Make sure your commits message means something | ||
|
||
## Repo setup | ||
|
||
To develop locally, fork the Blottie repository and clone it in your local machine. | ||
|
||
The package manager used must be pnpm. So you will need to run `pnpm install` to install dependencies. | ||
|
||
To build the package, you need to do a `pnpm build`. | ||
|
||
### Test | ||
|
||
The components testing are made with Cypress allowing to check if everything working as expected. | ||
|
||
To run cypress testing in headless mode, use the command `pnpm cypress`. You can open cypress app with the `pnpm cypress-ui` command. | ||
All test need to be writing in the corresponding file. |
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 |
---|---|---|
|
@@ -19,12 +19,12 @@ jobs: | |
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
version: 8 | ||
|
||
- name: Set node version to 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
# cache: pnpm | ||
|
||
# - name: Cache Cypress binary | ||
|
@@ -53,12 +53,12 @@ jobs: | |
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
version: 8 | ||
|
||
- name: Set node version to 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
cache: pnpm | ||
|
||
- name: Install | ||
|
@@ -70,8 +70,5 @@ jobs: | |
- name: Lint | ||
run: pnpm lint | ||
|
||
- name: Check formatting | ||
run: pnpm format:check | ||
|
||
- name: Typecheck | ||
run: pnpm typecheck |
This file was deleted.
Oops, something went wrong.
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
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
Large diffs are not rendered by default.
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
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
Oops, something went wrong.