Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcous/js
My common configurations for JavaScript and TypeScript tools
https://github.com/mcous/js
Last synced: 14 days ago
JSON representation
My common configurations for JavaScript and TypeScript tools
- Host: GitHub
- URL: https://github.com/mcous/js
- Owner: mcous
- License: mit
- Created: 2023-05-27T17:53:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T13:18:18.000Z (2 months ago)
- Last Synced: 2024-10-12T09:42:54.021Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 149 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @mcous/js
[My][@mcous] common configurations and [GitHub Actions][] for JavaScript and TypeScript projects:
[@mcous]: https://github.com/mcous
[GitHub Actions]: https://docs.github.com/en/actions/creating-actions/about-custom-actions## Tool Configurations
| Tool | NPM Module | Version |
| ----------------------------- | -------------------------- | ----------------------------------------- |
| [ESLint][eslint docs] | `@mcous/eslint-config` | [![eslint version][]][eslint npm] |
| [Prettier][prettier docs] | `@mcous/prettier-config` | [![prettier version][]][prettier npm] |
| [TypeScript][typescript docs] | `@mcous/typescript-config` | [![typescript version][]][typescript npm] |[eslint docs]: ./packages/eslint-config
[eslint npm]: https://www.npmjs.com/package/@mcous/eslint-config
[eslint version]: https://img.shields.io/npm/v/@mcous/eslint-config?style=flat-square
[prettier docs]: ./packages/prettier-config
[prettier npm]: https://www.npmjs.com/package/@mcous/prettier-config
[prettier version]: https://img.shields.io/npm/v/@mcous/prettier-config?style=flat-square
[typescript docs]: ./packages/typescript-config
[typescript npm]: https://www.npmjs.com/package/@mcous/typescript-config
[typescript version]: https://img.shields.io/npm/v/@mcous/typescript-config?style=flat-square## Actions
| Action | Path | Description |
| ------------------------- | ------------------------ | ------------------------------------------------- |
| [Set up Node][setup docs] | `mcous/js/actions/setup` | Install Node, pnpm, and dependencies with caching |[setup docs]: ./actions/setup
## Contributing
Node.js v18 or higher is required to work on this repository. To get started, clone the repository and install the project's development dependencies using [corepack][] and [pnpm][].
```shell
corepack enable
git clone https://github.com/mcous/js.git
cd js
pnpm install
```Once your development dependencies are installed, you can verify that all checks and tests are passing:
```shell
# run all checks and builds
pnpm all# build publish artifacts
pnpm build# auto-format (modifies files)
pnpm format# lint and check formatting
pnpm lint
```[pnpm]: https://pnpm.io/
[corepack]: https://github.com/nodejs/corepack### Releasing
Modules in this repository are continuously deployed to npm from the `main` branch. To trigger a release, create a commit that bumps `version` in one or more `package.json` files and create a pull request to merge that commit into `main`.