@azure-rest/ai-document-translator 1.0.0-alpha.20240925.1 → 1.0.0-alpha.20240926.1
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 +16 -15
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "An isomorphic rest level client library for the Azure Document Translator service.",
|
|
6
|
-
"version": "1.0.0-alpha.
|
|
6
|
+
"version": "1.0.0-alpha.20240926.1",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
9
9
|
"azure",
|
|
@@ -56,46 +56,47 @@
|
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
|
|
59
|
+
"build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api",
|
|
59
60
|
"build:browser": "tsc -p . && dev-tool run bundle",
|
|
61
|
+
"build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api",
|
|
60
62
|
"build:node": "tsc -p . && dev-tool run bundle",
|
|
61
63
|
"build:samples": "echo Obsolete.",
|
|
62
64
|
"build:test": "tsc -p . && dev-tool run bundle",
|
|
63
|
-
"build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api",
|
|
64
|
-
"build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api",
|
|
65
65
|
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
66
66
|
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
67
67
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
68
68
|
"extract-api": "tsc -p . && dev-tool run extract-api",
|
|
69
69
|
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
70
70
|
"generate:client": "autorest --typescript swagger/README.md && npm run format",
|
|
71
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
71
72
|
"integration-test:browser": "dev-tool run test:browser",
|
|
72
73
|
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
|
|
73
|
-
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
74
|
-
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
75
74
|
"lint": "eslint package.json api-extractor.json src test",
|
|
75
|
+
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
76
76
|
"pack": "npm pack 2>&1",
|
|
77
|
+
"test": "npm run clean && npm run build:test && npm run unit-test",
|
|
77
78
|
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
|
|
78
79
|
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
|
|
79
|
-
"test": "npm run
|
|
80
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
80
81
|
"unit-test:browser": "dev-tool run test:browser",
|
|
81
82
|
"unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
|
|
82
|
-
"
|
|
83
|
+
"update-snippets": "echo skipped"
|
|
83
84
|
},
|
|
84
85
|
"sideEffects": false,
|
|
85
86
|
"autoPublish": false,
|
|
86
87
|
"dependencies": {
|
|
87
|
-
"@azure/core-auth": "^1.3.0",
|
|
88
88
|
"@azure-rest/core-client": "^1.0.0",
|
|
89
|
+
"@azure-tools/test-recorder": "^3.0.0",
|
|
90
|
+
"@azure/core-auth": "^1.3.0",
|
|
89
91
|
"@azure/core-rest-pipeline": "^1.1.0",
|
|
90
92
|
"@azure/logger": "^1.0.0",
|
|
91
|
-
"tslib": "^2.2.0"
|
|
92
|
-
"@azure-tools/test-recorder": "^3.0.0"
|
|
93
|
+
"tslib": "^2.2.0"
|
|
93
94
|
},
|
|
94
95
|
"devDependencies": {
|
|
96
|
+
"@azure-tools/test-credential": "^1.0.0",
|
|
95
97
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
96
98
|
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
97
99
|
"@azure/identity": "^4.0.1",
|
|
98
|
-
"@azure-tools/test-credential": "^1.0.0",
|
|
99
100
|
"@microsoft/api-extractor": "^7.31.1",
|
|
100
101
|
"@types/chai": "^4.1.6",
|
|
101
102
|
"@types/mocha": "^10.0.0",
|
|
@@ -104,6 +105,7 @@
|
|
|
104
105
|
"cross-env": "^7.0.2",
|
|
105
106
|
"dotenv": "^16.0.0",
|
|
106
107
|
"eslint": "^9.9.0",
|
|
108
|
+
"karma": "^6.2.0",
|
|
107
109
|
"karma-chrome-launcher": "^3.0.0",
|
|
108
110
|
"karma-coverage": "^2.0.0",
|
|
109
111
|
"karma-env-preprocessor": "^0.1.1",
|
|
@@ -111,16 +113,15 @@
|
|
|
111
113
|
"karma-json-preprocessor": "^0.3.3",
|
|
112
114
|
"karma-json-to-file-reporter": "^1.0.1",
|
|
113
115
|
"karma-junit-reporter": "^2.0.1",
|
|
114
|
-
"karma-mocha-reporter": "^2.2.5",
|
|
115
116
|
"karma-mocha": "^2.0.1",
|
|
117
|
+
"karma-mocha-reporter": "^2.2.5",
|
|
116
118
|
"karma-source-map-support": "~1.4.0",
|
|
117
119
|
"karma-sourcemap-loader": "^0.3.8",
|
|
118
|
-
"karma": "^6.2.0",
|
|
119
120
|
"mocha": "^10.0.0",
|
|
120
121
|
"nyc": "^17.0.0",
|
|
121
122
|
"rimraf": "^5.0.5",
|
|
122
123
|
"source-map-support": "^0.5.9",
|
|
123
|
-
"
|
|
124
|
-
"
|
|
124
|
+
"ts-node": "^10.0.0",
|
|
125
|
+
"typescript": "~5.6.2"
|
|
125
126
|
}
|
|
126
127
|
}
|