|
1 | 1 | {
|
2 | 2 | "name": "parse-server",
|
3 |
| - "version": "8.2.4", |
| 3 | + "version": "8.2.5-alpha.1", |
4 | 4 | "description": "An express module providing a Parse-compatible API server",
|
5 | 5 | "main": "lib/index.js",
|
6 | 6 | "repository": {
|
|
103 | 103 | "madge": "8.0.0",
|
104 | 104 | "mock-files-adapter": "file:spec/dependencies/mock-files-adapter",
|
105 | 105 | "mock-mail-adapter": "file:spec/dependencies/mock-mail-adapter",
|
106 |
| - "mongodb-runner": "5.8.3", |
| 106 | + "mongodb-runner": "5.9.3", |
107 | 107 | "node-abort-controller": "3.1.1",
|
108 | 108 | "node-fetch": "3.2.10",
|
109 | 109 | "nyc": "17.1.0",
|
|
125 | 125 | "build:types": "tsc",
|
126 | 126 | "watch": "babel --watch src/ -d lib/ --copy-files",
|
127 | 127 | "watch:ts": "tsc --watch",
|
128 |
| - "test:mongodb:runnerstart": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=$npm_config_dbversion} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} mongodb-runner start -t ${MONGODB_TOPOLOGY} --version ${MONGODB_VERSION} -- --port 27017", |
129 |
| - "test:mongodb:testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=$npm_config_dbversion} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 jasmine", |
130 |
| - "test:mongodb": "npm run test:mongodb:runnerstart --dbversion=$npm_config_dbversion && npm run test:mongodb:testonly --dbversion=$npm_config_dbversion", |
131 |
| - "test:mongodb:6.0.19": "npm run test:mongodb --dbversion=6.0.19", |
132 |
| - "test:mongodb:7.0.16": "npm run test:mongodb --dbversion=7.0.16", |
133 |
| - "test:mongodb:8.0.4": "npm run test:mongodb --dbversion=8.0.4", |
| 128 | + "test:mongodb:6.0.19": "MONGODB_VERSION=6.0.19 npm run test", |
| 129 | + "test:mongodb:7.0.16": "MONGODB_VERSION=7.0.16 npm run test", |
| 130 | + "test:mongodb:8.0.4": "MONGODB_VERSION=8.0.4 npm run test", |
134 | 131 | "test:postgres:testonly": "cross-env PARSE_SERVER_TEST_DB=postgres PARSE_SERVER_TEST_DATABASE_URI=postgres://postgres:password@localhost:5432/parse_server_postgres_adapter_test_database npm run testonly",
|
135 |
| - "pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=8.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} mongodb-runner start -t ${MONGODB_TOPOLOGY} --version ${MONGODB_VERSION} -- --port 27017", |
136 | 132 | "testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=8.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 jasmine",
|
137 |
| - "test": "npm run testonly", |
| 133 | + "test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=8.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} mongodb-runner exec -t ${MONGODB_TOPOLOGY} --version ${MONGODB_VERSION} -- --port 27017 -- npm run testonly", |
138 | 134 | "test:types": "eslint types/tests.ts -c ./types/eslint.config.mjs",
|
139 |
| - "posttest": "cross-env mongodb-runner stop --all", |
| 135 | + "coverage:mongodb": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=8.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} mongodb-runner exec -t ${MONGODB_TOPOLOGY} --version ${MONGODB_VERSION} -- --port 27017 -- npm run coverage", |
140 | 136 | "coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=8.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 nyc jasmine",
|
141 | 137 | "start": "node ./bin/parse-server",
|
142 | 138 | "prettier": "prettier --write {src,spec}/{**/*,*}.js",
|
|
0 commit comments