Skip to content

Commit

Permalink
fixed schema-registry-avro
Browse files Browse the repository at this point in the history
  • Loading branch information
witemple-msft committed Jan 25, 2022
1 parent 26425ec commit e834674
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions common/tools/dev-tool/src/config/rollup.base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export function makeBrowserTestConfig(pkg: PackageJson): RollupOptions {
multiEntry({ exports: false }),
nodeResolve({
mainFields: ["module", "browser"],
preferBuiltins: false,
}),
cjs(),
json(),
Expand Down
8 changes: 4 additions & 4 deletions sdk/schemaregistry/schema-registry-avro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"types": "types/schema-registry-avro.shims.d.ts",
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:browser": "tsc -p . && dev-tool run bundle",
"build:node": "tsc -p . && dev-tool run bundle",
"build:browser": "tsc -p . && rollup -c rollup.test.config.js 2>&1",
"build:node": "tsc -p . && dev-tool run bundle --browser-test=false",
"build:samples": "echo Obsolete.",
"build:test": "tsc -p . && rollup -c rollup.test.config.js 2>&1",
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",
"build": "npm run clean && tsc -p . && dev-tool run bundle --browser-test=false && api-extractor run --local",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist dist-* temp \"types/!(schema-registry-avro.shims.d.ts)\" *.tgz *.log",
"execute:samples": "dev-tool samples run samples-dev",
Expand Down Expand Up @@ -73,7 +73,6 @@
"dependencies": {
"@azure/schema-registry": "1.0.2",
"avsc": "^5.5.1",
"buffer": "^6.0.0",
"tslib": "^2.2.0"
},
"devDependencies": {
Expand All @@ -89,6 +88,7 @@
"@types/chai-as-promised": "^7.1.0",
"@types/mocha": "^7.0.2",
"@types/node": "^12.0.0",
"buffer": "^6.0.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.2",
Expand Down

0 comments on commit e834674

Please sign in to comment.