Skip to content

Commit c4be70b

Browse files
committed
first commit
0 parents  commit c4be70b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+18577
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/node_modules
2+
/dist
3+
/.vic
4+
*.vic

.eslintrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"rules": {
3+
// "new-parens": [
4+
// "error",
5+
// "never"
6+
// ]
7+
}
8+
}

.github/CODE_OF_CONDUCT.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Community Guidelines
2+
3+
The following community guidelines are based on [Tailwind CSS Community Guidelines](https://github.com/tailwindlabs/tailwindcss/blob/main/.github/CODE_OF_CONDUCT.md).
4+
5+
This document provides community guidelines for a respectful, productive, and collaborative place for any person who is willing to contribute to the project. It applies to all “collaborative space”, which is defined as community communications channels (such as mailing lists, submitted patches, commit comments, etc.).
6+
7+
- Participants will be tolerant of opposing views.
8+
- Participants must ensure that their language and actions are free of personal attacks and disparaging personal remarks.
9+
- When interpreting the words and actions of others, participants should always assume good intentions.
10+
- Behaviour which can be reasonably considered harassment will not be tolerated.

.github/CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Contributing
2+
3+
Thanks for your interest in contributing to the project! Please take a moment to review this document **before submitting a pull request**.
4+
5+
## Pull requests
6+
7+
**Please ask first before starting work on any significant new features.**
8+
9+
It's never a fun experience to have your pull request declined after investing a lot of time and effort into a new feature. To avoid this from happening, we request that contributors create [an issue](https://github.com/VicGUTT/tailwindcss-font-face/issues) to first discuss any significant new features.
10+
11+
## Coding standards
12+
13+
Our code formatting rules are defined in [.eslintrc](https://github.com/VicGUTT/tailwindcss-font-face/blob/main/.eslintrc.json) and/or [package.json](https://github.com/VicGUTT/tailwindcss-font-face/blob/main/package.json). You can check your code against these standards by running:
14+
15+
```sh
16+
npm run lint
17+
```
18+
19+
To automatically fix any style violations in your code, you can run:
20+
21+
```sh
22+
npm run lint -- --fix
23+
```
24+
25+
## Running tests
26+
27+
You can run the test suite using the following commands:
28+
29+
```sh
30+
npm test
31+
```
32+
33+
Please ensure that the tests are passing when submitting a pull request. If you're adding new features, please include tests.

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
build:
5+
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
6+
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
node: ['14.x'] # '12.x',
11+
os: [ubuntu-latest] #, windows-latest, macOS-latest
12+
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v2
16+
17+
- name: Use Node ${{ matrix.node }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node }}
21+
22+
- name: Install deps and build (with cache)
23+
uses: bahmutov/npm-install@v1
24+
25+
# - name: Lint
26+
# run: npm run lint
27+
28+
- name: Test
29+
run: npm run test --ci --coverage --maxWorkers=2
30+
31+
- name: Build
32+
run: npm run build

.github/workflows/size.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: size
2+
on: [pull_request]
3+
jobs:
4+
size:
5+
runs-on: ubuntu-latest
6+
env:
7+
CI_JOB_NUMBER: 1
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: andresz1/size-limit-action@v1
11+
with:
12+
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.log
2+
.DS_Store
3+
/node_modules
4+
/dist
5+
/coverage
6+
/temp
7+
/.vic
8+
*.vic

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.vic
2+
*.vic

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Victor Schedlyn GUTT
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)