mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[monorepo] migrate monorepo checks to Jenkins (#28765)
GitOrigin-RevId: ebc3db95cebe99226f8de0f66c1830eb5d78e26c
This commit is contained in:
@@ -43,6 +43,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --list-different $PWD/'**/*.js'",
|
"format": "prettier --list-different $PWD/'**/*.js'",
|
||||||
"format:fix": "prettier --write $PWD/'**/*.js'",
|
"format:fix": "prettier --write $PWD/'**/*.js'",
|
||||||
|
"format:jenkins": "prettier --list-different $PWD/'**/Jenkinsfile'",
|
||||||
|
"format:jenkins:fix": "prettier --write $PWD/'**/Jenkinsfile'",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"postinstall": "patch-package"
|
"postinstall": "patch-package"
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"cypress:open": "cypress open --e2e --browser chrome",
|
"cypress:open": "cypress open --e2e --browser chrome",
|
||||||
"cypress:run": "cypress run --e2e --browser chrome",
|
"cypress:run": "cypress run --e2e --browser chrome",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.{js,mjs,ts,tsx,json},Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/*.{js,mjs,ts,tsx,json}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.{js,mjs,ts,tsx,json},Jenkinsfile}'"
|
"format:fix": "prettier --write $PWD/'**/*.{js,mjs,ts,tsx,json}'"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@isomorphic-git/lightning-fs": "^4.6.0",
|
"@isomorphic-git/lightning-fs": "^4.6.0",
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
||||||
"test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
|
"test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"types:check": "tsc --noEmit"
|
"types:check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
||||||
"nodemon": "node --watch app.js",
|
"nodemon": "node --watch app.js",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"types:check": "tsc --noEmit"
|
"types:check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
||||||
"nodemon": "node --watch app.js",
|
"nodemon": "node --watch app.js",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"types:check": "tsc --noEmit"
|
"types:check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
||||||
"nodemon": "node --watch app.js",
|
"nodemon": "node --watch app.js",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"types:check": "tsc --noEmit"
|
"types:check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"nodemon": "node --watch app.js",
|
"nodemon": "node --watch app.js",
|
||||||
"benchmark:apply": "node benchmarks/apply",
|
"benchmark:apply": "node benchmarks/apply",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"types:check": "tsc --noEmit"
|
"types:check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
"nodemon": "node --watch app.js",
|
"nodemon": "node --watch app.js",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
||||||
"test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
|
"test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
|
|||||||
@@ -62,8 +62,8 @@
|
|||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
||||||
"test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
|
"test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
|
||||||
"test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
|
"test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
"test:unit:_run": "vitest --config ./vitest.config.unit.cjs",
|
"test:unit:_run": "vitest --config ./vitest.config.unit.cjs",
|
||||||
"test:unit": "npm run test:unit:_run",
|
"test:unit": "npm run test:unit:_run",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"types:check": "tsc --noEmit",
|
"types:check": "tsc --noEmit",
|
||||||
"nodemon": "node --watch app.js"
|
"nodemon": "node --watch app.js"
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"test:acceptance:_run": "mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
"test:acceptance:_run": "mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
||||||
"test:unit:_run": "mocha --loader=esmock --recursive --reporter spec --exit $@ test/unit/js",
|
"test:unit:_run": "mocha --loader=esmock --recursive --reporter spec --exit $@ test/unit/js",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"types:check": "tsc --noEmit"
|
"types:check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
||||||
"nodemon": "node --watch app.js",
|
"nodemon": "node --watch app.js",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
|
||||||
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts,Jenkinsfile}'",
|
"format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"types:check": "tsc --noEmit"
|
"types:check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user