Skip to content

Commit 69f88ab

Browse files
committed
feat: initial commit
0 parents  commit 69f88ab

32 files changed

+20156
-0
lines changed

.eslintrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": [
3+
"@bifravst/eslint-config-typescript",
4+
"plugin:react/recommended"
5+
],
6+
"settings": {
7+
"react": {
8+
"version": "latest"
9+
}
10+
},
11+
"rules": {
12+
"@typescript-eslint/indent": "warn"
13+
}
14+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build and Release
2+
3+
on: push
4+
5+
env:
6+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7+
8+
jobs:
9+
main:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: "14.x"
17+
- name: Keep npm cache around to speed up installs
18+
uses: actions/cache@v1
19+
with:
20+
path: ~/.npm
21+
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
22+
restore-keys: |
23+
${{ runner.OS }}-build-${{ env.cache-name }}-
24+
${{ runner.OS }}-build-
25+
${{ runner.OS }}-
26+
- name: Install dependencies
27+
run: npm ci --no-audit
28+
- name: Build
29+
run: |
30+
npx tsc
31+
npm run build
32+
- name: Lint
33+
run: npm run lint
34+
- name: Semantic release
35+
continue-on-error: true
36+
run: |
37+
npm i --no-save semantic-release
38+
npx semantic-release

.gitignore

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

.prettierrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
...require('@bifravst/code-style/.prettierrc'),
3+
}

.snyk

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.14.1
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-LODASH-567746:
7+
- styled-components > @babel/traverse > lodash:
8+
patched: '2020-05-01T06:14:24.386Z'
9+
- styled-components > babel-plugin-styled-components > lodash:
10+
patched: '2020-05-01T06:14:24.386Z'
11+
- styled-components > @babel/traverse > @babel/generator > lodash:
12+
patched: '2020-05-01T06:14:24.386Z'
13+
- styled-components > babel-plugin-styled-components > @babel/helper-annotate-as-pure > @babel/types > lodash:
14+
patched: '2020-05-01T06:14:24.386Z'
15+
- styled-components > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash:
16+
patched: '2020-05-01T06:14:24.386Z'
17+
- styled-components > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash:
18+
patched: '2020-05-01T06:14:24.386Z'

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Local Schedule
2+
3+
![Build and Release](https://github.com/coderbyheart/localschedule/workflows/Build%20and%20Release/badge.svg?branch=saga)
4+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
5+
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
6+
7+
Create a sharable schedule with times in your local timezone. Great for remote
8+
conferences!
9+
10+
### Install dependencies
11+
12+
npm ci
13+
14+
### Start the development server
15+
16+
npm start
17+
18+
## Architecture decision records (ADRs)
19+
20+
see [./adr](./adr).

adr/001-clean-gitignore.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 1. Clean `.gitignore`
2+
3+
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">A .gitignore in a project should only cover artifacts caused by the contained source code, not those caused by the personal choice of editor and/or environment of a developer. <a href="https://t.co/xAWbf0pbPR">https://t.co/xAWbf0pbPR</a></p>&mdash; Markus Tacker 🇳🇴 (@coderbyheart) <a href="https://twitter.com/coderbyheart/status/1212980450861420544?ref_src=twsrc%5Etfw">January 3, 2020</a></blockquote>
4+
5+
This is explained in detail
6+
[here](https://github.com/coderbyheart/first-principles/issues/30).

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-angular'] }

netlify.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[build]
2+
publish = "dist"
3+
command = '''
4+
echo $COMMIT_REF > .version;
5+
./node_modules/.bin/tsc;
6+
npm run build;
7+
cp -v web/* dist;
8+
node scripts/renderIndex.js > dist/index.html;
9+
'''
10+
[build.environment]
11+
NODE_VERSION = "14"

0 commit comments

Comments
 (0)