Skip to content

Commit

Permalink
feat(dependencies): defined dependencies using the updated format
Browse files Browse the repository at this point in the history
BREAKING CHANGE: dependencies are now reported under dependencies.javascript
  • Loading branch information
travi committed Jan 18, 2025
1 parent 5e59562 commit 197c564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mocha-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ suite('mocha scaffolder', () => {
await scaffoldMocha({projectRoot}),
{
testFilenamePattern,
devDependencies: ['mocha', 'chai', 'sinon'],
dependencies: {javascript: {development: ['mocha', 'chai', 'sinon']}},
scripts: {'test:unit:base': `DEBUG=any mocha '${testFilenamePattern}'`},
eslint: {configs: ['mocha']},
nextSteps: [{summary: 'Remove the canary test for mocha once more valuable tests exist'}]
Expand Down
2 changes: 1 addition & 1 deletion src/mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default async function ({projectRoot}) {

return {
testFilenamePattern,
devDependencies: ['mocha', 'chai', 'sinon'],
dependencies: {javascript: {development: ['mocha', 'chai', 'sinon']}},
scripts: {'test:unit:base': `DEBUG=any mocha '${testFilenamePattern}'`},
eslint: {configs: ['mocha']},
nextSteps: [{summary: 'Remove the canary test for mocha once more valuable tests exist'}]
Expand Down

0 comments on commit 197c564

Please sign in to comment.