Skip to content

Commit

Permalink
Merge pull request #132 from AthennaIO/develop
Browse files Browse the repository at this point in the history
update deps
  • Loading branch information
jlenon7 authored Jan 9, 2024
2 parents 41647d7 + 6653b2a commit 8d05511
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 43 deletions.
7 changes: 6 additions & 1 deletion configurer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,14 @@ export default class DatabaseConfigurer extends BaseConfigurer {
'DB_DATABASE=athenna\n'
}

const testEnvs = envs.replace(
`DB_CONNECTION=${connection}`,
'DB_CONNECTION=fake'
)

return new File(Path.pwd('.env'), '')
.append(envs)
.then(() => new File(Path.pwd('.env.test'), '').append(envs))
.then(() => new File(Path.pwd('.env.test'), '').append(testEnvs))
.then(() => new File(Path.pwd('.env.example'), '').append(envs))
})

Expand Down
68 changes: 34 additions & 34 deletions package-lock.json

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

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/database",
"version": "4.25.0",
"version": "4.26.0",
"description": "The Athenna database handler for SQL/NoSQL.",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
Expand Down Expand Up @@ -73,14 +73,14 @@
"fast-deep-equal": "^3.1.3"
},
"devDependencies": {
"@athenna/artisan": "^4.27.0",
"@athenna/common": "^4.26.0",
"@athenna/config": "^4.11.0",
"@athenna/ioc": "^4.12.0",
"@athenna/logger": "^4.13.0",
"@athenna/test": "^4.17.0",
"@athenna/artisan": "^4.28.0",
"@athenna/common": "^4.27.0",
"@athenna/config": "^4.12.0",
"@athenna/ioc": "^4.13.0",
"@athenna/logger": "^4.14.0",
"@athenna/test": "^4.18.0",
"@athenna/tsconfig": "^4.12.0",
"@athenna/view": "^4.10.0",
"@athenna/view": "^4.11.0",
"@types/knex": "^0.16.1",
"@types/mongoose": "^5.11.97",
"@typescript-eslint/eslint-plugin": "^6.7.4",
Expand Down

0 comments on commit 8d05511

Please sign in to comment.