Skip to content

Commit 6d78b4a

Browse files
committed
update dependencies
1 parent fd7dc7a commit 6d78b4a

File tree

18 files changed

+16825
-8516
lines changed

18 files changed

+16825
-8516
lines changed

.dtsconfig.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
const path = require('path');
22
const pkg = require(path.resolve('package.json'));
33

4+
const importedLibraries = [
5+
'@debugr/core',
6+
'@debugr/graphql-formatter',
7+
'@debugr/http-formatter',
8+
'@debugr/sql-formatter',
9+
'@debugr/apollo',
10+
'@debugr/express',
11+
'@debugr/typeorm',
12+
];
13+
14+
if (pkg.build.externals) {
15+
importedLibraries.push(...pkg.build.externals);
16+
}
17+
418
module.exports = {
519
compilationOptions: {
620
followSymlinks: false
@@ -10,7 +24,7 @@ module.exports = {
1024
filePath: path.resolve(pkg.build.src),
1125
outFile: path.resolve(pkg.types),
1226
libraries: {
13-
importedLibraries: pkg.build.externals,
27+
importedLibraries,
1428
},
1529
output: {
1630
inlineDeclareGlobals: true,

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules/
22
/packages/*/node_modules/
3+
/packages/*/package-lock.json
34
/packages/*/dist/

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

package-lock.json

Lines changed: 16756 additions & 6809 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,28 @@
44
"license": "MIT",
55
"private": true,
66
"devDependencies": {
7-
"@babel/core": "7.12.3",
8-
"@babel/preset-env": "7.12.1",
9-
"@rollup/plugin-typescript": "6.1.0",
10-
"@types/node": "12.19.5",
11-
"@typescript-eslint/eslint-plugin": "4.8.1",
12-
"dts-bundle-generator": "5.5.0",
13-
"eslint": "7.13.0",
14-
"eslint-config-airbnb": "18.2.1",
15-
"eslint-config-airbnb-typescript": "12.0.0",
16-
"eslint-config-prettier": "6.15.0",
17-
"eslint-plugin-import": "2.22.1",
18-
"eslint-plugin-prettier": "3.1.4",
19-
"husky": "4.3.0",
20-
"lerna": "3.22.1",
21-
"lint-staged": "10.5.1",
22-
"npm-run-all": "4.1.5",
23-
"prettier": "2.1.2",
24-
"rimraf": "3.0.2",
25-
"rollup": "2.33.3",
26-
"rollup-plugin-babel": "4.4.0",
27-
"typescript": "4.0.5"
7+
"@babel/core": "^7.14.3",
8+
"@babel/plugin-transform-runtime": "^7.14.3",
9+
"@babel/preset-env": "^7.14.2",
10+
"@rollup/plugin-babel": "^5.3.0",
11+
"@rollup/plugin-typescript": "^8.2.1",
12+
"@types/node": "^15.6.0",
13+
"@typescript-eslint/eslint-plugin": "^4.24.0",
14+
"dts-bundle-generator": "^5.9.0",
15+
"eslint": "^7.27.0",
16+
"eslint-config-airbnb": "^18.2.1",
17+
"eslint-config-airbnb-typescript": "^12.3.1",
18+
"eslint-config-prettier": "^8.3.0",
19+
"eslint-plugin-import": "^2.23.3",
20+
"eslint-plugin-prettier": "^3.4.0",
21+
"husky": "^6.0.0",
22+
"lerna": "^4.0.0",
23+
"lint-staged": "^11.0.0",
24+
"npm-run-all": "^4.1.5",
25+
"prettier": "^2.3.0",
26+
"rimraf": "^3.0.2",
27+
"rollup": "^2.49.0",
28+
"typescript": "^4.2.4"
2829
},
2930
"scripts": {
3031
"build:cleanup": "lerna run build:cleanup",
@@ -34,15 +35,11 @@
3435
"build:main": "lerna run build:main",
3536
"build": "lerna run build",
3637
"lint": "lerna run lint",
38+
"prepare": "husky install",
3739
"preversion": "lerna run preversion",
3840
"postinstall": "lerna bootstrap",
3941
"release": "lerna publish from-package"
4042
},
41-
"husky": {
42-
"hooks": {
43-
"pre-commit": "lint-staged"
44-
}
45-
},
4643
"lint-staged": {
4744
"packages/*/src/**/*.ts": [
4845
"eslint --fix"

0 commit comments

Comments
 (0)