Skip to content

Commit

Permalink
feat(dependencies): match new format for defining dependencies
Browse files Browse the repository at this point in the history
BREAKING CHANGE: resulting dependencies are now defined in the new format under
dependencies.javascript
  • Loading branch information
travi committed Jan 17, 2025
1 parent 7faee0a commit f2f472f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/scaffolder-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ suite('scaffolder', () => {
assert.deepEqual(
results,
{
dependencies: [],
devDependencies: ['cypress'],
dependencies: {javascript: {development: ['cypress']}},
scripts: {
'cypress:run': 'cypress run',
'cypress:open': 'cypress open'
Expand Down
3 changes: 1 addition & 2 deletions src/scaffolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ export async function scaffold({projectRoot, testDirectory, testBaseUrl}) {
);

return {
dependencies: [],
devDependencies: ['cypress'],
dependencies: {javascript: {development: ['cypress']}},
scripts: {
'cypress:run': 'cypress run',
'cypress:open': 'cypress open'
Expand Down

0 comments on commit f2f472f

Please sign in to comment.