Skip to content

Commit

Permalink
get rollup build working
Browse files Browse the repository at this point in the history
  • Loading branch information
billneff79 committed Mar 26, 2018
1 parent 3d1934f commit 99350ef
Show file tree
Hide file tree
Showing 24 changed files with 3,165 additions and 1,357 deletions.
12 changes: 12 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"presets": [
["@babel/env", {
"modules": false
}],
"@babel/typescript"
],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
]
}
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,.*rc,*.yml}]
indent_style = space
indent_size = 2

[*.md,*.graphql]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ node_modules
/static-app.json
*.orig
test-reports/
types/
.rpt2_cache/
3 changes: 3 additions & 0 deletions .graphqlconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"schemaPath": "./src/schema/schema.graphql"
}
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!dist
!types
3 changes: 0 additions & 3 deletions apollo.ts

This file was deleted.

1 change: 0 additions & 1 deletion client.ts

This file was deleted.

5 changes: 5 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
export { createZimbraSchema, schema } from './src/schema/schema';
export { ZimbraBatchClient } from './src/batch-client';
export { LocalBatchLink } from './src/apollo/local-batch-link';
export { ZimbraErrorLink } from './src/apollo/zimbra-error-link';
export { ZimbraInMemoryCache } from './src/apollo/zimbra-in-memory-cache';
export { batchJsonRequest, jsonRequest } from './src/request';
Loading

0 comments on commit 99350ef

Please sign in to comment.