@azure/template-dpg 1.0.0-alpha.20250224.5 → 1.0.0-alpha.20250225.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.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +11 -10
package/README.md CHANGED
@@ -81,8 +81,8 @@ Create several code examples for how someone would use your library to accomplis
81
81
 
82
82
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
83
83
 
84
- ```javascript
85
- const { setLogLevel } = require("@azure/logger");
84
+ ```ts snippet:SetLogLevel
85
+ import { setLogLevel } from "@azure/logger";
86
86
 
87
87
  setLogLevel("info");
88
88
  ```
@@ -101,7 +101,5 @@ If you'd like to contribute to this library, please read the [contributing guide
101
101
 
102
102
  - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
103
103
 
104
-
105
-
106
104
  [azure_cli]: https://learn.microsoft.com/cli/azure
107
105
  [azure_sub]: https://azure.microsoft.com/free/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/template-dpg",
3
- "version": "1.0.0-alpha.20250224.5",
3
+ "version": "1.0.0-alpha.20250225.3",
4
4
  "description": "Widget Service",
5
5
  "sdk-type": "client",
6
6
  "main": "./dist/commonjs/index.js",
@@ -87,7 +87,7 @@
87
87
  "unit-test": "npm run unit-test:node && npm run unit-test:browser",
88
88
  "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
89
89
  "unit-test:node": "dev-tool run test:vitest",
90
- "update-snippets": "echo skipped"
90
+ "update-snippets": "dev-tool run update-snippets"
91
91
  },
92
92
  "files": [
93
93
  "dist/",
@@ -118,23 +118,24 @@
118
118
  "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
119
119
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
120
120
  "@types/node": "^18.0.0",
121
- "@vitest/browser": "^3.0.3",
122
- "@vitest/coverage-istanbul": "^3.0.3",
121
+ "@vitest/browser": "^3.0.6",
122
+ "@vitest/coverage-istanbul": "^3.0.6",
123
123
  "dotenv": "^16.0.0",
124
124
  "eslint": "^9.9.0",
125
- "playwright": "^1.49.0",
125
+ "playwright": "^1.50.1",
126
126
  "typescript": "~5.7.2",
127
- "vitest": "^3.0.3"
127
+ "vitest": "^3.0.6"
128
128
  },
129
129
  "dependencies": {
130
130
  "@azure-rest/core-client": "^2.3.1",
131
131
  "@azure/core-auth": "^1.9.0",
132
- "@azure/core-rest-pipeline": "^1.18.0",
132
+ "@azure/core-rest-pipeline": "^1.19.0",
133
133
  "@azure/core-util": "^1.11.0",
134
134
  "@azure/logger": "^1.1.4",
135
135
  "tslib": "^2.8.1"
136
136
  },
137
137
  "tshy": {
138
+ "project": "./tsconfig.src.json",
138
139
  "exports": {
139
140
  "./package.json": "./package.json",
140
141
  ".": "./src/index.ts",
@@ -149,8 +150,8 @@
149
150
  "browser",
150
151
  "react-native"
151
152
  ],
152
- "selfLink": false,
153
- "project": "./tsconfig.src.json"
153
+ "selfLink": false
154
154
  },
155
- "browser": "./dist/browser/index.js"
155
+ "browser": "./dist/browser/index.js",
156
+ "react-native": "./dist/react-native/index.js"
156
157
  }