chore: clean up packages (#7027)
This commit is contained in:
@@ -66,7 +66,6 @@
|
||||
"@types/esprima": "^4.0.6",
|
||||
"@types/fs-extra": "^9.0.12",
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/node": "20.12.5",
|
||||
"temp-dir": "2.0.0"
|
||||
"@types/node": "20.12.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,8 +6,8 @@ import { dbReplacements } from './replacements.js'
|
||||
import { getValidTemplates } from './templates.js'
|
||||
import globby from 'globby'
|
||||
import { jest } from '@jest/globals'
|
||||
|
||||
import tempDirectory from 'temp-dir'
|
||||
import fs from 'fs'
|
||||
import * as os from 'node:os'
|
||||
|
||||
describe('createProject', () => {
|
||||
let projectDir: string
|
||||
@@ -16,6 +16,7 @@ describe('createProject', () => {
|
||||
})
|
||||
|
||||
beforeEach(() => {
|
||||
const tempDirectory = fs.realpathSync(os.tmpdir())
|
||||
projectDir = `${tempDirectory}/${Math.random().toString(36).substring(7)}`
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user