From 1dfb5d8772fef30ad7649e1178a6ce1ccd1c15a6 Mon Sep 17 00:00:00 2001 From: "liubar.pa" Date: Sat, 6 May 2023 19:43:51 +0300 Subject: [PATCH 1/3] SNRK-85: script to install dependencies is added --- snark-document-builder/ci/requirments.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 snark-document-builder/ci/requirments.sh diff --git a/snark-document-builder/ci/requirments.sh b/snark-document-builder/ci/requirments.sh new file mode 100755 index 0000000..e5e1a9d --- /dev/null +++ b/snark-document-builder/ci/requirments.sh @@ -0,0 +1,6 @@ +sudo apt-get install -y python3 +sudo apt-get install -y nodejs +sudo apt-get install -y npm + +cd ../src/main/nodejs +sudo npm install . \ No newline at end of file From 3358f8c856f393079d8f26a1bdf561da54aceaef Mon Sep 17 00:00:00 2001 From: "liubar.pa" Date: Sat, 6 May 2023 19:45:09 +0300 Subject: [PATCH 2/3] SNRK-85: better --- snark-document-builder/src/main/nodejs/package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snark-document-builder/src/main/nodejs/package-lock.json b/snark-document-builder/src/main/nodejs/package-lock.json index c9a8052..ad597d6 100644 --- a/snark-document-builder/src/main/nodejs/package-lock.json +++ b/snark-document-builder/src/main/nodejs/package-lock.json @@ -1,6 +1,6 @@ { - "name": "SnarkPrototype", + "name": "nodejs", "lockfileVersion": 2, From 8ed0cc04994049f1d9bba17bc1c9778efad79e36 Mon Sep 17 00:00:00 2001 From: "liubar.pa" Date: Sat, 6 May 2023 19:46:50 +0300 Subject: [PATCH 3/3] SNRK-85: .gitignore to ignore node_modules folder is added --- snark-document-builder/src/main/nodejs/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 snark-document-builder/src/main/nodejs/.gitignore diff --git a/snark-document-builder/src/main/nodejs/.gitignore b/snark-document-builder/src/main/nodejs/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/snark-document-builder/src/main/nodejs/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file