8000 Releases · commonalityco/commonality · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: commonalityco/commonality

@commonalityco/data-codeowners@0.2.39

10 Feb 05:20
7ef9f24
Compare
Choose a tag to compare

Patch Changes

  • a4a63fe: Fixes a bug where codeowner paths would not match a path to a package directory

commonality@0.2.50

08 Feb 04:48
0d6df11
Compare
Choose a tag to compare

Patch Changes

  • 56baf27: Fixes an issue where package.json files with missing "name" properties would cause any command to throw an error. We now ignore these invalid packages and continue with the command while displaying an error.
  • Updated dependencies [56baf27]
    • @commonalityco/studio@0.2.47

commonality-checks-recommended@0.0.27

08 Feb 04:48
0d6df11
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [56baf27]
    • commonality@0.2.50

@commonalityco/studio@0.2.47

08 Feb 04:48
0d6df11
Compare
Choose a tag to compare

Patch Changes

  • 56baf27: Fixes an issue where package.json files with missing "name" properties would cause any command to throw an error. We now ignore these invalid packages and continue with the command while displaying an error.

@commonalityco/data-tags@0.2.43

08 Feb 04:48
0d6df11
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [56baf27]
    • @commonalityco/data-project@0.2.42

@commonalityco/data-project@0.2.42

08 Feb 04:48
0d6df11
Compare
Choose a tag to compare

Patch Changes

  • 56baf27: Fixes an issue where package.json files with missing "name" properties would cause any command to throw an error. We now ignore these invalid packages and continue with the command while displaying an error.

@commonalityco/data-packages@0.2.42

08 Feb 04:48
0d6df11
Compare
Choose a tag to compare

Patch Changes

  • 56baf27: Fixes an issue where package.json files with missing "name" properties would cause any command to throw an error. We now ignore these invalid packages and continue with the command while displaying an error.
  • Updated dependencies [56baf27]
    • @commonalityco/data-project@0.2.42

commonality@0.2.49

07 Feb 05:04
41fdc93
Compare
Choose a tag to compare

Patch Changes

  • 98e83dc: Update names of exported static checks in the commonality-checks-recommended package

commonality@0.2.48

07 Feb 04:19
f8c4bd8
Compare
Choose a tag to compare

Patch Changes

  • 65ee18a: This release addresses some common feedback around checks and initial setup.

    We are moving from a TS/JS configuration file to a JSON file (.commonality/config.json). It's common for developers to create custom checks during initial setup and the .commonality directory, will now act as a folder to organize these checks before moving them into a package.

    {
      "checks": {
        "*": [
          "has-client-eslint-config",
          "recommended/sorted-dependencies",
          "@scope/team/custom-check"
        ]
      }
    }

    How checks are resolved in the JSON format:

    1. Checks can be configured with a path to a local file, relative to the .commonality folder. Given a path has-foo, Commonality will first look for a file named "has-foo" within the .commonality folder. You can also pass a relative path like ./testing/has-foo or testing/has-foo to organize checks within the .commonality folder.
    2. Checks can be configured via import path. Given a path @scope/team/custom-check, Commonality will look for a default export from an entry point named custom-check in the package named @scope/team. This logic follows the same convention as import.meta.resolve.
    3. Checks can be configured via a shortened import path. Given a path test/has-foo, if there is no file located at .commonality/test/has-foo.ts then it will look for a package named commonality-checks-test with an entry point named has-foo. This allows for a standard convention and a more readable configuration file similar to eslint.

    Previously the message property for a check object allowed a function that could be used to dynamically create an error message. There ended up being a lot of duplicated logic between the message and validate function and in some cases the two could become out of sync for certain cases. This change change the message property to only expect a string, ensuring that the happy path message will always be shown when running check --verbose. To create a dynamic message, simply return a message object from the validate function. Now, Commonality will return a fail or warn status for any check who's validate function returns a value other than true.

    We now automatically create an id for each check on file resolution so the name property is no longer required to parallelize check functions.

  • Updated dependencies [65ee18a]

    • @commonalityco/studio@0.2.46

commonality-checks-recommended@0.0.26

07 Feb 05:04
41fdc93
Compare
Choose a tag to compare

Patch Changes

  • 98e83dc: Update names of exported static checks in the commonality-checks-recommended package
  • Updated dependencies [98e83dc]
    • commonality@0.2.49
0