Skip to content

Commit

Permalink
setup: release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
muco-rolle committed Sep 3, 2020
0 parents commit 84038ea
Show file tree
Hide file tree
Showing 81 changed files with 17,787 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = (api) => {
api.cache(() => process.env.NODE_ENV);

return {
presets: [
'@babel/preset-env',
'@babel/preset-react',
['rsuite', { style: true }],
],
};
};
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tabWidth": 4,
"printWidth": 80,
"singleQuote": true,
"bracketSpacing": true
}
17 changes: 17 additions & 0 deletions codegen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
overwrite: true
schema: 'http://localhost:5000/api'
documents: 'src/resolvers/**/*.graphql'
generates:
src/resolvers/index.tsx:
plugins:
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
- 'apollo-hooks-codegen'
config:
withHOC: false
withComponent: false
withHooks: true
./graphql.schema.json:
plugins:
- 'introspection'
16 changes: 16 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const { override, addLessLoader } = require('customize-cra');

module.exports = override(
addLessLoader({
// If you are using less-loader@5 or older version, please spread the lessOptions to options directly.
lessOptions: {
javascriptEnabled: true,

modifyVars: {
'@base-color': '#3182CE',
'@text-color': '#718096',
'@font-family-base': `'HK Grotesk', sans-serif`,
},
},
})
);
Loading

0 comments on commit 84038ea

Please sign in to comment.