diff options
author | zaverden <zaverden@yandex-team.com> | 2023-06-26 09:54:00 +0300 |
---|---|---|
committer | zaverden <zaverden@yandex-team.com> | 2023-06-26 09:54:00 +0300 |
commit | cd47c0046cf168c7541310f85720514605c1ee51 (patch) | |
tree | ce2d3858f8853cca83e3c23d11efc1e8e966b67d | |
parent | 46a31dca7b2edaf6aa9b7c4e4bc60357d13ab81c (diff) | |
download | ydb-cd47c0046cf168c7541310f85720514605c1ee51.tar.gz |
feat(TS_BUNDLE): put output dir to archive as is
-rw-r--r-- | build/conf/ts/ts_bundle.conf | 4 | ||||
-rw-r--r-- | build/plugins/lib/nots/package_manager/base/constants.py | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/build/conf/ts/ts_bundle.conf b/build/conf/ts/ts_bundle.conf index 95cb4d9561..0712a83339 100644 --- a/build/conf/ts/ts_bundle.conf +++ b/build/conf/ts/ts_bundle.conf @@ -5,13 +5,13 @@ TS_BUNDLE_WEBPACK=$TOUCH_UNIT \ && ${cwd:BINDIR} $NOTS_TOOL bundle-webpack $NOTS_TOOL_BASE_ARGS --webpack-resource $WEBPACK_ROOT \ --moddir $MODDIR --webpack-config ${input:WEBPACK_CONFIG_PATH} --ts-config ${input:TS_CONFIG_PATH} \ --node-modules-bundle $NOTS_TOOL_NODE_MODULES_BUNDLE $NODE_MODULES_BUNDLE_AS_OUTPUT ${hide:PEERS} \ - ${input;hide:"./package.json"} ${TS_CONFIG_FILES} ${output;hide:"bundle.tar"} \ + ${input;hide:"./package.json"} ${TS_CONFIG_FILES} ${output;hide:"output.tar"} \ ${output;hide:"package.json"} ${kv;hide:"p TSWP"} ${kv;hide:"pc magenta"} ### @usage: TS_BUNDLE([name]) ### ### The Webpack bundle, bundles JavaScript code. -### Build results are bundle.tar (depending on local tsconfig.json settings). +### Build results are packed as `output.tar`. ### ### @example ### diff --git a/build/plugins/lib/nots/package_manager/base/constants.py b/build/plugins/lib/nots/package_manager/base/constants.py index d03df2a570..2c17523314 100644 --- a/build/plugins/lib/nots/package_manager/base/constants.py +++ b/build/plugins/lib/nots/package_manager/base/constants.py @@ -1,5 +1,6 @@ BUILD_DIRNAME = "build" BUNDLE_DIRNAME = "bundle" +OUTPUT_TAR_FILENAME = "output.tar" NODE_MODULES_BUNDLE_FILENAME = "node_modules.tar" NODE_MODULES_DIRNAME = "node_modules" NODE_MODULES_WORKSPACE_BUNDLE_FILENAME = "workspace_node_modules.tar" |