Skip to content

Commit 92a8bcc

Browse files
committed
feat: initial commit
0 parents  commit 92a8bcc

Some content is hidden

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

57 files changed

+9506
-0
lines changed

.circleci/config.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
defaults: &defaults
2+
docker:
3+
- image: circleci/node:9
4+
working_directory: ~/octopus
5+
6+
version: 2
7+
jobs:
8+
install:
9+
<<: *defaults
10+
steps:
11+
- checkout
12+
- run:
13+
name: Create package-lock.json checksum
14+
command: sha256sum package-lock.json > .package-lock-sum
15+
- restore_cache:
16+
keys:
17+
- v1-dependencies-{{ checksum ".package-lock-sum" }}
18+
- run:
19+
name: Install
20+
command: npm install
21+
- save_cache:
22+
paths:
23+
- node_modules
24+
key: v1-dependencies-{{ checksum ".package-lock-sum" }}
25+
- save_cache:
26+
paths:
27+
- ~/octopus
28+
key: v1-repo-{{ .Revision }}
29+
deploy:
30+
<<: *defaults
31+
steps:
32+
- restore_cache:
33+
keys:
34+
- v1-repo-{{ .Revision }}
35+
- restore_cache:
36+
keys:
37+
- v1-build-{{ .Revision }}
38+
- run:
39+
name: Release
40+
command: npx semantic-release || true
41+
42+
workflows:
43+
version: 2
44+
deploy:
45+
jobs:
46+
- install
47+
- deploy:
48+
requires:
49+
- install
50+
filters:
51+
branches:
52+
only: master

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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 = 2
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.eslintrc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"extends": ["airbnb-base", "plugin:prettier/recommended"],
3+
"parserOptions": {
4+
"sourceType": "script"
5+
},
6+
"rules": {
7+
"arrow-body-style": 0
8+
},
9+
"overrides": [
10+
{
11+
"files": ["scripts/**/*"],
12+
"rules": {
13+
"import/no-extraneous-dependencies": [
14+
2,
15+
{
16+
"devDependencies": true
17+
}
18+
]
19+
}
20+
}
21+
]
22+
}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
coverage/
2+
node_modules/
3+
npm-debug.log
4+
.DS_Store
5+
www/
6+
dist/
7+
src/components.d.ts

.prettierignore

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

.prettierrc

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

0 commit comments

Comments
 (0)