Skip to content

Commit

Permalink
Add empty build:samples scripts to all packages missing them. (#12791)
Browse files Browse the repository at this point in the history
  • Loading branch information
witemple-msft authored Dec 7, 2020
1 parent dd8a085 commit 5054334
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 10 deletions.
3 changes: 2 additions & 1 deletion common/tools/dev-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"lint": "eslint src test --ext .ts -f html -o template-lintReport.html || exit 0",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean",
"unit-test": "mocha --require ts-node/register test/**/*.spec.ts"
"unit-test": "mocha --require ts-node/register test/**/*.spec.ts",
"build:samples": "echo Skipped."
},
"repository": "github:Azure/azure-sdk-for-js",
"author": "Microsoft Corporation",
Expand Down
3 changes: 2 additions & 1 deletion common/tools/eslint-plugin-azure-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"unit-test:node": "mocha --require source-map-support/register --timeout 10000 --full-trace --recursive dist/tests",
"unit-test:browser": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"test": "npm run clean && npm run build:test && npm run unit-test"
"test": "npm run clean && npm run build:test && npm run unit-test",
"build:samples": "echo Skipped."
},
"engines": {
"node": ">=8.0.0"
Expand Down
3 changes: 2 additions & 1 deletion sdk/core/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "karma start --single-run",
"unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" mocha --require ts-node/register --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --full-trace --no-timeouts test/*.spec.ts",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"build:samples": "echo Skipped."
},
"types": "./types/src/index.d.ts",
"engine": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/core/core-asynciterator-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "echo skipped",
"unit-test:node": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"build:samples": "echo Skipped."
},
"sideEffects": true,
"private": false,
Expand Down
3 changes: 2 additions & 1 deletion sdk/core/core-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"dep:ms-rest-azure-js": "npx ts-node .scripts/testDependentProjects.ts ms-rest-azure-js",
"publish-preview": "mocha --no-colors && shx rm -rf dist/test && node ./.scripts/publish",
"local": "ts-node ./.scripts/local.ts",
"latest": "ts-node ./.scripts/latest.ts"
"latest": "ts-node ./.scripts/latest.ts",
"build:samples": "echo Skipped."
},
"sideEffects": false,
"nyc": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/core/core-paging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "echo skipped",
"unit-test:node": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"build:samples": "echo Skipped."
},
"sideEffects": true,
"private": false,
Expand Down
3 changes: 2 additions & 1 deletion sdk/core/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "karma start --single-run",
"unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" mocha --require ts-node/register --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --full-trace --no-timeouts test/*.spec.ts",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"build:samples": "echo Skipped."
},
"types": "./types/logger.d.ts",
"engine": {
Expand Down
3 changes: 2 additions & 1 deletion sdk/eventhub/testhub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "echo skipped",
"unit-test:node": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"build:samples": "echo Skipped."
},
"dependencies": {
"@azure/event-hubs": "^2.1.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"report": "nyc report --reporter=json",
"test-opentelemetry-versions": "node test-opentelemetry-versions.js 2>&1",
"prepare": "npm run build",
"pack": "npm pack 2>&1"
"pack": "npm pack 2>&1",
"build:samples": "echo Skipped."
},
"engines": {
"node": ">=8.3.0"
Expand Down
3 changes: 2 additions & 1 deletion sdk/test-utils/perfstress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"test:browser": "npm run clean && npm run build npm run unit-test:browser",
"test:node": "npm run clean && npm run build && npm run unit-test:node",
"test": "npm run clean && npm run build && npm run unit-test"
"test": "npm run clean && npm run build && npm run unit-test",
"build:samples": "echo Skipped."
},
"files": [
"dist/",
Expand Down

0 comments on commit 5054334

Please sign in to comment.