Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add packages list to lerna config for blackduck scanning #904

Merged
merged 5 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/blackduck_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ jobs:
--detect.code.location.name="${{ vars.BLACKDUCK_APP_ID }}-${{ vars.BLACKDUCK_PROJECT_ID }}-${VERSION_ID}" \
--detect.source.path="." \
--detect.clone.project.version.latest=true \
--detect.excluded.directories=appsec \
wattachai-lseg marked this conversation as resolved.
Show resolved Hide resolved
--detect.blackduck.signature.scanner.exclusion.name.patterns=appsec \
--detect.detector.search.exclusion=appsec \
--blackduck.api.token="${{ secrets.BLACKDUCK_APP_TOKEN }}" \
--blackduck.url="${{ vars.BLACKDUCK_URL }}" \
--blackduck.trust.cert=true \
--detect.excluded.directories=appsec \
--detect.lerna.path="./node_modules/.bin/lerna" # make sure blackduck use lerna from npm package rather than shell one
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"packages": ["packages/*", "documents"],
"npmClient": "npm",
"useWorkspaces": true,
"version": "independent",
"command": {
"publish": {
"ignoreChanges": ["**/__test__/**", "**/__demo__/**", "**/__snapshots__/**"],
"message": "chore(release): publish [skip ci]",
"registry": "https://registry.npmjs.org"
}
},
"ignoreChanges": ["**/__demo__/**", "**/__snapshots__/**"]
"ignoreChanges": ["**/__test__/**", "**/__demo__/**", "**/__snapshots__/**"]
}
2 changes: 1 addition & 1 deletion packages/core/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/create-efx/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/demo-block/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/elemental-theme/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/elements/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/halo-theme/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/phrasebook/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/solar-theme/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/test-helpers/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/theme-compiler/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/translate/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.editorconfig
.eslintignore
.eslintrc
tsconfig.json
tsconfig.*
.gitlab/
.gitlab-ci.yml
*.lock
Expand Down
Loading