Infrastructure for DefinitelyTyped
Перейти к файлу
Jimmy Leung 36dd121de8
feat: Remove vinyl-paths from expectedNpmVersionFailures.txt (#1106)
2024-11-13 11:35:02 -08:00
.changeset Version Packages (#1102) 2024-11-07 15:31:05 -08:00
.github Bump the github-actions group with 2 updates (#1091) 2024-10-28 15:17:14 -07:00
.vscode Remove .vscode/settings.json, mistakenly left behind (#801) 2023-11-01 07:31:15 -07:00
packages feat: Remove vinyl-paths from expectedNpmVersionFailures.txt (#1106) 2024-11-13 11:35:02 -08:00
.eslintignore Add mergebot (#1023) 2024-07-01 11:07:14 -07:00
.eslintrc.json Add child restart interval flag (#610) 2023-02-09 09:29:27 -08:00
.gitattributes Fix Windows, test it in CI (#961) 2024-02-21 16:47:07 -08:00
.gitignore Fix cache being checked in by changesets (#1103) 2024-11-07 15:24:04 -08:00
.knip.jsonc Update deps, fix pacote and test (#1099) 2024-11-07 15:02:47 -08:00
.npmrc Add mergebot (#1023) 2024-07-01 11:07:14 -07:00
.prettierignore Query board fields instead of cards for columns (#1034) 2024-07-12 13:57:20 -07:00
.prettierrc.json Use eslint and prettier 2020-03-05 11:26:50 -08:00
CODEOWNERS Update CODEOWNERS to add me (#749) 2023-10-04 12:13:31 -07:00
CODE_OF_CONDUCT.md Adopt changes from Microsoft repo template 2020-04-03 10:28:00 -07:00
LICENSE Adopt changes from Microsoft repo template 2020-04-03 10:28:00 -07:00
README.md Add badges to readme for publish/bot workflows (#1059) 2024-09-19 11:17:40 -07:00
SECURITY.md Adopt changes from Microsoft repo template 2020-04-03 10:28:00 -07:00
jest.config.js Add mergebot (#1023) 2024-07-01 11:07:14 -07:00
package.json Update deps, fix pacote and test (#1099) 2024-11-07 15:02:47 -08:00
pnpm-lock.yaml Update deps, fix pacote and test (#1099) 2024-11-07 15:02:47 -08:00
pnpm-workspace.yaml Migrate from yarn and lerna to pnpm and changesets (#733) 2023-09-14 15:35:18 -07:00
tsconfig.base.json Update to typescript-eslint v8 (#1082) 2024-10-22 16:51:53 -07:00
tsconfig.json Add mergebot (#1023) 2024-07-01 11:07:14 -07:00
tsconfig.test.json Add mergebot (#1023) 2024-07-01 11:07:14 -07:00

README.md

DefinitelyTyped-tools

Publish Packages Publish registry Daily Open PR Sync

A monorepo for formerly disparate DefinitelyTyped-related tools:

Disclaimer

These tools are not intended for public consumption, so we may break the API whenever convenient for us.

Development

This is a monorepo managed with pnpm workspaces and published with changesets. After cloning, run pnpm install to install dependencies for each package and link them to each other.

Testing

All packages use jest, with a single configuration set up to be run from the monorepo root. pnpm test is an alias for jest, so you can run tests with any of jests CLI options. For example, to run tests for a single package:

pnpm test packages/utils

Publishing/deploying

types-publisher runs in GitHub Actions using all monorepo packages built from source on master.

The public packages are published to npm using changesets. When making changes to any publishable package, run pnpm changeset (ideally as part of the related feature PR) to mark the changed packages for eventual version bumping and release. When that PR is merged, another PR will be automatically opened (or updated) updating package versions and CHANGELOGs. What that PR is merged, a workflow will publish the changed packages to npm.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.