Skip to content

Commit

Permalink
Refactor components into smaller modules (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianrgreco committed Jul 24, 2021
1 parent 889cd6b commit 91d9127
Show file tree
Hide file tree
Showing 89 changed files with 1,861 additions and 1,832 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run pre-commit
66 changes: 50 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions package.json
Expand Up @@ -22,7 +22,8 @@
"url": "https://github.com/testcontainers/testcontainers-node/issues"
},
"scripts": {
"prepare": "npm run build",
"prepare": "npm run build && husky install",
"pre-commit": "lint-staged",
"build": "npm run clean && tsc",
"clean": "rimraf dist",
"test": "cross-env DEBUG=testcontainers jest --maxWorkers=3",
Expand Down Expand Up @@ -59,10 +60,10 @@
"cross-env": "^7.0.3",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.1",
"husky": "^7.0.0",
"jest": "^27.0.6",
"kafkajs": "^1.15.0",
"lint-staged": "^11.0.1",
"lint-staged": "^10.5.4",
"neo4j-driver": "^4.3.1",
"node-fetch": "^2.6.1",
"prettier": "^2.3.2",
Expand All @@ -72,11 +73,6 @@
"typescript": "^4.3.5",
"wait-for-expect": "^3.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write",
Expand Down
201 changes: 0 additions & 201 deletions src/container.ts

This file was deleted.

26 changes: 0 additions & 26 deletions src/docker-client-instance.ts

This file was deleted.

0 comments on commit 91d9127

Please sign in to comment.