mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: update lockfile (#1451)
* fix: lock file blocked CI * increase coverage
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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'",
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
@@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user