|
35 | 35 | "README.md", |
36 | 36 | "LICENSE" |
37 | 37 | ], |
38 | | - "repository": { |
39 | | - "type": "git", |
40 | | - "url": "git+https://github.com/Azure/azure-sdk-for-js", |
41 | | - "directory": "sdk/core/core-tracing" |
42 | | - }, |
| 38 | + "repository": "github:Azure/azure-sdk-for-js", |
43 | 39 | "keywords": [ |
44 | 40 | "azure", |
45 | 41 | "tracing", |
|
53 | 49 | "engines": { |
54 | 50 | "node": ">=20.0.0" |
55 | 51 | }, |
56 | | - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-tracing/README.md", |
| 52 | + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/README.md", |
57 | 53 | "sideEffects": false, |
58 | 54 | "scripts": { |
59 | 55 | "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", |
60 | | - "build:samples": "tsc -p tsconfig.samples.json", |
| 56 | + "build:samples": "tsc -p config/tsconfig.samples.json", |
61 | 57 | "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", |
62 | 58 | "clean": "rimraf --glob dist dist-* temp types *.tgz *.log", |
63 | 59 | "execute:samples": "echo skipped", |
|
66 | 62 | "lint": "eslint package.json src test", |
67 | 63 | "lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]", |
68 | 64 | "pack": "pnpm pack 2>&1", |
69 | | - "test": "npm run test:node && npm run test:browser", |
70 | | - "test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser", |
71 | | - "test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest --no-test-proxy", |
| 65 | + "test": "tsc -b --noEmit && npm run test:node && npm run test:browser", |
| 66 | + "test:browser": "dev-tool run test:vitest --no-test-proxy --browser", |
| 67 | + "test:node": "dev-tool run test:vitest --no-test-proxy", |
72 | 68 | "update-snippets": "dev-tool run update-snippets" |
73 | 69 | }, |
74 | 70 | "dependencies": { |
|
101 | 97 | }, |
102 | 98 | "migrationDate": "2023-03-08T18:36:03.000Z" |
103 | 99 | }, |
104 | | - "module": "./dist/esm/index.js" |
| 100 | + "module": "./dist/esm/index.js", |
| 101 | + "imports": { |
| 102 | + "#platform/state": { |
| 103 | + "browser": "./src/state-web.mts", |
| 104 | + "react-native": "./src/state-web.mts", |
| 105 | + "require": "./src/state-cjs.ts", |
| 106 | + "default": "./src/state.ts" |
| 107 | + } |
| 108 | + } |
105 | 109 | } |
0 commit comments