-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
content
config option to allow a module to set own content
This also removes a lot of the redundant snapshot tests in favor of testing the actual files written. This also adds a few other features to allow `npm/cli` to use this in the root workspace: - set `npm` and `npx` paths in workflows via config - dependabot now works with workspaces - templated files now include more partials which can be overwritten with `content` directory config - only file config options are merged between root and workspaces. this allows for the root to set config which will only apply to itself - workspace paths are ignored from linting and testing in the root
- Loading branch information
1 parent
423450f
commit 849cecc
Showing
63 changed files
with
1,999 additions
and
1,657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const run = require('../index.js') | ||
|
||
module.exports = (root, content) => run(root, content, [ | ||
module.exports = (root) => run(root, [ | ||
require('./apply-files.js'), | ||
require('./apply-version.js'), | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.