Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions sdk/face/ai-vision-face-rest/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion sdk/face/ai-vision-face-rest/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
486 changes: 19 additions & 467 deletions sdk/face/ai-vision-face-rest/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdk/face/ai-vision-face-rest/api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
}
}
}
}
}
6 changes: 0 additions & 6 deletions sdk/face/ai-vision-face-rest/assets.json

This file was deleted.

6 changes: 5 additions & 1 deletion sdk/face/ai-vision-face-rest/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ import azsdkEslint from "@azure/eslint-plugin-azure-sdk";
export default azsdkEslint.config([
{
rules: {
"tsdoc/syntax": "warn",
"@azure/azure-sdk/ts-modules-only-named": "warn",
"@azure/azure-sdk/ts-package-json-types": "warn",
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
"@azure/azure-sdk/ts-package-json-files-required": "off",
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
"tsdoc/syntax": "warn",
},
},
]);
62 changes: 18 additions & 44 deletions sdk/face/ai-vision-face-rest/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "@azure-rest/ai-vision-face",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.1",
"description": "Face API REST Client",
"engines": {
"node": ">=18.0.0"
},
"sideEffects": false,
"autoPublish": false,
"tshy": {
"project": "./tsconfig.src.json",
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
Expand All @@ -21,7 +20,8 @@
"browser",
"react-native"
],
"selfLink": false
"selfLink": false,
"project": "./tsconfig.src.json"
},
"type": "module",
"keywords": [
Expand All @@ -37,9 +37,7 @@
"files": [
"dist/",
"README.md",
"LICENSE",
"review/",
"CHANGELOG.md"
"LICENSE"
],
"sdk-type": "client",
"repository": "github:Azure/azure-sdk-for-js",
Expand All @@ -57,12 +55,12 @@
]
},
"dependencies": {
"@azure-rest/core-client": "^2.1.0",
"@azure-rest/core-client": "^2.3.1",
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.9.0",
"@azure/core-lro": "^3.0.0",
"@azure/core-rest-pipeline": "^1.19.0",
"@azure/logger": "^1.1.4",
"@azure/core-lro": "^3.1.0",
"@azure/core-rest-pipeline": "^1.20.0",
"@azure/logger": "^1.2.0",
"tslib": "^2.8.1"
},
"devDependencies": {
Expand All @@ -71,14 +69,13 @@
"@azure-tools/test-utils-vitest": "^1.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/identity": "^4.6.0",
"@azure/identity": "^4.9.1",
"@types/node": "^18.0.0",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-istanbul": "^3.0.9",
"dotenv": "^16.0.0",
"eslint": "^9.9.0",
"playwright": "^1.50.1",
"prettier": "^3.2.5",
"playwright": "^1.52.0",
"typescript": "~5.8.2",
"vitest": "^3.0.9"
},
Expand All @@ -94,41 +91,21 @@
"generate:client": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:vitest --esm",
"integration-test:node": "echo skipped",
"lint": "eslint package.json api-extractor.json src test",
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
"minify": "echo skipped",
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"test": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run unit-test:browser && npm run integration-test",
"test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
"test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "echo skipped",
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
"unit-test:node": "dev-tool run test:vitest",
"update-snippets": "dev-tool run update-snippets"
},
"//sampleConfiguration": {
"productName": "Face API",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://aka.ms/azsdk-javascript-face-ref",
"extraFiles": {
"./samples-dev/data/detection1.jpg": [
"javascript/data/detection1.jpg",
"typescript/src/data/detection1.jpg"
],
"./samples-dev/data/detection5.jpg": [
"javascript/data/detection5.jpg",
"typescript/src/data/detection5.jpg"
],
"./samples-dev/data/nine-faces.png": [
"javascript/data/nine-faces.png",
"typescript/src/data/nine-faces.png"
]
}
},
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js",
"exports": {
"./package.json": "./package.json",
".": {
Expand All @@ -151,8 +128,5 @@
}
},
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js",
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js"
}
"types": "./dist/commonjs/index.d.ts"
}
Loading