@mayrlabs/setup-project 0.1.7 โ†’ 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mayrlabs/setup-project
2
2
 
3
+ ## 0.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - a8ec57b: Overhaul
8
+
9
+ ## 0.1.8
10
+
11
+ ### Patch Changes
12
+
13
+ - 3e3b7f3: Enhancements v2
14
+
3
15
  ## 0.1.7
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -1,35 +1,68 @@
1
1
  # @mayrlabs/setup-project
2
2
 
3
- Interactive CLI to verify and configure common project tools for modern JavaScript/TypeScript applications.
3
+ **Interactive CLI to fast-track your project setup.**
4
4
 
5
- ## Features
5
+ ๐Ÿš€ **Spin up a production-ready environment in seconds.**
6
6
 
7
- - ๐Ÿถ **Husky**: Set up git hooks effortlessly.
8
- - ๐Ÿ’… **Formatter**: Choose between **Prettier** or **Oxfmt**.
9
- - ๐Ÿงน **Linter**: Choose between **ESLint** or **Oxlint**.
10
- - ๐Ÿšซ **Lint-staged**: Automatically lint/format staged files with broad extension support.
11
- - ๐ŸŒณ **Env Validation**: Set up **@t3-oss/env** for Next.js, Nuxt, or Core, with optional presets.
12
- - ๐Ÿงช **Testing**: Configure **Vitest** or **Jest**.
13
- - โš™๏ธ **EditorConfig**: Generate standardized `.editorconfig` files.
14
- - ๐Ÿ“„ **License**: Generate MIT, ISC, or Apache-2.0 licenses.
15
- - ๐Ÿ›ก๏ธ **Git Safety**: Checks for uncommitted changes before making modifications.
7
+ Starting a new project often involves hours of repetitive configuration: setting up linting, formatting, git hooks, testing frameworks, and more. `@mayrlabs/setup-project` automates this entirely.
16
8
 
17
- ## Usage
9
+ Instead of copy-pasting `.eslintrc` files or manually installing dependencies, just run one command and let our interactive CLI handle the rest.
18
10
 
19
- Run the following command in your project directory:
11
+ ## Why use this?
12
+
13
+ - **Zero Config Fatigue**: No more wrestling with disparate config files. We provide sensible, battle-tested defaults.
14
+ - **Modern Stack Support**: Best-in-class support for the tools you actually use: Prettier, ESLint, Husky, Vitest, and more.
15
+ - **Interactive & Safe**: The CLI iterates with you. Pick exactly what you need. It even checks for a clean git state before making changes.
16
+ - **Extensible**: Need to add a Tailwind plugin to Prettier? We got you. The `plugin` command makes extending your tools a breeze.
17
+
18
+ ## Quick Start
19
+
20
+ Run the CLI in your project root:
20
21
 
21
22
  ```bash
22
23
  npx @mayrlabs/setup-project@latest
23
24
  ```
24
25
 
25
- The CLI will guide you through an interactive survey to select the tools you want to configure. No changes are made until you confirm the summary at the end.
26
+ Follow the prompts to select your tools. That's it!
27
+
28
+ ## What's Inside?
29
+
30
+ We support configuration for the following tools:
31
+
32
+ | Feature | Description |
33
+ | :-------------------- | :----------------------------------------------------------------- |
34
+ | ๐Ÿถ **Husky** | Robust git hooks to ensure quality before commits. |
35
+ | ๐Ÿ’… **Formatter** | **Prettier** or **Biome** (coming soon) for consistent code style. |
36
+ | ๐Ÿงน **Linter** | **ESLint** configured with modern best practices. |
37
+ | ๐Ÿšซ **Lint-staged** | Run linters/formatters only on changed files. Fast. |
38
+ | ๐ŸŒณ **Env Validation** | Type-safe environment variables with **@t3-oss/env**. |
39
+ | ๐Ÿงช **Testing** | Ready-to-go **Vitest** configuration. |
40
+ | โš™๏ธ **EditorConfig** | Consistent coding styles between different editors. |
41
+ | ๐Ÿ“„ **License** | Generate standard MIT, Apache, or ISC licenses instantly. |
42
+
43
+ ## Advanced Usage
44
+
45
+ ### Manage Plugins
46
+
47
+ Want to add plugins to your existing tools?
48
+
49
+ ```bash
50
+ npx @mayrlabs/setup-project plugin
51
+ ```
52
+
53
+ This will guide you through adding plugins to ESLint or Prettier (e.g., `prettier-plugin-tailwindcss`).
54
+
55
+ ### Configure Single Tool
56
+
57
+ Just need to set up one thing?
58
+
59
+ ```bash
60
+ npx @mayrlabs/setup-project configure husky
61
+ ```
26
62
 
27
- ## How it works
63
+ ## Contributing
28
64
 
29
- 1. **Git Check**: Ensures your working directory is clean (or offers to commit changes).
30
- 2. **Survey**: Asks you which tools you want to set up and collects your preferences.
31
- 3. **Summary**: Shows a summary of the actions to be taken.
32
- 4. **Execution**: Installs dependencies and creates configuration files tailored to your choices.
65
+ We love contributions! If you're looking to help improve this package (add new tools, fix bugs), please check out our [Contributing Guide](./CONTRIBUTING.md).
33
66
 
34
67
  ## License
35
68