@fluidframework/core-utils

v2.0.0-internal.4.2.0
Not intended for use outside the Fluid client repo.

tsc

tsc

lint

npm run prettier && npm run eslint

test

npm run test:mocha

bench

mocha --timeout 999999 --perfMode --parentProcess --fgrep @Benchmark --reporter "../../../node_modules/@fluid-tools/benchmark/dist/MochaReporter.js"

build

concurrently npm:build:compile npm:lint && npm run build:docs

clean

rimraf dist lib *.tsbuildinfo *.build.log

eslint

eslint --format stylish src

format

npm run prettier:fix

lint:fix

npm run prettier:fix && npm run eslint:fix

prettier

prettier --check . --ignore-path ../../../.prettierignore

build:docs

api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/

build:full

npm run build

build:test

tsc --project ./src/test/tsconfig.json

eslint:fix

eslint --format stylish src --fix --fix-type problem,suggestion,layout

test:mocha

mocha

build:esnext

tsc --project ./tsconfig.esnext.json

prettier:fix

prettier --write . --ignore-path ../../../.prettierignore

bench:profile

mocha --v8-prof --timeout 999999 --perfMode --fgrep @Benchmark --reporter "../../../node_modules/@fluid-tools/benchmark/dist/MochaReporter.js" && node --prof-process isolate-0x*-v8.log > profile.txt && rm isolate-0x*-v8.log && cat profile.txt

build:compile

concurrently npm:build:commonjs npm:build:esnext

ci:build:docs

api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/

test:coverage

nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml

typetests:gen

fluid-type-test-generator

build:commonjs

npm run tsc && npm run typetests:gen && npm run build:test

typetests:prepare

flub generate typetests --prepare --dir . --pin

build:full:compile

npm run build:compile

test:mocha:verbose

cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha

test:benchmark:report

mocha --node-option unhandled-rejections=strict,expose-gc --exit --perfMode --fgrep @Benchmark --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 60000

test:mocha:multireport

cross-env FLUID_TEST_MULTIREPORT=1 npm run test:mocha
npm i @fluidframework/[email protected]

Metadata

  • MIT
  • Whatever
  • Microsoft and contributors
  • released 5/5/2023

Downloads