Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 5, 2024
1 parent 142c1ba commit 34ec33c
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 50 deletions.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { configPkg } from '@adonisjs/eslint-config'
export default configPkg()
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@
"release": "npx release-it",
"version": "npm run build",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/core",
"quick:test": "node --loader=ts-node/esm --enable-source-maps --experimental-import-meta-resolve bin/test.ts --force-exit",
"citgm": "cross-env FORCE_COLOR=0 node --loader=ts-node/esm --experimental-import-meta-resolve bin/test.ts --force-exit",
"index:commands": "node --loader=ts-node/esm toolkit/main.js index build/commands"
"quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps --experimental-import-meta-resolve bin/test.ts --force-exit",
"citgm": "cross-env FORCE_COLOR=0 node --import=ts-node-maintained/register/esm --experimental-import-meta-resolve bin/test.ts --force-exit",
"index:commands": "node --import=ts-node-maintained/register/esm toolkit/main.js index build/commands"
},
"devDependencies": {
"@adonisjs/assembler": "^7.8.1",
"@adonisjs/eslint-config": "^1.3.0",
"@adonisjs/assembler": "^7.8.2",
"@adonisjs/eslint-config": "^2.0.0-beta.6",
"@adonisjs/prettier-config": "^1.4.0",
"@adonisjs/tsconfig": "^1.4.0",
"@commitlint/cli": "^19.4.1",
Expand All @@ -92,7 +92,7 @@
"@japa/file-system": "^2.3.0",
"@japa/runner": "^3.1.4",
"@swc/core": "^1.7.23",
"@types/node": "^22.5.2",
"@types/node": "^22.5.4",
"@types/pretty-hrtime": "^1.0.3",
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
Expand All @@ -115,7 +115,7 @@
"sinon": "^18.0.0",
"supertest": "^7.0.0",
"test-console": "^2.0.0",
"ts-node": "^10.9.2",
"ts-node-maintained": "^10.9.4",
"typescript": "^5.5.4"
},
"dependencies": {
Expand All @@ -127,7 +127,7 @@
"@adonisjs/env": "^6.1.0",
"@adonisjs/events": "^9.0.2",
"@adonisjs/fold": "^10.1.2",
"@adonisjs/hash": "^9.0.3",
"@adonisjs/hash": "^9.0.4",
"@adonisjs/health": "^2.0.0",
"@adonisjs/http-server": "^7.2.3",
"@adonisjs/logger": "^6.0.3",
Expand All @@ -148,7 +148,7 @@
"peerDependencies": {
"@adonisjs/assembler": "^7.8.0",
"@vinejs/vine": "^2.1.0",
"argon2": "^0.31.2 || ^0.40.0",
"argon2": "^0.31.2 || ^0.41.0",
"bcrypt": "^5.1.1",
"edge.js": "^6.0.1"
},
Expand Down
6 changes: 2 additions & 4 deletions tests/commands/configure.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,8 @@ test.group('Configure command | run', (group) => {

const lastLog = logs[logs.length - 1]
assert.equal(command.exitCode, 1)
assert.deepInclude(
lastLog.message,
'[ red(error) ] npm install -D [email protected] exited with a status of 1.'
)
console.log(lastLog.message)
assert.include(lastLog.message, '[ red(error) ] Process exited with non-zero status')
})
})

Expand Down
8 changes: 4 additions & 4 deletions tests/commands/serve.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,13 +310,13 @@ test.group('Serve command', () => {
`
)
await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
exports: { './esm': './esm.js' },
exports: { './register/esm': './esm.js' },
})
)
await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => import(filePath),
Expand All @@ -339,7 +339,7 @@ test.group('Serve command', () => {
})

test('error if --hmr and --watch are used together', async ({ assert, fs }) => {
await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => import(filePath),
Expand Down
64 changes: 32 additions & 32 deletions tests/commands/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ test.group('Test command', () => {
test('show error when configured assets bundler is missing', async ({ assert, fs, cleanup }) => {
await fs.create('bin/server.js', '')
await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
name: 'ts-node-maintained',
exports: {
'./esm': './esm.js',
'./register/esm': './esm.js',
},
})
)
await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => {
Expand Down Expand Up @@ -186,15 +186,15 @@ test.group('Test command', () => {
}) => {
await fs.create('bin/test.js', '')
await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
name: 'ts-node-maintained',
exports: {
'./esm': './esm.js',
'./register/esm': './esm.js',
},
})
)
await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => {
Expand Down Expand Up @@ -223,15 +223,15 @@ test.group('Test command', () => {
}) => {
await fs.create('bin/test.js', '')
await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
name: 'ts-node-maintained',
exports: {
'./esm': './esm.js',
'./register/esm': './esm.js',
},
})
)
await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => {
Expand Down Expand Up @@ -276,16 +276,16 @@ test.group('Test command', () => {
)

await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
name: 'ts-node-maintained',
exports: {
'./esm': './esm.js',
'./register/esm': './esm.js',
},
})
)

await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => {
Expand Down Expand Up @@ -340,15 +340,15 @@ test.group('Test command', () => {
)

await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
name: 'ts-node-maintained',
exports: {
'./esm': './esm.js',
'./register/esm': './esm.js',
},
})
)
await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => {
Expand Down Expand Up @@ -390,15 +390,15 @@ test.group('Test command', () => {
)

await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
name: 'ts-node-maintained',
exports: {
'./esm': './esm.js',
'./register/esm': './esm.js',
},
})
)
await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => {
Expand Down Expand Up @@ -447,15 +447,15 @@ test.group('Test command', () => {
)

await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
name: 'ts-node-maintained',
exports: {
'./esm': './esm.js',
'./register/esm': './esm.js',
},
})
)
await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => {
Expand Down Expand Up @@ -505,16 +505,16 @@ test.group('Test command', () => {
)

await fs.create(
'node_modules/ts-node/package.json',
'node_modules/ts-node-maintained/package.json',
JSON.stringify({
name: 'ts-node',
name: 'ts-node-maintained',
exports: {
'./esm': './esm.js',
'./register/esm': './esm.js',
},
})
)

await fs.create('node_modules/ts-node/esm.js', '')
await fs.create('node_modules/ts-node-maintained/esm.js', '')

const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => {
Expand Down

0 comments on commit 34ec33c

Please sign in to comment.