Skip to content
Closed
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ However, there are older versions of this plugin, that support
```shell
npm i -D @cyclonedx/webpack-plugin
yarn add -D @cyclonedx/webpack-plugin
pnpm add -D @cyclonedx/webpack-plugin
```

## Usage
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ try {

describe('integration', () => {
testSetups.forEach(({ purpose, dir, results }) => {
const setupMethod = 'yarn' // @TODO detect yarn / pnpm / ... fallback npm

describe(purpose, () => {
const built = spawnSync(
'npm', ['run', 'build'], {
setupMethod, ['run', 'build'], {
cwd: path.resolve(module.path, dir),
stdio: ['ignore', 'pipe', 'pipe'],
encoding: 'utf8',
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/regression-issue745/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
!/.gitattributes
!/README.md
!/.npmrc
!/.yarnrc.yml
!/package.json
!/package-lock.json
!/yarn.lock
!/webpack.config.js
!/src
!/src/*
1 change: 1 addition & 0 deletions tests/integration/regression-issue745/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 3 additions & 0 deletions tests/integration/regression-issue745/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
"webpack": "^5",
"webpack-cli": "^5"
},
"resolutions": {
"@cyclonedx/webpack-plugin": "portal:../../.."
},
"engines": {
"node": ">=14",
"npm": ">=8"
Expand Down
Loading