Skip to content
Snippets Groups Projects
Commit bd231d75 authored by ko_oler's avatar ko_oler
Browse files

fix

parent 83e1cc26
No related branches found
No related tags found
1 merge request!1Добавлена генерация файлов для frontend в Makefile и публикацию npm-пакета
Pipeline #19171 passed
......@@ -13,7 +13,7 @@ publish_npm:
- apk add --update yarn
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes:
- config/package.json
script:
......
......@@ -13,7 +13,7 @@ generate_index() {
for segment in ${segments[@]}; do
if [ "$segment" == "." ] || [ "$segment" == "clients" ]; then
if [ "$segment" == "." ] || [ "$segment" == "dist" ]; then
p+="$segment"
p+="/"
continue
......@@ -81,5 +81,6 @@ find ./config/dist/*/** -name 'index.ts' -delete
find ./config/ -maxdepth 1 -name 'index.ts' -delete
find ./ -maxdepth 1 -name '*.json' -delete
find ./ -maxdepth 1 -name '*.ts' -delete
find ./config/dist -name '*s.ts' -delete
echo "---process finished"
\ No newline at end of file
{
"name": "@perxis-js/perxis-client",
"version": "1.0.6",
"version": "1.0.7",
"description": "",
"main": "dist/index.js",
"files": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment