Skip to content

Commit

Permalink
Merge pull request #177 from AthennaIO/develop
Browse files Browse the repository at this point in the history
chore(npm): update dependencies
  • Loading branch information
jlenon7 authored Aug 26, 2024
2 parents 03b3bb1 + 131b193 commit 005b316
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
70 changes: 35 additions & 35 deletions package-lock.json

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

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/database",
"version": "4.65.0",
"version": "5.0.0",
"description": "The Athenna database handler for SQL/NoSQL.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down Expand Up @@ -76,14 +76,14 @@
"fast-deep-equal": "^3.1.3"
},
"devDependencies": {
"@athenna/artisan": "^4.45.0",
"@athenna/common": "^4.46.0",
"@athenna/config": "^4.27.0",
"@athenna/ioc": "^4.27.0",
"@athenna/logger": "^4.29.0",
"@athenna/test": "^4.30.0",
"@athenna/tsconfig": "^4.19.0",
"@athenna/view": "^4.33.0",
"@athenna/artisan": "^5.0.0",
"@athenna/common": "^5.0.0",
"@athenna/config": "^5.0.0",
"@athenna/ioc": "^5.0.0",
"@athenna/logger": "^5.0.0",
"@athenna/test": "^5.0.0",
"@athenna/tsconfig": "^5.0.0",
"@athenna/view": "^5.0.0",
"@types/knex": "^0.16.1",
"@types/mongoose": "^5.11.97",
"@typescript-eslint/eslint-plugin": "^7.18.0",
Expand Down
12 changes: 6 additions & 6 deletions tests/unit/configurer/DatabaseConfigurerTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default class DatabaseConfigurerTest {
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.example')))
assert.isTrue(await File.exists(Path.pwd('config/database.ts')))
assert.isTrue(await File.exists(Path.pwd('src/config/database.ts')))
assert.deepEqual(
dockerComposeFile,
"version: '3'\n\nservices:\n mysql:\n container_name: athenna_mysql\n image: mysql\n ports:\n - '3306:3306'\n environment:\n MYSQL_DATABASE: athenna\n MYSQL_ROOT_PASSWORD: root\n MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'\n"
Expand Down Expand Up @@ -86,7 +86,7 @@ export default class DatabaseConfigurerTest {
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.example')))
assert.isTrue(await File.exists(Path.pwd('config/database.ts')))
assert.isTrue(await File.exists(Path.pwd('src/config/database.ts')))
assert.deepEqual(
dockerComposeFile,
"version: '3'\nservices:\n app:\n container_name: athenna_app\n mysql:\n container_name: athenna_mysql\n image: mysql\n ports:\n - '3306:3306'\n environment:\n MYSQL_DATABASE: athenna\n MYSQL_ROOT_PASSWORD: root\n MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'\n"
Expand Down Expand Up @@ -118,7 +118,7 @@ export default class DatabaseConfigurerTest {
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.example')))
assert.isTrue(await File.exists(Path.pwd('config/database.ts')))
assert.isTrue(await File.exists(Path.pwd('src/config/database.ts')))
assert.deepEqual(
dockerComposeFile,
"version: '3'\n\nservices:\n postgres:\n container_name: athenna_postgres\n image: postgres\n ports:\n - '5432:5432'\n environment:\n POSTGRES_DB: athenna\n POSTGRES_USER: root\n POSTGRES_PASSWORD: root\n POSTGRES_ROOT_PASSWORD: root\n"
Expand Down Expand Up @@ -156,7 +156,7 @@ export default class DatabaseConfigurerTest {
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.example')))
assert.isTrue(await File.exists(Path.pwd('config/database.ts')))
assert.isTrue(await File.exists(Path.pwd('src/config/database.ts')))
assert.deepEqual(
dockerComposeFile,
"version: '3'\nservices:\n app:\n container_name: athenna_app\n postgres:\n container_name: athenna_postgres\n image: postgres\n ports:\n - '5432:5432'\n environment:\n POSTGRES_DB: athenna\n POSTGRES_USER: root\n POSTGRES_PASSWORD: root\n POSTGRES_ROOT_PASSWORD: root\n"
Expand Down Expand Up @@ -188,7 +188,7 @@ export default class DatabaseConfigurerTest {
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.example')))
assert.isTrue(await File.exists(Path.pwd('config/database.ts')))
assert.isTrue(await File.exists(Path.pwd('src/config/database.ts')))
assert.deepEqual(
dockerComposeFile,
"version: '3'\n\nservices:\n mongo:\n container_name: athenna_mongo\n image: mongo\n ports:\n - '27017:27017'\n environment:\n MONGO_INITDB_ROOT_USERNAME: root\n MONGO_INITDB_ROOT_PASSWORD: root\n"
Expand Down Expand Up @@ -218,7 +218,7 @@ export default class DatabaseConfigurerTest {
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.test')))
assert.isTrue(await File.exists(Path.pwd('.env.example')))
assert.isTrue(await File.exists(Path.pwd('config/database.ts')))
assert.isTrue(await File.exists(Path.pwd('src/config/database.ts')))
assert.deepEqual(
dockerComposeFile,
"version: '3'\nservices:\n app:\n container_name: athenna_app\n mongo:\n container_name: athenna_mongo\n image: mongo\n ports:\n - '27017:27017'\n environment:\n MONGO_INITDB_ROOT_USERNAME: root\n MONGO_INITDB_ROOT_PASSWORD: root\n"
Expand Down

0 comments on commit 005b316

Please sign in to comment.