-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 ($build) LEVELSET w/ TGRstack/typescript-apollo-endpoint@fff6e8d
- Loading branch information
Showing
42 changed files
with
1,007 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["@babel/preset-env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# ============================================================================== | ||
# This is an example environment configuration file. You can create your own | ||
# .env implementation or pass them via the CLI. | ||
# | ||
# You could also decide to supply some of your environment variables from a .env | ||
# file, and others via the CLI. This allows you to easily store "safe" | ||
# environment variables within this file, and then manage your more sensitive | ||
# environment variables seperately. | ||
|
||
# NOTE: all values enabled in .env.example are required .env settings | ||
# ============================================================================== | ||
|
||
NODE_ENV = "dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,48 @@ | ||
# Environment Configuration | ||
.env | ||
.env.[!example]* | ||
|
||
# Build output folders | ||
dist/ | ||
node_modules/ | ||
package-lock.json | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
||
# Runtime data | ||
db/ | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Dependency directory | ||
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- | ||
node_modules | ||
|
||
# Speed up installs w/ this file, Unfortunately, causes too many issues. | ||
# https://github.com/npm/npm/issues/16991 | ||
package-lock.json | ||
|
||
# Debug log from npm | ||
npm-debug.log | ||
|
||
# IntelliJ IDE ignore | ||
.idea | ||
|
||
# Visual Studio Code | ||
.history | ||
|
||
# Happypack | ||
.happypack | ||
|
||
# OSX Files | ||
.DS_Store | ||
|
||
# Notes | ||
.reference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8.11.2 | ||
11.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
{ | ||
"files.exclude": { | ||
// DOT FILES | ||
".babelrc": true, | ||
".gitignore": true, | ||
".npmignore": true, | ||
".npmrc": true, | ||
".nvmrc": true, | ||
"jest.config.js": true, | ||
"nodemon.json": true, | ||
"package-scripts.js": true, | ||
"tsconfig.jest.json": true, | ||
"tsconfig.json": true, | ||
"tslint.json": true, | ||
|
||
// FOLDERS | ||
"**/.netlify": true, | ||
"**/.vscode": true, | ||
"**/bin": true, | ||
"**/build": true, | ||
"**/dist": true, | ||
"**/db": true, | ||
"**/jest": true, | ||
"**/lib": true, | ||
"**/node_modules": true, // hide all folders that doesn't start with '@t' | ||
"**/node_modules/.*": true, | ||
"**/node_modules/[abcdefghijklmnopqrstuvwxyz]*": true, | ||
"**/node_modules/@[abcdefghijklmnopqrsuvwxyz]*": true, | ||
"**/webpack": true, | ||
}, | ||
"search.exclude": { | ||
// DOT FILES | ||
".babelrc": false, | ||
".gitignore": false, | ||
".npmignore": false, | ||
".npmrc": false, | ||
".nvmrc": false, | ||
"jest.config.js": false, | ||
"nodemon.json": false, | ||
"package-scripts.js": false, | ||
"tsconfig.jest.json": false, | ||
"tsconfig.json": false, | ||
"tslint.json": false, | ||
|
||
// FOLDERS | ||
"**/.netlify": false, | ||
"**/.vscode": false, | ||
"**/bin": true, | ||
"**/build": true, | ||
"**/dist": true, | ||
"**/db": true, | ||
// "**/jest": true, | ||
"**/lib": true, | ||
"**/node_modules": false, // hide all folders that doesn't start with '@t' | ||
"**/node_modules/.*": true, | ||
"**/node_modules/[abcdefghijklmnopqrstuvwxyz]*": true, | ||
"**/node_modules/@[abcdefghijklmnopqrsuvwxyz]*": true, | ||
// "**/webpack": true, | ||
}, | ||
|
||
// ToDos: | ||
// https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight | ||
"todohighlight.isEnable": true, | ||
"todohighlight.isCaseSensitive": true, | ||
"todohighlight.keywords": [ | ||
{ | ||
"text": "NOTE:", | ||
"color": "#ff0000", | ||
"backgroundColor": "yellow", | ||
"overviewRulerColor": "grey" | ||
}, | ||
{ | ||
"text": "ISSUE:", | ||
"color": "#FFFFFF", | ||
"backgroundColor": "red", | ||
"overviewRulerColor": "grey" | ||
}, | ||
], | ||
"todohighlight.include": [ | ||
"**/*.js", | ||
"**/*.jsx", | ||
"**/*.json5", | ||
"**/*.ts", | ||
"**/*.tsx", | ||
"**/*.html", | ||
"**/*.css", | ||
"**/*.scss" | ||
], | ||
"todohighlight.exclude": [ | ||
"**/node_modules/**", | ||
"**/bower_components/**", | ||
"**/dist/**", | ||
"**/build/**", | ||
"**/.vscode/**", | ||
"**/.github/**", | ||
"**/_output/**", | ||
"**/*.min.*", | ||
"**/*.map", | ||
"**/.next/**" | ||
], | ||
"todohighlight.maxFilesForSearch": 5120, | ||
"todohighlight.toggleURI": false, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
require('autostrip-json-comments'); | ||
const tsconfig = require("./tsconfig.json") | ||
const moduleNameMapper = (() => { | ||
const tsModuleNames = require("tsconfig-paths-jest")(tsconfig) | ||
delete tsModuleNames['(.*)'] | ||
|
||
return tsModuleNames | ||
})() | ||
|
||
module.exports = { | ||
"transform": { | ||
"^.+\\.tsx?$": "ts-jest" | ||
}, | ||
"setupFilesAfterEnv": [ | ||
"<rootDir>/jest/jest.setup.js", | ||
], | ||
"testURL": 'http://localhost', | ||
"testPathIgnorePatterns": ["/node_modules/", "/.reference/", "/build/", "/scripts/"], | ||
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec)s?)\\.(jsx?|tsx?)$", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx", | ||
"json", | ||
"node" | ||
], | ||
"moduleDirectories": [ | ||
"node_modules", | ||
"<rootDir>/src/" | ||
], | ||
"globals": { | ||
"ts-jest": { | ||
"diagnostics": false, | ||
"babelConfig": true, | ||
"tsConfig": "tsconfig.jest.json" | ||
} | ||
}, | ||
moduleNameMapper, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// setup file | ||
crypto = require('@trust/webcrypto') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// __mocks__/fileMock.js | ||
|
||
module.exports = 'test-file-stub'; |
Oops, something went wrong.