Added build:lib and test:lib commands (#2554)

This commit is contained in:
David Watrous 2022-08-17 15:32:08 -04:00 коммит произвёл GitHub
Родитель c8bbea7c96
Коммит 4cfdb8345b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 29 добавлений и 17 удалений

Просмотреть файл

@ -50,6 +50,7 @@
"build:clean": "lerna run workspace:build:clean --stream",
"build:desktop": "lerna run workspace:build:desktop --stream",
"build:desktop:client": "lerna run workspace:build:desktop:client --stream",
"build:lib": "lerna run workspace:build:lib --stream",
"build:web": "lerna run workspace:build:web --stream",
"build:package": "lerna run workspace:build:package --stream",
"build:prod": "lerna run workspace:build:prod --stream",
@ -65,11 +66,13 @@
"start": "npm run -s start:web",
"start:desktop": "lerna run --parallel workspace:start:desktop --stream",
"start:web": "lerna run --parallel workspace:start:web --stream",
"test": "lerna run workspace:test --stream && npm run -s gather-build-results",
"test:desktop": "lerna run workspace:test:desktop --stream && npm run -s gather-build-results",
"test:all": "lerna run workspace:test:all --stream && npm run -s gather-build-results",
"test:web": "lerna run workspace:test:web --stream && npm run -s gather-build-results",
"test:web:all": "lerna run workspace:test:web:all --stream && npm run -s gather-build-results",
"test": "lerna run workspace:test --stream && npm run gather-build-results",
"test:all": "lerna run workspace:test:all --stream && npm run gather-build-results",
"test:desktop": "lerna run workspace:test:desktop --stream && npm run gather-build-results",
"test:lib": "lerna run workspace:test:lib --stream && npm run gather-build-results",
"test:lib:all": "lerna run workspace:test:lib:all --stream && npm run gather-build-results",
"test:web": "lerna run workspace:test:web --stream && npm run gather-build-results",
"test:web:all": "lerna run workspace:test:web:all --stream && npm run gather-build-results",
"postinstall": "lerna bootstrap -- --legacy-peer-deps && node ./util/build-util/check-cli-path",
"dev-setup": "cd ./util/build-util && npm install && npm run -s build:clean && npm install -g ."
}

Просмотреть файл

@ -22,8 +22,8 @@
"compile:cjs": "tsc -b ./config/tsconfig.cjs.json",
"clean": "run-p clean:*",
"clean:build": "butil rmrf ./build",
"clean:lib": "butil rmrf ./lib",
"clean:lib-cjs": "butil rmrf ./lib-cjs",
"clean:esm": "butil rmrf ./lib",
"clean:cjs": "butil rmrf ./lib-cjs",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"test:all": "npm run test:coverage",
@ -34,6 +34,7 @@
"workspace:build": "npm run build",
"workspace:build:clean": "npm run build:clean",
"workspace:build:desktop": "npm run build",
"workspace:build:lib": "npm run build",
"workspace:build:web": "npm run build",
"workspace:build:package": "npm run build:clean",
"workspace:build:prod": "npm run build:clean",
@ -48,6 +49,8 @@
"workspace:test": "npm run test",
"workspace:test:all": "npm run test:all",
"workspace:test:desktop": "npm run test",
"workspace:test:lib": "npm run test",
"workspace:test:lib:all": "npm run test:all",
"workspace:test:web": "npm run test",
"workspace:test:web:all": "npm run test:all"
},

Просмотреть файл

@ -23,8 +23,8 @@
"compile:cjs": "tsc -b ./config/tsconfig.cjs.json",
"clean": "run-p clean:*",
"clean:build": "butil rmrf ./build",
"clean:lib": "butil rmrf ./lib",
"clean:lib-cjs": "butil rmrf ./lib-cjs",
"clean:esm": "butil rmrf ./lib",
"clean:cjs": "butil rmrf ./lib-cjs",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"test:all": "cross-env BE_ENABLE_A11Y_TESTING=true npm run test:coverage",
@ -46,8 +46,8 @@
"workspace:start:desktop": "npm run watch",
"workspace:start:web": "npm run watch",
"workspace:test": "npm run test",
"workspace:test:desktop": "npm run test",
"workspace:test:all": "npm run test:all",
"workspace:test:desktop": "npm run test",
"workspace:test:web": "npm run test",
"workspace:test:web:all": "npm run test:all"
},

Просмотреть файл

@ -23,8 +23,8 @@
"compile:cjs": "tsc -b ./config/tsconfig.cjs.json",
"clean": "run-p clean:*",
"clean:build": "butil rmrf ./build",
"clean:lib": "butil rmrf ./lib",
"clean:lib-cjs": "butil rmrf ./lib-cjs",
"clean:esm": "butil rmrf ./lib",
"clean:cjs": "butil rmrf ./lib-cjs",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"test:all": "cross-env BE_ENABLE_A11Y_TESTING=true npm run test:coverage",
@ -37,6 +37,7 @@
"workspace:build": "npm run build",
"workspace:build:clean": "npm run build:clean",
"workspace:build:desktop": "npm run build",
"workspace:build:lib": "npm run build",
"workspace:build:web": "npm run build",
"workspace:build:package": "npm run build:clean",
"workspace:build:prod": "npm run build:clean",
@ -49,8 +50,10 @@
"workspace:start:desktop": "npm run watch",
"workspace:start:web": "npm run watch",
"workspace:test": "npm run test",
"workspace:test:desktop": "npm run test",
"workspace:test:all": "npm run test:all",
"workspace:test:desktop": "npm run test",
"workspace:test:lib": "npm run test",
"workspace:test:lib:all": "npm run test:all",
"workspace:test:web": "npm run test",
"workspace:test:web:all": "npm run test:all"
},

Просмотреть файл

@ -22,8 +22,8 @@
"compile:cjs": "tsc -b ./config/tsconfig.cjs.json",
"clean": "run-p clean:*",
"clean:build": "butil rmrf ./build",
"clean:lib": "butil rmrf ./lib",
"clean:lib-cjs": "butil rmrf ./lib-cjs",
"clean:esm": "butil rmrf ./lib",
"clean:cjs": "butil rmrf ./lib-cjs",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"test:all": "npm run test:coverage",
@ -34,6 +34,7 @@
"workspace:build": "npm run build",
"workspace:build:clean": "npm run build:clean",
"workspace:build:desktop": "npm run build",
"workspace:build:lib": "npm run build",
"workspace:build:web": "npm run build",
"workspace:build:package": "npm run build:clean",
"workspace:build:prod": "npm run build:clean",
@ -46,8 +47,10 @@
"workspace:start:desktop": "npm run watch",
"workspace:start:web": "npm run watch",
"workspace:test": "npm run test",
"workspace:test:desktop": "npm run test",
"workspace:test:all": "npm run test:all",
"workspace:test:desktop": "npm run test",
"workspace:test:lib": "npm run test",
"workspace:test:lib:all": "npm run test:all",
"workspace:test:web": "npm run test",
"workspace:test:web:all": "npm run test:all"
},

Просмотреть файл

@ -27,7 +27,7 @@
"compile": "tsc -b ./config/tsconfig.build.json",
"clean": "run-p clean:*",
"clean:build": "butil rmrf ./build",
"clean:lib": "butil rmrf ./lib",
"clean:esm": "butil rmrf ./lib",
"clean:umd": "butil rmrf ./lib-umd",
"test": "jest",
"test:coverage": "jest --collect-coverage",