diff --git a/.eslintrc.base.cjs b/.eslintrc.base.cjs index 5516a2d9..3d31c43b 100644 --- a/.eslintrc.base.cjs +++ b/.eslintrc.base.cjs @@ -418,7 +418,7 @@ const config = { { exemptAsync: false, exemptGenerators: true, - reportMissingReturnForUndefinedTypes: false + reportMissingReturnForUndefinedTypes: true } ], 'jsdoc/require-returns-description': 1, diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f6cc8d17..9731b062 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,7 @@ on: description: release tag required: true env: - ARTIFACT: + ARTIFACT: | ${{ github.event.inputs.artifact || github.event.release.assets[0].browser_download_url }} NODE_VERSION: 16 SCOPE: ${{ format('@{0}', github.repository_owner) }} diff --git a/.vscode/settings.json b/.vscode/settings.json index 3a1e9dd3..302b14af 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,16 +13,6 @@ "[ignore]": { "editor.defaultFormatter": "foxundermoon.shell-format" }, - "[jest-snapshot]": { - "editor.rulers": [ - { - "color": "var(--vscode-editorRuler-foreground)", - "column": 130 - } - ], - "editor.wordWrapColumn": 130, - "rewrap.wrappingColumn": 130 - }, "[markdown]": { "editor.defaultFormatter": "vscode.markdown-language-features", "editor.rulers": [ @@ -121,7 +111,6 @@ "yaml" ], "files.associations": { - "*.snap": "jest-snapshot", ".env.zsh": "shellscript", ".markdownlintignore": "ignore", "commit-msg": "shellscript", @@ -149,7 +138,7 @@ ], "npm-intellisense.scanDevDependencies": true, "prettier.enable": false, - "prettier.useEditorConfig": false, + "prettier.useEditorConfig": true, "shellformat.flag": "-ci -fn -i=2 -sr", "shellformat.useEditorConfig": true, "typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false, diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..c91a2287 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,57 @@ +## 1.0.0 (2022-12-03) + + +### :pencil: Documentation + +* api ([1e27965](https://github.com/flex-development/pkg-types/commit/1e27965a584458a3bd439b6c07aa6dfd6a38d228)) +* fix `WorkspacesConfig` description ([8166f6f](https://github.com/flex-development/pkg-types/commit/8166f6f42f5b8fb4a11e3a508e2f2afe6d459927)) +* fix npm links ([47c7564](https://github.com/flex-development/pkg-types/commit/47c75642cfcbe5d6a0e71027822f880deeb283fd)) +* related ([226746d](https://github.com/flex-development/pkg-types/commit/226746d5f36317dc816d61ec00f2fc2462903c69)) +* use ([653d014](https://github.com/flex-development/pkg-types/commit/653d01460f3d7690b55522238633d027052f4933)) + + +### :sparkles: Features + +* **interfaces:** `DependencyMap` ([50a80ee](https://github.com/flex-development/pkg-types/commit/50a80eebe477d5050d8686d5d2d9055771edb86c)) +* **interfaces:** `Directories` ([0387945](https://github.com/flex-development/pkg-types/commit/038794558af7917833d991bdff582e0c0ea9c3fd)) +* **interfaces:** `PackageJson` ([7b06924](https://github.com/flex-development/pkg-types/commit/7b0692467157dace1ddebc65d4b4d0394d01877b)) +* **interfaces:** `PublishConfig` ([a530f4f](https://github.com/flex-development/pkg-types/commit/a530f4f06a35f700bb1eca9eea92183803c5e930)) +* **interfaces:** `Scripts` ([b9db53b](https://github.com/flex-development/pkg-types/commit/b9db53bcf84b5e801705de5506725c02438b846a)) +* **types:** `Access` ([6b08cbf](https://github.com/flex-development/pkg-types/commit/6b08cbfe9bd568098efa6ed6ff9a5202c0c26eae)) +* **types:** `Bin` ([9035563](https://github.com/flex-development/pkg-types/commit/9035563987c3dfafe1d4dd6523f1e059f97cb3e0)) +* **types:** `Browser` ([fe8409e](https://github.com/flex-development/pkg-types/commit/fe8409ea08d27992f114a1755ce4d254eeb8bcd7)) +* **types:** `BugsObject` ([28d68fd](https://github.com/flex-development/pkg-types/commit/28d68fdc2e3808fe5f610050e46a1b8a4f03a03a)) +* **types:** `CPU` ([46a3251](https://github.com/flex-development/pkg-types/commit/46a32514e6bdec8ff33baf5e6dd19573a2b8f079)) +* **types:** `DependencyMeta` ([39df145](https://github.com/flex-development/pkg-types/commit/39df1454b082e63f93ec60ca3ae597d89eed9907)) +* **types:** `Engine` ([42e1979](https://github.com/flex-development/pkg-types/commit/42e1979c77309c2eadf6dccf454b9b58f8e92169)) +* **types:** `Engines` ([9a09e62](https://github.com/flex-development/pkg-types/commit/9a09e62aa032590c95737d56d308e669e9964789)) +* **types:** `ExportCondition` ([e6e4cd5](https://github.com/flex-development/pkg-types/commit/e6e4cd5dbc796ced7cdde503b5be6574ff7aca1d)) +* **types:** `ExportConditions`, `Exports` ([22c207e](https://github.com/flex-development/pkg-types/commit/22c207ec009db4c0015c1a568a8e957054a1e797)) +* **types:** `FundingObject` ([e467bfc](https://github.com/flex-development/pkg-types/commit/e467bfc421b95c47feb3d677b0fa2b759bdb38f4)) +* **types:** `FundingType` ([949a2c0](https://github.com/flex-development/pkg-types/commit/949a2c0e4006c69e3f7d567ba7dfbda8adf32040)) +* **types:** `HoistingLimits` ([3661d84](https://github.com/flex-development/pkg-types/commit/3661d843433108f3a0a71603bc765a5b43b3a402)) +* **types:** `ImportsKey` ([14a69ec](https://github.com/flex-development/pkg-types/commit/14a69ecb766bc0d25da4864c921069aa30d66ce6)) +* **types:** `Imports` ([cc68844](https://github.com/flex-development/pkg-types/commit/cc68844ee4ba978ee370a30001783a0bdecb7e28)) +* **types:** `InstallConfig` ([ef89d52](https://github.com/flex-development/pkg-types/commit/ef89d525a38cf37c8e21d9cfbe82f74b20be4a55)) +* **types:** `LicenseObject` ([ec81ecd](https://github.com/flex-development/pkg-types/commit/ec81ecde6fe28f2b09664bda6d0b5539e57fb25e)) +* **types:** `OS` ([a6b42c7](https://github.com/flex-development/pkg-types/commit/a6b42c7aa4a99596a84f831a14bf795365b59119)) +* **types:** `PeerDependencyMeta` ([78a4cbd](https://github.com/flex-development/pkg-types/commit/78a4cbdf23eb07c8687e72233731f6cc9e9a0d06)) +* **types:** `Person` ([9be7e97](https://github.com/flex-development/pkg-types/commit/9be7e978e50fb2a4891f98a7dafc90ffb00a2923)) +* **types:** `Registry` ([70f8c93](https://github.com/flex-development/pkg-types/commit/70f8c931675941bb676d1570b9a0fb6792f601e4)) +* **types:** `Repository` ([b337b40](https://github.com/flex-development/pkg-types/commit/b337b4089479164418628d0f40bd46ac8c7198a0)) +* **types:** `SemanticVersion` ([c8d0884](https://github.com/flex-development/pkg-types/commit/c8d0884f035f6e4892730b6aa73b9b49756a8046)) +* **types:** `Type` ([94ce708](https://github.com/flex-development/pkg-types/commit/94ce708e5b6cbbb2dbdb33966387c6a2b59cef02)) +* **types:** `TypesVersions` ([ffd3e52](https://github.com/flex-development/pkg-types/commit/ffd3e52c1dfc764531e7a367578267a133a3bf59)) +* **types:** `WorkspacesConfig` ([154c209](https://github.com/flex-development/pkg-types/commit/154c20941b661c0227e4207ece4cf0c5e9484bc3)) + + +### :house_with_garden: Housekeeping + +* cleanup project architecture ([625d646](https://github.com/flex-development/pkg-types/commit/625d6466f772871f5f47183adfe73b9a9815a741)) + + +### :zap: Refactors + +* **ts:** ensure definitions are json-compatible ([63abb4a](https://github.com/flex-development/pkg-types/commit/63abb4aea401a1a8e24e2de51ba47104f188a266)) +* **types:** `BugsObject` -> `Bugs` ([cc05dfb](https://github.com/flex-development/pkg-types/commit/cc05dfb3a65b6230b30b3b436e27e0b44efa3008)) +* **types:** `FundingObject` -> `FundingInfo` ([ab8a328](https://github.com/flex-development/pkg-types/commit/ab8a32849011d78806f85760537b4aae063b2942)) diff --git a/__tests__/reporters/notifier.ts b/__tests__/reporters/notifier.ts index 7104c70c..e7dc0100 100644 --- a/__tests__/reporters/notifier.ts +++ b/__tests__/reporters/notifier.ts @@ -128,7 +128,7 @@ class Notifier implements Reporter { */ public onInit(context: Vitest): void { this.ctx = context - this.start = performance.now() + return void (this.start = performance.now()) } /** diff --git a/package.json b/package.json index de3ccb2e..a6c9895d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@flex-development/pkg-types", "description": "TypeScript definitions for package.json", - "version": "0.0.0", + "version": "1.0.0", "keywords": [ "package.json", "typescript"