Skip to content

Commit

Permalink
Fix repo configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
darrellwarde committed Oct 6, 2022
1 parent e584444 commit ef64faa
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 33 deletions.
9 changes: 4 additions & 5 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"**/*.+(ts)": [
"prettier --write",
"eslint",
"git add"
]
"**/*.+(ts)": [
"prettier --write",
"eslint"
]
}
11 changes: 7 additions & 4 deletions examples/neo-push/server/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ module.exports = {
displayName: "neo-push",
roots: ["<rootDir>/examples/neo-push/server/src/", "<rootDir>/examples/neo-push/server/tests/"],
coverageDirectory: "<rootDir>/examples/neo-push/server/coverage/",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/examples/neo-push/server/src/tsconfig.json",
},
transform: {
"^.+\\.ts$": [
"ts-jest",
{
tsconfig: "<rootDir>/examples/neo-push/server/src/tsconfig.json",
},
],
},
};
11 changes: 7 additions & 4 deletions packages/graphql-toolbox/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ module.exports = {
displayName: "@neo4j/graphql-toolbox",
roots: ["<rootDir>/packages/graphql-toolbox/src/", "<rootDir>/packages/graphql-toolbox/tests/"],
coverageDirectory: "<rootDir>/packages/graphql-toolbox/coverage/",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/packages/graphql-toolbox/tests/tsconfig.json",
},
transform: {
"^.+\\.ts$": [
"ts-jest",
{
tsconfig: "<rootDir>/packages/graphql-toolbox/tests/tsconfig.json",
},
],
},
};
11 changes: 7 additions & 4 deletions packages/graphql/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ module.exports = {
globalTeardown: path.join(__dirname, "jest.global-teardown.js"),
roots: ["<rootDir>/packages/graphql/src/", "<rootDir>/packages/graphql/tests/"],
coverageDirectory: "<rootDir>/packages/graphql/coverage/",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/packages/graphql/tsconfig.json",
},
transform: {
"^.+\\.ts$": [
"ts-jest",
{
tsconfig: "<rootDir>/packages/graphql/tsconfig.json",
},
],
},
};
11 changes: 7 additions & 4 deletions packages/introspector/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ module.exports = {
displayName: "@neo4j/introspector",
roots: ["<rootDir>/packages/introspector/src/", "<rootDir>/packages/introspector/tests/"],
coverageDirectory: "<rootDir>/packages/introspector/coverage/",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/packages/introspector/tsconfig.json",
},
transform: {
"^.+\\.ts$": [
"ts-jest",
{
tsconfig: "<rootDir>/packages/introspector/tsconfig.json",
},
],
},
};
11 changes: 7 additions & 4 deletions packages/ogm/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ module.exports = {
displayName: "@neo4j/graphql-ogm",
roots: ["<rootDir>/packages/ogm/src", "<rootDir>/packages/ogm/tests"],
coverageDirectory: "<rootDir>/packages/ogm/coverage/",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/packages/ogm/tsconfig.json",
},
transform: {
"^.+\\.ts$": [
"ts-jest",
{
tsconfig: "<rootDir>/packages/ogm/tsconfig.json",
},
],
},
};
11 changes: 7 additions & 4 deletions packages/plugins/graphql-plugin-auth/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ module.exports = {
displayName: "@neo4j/graphql-plugin-auth",
roots: ["<rootDir>/packages/plugins/graphql-plugin-auth/src"],
coverageDirectory: "<rootDir>/packages/plugins/graphql-plugin-auth/coverage/",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/packages/plugins/graphql-plugin-auth/tsconfig.json",
},
transform: {
"^.+\\.ts$": [
"ts-jest",
{
tsconfig: "<rootDir>/packages/plugins/graphql-plugin-auth/tsconfig.json",
},
],
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ module.exports = {
// "<rootDir>/packages/plugins/graphql-plugin-subscriptions-amqp/tests",
],
coverageDirectory: "<rootDir>/packages/plugins/graphql-plugin-subscriptions-amqp/coverage/",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/packages/plugins/graphql-plugin-subscriptions-amqp/tsconfig.json",
},
transform: {
"^.+\\.ts$": [
"ts-jest",
{
tsconfig: "<rootDir>/packages/plugins/graphql-plugin-subscriptions-amqp/tsconfig.json",
},
],
},
};

0 comments on commit ef64faa

Please sign in to comment.