chore: update lockfile (#1451)

* fix: lock file blocked CI

* increase coverage
This commit is contained in:
Yongjie Zhao
2021-11-03 05:02:48 +00:00
parent 92a00d3db6
commit beb4376a2a
4 changed files with 58647 additions and 7480 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -32,6 +32,7 @@
"list-changed-packages": "lerna changed",
"manual-release": "lerna publish --force-publish && npm run postrelease",
"clean-npm-lock": "rm -rf ./{packages,plugins}/*/package-lock.json",
"prune": "rm -rf ./{packages,plugins}/*/{lib,esm,tsconfig.tsbuildinfo}",
"ci:create-patch-version": "npm run clean-npm-lock && ./scripts/lernaVersion.sh patch",
"ci:create-minor-version": "npm run clean-npm-lock && ./scripts/lernaVersion.sh minor",
"ci:create-conventional-version": "npm run clean-npm-lock && ./scripts/lernaVersion.sh '--conventional-commits --create-release github'",

View File

@@ -112,6 +112,12 @@ describe('CategoricalColorNamespace', () => {
const ns2 = ns1.setColor('dog', 'black');
expect(ns1).toBe(ns2);
});
it('should reset colors', () => {
const ns1 = getNamespace('test-set-scale3.1');
ns1.setColor('dog', 'black');
ns1.resetColors();
expect(ns1.forcedItems).toMatchObject({});
});
});
describe('static getScale()', () => {
it('getScale() returns a CategoricalColorScale with default scheme in default namespace', () => {

View File

@@ -127,6 +127,7 @@ if (shouldRunBabel) {
}
if (shouldRunTyping) {
console.log('--- Run tsc ---');
// only run tsc for packages with ts files
scope = getPackages(glob, true);
run(`lerna exec --stream --concurrency 3 --scope ${scope} \