@azure/event-hubs

v5.12.1-alpha.20240524.1
Azure Event Hubs SDK for JS.
azure cloud event hubs events Azure

lint

eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js

pack

npm pack 2>&1

test

npm run build:test && npm run unit-test && npm run integration-test

audit

node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit

build

npm run clean && npm run bundle && dev-tool run extract-api

clean

rimraf --glob dist dist-* types *.tgz *.log

bundle

tsc -p . && dev-tool run bundle --polyfill-node false --inject-node-polyfills true --ignore-missing-node-builtins true

format

dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore "src/**/*.ts" "test/**/*.ts" "samples-dev/**/*.ts" "*.{js,json}"

lint:fix

eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]

test:node

npm run build:test && npm run unit-test:node && npm run integration-test:node

unit-test

npm run unit-test:node && npm run unit-test:browser

build:node

npm run bundle

build:test

npm run bundle && npm run generate-certs && copyfiles -f ./test/internal/node/partitionKeyHashMap.json ./dist-esm/test/internal/node

extract-api

tsc -p . && dev-tool run extract-api

check-format

dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore "src/**/*.ts" "test/**/*.ts" "samples-dev/**/*.ts" "*.{js,json}"

test:browser

npm run build:test && npm run unit-test:browser && npm run integration-test:browser

build:browser

npm run bundle

build:samples

echo Obsolete.

generate-certs

node ./scripts/generateCerts.js

perf-test:node

tsc -p . --module "commonjs" && node dist-esm/test/perf/track-2/index.spec.js

unit-test:node

cross-env NODE_EXTRA_CA_CERTS="./certs/my-private-root-ca.crt.pem" TEST_TARGET=mock DISABLE_MULTI_VERSION_TESTING=true dev-tool run test:node-ts-input --no-test-proxy -- --timeout 1200000 "test/internal/*.spec.ts" "test/public/*.spec.ts" "test/public/**/*.spec.ts" "test/internal/**/*.spec.ts"

build:test:node

tsc -p .

execute:samples

dev-tool samples run samples-dev

integration-test

npm run integration-test:node && npm run integration-test:browser

unit-test:browser

echo skipped

build:test:browser

npm run build:browser

integration-test:node

cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true dev-tool run test:node-js-input --no-test-proxy -- --timeout 600000 "dist-esm/test/internal/*.spec.js" "dist-esm/test/public/*.spec.js" "dist-esm/test/public/**/*.spec.js" "dist-esm/test/internal/**/*.spec.js"

integration-test:browser

cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true karma start --single-run
npm i @azure/[email protected]

Metadata

  • MIT
  • >=18.0.0
  • Unknown
  • released 5/24/2024

Downloads