aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/ts
diff options
context:
space:
mode:
authorzaverden <zaverden@yandex-team.com>2024-06-11 08:00:26 +0300
committerzaverden <zaverden@yandex-team.com>2024-06-11 08:15:47 +0300
commit799669481bc899de3c441756546785fca22d2423 (patch)
tree3ec9854cdb538283fe0de625d948c7611898386e /build/conf/ts
parentca4183836a7f147ab01cf4c617b09f2f0ebd9155 (diff)
downloadydb-799669481bc899de3c441756546785fca22d2423.tar.gz
feat(conf+builder): build without contrib/typescript
89c8f9767a1ef610f9ee050e1a5da5728bba02d7
Diffstat (limited to 'build/conf/ts')
-rw-r--r--build/conf/ts/node_modules.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/conf/ts/node_modules.conf b/build/conf/ts/node_modules.conf
index cea668c3c1..dc282e6924 100644
--- a/build/conf/ts/node_modules.conf
+++ b/build/conf/ts/node_modules.conf
@@ -9,6 +9,10 @@ macro CUSTOM_CONTRIB_TYPESCRIPT(P) {
SET(NPM_CONTRIBS_PATH $P)
}
+macro NO_CONTRIB_TYPESCRIPT() {
+ SET(NPM_CONTRIBS_PATH -)
+}
+
### @usage: NPM_CONTRIBS() # internal
###
### Defines special module that provides contrib tarballs from internal npm registry.
@@ -55,10 +59,14 @@ macro _TS_ADD_NODE_MODULES_FOR_BUILDER() {
_TARBALLS_STORE=__tarballs__
_PREPARE_DEPS_INOUTS=
+_PREPARE_DEPS_RESOURCES=
+_PREPARE_DEPS_USE_RESOURCES_FLAG=
_PREPARE_DEPS_CMD=$TOUCH_UNIT \
&& $NOTS_TOOL $NOTS_TOOL_BASE_ARGS prepare-deps \
--tarballs-store $_TARBALLS_STORE \
$_PREPARE_DEPS_INOUTS \
+ $_PREPARE_DEPS_RESOURCES \
+ $_PREPARE_DEPS_USE_RESOURCES_FLAG \
${kv;hide:"pc magenta"} ${kv;hide:"p TS_DEP"}
# In case of no deps we need to create empty outputs for graph connectivity