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

feat: add content config option to allow a module to set own content #189

Merged
merged 2 commits into from Sep 15, 2022

Commits on Sep 15, 2022

  1. 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
    lukekarrys committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    910f3fa View commit details
    Browse the repository at this point in the history
  2. fix: dont run workflows outside of npm org (#194)

    This adds a `if: github.repository_owner == 'npm'` to each workflow so
    they don't run outside of the npm organization by default.
    
    Closes #182
    lukekarrys committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    6953d9a View commit details
    Browse the repository at this point in the history