-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules | ||
*.env | ||
dist | ||
dist/cjs/** | ||
dist/esm/** | ||
errors.log | ||
.eslintrc.js |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ build/** | |
dist/** | ||
.next/** | ||
yarn-error.log | ||
dist |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const prettierWriteCommand = 'yarn prettier --write' | ||
|
||
// eslint-disable-next-line no-undef | ||
module.exports = { | ||
'*.ts': [prettierWriteCommand], | ||
'*.tsx': [prettierWriteCommand], | ||
'*.js': [prettierWriteCommand], | ||
'*.jsx': [prettierWriteCommand], | ||
'*.css': [prettierWriteCommand], | ||
'*.scss': [prettierWriteCommand] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "dist/cjs", | ||
"module": "CommonJS" | ||
}, | ||
"include": [ | ||
"src/", | ||
"*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
"module": "ESNext", | ||
"outDir": "dist/esm" | ||
}, | ||
"include": [ | ||
"src/", | ||
"*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist" | ||
"dist/**" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
arrowParens: 'avoid', | ||
trailingComma: 'none', | ||
tabWidth: 4, | ||
printWidth: 100, | ||
semi: false, | ||
useTabs: true, | ||
bracketSpacing: true, | ||
bracketSameLine: false, | ||
singleQuote: true | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
export const errorCodes: { code: number; message: string; description: string }[] = [ | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app use' | ||
}, | ||
{ | ||
code: 3, | ||
message: 'API Method', | ||
description: 'Capability or permissions issue' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
}, | ||
{ | ||
code: 0, | ||
message: 'AuthException', | ||
description: 'We were unable to authenticate the app user.' | ||
} | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "dist/cjs", | ||
"module": "CommonJS" | ||
}, | ||
"include": [ | ||
"src/", | ||
"*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
"module": "ESNext", | ||
"outDir": "dist/esm", | ||
}, | ||
"include": [ | ||
"src/", | ||
"*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist" | ||
"dist/**" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
} |