Skip to content

Commit accd0a7

Browse files
committed
FAB
1 parent ca1ecd5 commit accd0a7

File tree

5 files changed

+2307
-60
lines changed

5 files changed

+2307
-60
lines changed

.eslintcache

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 176 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,174 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
1+
2+
# Created by https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode,react,node
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,visualstudiocode,react,node
4+
5+
### macOS ###
6+
# General
7+
.DS_Store
8+
.AppleDouble
9+
.LSOverride
10+
11+
# Icon must end with two \r
12+
Icon
13+
14+
15+
# Thumbnails
16+
._*
17+
18+
# Files that might appear in the root of a volume
19+
.DocumentRevisions-V100
20+
.fseventsd
21+
.Spotlight-V100
22+
.TemporaryItems
23+
.Trashes
24+
.VolumeIcon.icns
25+
.com.apple.timemachine.donotpresent
26+
27+
# Directories potentially created on remote AFP share
28+
.AppleDB
29+
.AppleDesktop
30+
Network Trash Folder
31+
Temporary Items
32+
.apdisk
33+
34+
### Node ###
35+
# Logs
36+
logs
37+
*.log
38+
npm-debug.log*
39+
yarn-debug.log*
40+
yarn-error.log*
41+
lerna-debug.log*
42+
43+
# Diagnostic reports (https://nodejs.org/api/report.html)
44+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
45+
46+
# Runtime data
47+
pids
48+
*.pid
49+
*.seed
50+
*.pid.lock
51+
52+
# Directory for instrumented libs generated by jscoverage/JSCover
53+
lib-cov
54+
55+
# Coverage directory used by tools like istanbul
56+
coverage
57+
*.lcov
58+
59+
# nyc test coverage
60+
.nyc_output
61+
62+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
63+
.grunt
64+
65+
# Bower dependency directory (https://bower.io/)
66+
bower_components
67+
68+
# node-waf configuration
69+
.lock-wscript
70+
71+
# Compiled binary addons (https://nodejs.org/api/addons.html)
72+
build/Release
73+
74+
# Dependency directories
75+
node_modules/
76+
jspm_packages/
77+
78+
# TypeScript v1 declaration files
79+
typings/
80+
81+
# TypeScript cache
82+
*.tsbuildinfo
83+
84+
# Optional npm cache directory
85+
.npm
86+
87+
# Optional eslint cache
88+
.eslintcache
89+
90+
# Microbundle cache
91+
.rpt2_cache/
92+
.rts2_cache_cjs/
93+
.rts2_cache_es/
94+
.rts2_cache_umd/
95+
96+
# Optional REPL history
97+
.node_repl_history
98+
99+
# Output of 'npm pack'
100+
*.tgz
101+
102+
# Yarn Integrity file
103+
.yarn-integrity
104+
105+
# dotenv environment variables file
106+
.env
107+
.env.test
108+
.env*.local
109+
110+
# parcel-bundler cache (https://parceljs.org/)
111+
.cache
112+
.parcel-cache
113+
114+
# Next.js build output
115+
.next
116+
117+
# Nuxt.js build / generate output
118+
.nuxt
119+
dist
120+
121+
# Gatsby files
122+
.cache/
123+
# Comment in the public line in if your project uses Gatsby and not Next.js
124+
# https://nextjs.org/blog/next-9-1#public-directory-support
125+
# public
126+
127+
# vuepress build output
128+
.vuepress/dist
129+
130+
# Serverless directories
131+
.serverless/
132+
133+
# FuseBox cache
134+
.fusebox/
135+
136+
# DynamoDB Local files
137+
.dynamodb/
138+
139+
# TernJS port file
140+
.tern-port
141+
142+
# Stores VSCode versions used for testing VSCode extensions
143+
.vscode-test
144+
145+
### react ###
146+
.DS_*
147+
**/*.backup.*
148+
**/*.back.*
149+
150+
node_modules
151+
152+
*.sublime*
153+
154+
psd
155+
thumb
156+
sketch
157+
158+
### VisualStudioCode ###
159+
.vscode/*
160+
!.vscode/tasks.json
161+
!.vscode/launch.json
162+
*.code-workspace
163+
164+
### VisualStudioCode Patch ###
165+
# Ignore all local history of files
166+
.history
167+
.ionide
168+
169+
# End of https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode,react,node
170+
171+
### CRA ###
2172

3173
# dependencies
4174
/node_modules
@@ -21,3 +191,8 @@
21191
npm-debug.log*
22192
yarn-debug.log*
23193
yarn-error.log*
194+
195+
### FAB ###
196+
197+
/.fab
198+
/fab.zip

fab.config.json5

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// For more information, see https://fab.dev/kb/configuration
2+
{
3+
plugins: {
4+
'@fab/input-static': {
5+
dir: 'build'
6+
},
7+
'@fab/plugin-render-html': {
8+
fallback: '/index.html'
9+
},
10+
'@fab/plugin-rewire-assets': {}
11+
// This section defines your build & runtime toolchains. See https://fab.dev/kb/plugins
12+
},
13+
settings: {
14+
// This section defines the variables that are injected, depending on environment.
15+
// See https://fab.dev/kb/settings for more info.
16+
production: {
17+
// This environment is special. These variables get compiled into the FAB itself,
18+
// allowing for many production-specific optimisations. See https://fab.dev/kb/production
19+
// Example setting:
20+
// API_URL: 'https://api.example.com/graphql'
21+
}
22+
},
23+
deploy: {
24+
// For manual (command-line) deploys, add configuration here.
25+
// • See https://fab.dev/guides/deploying for more info.
26+
// However, we recommend automatic deploys (triggered by git push)
27+
// using a service such as Linc (https://linc.sh)
28+
// • See https://fab.dev/kb/automatic-deploys for setup instructions.
29+
}
30+
}

0 commit comments

Comments
 (0)