Skip to content

Commit

Permalink
Do not remove nodejs directory (#116)
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu authored Jan 14, 2024
1 parent b8b2871 commit 51d661a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "atom"
ThisBuild / organization := "io.appthreat"
ThisBuild / version := "1.8.4"
ThisBuild / version := "1.8.5"
ThisBuild / scalaVersion := "3.3.1"

val chenVersion = "1.1.6"
Expand Down
6 changes: 5 additions & 1 deletion ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ COPY ./target/atom.zip .
COPY ./wrapper .
RUN unzip -q atom.zip \
&& composer update --no-progress --prefer-dist --ignore-platform-reqs \
&& cd /opt/nodejs && npm install --only=production && cd /opt \
&& sudo npm install -g /opt/nodejs \
&& rm -rf atom.zip nodejs composer.json composer.lock composer-setup.php \
&& rm -rf atom.zip composer.json composer.lock composer-setup.php \
&& /opt/bin/atom --help \
&& which astgen \
&& which phpastgen \
&& microdnf clean all

ENTRYPOINT ["/opt/bin/atom"]
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"downloadUrl": "https://github.com/AppThreat/atom",
"issueTracker": "https://github.com/AppThreat/atom/issues",
"name": "atom",
"version": "1.8.4",
"version": "1.8.5",
"description": "Atom is a novel intermediate representation for next-generation code analysis.",
"applicationCategory": "code-analysis",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions wrapper/nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wrapper/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@appthreat/atom",
"version": "1.8.4",
"version": "1.8.5",
"description": "Create atom (⚛) representation for your application, packages and libraries",
"exports": "./index.js",
"type": "module",
Expand Down

0 comments on commit 51d661a

Please sign in to comment.