Skip to content

Commit 15917b9

Browse files
committed
docs v2 preview
1 parent 0808418 commit 15917b9

File tree

1,463 files changed

+57897
-76145
lines changed

Some content is hidden

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

1,463 files changed

+57897
-76145
lines changed

.circleci/config.yml

-22
This file was deleted.

.editorconfig

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
indent_style = space
8+
indent_size = 2
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
insert_final_newline = false
15+
trim_trailing_whitespace = false

.eslintrc

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"env": {
3+
"node": true
4+
},
5+
"extends": [
6+
"eslint:recommended",
7+
"plugin:@typescript-eslint/eslint-recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
10+
"plugin:@stencil/recommended",
11+
"prettier",
12+
"prettier/@typescript-eslint",
13+
"plugin:prettier/recommended"
14+
],
15+
"parser": "@typescript-eslint/parser",
16+
"parserOptions": {
17+
"createDefaultProgram": true,
18+
"ecmaVersion": 2017,
19+
"project": "tsconfig.json",
20+
"sourceType": "module"
21+
},
22+
"plugins": ["@typescript-eslint", "@stencil", "prettier"],
23+
"root": true,
24+
"rules": {
25+
"@stencil/async-methods": 2,
26+
"@stencil/ban-prefix": [2, ["stencil", "stnl", "st"]],
27+
"@stencil/ban-side-effects": 0,
28+
"@stencil/decorators-context": 2,
29+
"@stencil/decorators-style": [
30+
2,
31+
{
32+
"element": "inline",
33+
"event": "inline",
34+
"listen": "multiline",
35+
"method": "multiline",
36+
"prop": "inline",
37+
"state": "inline",
38+
"watch": "multiline"
39+
}
40+
],
41+
"@stencil/element-type": 2,
42+
"@stencil/host-data-deprecated": 2,
43+
"@stencil/methods-must-be-public": 2,
44+
"@stencil/no-unused-watch": 2,
45+
"@stencil/own-methods-must-be-private": 0,
46+
"@stencil/own-props-must-be-private": 0,
47+
"@stencil/prefer-vdom-listener": 2,
48+
"@stencil/props-must-be-public": 2,
49+
"@stencil/props-must-be-readonly": 2,
50+
"@stencil/render-returns-host": 2,
51+
"@stencil/required-jsdoc": 2,
52+
"@stencil/reserved-member-names": 2,
53+
"@stencil/single-export": 2,
54+
"@stencil/strict-boolean-conditions": 0,
55+
"@stencil/strict-mutable": 2,
56+
"@typescript-eslint/ban-ts-ignore": 0,
57+
"@typescript-eslint/explicit-function-return-type": 0,
58+
"@typescript-eslint/no-explicit-any": 0,
59+
"@typescript-eslint/no-for-in-array": 0,
60+
"@typescript-eslint/no-misused-promises": 0,
61+
"@typescript-eslint/no-unnecessary-type-assertion": 0,
62+
"@typescript-eslint/no-unused-vars": 0,
63+
"@typescript-eslint/no-use-before-define": 0,
64+
"arrow-parens": [1, "always"],
65+
"no-console": 1
66+
}
67+
}

.github/workflows/test.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- "*"
6+
jobs:
7+
test:
8+
name: Test
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Repo
12+
uses: actions/checkout@master
13+
- name: Setup Node.js 10.x
14+
uses: actions/setup-node@master
15+
with:
16+
node-version: 10.x
17+
- name: Install Dependencies
18+
run: yarn
19+
- name: Run Initial Build
20+
run: yarn build
21+
- name: Run Test Script
22+
run: yarn test

.gitignore

+62-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,63 @@
1-
_site/
1+
dist/
2+
!www/favicon.ico
3+
www/
4+
*~
5+
*.sw[mnpcod]
6+
*.log
7+
*.lock
8+
*.tmp
9+
*.tmp.*
10+
log.txt
11+
*.sublime-project
12+
*.sublime-workspace
13+
.stencil
14+
.idea
15+
.sass-cache
16+
.versions
217
node_modules
3-
.DS_Store
18+
$RECYCLE.BIN
19+
.DS_Store
20+
Thumbs.db
21+
UserInterfaceState.xcuserstate
22+
.env
23+
.DS_Store?
24+
._*
25+
.Spotlight-V100
26+
.Trashes
27+
ehthumbs.db
28+
nbproject
29+
.buildpath
30+
.idea
31+
.project
32+
.settings
33+
.vs
34+
.vscode
35+
composer.lock
36+
*.swp
37+
*.swo
38+
node_modules
39+
.node_modules
40+
package-lock.json
41+
*.log
42+
.versions
43+
generated
44+
capi/src/__tests__/*/api
45+
capi/src/__tests__/*/www
46+
client/src/api
47+
client/src/assets
48+
49+
#amplify
50+
amplify/\#current-cloud-backend
51+
amplify/.config/local-*
52+
amplify/mock-data
53+
amplify/backend/amplify-meta.json
54+
amplify/backend/awscloudformation
55+
build/
56+
dist/
57+
node_modules/
58+
client/src/aws-exports.js
59+
client/src/aws-exports.ts
60+
awsconfiguration.json
61+
amplifyconfiguration.json
62+
amplify-gradle-config.json
63+
amplifyxc.config

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
README.md
2+
docs

.prettierrc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": false,
4+
"jsxBracketSameLine": false,
5+
"jsxSingleQuote": false,
6+
"printWidth": 80,
7+
"proseWrap": "never",
8+
"semi": true,
9+
"singleQuote": false,
10+
"tabWidth": 2,
11+
"trailingComma": "all",
12+
"useTabs": false
13+
}

0 commit comments

Comments
 (0)