Skip to content

Commit 53765a0

Browse files
committed
2 parents 2d78549 + 7cb4f5a commit 53765a0

220 files changed

Lines changed: 38004 additions & 13226 deletions

File tree

Some content is hidden

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

.eslintignore

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

.eslintrc.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module.exports = {
2+
root: true,
3+
settings: {
4+
react: {
5+
version: 'detect'
6+
}
7+
},
8+
env: {
9+
browser: true,
10+
es2021: true,
11+
jest: true
12+
},
13+
extends: [
14+
'plugin:react/recommended',
15+
'plugin:jsx-a11y/recommended',
16+
'standard',
17+
'prettier'
18+
],
19+
overrides: [
20+
{
21+
// 3) Now we enable eslint-plugin-testing-library rules or preset only for matching testing files!
22+
files: ['**/src/?(*.)+test.[jt]s?(x)'],
23+
extends: ['plugin:testing-library/react']
24+
}
25+
],
26+
parserOptions: {
27+
ecmaVersion: 'latest',
28+
sourceType: 'module'
29+
},
30+
plugins: ['react'],
31+
rules: {}
32+
}

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: 'npm' # See documentation for possible values
4+
directory: '/' # Location of package manifests
5+
schedule:
6+
interval: 'weekly'

.github/pull_request_template.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
**Related Issue(s):**
2+
3+
- #
4+
5+
**Proposed Changes:**
6+
7+
1.
8+
2.
9+
10+
**PR Checklist:**
11+
12+
- [ ] I have added my changes to the [CHANGELOG](https://github.com/Element84/filmdrop-ui/blob/main/CHANGELOG.md) **or** a CHANGELOG entry is not required.

.github/workflows/push.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: FilmDrop UI CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- 'feature/**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
jobs:
11+
test:
12+
name: Run static analysis and tests
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version-file: .nvmrc
19+
cache: npm
20+
cache-dependency-path: package.json
21+
- name: Upgrade npm
22+
run: npm install -g npm@latest
23+
- name: Install dependencies
24+
run: npm ci
25+
- name: Run Markdown checks
26+
run: npm run check-markdown
27+
- name: Run format
28+
run: npm run format
29+
- name: Run eslint
30+
run: npm run lint
31+
# - name: Typecheck
32+
# run: npm run typecheck
33+
- name: Run audit (all, with exclusions)
34+
run: npm run audit-all
35+
- name: Run audit (prod, no exclusions)
36+
run: npm run audit-prod
37+
- name: Copy config file
38+
run: mkdir -p ./public/config && cp config_helper/config.example.json ./public/config/config.json
39+
- name: Run unit tests
40+
run: npm run test
41+
- name: Run dev build
42+
run: npm run build

.gitignore

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,24 @@
1-
.coverage
2-
htmlcov
3-
dist
4-
.direnv
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
/public/config/config*.json
4+
/public/config/*.png
5+
/public/config/*.ico
6+
!/public/config/config.example.json
57

68
# dependencies
7-
node_modules
9+
/node_modules
10+
/.pnp
11+
.pnp.js
12+
13+
# testing
14+
/coverage
815

9-
# JS
10-
.next
11-
out
12-
npm-debug.log
16+
# production
17+
/build
1318

1419
# misc
1520
.DS_Store
1621

17-
# local env files
18-
.env.local
19-
.env.development.local
20-
.env.test.local
21-
.env.production.local
22-
23-
# vercel
24-
.vercel
25-
26-
# vscode
27-
pyrightconfig.json
28-
sat-tasking-sprint.code-workspace
29-
.vscode/
30-
31-
# python
32-
.python-version
33-
.venv
34-
__pycache__
35-
.env
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Ignore artifacts:
2+
build
3+
coverage
4+
5+
data/

.prettierrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "none",
3+
"tabWidth": 2,
4+
"semi": false,
5+
"singleQuote": true
6+
}

.remarkignore

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

0 commit comments

Comments
 (0)