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

Add AreTheTypesWrong (attw) CLI to continuously validate package types #1083

Merged
merged 5 commits into from
Jul 28, 2023

Commits on Jul 28, 2023

  1. Add AreTheTypesWrong (attw) CLI to continuously validate package types

    Added the dependency, added script to run attw, run attw in CI.
    
    Also, add Licensee exception for the package `(at)andrewbranch/untar.js`
    which does not specify its license in its manifest but has a LICENSE
    file specifying the (already approved) MIT license.
    ericcornelissen committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    4e59e19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2326e3d View commit details
    Browse the repository at this point in the history
  3. Create type declarations for "shescape/testing" module

    Create a new `.d.ts` file with type declarations for the module
    "shescape/testing". Following the module name `testing.js`, this
    declaration file is called `testing.d.ts`. Like `index.d.ts` it's a
    collection of manually maintained type definitions for the exports of
    the module it represents. The export details in the project manifest
    have been updated accordingly, so has the `.npmignore` allowlist.
    
    Furthermore, other configuration files have been updated in accordance
    with this change. The "generated" `.d.cts` file should be properly
    ignored and cleaned up.
    ericcornelissen committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    9b8229e View commit details
    Browse the repository at this point in the history
  4. Run attw in conjunction with publint

    Update how `attw` is run from a solo thing to a followup to publint.
    This should make commands a bit predictable (there won't be two separate
    checks that might start complaining about the package manifest). Notably
    this changes to CI to only run `attw` when the package manifest actually
    changes (see the `config-npm.yml` workflow).
    ericcornelissen committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    79ed335 View commit details
    Browse the repository at this point in the history
  5. Update the changelog

    ericcornelissen committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    67cec81 View commit details
    Browse the repository at this point in the history