mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
feat: update mssql dependency and other dependencies as well (#9763)
* updating dependencies * fixing circleci config * reverting mongodb version back * increasing cli commands test timeout
This commit is contained in:
parent
12fdd73e25
commit
4555211bcb
@ -82,21 +82,21 @@ jobs:
|
||||
lint:
|
||||
working_directory: ~/typeorm
|
||||
docker:
|
||||
- image: circleci/node:12
|
||||
- image: circleci/node:16
|
||||
steps:
|
||||
- checkout
|
||||
- install-packages:
|
||||
cache-key: node12
|
||||
cache-key: node16
|
||||
- run: npm run lint
|
||||
|
||||
build:
|
||||
working_directory: ~/typeorm
|
||||
docker:
|
||||
- image: circleci/node:12
|
||||
- image: circleci/node:16
|
||||
steps:
|
||||
- checkout
|
||||
- install-packages:
|
||||
cache-key: node12
|
||||
cache-key: node16
|
||||
- run: npm run compile
|
||||
- persist_to_workspace:
|
||||
root: ~/typeorm
|
||||
@ -110,7 +110,7 @@ jobs:
|
||||
default: ""
|
||||
node-version:
|
||||
type: string
|
||||
default: "12"
|
||||
default: "16"
|
||||
working_directory: ~/typeorm
|
||||
docker:
|
||||
- image: circleci/node:<< parameters.node-version >>
|
||||
@ -201,27 +201,26 @@ workflows:
|
||||
matrix:
|
||||
parameters:
|
||||
node-version:
|
||||
- "12"
|
||||
- "14"
|
||||
- "16"
|
||||
- test:
|
||||
name: test (cockroachdb) - Node v12
|
||||
name: test (cockroachdb) - Node v16
|
||||
requires:
|
||||
- lint
|
||||
- build
|
||||
databases: "cockroachdb"
|
||||
node-version: "12"
|
||||
node-version: "16"
|
||||
- test:
|
||||
name: test (oracle) - Node v12
|
||||
name: test (oracle) - Node v16
|
||||
requires:
|
||||
- lint
|
||||
- build
|
||||
databases: "oracle"
|
||||
node-version: "12"
|
||||
node-version: "16"
|
||||
- test:
|
||||
name: test (postgres 12) - Node v12
|
||||
name: test (postgres 12) - Node v16
|
||||
requires:
|
||||
- lint
|
||||
- build
|
||||
databases: "postgres-12"
|
||||
node-version: "12"
|
||||
node-version: "16"
|
||||
|
||||
@ -53,7 +53,7 @@ services:
|
||||
|
||||
# mssql
|
||||
mssql:
|
||||
image: "mcr.microsoft.com/mssql/server:2017-latest-ubuntu"
|
||||
image: "mcr.microsoft.com/mssql/server:2022-latest"
|
||||
container_name: "typeorm-mssql"
|
||||
ports:
|
||||
- "1433:1433"
|
||||
|
||||
15832
package-lock.json
generated
15832
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
97
package.json
97
package.json
@ -92,56 +92,55 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/app-root-path": "^1.2.4",
|
||||
"@types/chai": "^4.2.15",
|
||||
"@types/chai-as-promised": "^7.1.3",
|
||||
"@types/debug": "^4.1.5",
|
||||
"@types/js-yaml": "^4.0.0",
|
||||
"@types/mkdirp": "^1.0.1",
|
||||
"@types/mocha": "^8.2.1",
|
||||
"@types/node": "^14.14.31",
|
||||
"@types/rimraf": "^3.0.0",
|
||||
"@types/chai": "^4.3.4",
|
||||
"@types/chai-as-promised": "^7.1.5",
|
||||
"@types/debug": "^4.1.7",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/mkdirp": "^1.0.2",
|
||||
"@types/mocha": "^10.0.1",
|
||||
"@types/node": "^18.13.0",
|
||||
"@types/sha.js": "^2.4.0",
|
||||
"@types/sinon": "^9.0.10",
|
||||
"@types/source-map-support": "^0.5.3",
|
||||
"@types/uuid": "^8.3.4",
|
||||
"@types/xml2js": "^0.4.8",
|
||||
"@types/yargs": "^17.0.2",
|
||||
"better-sqlite3": "^8.0.0",
|
||||
"chai": "^4.3.0",
|
||||
"@types/sinon": "^10.0.13",
|
||||
"@types/source-map-support": "^0.5.6",
|
||||
"@types/uuid": "^9.0.0",
|
||||
"@types/xml2js": "^0.4.11",
|
||||
"@types/yargs": "^17.0.22",
|
||||
"better-sqlite3": "^8.1.0",
|
||||
"chai": "^4.3.7",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"class-transformer": "^0.4.0",
|
||||
"conventional-changelog-angular": "^5.0.12",
|
||||
"conventional-changelog-cli": "^2.1.1",
|
||||
"del": "^6.0.0",
|
||||
"class-transformer": "^0.5.1",
|
||||
"conventional-changelog-angular": "^5.0.13",
|
||||
"conventional-changelog-cli": "^2.2.2",
|
||||
"del": "^7.0.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-istanbul": "^1.1.3",
|
||||
"gulp-mocha": "^8.0.0",
|
||||
"gulp-rename": "^2.0.0",
|
||||
"gulp-replace": "^1.0.0",
|
||||
"gulp-replace": "^1.1.4",
|
||||
"gulp-shell": "^0.8.0",
|
||||
"gulp-sourcemaps": "^3.0.0",
|
||||
"gulp-typescript": "^6.0.0-alpha.1",
|
||||
"gulpclass": "^0.2.0",
|
||||
"husky": "^5.1.1",
|
||||
"mocha": "^8.3.0",
|
||||
"mongodb": "^3.6.4",
|
||||
"mssql": "^7.3.0",
|
||||
"husky": "^8.0.3",
|
||||
"mocha": "^10.2.0",
|
||||
"mongodb": "^3.7.3",
|
||||
"mssql": "^9.1.1",
|
||||
"mysql": "^2.18.1",
|
||||
"mysql2": "^2.2.5",
|
||||
"pg": "^8.5.1",
|
||||
"pg-query-stream": "^4.0.0",
|
||||
"prettier": "^2.5.1",
|
||||
"redis": "^3.1.1",
|
||||
"mysql2": "^3.1.1",
|
||||
"pg": "^8.9.0",
|
||||
"pg-query-stream": "^4.3.0",
|
||||
"prettier": "^2.8.3",
|
||||
"redis": "^4.6.4",
|
||||
"remap-istanbul": "^0.13.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"sinon": "^9.2.4",
|
||||
"sinon-chai": "^3.5.0",
|
||||
"source-map-support": "^0.5.19",
|
||||
"sql.js": "^1.4.0",
|
||||
"sqlite3": "^5.0.11",
|
||||
"ts-node": "^10.7.0",
|
||||
"typeorm-aurora-data-api-driver": "^2.0.0",
|
||||
"typescript": "^4.8.2"
|
||||
"rimraf": "^4.1.2",
|
||||
"sinon": "^15.0.1",
|
||||
"sinon-chai": "^3.7.0",
|
||||
"source-map-support": "^0.5.21",
|
||||
"sql.js": "^1.8.0",
|
||||
"sqlite3": "^5.1.4",
|
||||
"ts-node": "^10.9.1",
|
||||
"typeorm-aurora-data-api-driver": "^2.4.4",
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@google-cloud/spanner": "^5.18.0",
|
||||
@ -216,23 +215,23 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@sqltools/formatter": "^1.2.2",
|
||||
"app-root-path": "^3.0.0",
|
||||
"@sqltools/formatter": "^1.2.5",
|
||||
"app-root-path": "^3.1.0",
|
||||
"buffer": "^6.0.3",
|
||||
"chalk": "^4.1.0",
|
||||
"chalk": "^4.1.2",
|
||||
"cli-highlight": "^2.1.11",
|
||||
"date-fns": "^2.28.0",
|
||||
"debug": "^4.3.3",
|
||||
"dotenv": "^16.0.0",
|
||||
"glob": "^7.2.0",
|
||||
"date-fns": "^2.29.3",
|
||||
"debug": "^4.3.4",
|
||||
"dotenv": "^16.0.3",
|
||||
"glob": "^8.1.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"mkdirp": "^1.0.4",
|
||||
"mkdirp": "^2.1.3",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"sha.js": "^2.4.11",
|
||||
"tslib": "^2.3.1",
|
||||
"uuid": "^8.3.2",
|
||||
"tslib": "^2.5.0",
|
||||
"uuid": "^9.0.0",
|
||||
"xml2js": "^0.4.23",
|
||||
"yargs": "^17.3.1"
|
||||
"yargs": "^17.6.2"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "rimraf ./build && tsc && mocha --file ./build/compiled/test/utils/test-setup.js --bail --recursive --timeout 60000 ./build/compiled/test",
|
||||
|
||||
@ -91,9 +91,7 @@ describe("multi-database > basic-functionality", () => {
|
||||
beforeEach(() => reloadTestingDatabases(connections))
|
||||
after(async () => {
|
||||
await closeTestingConnections(connections)
|
||||
return new Promise((resolve) =>
|
||||
rimraf(`${tempPath}/**/*.attach.db`, {}, () => resolve()),
|
||||
)
|
||||
await rimraf(`${tempPath}/**/*.attach.db`)
|
||||
})
|
||||
|
||||
it("should correctly attach and create database files", () =>
|
||||
|
||||
@ -9,14 +9,9 @@ describe("github issues > #799 sqlite: 'database' path should be created", () =>
|
||||
let dataSource: DataSource
|
||||
|
||||
const path = `${__dirname}/tmp/sqlitedb.db`
|
||||
const cleanup = (done: () => void) => {
|
||||
rimraf(dirname(path), () => {
|
||||
return done()
|
||||
})
|
||||
}
|
||||
|
||||
before(cleanup)
|
||||
after(cleanup)
|
||||
before(() => rimraf(dirname(path)))
|
||||
after(() => rimraf(dirname(path)))
|
||||
|
||||
afterEach(() => {
|
||||
if (dataSource && dataSource.isInitialized) {
|
||||
|
||||
@ -44,20 +44,12 @@ describe("cli init command", () => {
|
||||
await Promise.all([chmodPromise, copyPromise])
|
||||
})
|
||||
|
||||
after((done) => {
|
||||
rimraf(`./${builtSrcDirectory}/package.json`, (error) => {
|
||||
expect(error).to.not.exist
|
||||
|
||||
done()
|
||||
})
|
||||
after(async () => {
|
||||
await rimraf(`./${builtSrcDirectory}/package.json`)
|
||||
})
|
||||
|
||||
afterEach((done) => {
|
||||
rimraf(`./${testProjectName}`, (error) => {
|
||||
expect(error).to.not.exist
|
||||
|
||||
done()
|
||||
})
|
||||
afterEach(async () => {
|
||||
await rimraf(`./${testProjectName}`)
|
||||
})
|
||||
|
||||
for (const databaseOption of databaseOptions) {
|
||||
@ -71,6 +63,6 @@ describe("cli init command", () => {
|
||||
done()
|
||||
},
|
||||
)
|
||||
}).timeout(90000)
|
||||
}).timeout(120000)
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user