Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 20, 2023
1 parent 123b275 commit a6f290d
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 42 deletions.
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,57 +55,57 @@
"index:commands": "adonis-kit index build/commands"
},
"dependencies": {
"@faker-js/faker": "^8.0.1",
"@poppinss/hooks": "^7.1.1-4",
"@poppinss/macroable": "^1.0.0-0",
"@poppinss/utils": "^6.5.0-6",
"@faker-js/faker": "^8.2.0",
"@poppinss/hooks": "^7.2.0",
"@poppinss/macroable": "^1.0.0",
"@poppinss/utils": "^6.5.0",
"fast-deep-equal": "^3.1.3",
"igniculus": "^1.5.0",
"kleur": "^4.1.5",
"knex": "^2.4.2",
"knex-dynamic-connection": "^3.1.0",
"knex": "^3.0.1",
"knex-dynamic-connection": "^3.1.1",
"pretty-hrtime": "^1.0.3",
"qs": "^6.11.2",
"slash": "^5.1.0",
"tarn": "^3.0.2"
},
"devDependencies": {
"@adonisjs/assembler": "^6.1.3-22",
"@adonisjs/core": "^6.1.5-26",
"@adonisjs/assembler": "^6.1.3-25",
"@adonisjs/core": "^6.1.5-29",
"@adonisjs/eslint-config": "^1.1.8",
"@adonisjs/prettier-config": "^1.1.8",
"@adonisjs/tsconfig": "^1.1.8",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@japa/assert": "^2.0.0-1",
"@japa/file-system": "^2.0.0-1",
"@japa/runner": "^3.0.0-7",
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@japa/assert": "^2.0.0",
"@japa/file-system": "^2.0.0",
"@japa/runner": "^3.0.4",
"@swc/core": "1.3.82",
"@types/chance": "^1.1.4",
"@types/luxon": "^3.3.0",
"@types/node": "^20.6.2",
"@types/pluralize": "^0.0.30",
"@types/pretty-hrtime": "^1.0.1",
"@types/qs": "^6.9.7",
"better-sqlite3": "^8.4.0",
"@types/chance": "^1.1.5",
"@types/luxon": "^3.3.3",
"@types/node": "^20.8.7",
"@types/pluralize": "^0.0.32",
"@types/pretty-hrtime": "^1.0.2",
"@types/qs": "^6.9.9",
"better-sqlite3": "^9.0.0",
"c8": "^8.0.1",
"chance": "^1.1.11",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"del-cli": "^5.0.0",
"dotenv": "^16.0.3",
"eslint": "^8.41.0",
"eslint": "^8.51.0",
"fs-extra": "^11.1.1",
"github-label-sync": "^2.3.1",
"husky": "^8.0.3",
"luxon": "^3.4.3",
"mysql2": "^3.3.1",
"mysql2": "^3.6.2",
"np": "^8.0.4",
"pg": "^8.11.0",
"prettier": "^3.0.3",
"reflect-metadata": "^0.1.13",
"sqlite3": "^5.1.6",
"tedious": "^16.1.0",
"tedious": "^16.5.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
Expand Down
6 changes: 3 additions & 3 deletions stubs/config.stub
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
to: {{ app.configPath('database.ts') }}
---
{{{
exports({ to: app.configPath('database.ts') })
}}}
import env from '#start/env'
{{#if dialect === 'sqlite'}}
import app from '@adonisjs/core/services/app'
Expand Down
1 change: 0 additions & 1 deletion stubs/factories/index.txt

This file was deleted.

8 changes: 5 additions & 3 deletions stubs/make/factory/main.stub
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
{{#var modelName = generators.modelName(model.name)}}
{{#var modelFileName = generators.modelFileName(model.name)}}
{{#var modelImportPath = generators.importPath('#models', model.path, modelFileName.replace(/\.ts$/, ''))}}
---
to: {{ app.factoriesPath(entity.path, factoryFileName) }}
---
{{{
exports({
to: app.factoriesPath(entity.path, factoryFileName)
})
}}}
import factory from '@adonisjs/lucid/factories'
import {{ modelName }} from '{{ modelImportPath }}'

Expand Down
8 changes: 5 additions & 3 deletions stubs/make/migration/alter.stub
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
to: {{ app.makePath(migration.folder, entity.path, migration.fileName) }}
---
{{{
exports({
to: app.makePath(migration.folder, entity.path, migration.fileName)
})
}}}
import { BaseSchema } from '@adonisjs/lucid/schema'

export default class extends BaseSchema {
Expand Down
8 changes: 5 additions & 3 deletions stubs/make/migration/create.stub
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
to: {{ app.makePath(migration.folder, entity.path, migration.fileName) }}
---
{{{
exports({
to: app.makePath(migration.folder, entity.path, migration.fileName)
})
}}}
import { BaseSchema } from '@adonisjs/lucid/schema'

export default class extends BaseSchema {
Expand Down
8 changes: 5 additions & 3 deletions stubs/make/model/main.stub
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{{#var modelName = generators.modelName(entity.name)}}
{{#var modelFileName = generators.modelFileName(entity.name)}}
---
to: {{ app.modelsPath(entity.path, modelFileName) }}
---
{{{
exports({
to: app.modelsPath(entity.path, modelFileName)
})
}}}
import { DateTime } from 'luxon'
import { BaseModel, column } from '@adonisjs/lucid/orm'

Expand Down
8 changes: 5 additions & 3 deletions stubs/make/seeder/main.stub
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{{#var seederFileName = generators.seederFileName(entity.name)}}
---
to: {{ app.seedersPath(entity.path, seederFileName) }}
---
{{{
exports({
to: app.seedersPath(entity.path, seederFileName)
})
}}}
import { BaseSeeder } from '@adonisjs/lucid/seeders'

export default class extends BaseSeeder {
Expand Down

0 comments on commit a6f290d

Please sign in to comment.