mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[web] optimize process notifications and add monitoring metrics (#34699)
GitOrigin-RevId: 411355cbdbb25d871b9cfb2afbb0ad235041337f
This commit is contained in:
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/access-token-encryptor monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/access-token-encryptor
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/access-token-encryptor
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/access-token-encryptor
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
access-token-encryptor
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/fetch-utils monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/fetch-utils
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/fetch-utils
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/fetch-utils
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
fetch-utils
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/logger monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/logger
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/logger
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/logger
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
logger
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/metrics monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/metrics
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/metrics
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/metrics
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
metrics
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/mongo-utils monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/mongo-utils
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/mongo-utils
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/mongo-utils
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,10 +0,0 @@
|
||||
mongo-utils
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
--tsconfig-no-implicit-any=True
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/o-error monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/o-error
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/o-error
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/o-error
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
o-error
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/object-persistor monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/object-persistor
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/object-persistor
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/object-persistor
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,10 +0,0 @@
|
||||
object-persistor
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
--tsconfig-no-implicit-any=True
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/overleaf-editor-core monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/overleaf-editor-core
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/overleaf-editor-core
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/overleaf-editor-core
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
overleaf-editor-core
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=44
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/promise-utils monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/promise-utils
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/promise-utils
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/promise-utils
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
promise-utils
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/ranges-tracker monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/ranges-tracker
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/ranges-tracker
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/ranges-tracker
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
ranges-tracker
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=44
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/redis-wrapper monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/redis-wrapper
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/redis-wrapper
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/redis-wrapper
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
redis-wrapper
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/settings monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/settings
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/settings
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/settings
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
settings
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/stream-utils monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/stream-utils
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/stream-utils
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/stream-utils
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,9 +0,0 @@
|
||||
stream-utils
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--pipeline-owner=32
|
||||
--public-repo=False
|
||||
@@ -1 +0,0 @@
|
||||
24.14.1
|
||||
@@ -1,59 +0,0 @@
|
||||
# Run the test commands in the scope of the monorepo.
|
||||
# Eslint and prettier (plus some configs) are on the root.
|
||||
RUN_LINTING = ../../bin/run -w /overleaf/libraries/validation-tools monorepo yarn run --silent
|
||||
RUN_LINTING_MONOREPO = ../../bin/run monorepo yarn run --silent
|
||||
|
||||
WITH_CACHE_FOLDER = \
|
||||
lint \
|
||||
lint_ci \
|
||||
lint_fix \
|
||||
format \
|
||||
format_ci \
|
||||
format_fix \
|
||||
typecheck \
|
||||
typecheck_ci \
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/prettier/
|
||||
../../node_modules/.cache/prettier/:
|
||||
mkdir -p $@
|
||||
|
||||
$(WITH_CACHE_FOLDER): ../../node_modules/.cache/eslint/
|
||||
../../node_modules/.cache/eslint/:
|
||||
mkdir -p $@
|
||||
|
||||
format:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/validation-tools
|
||||
|
||||
format_ci:
|
||||
$(RUN_LINTING_MONOREPO) format libraries/validation-tools
|
||||
|
||||
format_fix:
|
||||
$(RUN_LINTING_MONOREPO) format:fix libraries/validation-tools
|
||||
|
||||
lint:
|
||||
$(RUN_LINTING) lint
|
||||
|
||||
lint_ci:
|
||||
-$(RUN_LINTING) lint --format json --output-file reports/eslint.json
|
||||
sed -i 's_"filePath":"/overleaf_"filePath":"$(MONOREPO)_g' reports/eslint.json
|
||||
|
||||
lint_fix:
|
||||
$(RUN_LINTING) lint:fix
|
||||
|
||||
typecheck:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
typecheck_ci:
|
||||
$(RUN_LINTING) types:check
|
||||
|
||||
test: test_unit
|
||||
test_unit:
|
||||
ifneq (,$(wildcard test/unit))
|
||||
$(RUN_LINTING) test:unit
|
||||
endif
|
||||
|
||||
test: test_acceptance
|
||||
test_acceptance:
|
||||
ifneq (,$(wildcard test/acceptance))
|
||||
$(RUN_LINTING) test:acceptance
|
||||
endif
|
||||
@@ -1,10 +0,0 @@
|
||||
validation-tools
|
||||
--dependencies=None
|
||||
--env-add=
|
||||
--env-pass-through=
|
||||
--esmock-loader=False
|
||||
--is-library=True
|
||||
--node-version=24.14.1
|
||||
--public-repo=False
|
||||
--test-acceptance-vitest=True
|
||||
--test-unit-vitest=True
|
||||
Reference in New Issue
Block a user