split fix/check, add check-deps
This commit is contained in:
Родитель
8144b74294
Коммит
35aaf5e8bf
|
@ -21,7 +21,9 @@
|
|||
"scripts": {
|
||||
"clean": "essex clean dist docs",
|
||||
"build": "essex build --docs --skipExportCheck",
|
||||
"lint": "essex lint --fix --strict",
|
||||
"fix": "essex fix --strict",
|
||||
"check": "essex check --strict",
|
||||
"check-deps": "essex check-deps",
|
||||
"release": "yarn npm publish --tolerate-republish --access public"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -29,7 +29,9 @@
|
|||
"scripts": {
|
||||
"clean": "essex clean dist docs",
|
||||
"build": "essex build --docs --skipExportCheck",
|
||||
"lint": "essex lint --fix --strict",
|
||||
"fix": "essex fix --strict",
|
||||
"check": "essex check --strict",
|
||||
"check-deps": "essex check-deps",
|
||||
"release": "yarn npm publish --tolerate-republish --access public"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
"_transpile": "essex build --docs",
|
||||
"_bundle_schemas": "run-p bundle-codebook bundle-datapackage bundle-datatable bundle-bundle bundle-workflow bundle-tablebundle",
|
||||
"build": "run-p _transpile _bundle_schemas",
|
||||
"lint": "essex lint --fix --strict",
|
||||
"fix": "essex fix --strict",
|
||||
"check": "essex check --strict",
|
||||
"check-deps": "essex check-deps",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"bundle-codebook": "typescript-json-schema tsconfig.json CodebookSchema > ../../schema/codebook.json",
|
||||
"bundle-datapackage": "typescript-json-schema tsconfig.json DataPackageSchema > ../../schema/datapackage.json",
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
"scripts": {
|
||||
"clean": "essex clean dist docs",
|
||||
"build": "essex build --docs --skipExportCheck",
|
||||
"fix": "essex fix --strict",
|
||||
"check": "essex check --strict",
|
||||
"check-deps": "essex check-deps",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"release": "yarn npm publish --tolerate-republish --access public"
|
||||
},
|
||||
|
|
|
@ -29,7 +29,9 @@
|
|||
"scripts": {
|
||||
"clean": "essex clean dist docs",
|
||||
"build": "essex build --docs --skipExportCheck",
|
||||
"lint": "essex lint --fix --strict",
|
||||
"fix": "essex fix --strict",
|
||||
"check": "essex check --strict",
|
||||
"check-deps": "essex check-deps",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"release": "yarn npm publish --tolerate-republish --access public"
|
||||
},
|
||||
|
|
|
@ -26,7 +26,9 @@
|
|||
"bundle": "essex bundle && shx cp -r public/* build/",
|
||||
"start": "essex serve",
|
||||
"start:webapp": "yarn start",
|
||||
"lint": "essex lint --fix --strict"
|
||||
"fix": "essex fix --strict",
|
||||
"check": "essex check --strict",
|
||||
"check-deps": "essex check-deps"
|
||||
},
|
||||
"dependencies": {
|
||||
"@datashaper/app-framework": "workspace:^",
|
||||
|
|
|
@ -11,8 +11,11 @@
|
|||
"clean": "turbo run clean --parallel",
|
||||
"build": "turbo run build",
|
||||
"bundle": "turbo run bundle",
|
||||
"lint": "turbo run lint",
|
||||
"check": "turbo run check",
|
||||
"check-deps": "turbo run check-deps",
|
||||
"fix": "turbo run fix",
|
||||
"test": "turbo run test",
|
||||
"format": "essex prettify",
|
||||
"clean:": "yarn clean",
|
||||
"build:": "yarn build",
|
||||
"bundle:": "yarn bundle",
|
||||
|
@ -20,7 +23,6 @@
|
|||
"test:": "yarn test",
|
||||
"start": "SB_QUIET=true turbo run start --parallel",
|
||||
"deploy": "turbo run deploy",
|
||||
"prettify": "essex prettify",
|
||||
"ci": "turbo run ci",
|
||||
"is_clean": "git diff-index HEAD --quiet || (git status && exit 1)",
|
||||
"release": "run-s clean _version_cut ci _release_packages _cut_schema _copy_versions",
|
||||
|
@ -47,4 +49,4 @@
|
|||
"javascript/*"
|
||||
],
|
||||
"packageManager": "yarn@3.3.1"
|
||||
}
|
||||
}
|
64
turbo.json
64
turbo.json
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"$schema": "https://turborepo.org/schema.json",
|
||||
"baseBranch": "origin/main",
|
||||
"pipeline": {
|
||||
"//#generate:versions": {
|
||||
"dependsOn": [],
|
||||
|
@ -10,33 +9,72 @@
|
|||
]
|
||||
},
|
||||
"build": {
|
||||
"dependsOn": ["//#generate:versions", "^build"],
|
||||
"outputs": ["dist/**", "docs/**"]
|
||||
"dependsOn": [
|
||||
"//#generate:versions",
|
||||
"^build"
|
||||
],
|
||||
"outputs": [
|
||||
"dist/**",
|
||||
"docs/**"
|
||||
]
|
||||
},
|
||||
"test": {
|
||||
"dependsOn": ["build"],
|
||||
"dependsOn": [
|
||||
"build"
|
||||
],
|
||||
"outputs": [],
|
||||
"cache": false
|
||||
},
|
||||
"lint": {
|
||||
"check": {
|
||||
"dependsOn": [],
|
||||
"outputs": []
|
||||
},
|
||||
"check-deps": {
|
||||
"dependsOn": [],
|
||||
"outputs": []
|
||||
},
|
||||
"fix": {
|
||||
"dependsOn": [],
|
||||
"outputs": []
|
||||
},
|
||||
"bundle": {
|
||||
"dependsOn": ["^build", "build"],
|
||||
"outputs": ["build/**", "storybook-static/**"]
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"build"
|
||||
],
|
||||
"outputs": [
|
||||
"build/**",
|
||||
"storybook-static/**"
|
||||
]
|
||||
},
|
||||
"ci": {
|
||||
"dependsOn": ["build", "lint", "test", "bundle"],
|
||||
"outputs": ["dist/**", "docs/**", "build/**", "storybook-static/**"]
|
||||
"dependsOn": [
|
||||
"build",
|
||||
"check",
|
||||
"test",
|
||||
"bundle"
|
||||
],
|
||||
"outputs": [
|
||||
"dist/**",
|
||||
"docs/**",
|
||||
"build/**",
|
||||
"storybook-static/**"
|
||||
]
|
||||
},
|
||||
"prestart": {
|
||||
"dependsOn": ["^prestart"],
|
||||
"outputs": ["dist/**"]
|
||||
"dependsOn": [
|
||||
"^prestart"
|
||||
],
|
||||
"outputs": [
|
||||
"dist/**"
|
||||
]
|
||||
},
|
||||
"start": {
|
||||
"cache": false,
|
||||
"dependsOn": ["prestart", "^build"],
|
||||
"dependsOn": [
|
||||
"prestart",
|
||||
"^build"
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
"clean": {
|
||||
|
@ -49,4 +87,4 @@
|
|||
"cache": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче