Skip to content

Commit

Permalink
Update atom
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jan 17, 2025
1 parent c41dfe0 commit 6c22740
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 10 deletions.
1 change: 1 addition & 0 deletions ci/base-images/cdxgen/Dockerfile.ruby25
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ENV PATH=${PATH}:/usr/local/bin:/opt/pypi/bin:/opt/cdxgen/node_modules/.bin:
COPY . /opt/cdxgen

RUN cd /opt/cdxgen && corepack enable && corepack pnpm install --prod --package-import-method copy && corepack pnpm cache delete \
&& npm install -g @appthreat/atom \
&& mkdir -p /opt/cdxgen-node-cache \
&& node /opt/cdxgen/bin/cdxgen.js --help \
&& pip install --upgrade --no-cache-dir atom-tools --target /opt/pypi \
Expand Down
1 change: 1 addition & 0 deletions ci/base-images/cdxgen/debian/Dockerfile.ruby26
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ENV PATH=${PATH}:/usr/local/bin:/opt/pypi/bin:/opt/cdxgen/node_modules/.bin:
COPY . /opt/cdxgen

RUN cd /opt/cdxgen && corepack enable && corepack pnpm install --prod --package-import-method copy && corepack pnpm cache delete \
&& npm install -g @appthreat/atom \
&& mkdir -p /opt/cdxgen-node-cache \
&& node /opt/cdxgen/bin/cdxgen.js --help \
&& rbastgen --help \
Expand Down
1 change: 1 addition & 0 deletions ci/base-images/cdxgen/debian/Dockerfile.ruby33
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ENV PATH=${PATH}:/usr/local/bin:/opt/pypi/bin:/opt/cdxgen/node_modules/.bin:
COPY . /opt/cdxgen

RUN cd /opt/cdxgen && corepack enable && corepack pnpm install --prod --package-import-method copy && corepack pnpm cache delete \
&& npm install -g @appthreat/atom \
&& mkdir -p /opt/cdxgen-node-cache \
&& node /opt/cdxgen/bin/cdxgen.js --help \
&& pip install --upgrade --no-cache-dir atom-tools --target /opt/pypi \
Expand Down
1 change: 1 addition & 0 deletions ci/base-images/cdxgen/debian/Dockerfile.ruby34
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ENV PATH=${PATH}:/usr/local/bin:/opt/pypi/bin:/opt/cdxgen/node_modules/.bin:
COPY . /opt/cdxgen

RUN cd /opt/cdxgen && corepack enable && corepack pnpm install --prod --package-import-method copy && corepack pnpm cache delete \
&& npm install -g @appthreat/atom \
&& mkdir -p /opt/cdxgen-node-cache \
&& node /opt/cdxgen/bin/cdxgen.js --help \
&& pip install --upgrade --no-cache-dir atom-tools --target /opt/pypi \
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"gen-types": "npx -p typescript tsc"
},
"imports": {
"@appthreat/atom": "npm:@appthreat/[email protected].8",
"@appthreat/atom": "npm:@appthreat/[email protected].11",
"@appthreat/cdx-proto": "npm:@appthreat/[email protected]",
"@babel/parser": "npm:@babel/parser@^7.26.3",
"@babel/traverse": "npm:@babel/traverse@^7.26.4",
Expand Down
3 changes: 3 additions & 0 deletions lib/helpers/envcontext.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,9 @@ export function installRubyVersion(rubyVersion, filePath) {
console.log(
"Try running the commands `sudo xcode-select --install` followed by `xcodebuild -runFirstLaunch`.",
);
console.log(
"TIP: Run the command `brew info ruby` and follow the instructions to set the environment variables sLDFLAGS, CPPFLAGS, and PKG_CONFIG_PATH.",
);
}
if (process.env?.CDXGEN_IN_CONTAINER === "true") {
console.log(
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"@iarna/toml": "2.2.5"
},
"optionalDependencies": {
"@appthreat/atom": "2.1.8",
"@appthreat/atom": "2.1.11",
"@appthreat/cdx-proto": "1.0.1",
"@cyclonedx/cdxgen-plugins-bin": "1.6.9",
"@cyclonedx/cdxgen-plugins-bin-arm": "1.6.9",
Expand All @@ -123,7 +123,7 @@
"typescript": "^5.7.2"
},
"pnpm": {
"onlyBuiltDependencies": ["sqlite3", "@biomejs/biome", "@appthreat/atom"],
"onlyBuiltDependencies": ["sqlite3", "@biomejs/biome"],
"overrides": {
"glob": "^11.0.0",
"node-gyp": "^10.2.0",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion types/lib/cli/index.d.ts.map

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

2 changes: 1 addition & 1 deletion types/lib/helpers/envcontext.d.ts.map

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

0 comments on commit 6c22740

Please sign in to comment.