-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93ff9c1
commit 8eb74d9
Showing
231 changed files
with
20,433 additions
and
2,942 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
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 |
---|---|---|
|
@@ -40,6 +40,10 @@ | |
}, | ||
"renovate": { | ||
"enable": true | ||
}, | ||
"project": { | ||
"type": "lib", | ||
"yarn2": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
/* eslint-disable global-require */ | ||
|
||
'use strict'; | ||
|
||
/* | ||
* husky greps this file to check if a hook is defined | ||
* so we need to list them here: | ||
* - commit-msg | ||
* - pre-commit | ||
* - post-checkout | ||
* - post-merge | ||
* - post-rewrite | ||
* - pre-push | ||
*/ | ||
const { spawnSync } = require('child_process'); | ||
|
||
let createHuskyConfig; | ||
|
||
const createHuskyConfig = require('@pob/repo-config/createHuskyConfig'); | ||
try { | ||
createHuskyConfig = require('@pob/root/createHuskyConfig'); | ||
} catch (err) { | ||
spawnSync('yarn', ['install'], { stdio: 'inherit' }); | ||
createHuskyConfig = require('@pob/root/createHuskyConfig'); | ||
} | ||
|
||
module.exports = createHuskyConfig(); |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
'use strict'; | ||
|
||
const createLintStagedConfig = require('@pob/repo-config/createLintStagedConfig'); | ||
const createLintStagedConfig = require('@pob/root/createLintStagedConfig'); | ||
|
||
module.exports = createLintStagedConfig(); |
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 |
---|---|---|
@@ -1,26 +1,4 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json", | ||
"createDefaultProgram": true | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"extends": ["@pob/eslint-config-typescript", "@pob/eslint-config-babel-node"], | ||
"overrides": [ | ||
{ | ||
"files": ["src/**/*.test.ts", "src/__tests__/**/*.ts"], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": { | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": true | ||
} | ||
] | ||
} | ||
} | ||
] | ||
"extends": ["@pob/eslint-config", "@pob/eslint-config-node"] | ||
} |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
/* eslint-disable import/no-dynamic-require, prettier/prettier */ | ||
|
||
'use strict'; | ||
|
||
const production = process.env.NODE_ENV === 'production'; | ||
module.exports = require('./dist/index-node10' + (production ? '' : '-dev') + '.cjs'); | ||
module.exports = require(`./dist/index-node10${production ? '' : '-dev'}.cjs`); |
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,34 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json", | ||
"createDefaultProgram": true | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"extends": [ | ||
"@pob/eslint-config-typescript", | ||
"@pob/eslint-config-babel-node" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/*.test.ts", | ||
"__tests__/**/*.ts" | ||
], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": { | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": true | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.