Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 65aa75b

Browse files
committed
feat: first version
1 parent ec6866f commit 65aa75b

23 files changed

+14113
-0
lines changed

.eslintrc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"plugins": ["eslint-plugin-html"],
3+
"extends": ["eslint:recommended"],
4+
"parserOptions": {
5+
"ecmaVersion": 2022,
6+
"sourceType": "module"
7+
},
8+
"env": {
9+
"es6": true,
10+
"node": true,
11+
"browser": true,
12+
"jest": true
13+
}
14+
}

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug report
3+
about: Report a bug that you encounter
4+
title: "Bug: "
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
## Bug description
10+
11+
Describe the bug, context and use case.
12+
13+
### Correct behavior expected
14+
15+
Describe the correct behavior you expect to happen if there is no bug.
16+
17+
### Wrong behavior observed
18+
19+
Describe the wrong behavior that happen because of the bug.
20+
21+
### Screenshot
22+
23+
_Optional:_ Add a screenshot to help explain the problem.
24+
25+
## Reproduce
26+
27+
Describe a way to reproduce the bug.
28+
29+
You can share a code snippet or give a step by step guide.
30+
31+
## Setup
32+
33+
Describe the setup you have when you encounter the bug : device, browser, library version...
34+
35+
## Additional information
36+
37+
Add any other information that can help us understand the bug or fix it.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "Feat: "
5+
labels: "enhancement"
6+
assignees: ""
7+
---
8+
9+
<!-- Rephrase the feature as a user story format : -->
10+
11+
As a [user|client|developer], I would like to ...
12+
13+
## Description
14+
15+
Describe the feature, context and use case.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Description
2+
3+
Please explain the changes you made here.
4+
5+
## Type of changes
6+
7+
Select the correct labels: `bug`, `enhancement` or `documentation`.
8+
9+
## Checklist
10+
11+
Valid all before asking for a code review to `argos-ci/code` :
12+
13+
- [ ] I have read the CONTRIBUTING doc
14+
- [ ] The commits message follows the [Conventional Commits' policy](https://www.conventionalcommits.org/)
15+
- [ ] Lint and unit tests pass locally
16+
- [ ] I have added tests if needed
17+
18+
Optional checks:
19+
20+
- [ ] My changes requires a change to the documentation
21+
- [ ] I have updated the documentation accordingly
22+
23+
## Further comments
24+
25+
*Optional* : Feel free to explain your motivation, share useful information or a feature screenshot.

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 2
17+
18+
- name: Use Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 16
22+
23+
- name: Install dependencies
24+
run: npm ci
25+
26+
- name: Format
27+
run: npm run format
28+
29+
- name: Lint
30+
run: npm run lint
31+
32+
- name: Check format
33+
run: npm run check-format
34+
35+
- name: Install playwright browsers
36+
run: npx playwright install --with-deps chromium
37+
38+
- name: Test
39+
run: npm run test
40+
41+
- name: Argos upload screenshots
42+
run: npx @argos-ci/cli upload ./screenshots

.github/workflows/docs-build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Trigger https://argos-ci.com/docs build
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Call Netlify Webhook
13+
run: curl -X POST -d {} https://api.netlify.com/build_hooks/6355731ceb0bed1962bae7fc

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
screenshots/*
3+
!screenshots/.gitkeep

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/*
2+
!index.js
3+
!index.cjs
4+
!index.d.ts

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CHANGELOG.md
2+
package-lock.json
3+
package.json

CHANGELOG.md

Whitespace-only changes.

0 commit comments

Comments
 (0)