@azure/search-documents 11.3.0-alpha.20220112.1 → 11.3.0-alpha.20220128.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/search-documents",
3
- "version": "11.3.0-alpha.20220112.1",
3
+ "version": "11.3.0-alpha.20220128.3",
4
4
  "description": "Azure client library to use Cognitive Search for node.js and browser.",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -8,18 +8,18 @@
8
8
  "types": "types/search-documents.d.ts",
9
9
  "scripts": {
10
10
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
11
- "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
12
- "build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
11
+ "build:browser": "tsc -p . && dev-tool run bundle",
12
+ "build:node": "tsc -p . && dev-tool run bundle",
13
13
  "build:samples": "echo Obsolete.",
14
14
  "execute:samples": "dev-tool samples run samples-dev",
15
- "build:test": "tsc -p . && rollup -c 2>&1",
16
- "build": "npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local",
15
+ "build:test": "tsc -p . && dev-tool run bundle",
16
+ "build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",
17
17
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
18
18
  "clean": "rimraf dist dist-* temp types *.tgz *.log",
19
19
  "extract-api": "tsc -p . && api-extractor run --local",
20
20
  "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
21
- "integration-test:browser": "karma start --single-run",
22
- "integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace dist-esm/**/*.spec.js --harmony",
21
+ "integration-test:browser": "dev-tool run test:browser",
22
+ "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
23
23
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
24
24
  "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
25
25
  "lint": "eslint package.json api-extractor.json src test --ext .ts",
@@ -27,8 +27,8 @@
27
27
  "test:browser": "npm run build:test && npm run unit-test:browser",
28
28
  "test:node": "npm run build:test && npm run unit-test:node",
29
29
  "test": "npm run build:test && npm run unit-test",
30
- "unit-test:browser": "karma start --single-run",
31
- "unit-test:node": "mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"",
30
+ "unit-test:browser": "dev-tool run test:browser",
31
+ "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 \"test/**/*.spec.ts\" \"test/**/**/*.spec.ts\"",
32
32
  "unit-test": "npm run unit-test:node && npm run unit-test:browser"
33
33
  },
34
34
  "files": [
@@ -87,7 +87,7 @@
87
87
  "@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
88
88
  "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
89
89
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
90
- "@azure-tools/test-recorder": "^1.0.0",
90
+ "@azure-tools/test-recorder": ">=2.0.0-alpha <2.0.0-alphb",
91
91
  "@microsoft/api-extractor": "^7.18.11",
92
92
  "@types/chai": "^4.1.6",
93
93
  "@types/mocha": "^7.0.2",
@@ -116,7 +116,6 @@
116
116
  "nyc": "^15.0.0",
117
117
  "prettier": "^2.5.1",
118
118
  "rimraf": "^3.0.0",
119
- "rollup": "^1.16.3",
120
119
  "sinon": "^9.0.2",
121
120
  "ts-node": "^10.0.0",
122
121
  "typescript": "~4.2.0",