This commit is contained in:
Chris Trevino 2022-05-24 16:45:23 -07:00
Родитель 44a987b5c0
Коммит 5cc1e1761e
5 изменённых файлов: 21 добавлений и 15 удалений

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

@ -92,7 +92,7 @@ stages:
displayName: Archive WebApp
inputs:
targetType: 'inline'
script: yarn archive:client
script: yarn archive:webapp
- task: AzureRmWebAppDeployment@4
displayName: Deploy Webapp

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

@ -18,7 +18,7 @@ module.exports = {
},
webpackFinal(config) {
// mute build output
if (process.env.CI) {
if (process.env.CI || process.env.SB_QUIET) {
config.stats = 'errors-only'
config.plugins = config.plugins.filter(({ constructor }) => constructor.name !== "ProgressPlugin")
}

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

@ -25,10 +25,10 @@
"clean": "essex clean build dist lib node_modules",
"bundle": "essex bundle && shx cp -r public/* build/",
"start": "essex serve",
"start:client": "yarn start",
"build:client": "yarn build && yarn archive",
"start:webapp": "yarn start",
"build:webapp": "yarn build && yarn archive",
"archive": "essex zip --baseDir build deploy.zip '**/*'",
"archive:client": "yarn archive",
"archive:webapp": "yarn archive",
"lint": "essex lint --fix"
},
"dependencies": {

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

@ -2,8 +2,8 @@
"name": "@data-wrangling-components/project",
"private": true,
"scripts": {
"_publish": "yarn workspaces foreach -piv run release",
"_ci": "turbo run ci",
"_publish": "turbo run release",
"_ci": "SB_QUIET=true turbo run ci",
"_cut_schema": "yarn node scripts/release-schema.mjs",
"_isclean": "essex git-is-clean",
"_pause": "sleep 3",
@ -13,8 +13,8 @@
"build": "turbo run build",
"lint": "turbo run lint",
"test": "turbo run test",
"start": "yarn workspaces foreach -piv run start",
"deploy": "yarn workspaces foreach -piv run deploy",
"start": "SB_QUIET=true turbo run start",
"deploy": "turbo run deploy",
"prettify": "essex prettify",
"release": "run-s _publish _cut_schema",
"update_sdks": "yarn dlx @yarnpkg/sdks vscode",

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

@ -2,12 +2,9 @@
"$schema": "https://turborepo.org/schema.json",
"baseBranch": "origin/main",
"pipeline": {
"clean": {
"outputs": ["dist/", "docs/", "build/", "storybook-static/"]
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/", "docs/", "build/", "storybook-static/"]
"outputs": ["dist/**", "docs/**"]
},
"test": {
"dependsOn": [],
@ -19,12 +16,21 @@
},
"bundle": {
"dependsOn": ["^build"],
"outputs": ["build/", "storybook-static/"]
"outputs": ["build/**", "storybook-static/**"]
},
"ci": {
"dependsOn": ["build", "lint", "test", "bundle"]
},
"dev": {
"clean": {
"cache": false
},
"release": {
"cache": false
},
"start": {
"cache": false
},
"deploy": {
"cache": false
}
}