@c15t/cli 2.0.1 → 2.0.2

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.
Files changed (3) hide show
  1. package/README.md +12 -36
  2. package/dist/145.mjs +2 -1
  3. package/package.json +29 -5
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  <p align="center">
2
- <a href="https://c15t.com?utm_source=github&utm_medium=repopage_%40c15t%2Fcli" target="_blank" rel="noopener noreferrer">
2
+ <a href="https://c15t.com?utm_source=npm&utm_medium=readme&utm_campaign=oss_readme&utm_content=%40c15t%2Fcli" target="_blank" rel="noopener noreferrer">
3
3
  <picture>
4
4
  <source media="(prefers-color-scheme: dark)" srcset="../../docs/assets/c15t-banner-readme-dark.svg" type="image/svg+xml">
5
5
  <img src="../../docs/assets/c15t-banner-readme-light.svg" alt="c15t Banner" type="image/svg+xml">
6
6
  </picture>
7
7
  </a>
8
- <br />
9
- <h1 align="center">@c15t/cli: c15t's CLI</h1>
10
8
  </p>
11
9
 
10
+ # @c15t/cli: c15t's CLI
11
+
12
12
  [![GitHub stars](https://img.shields.io/github/stars/c15t/c15t?style=flat-square)](https://github.com/c15t/c15t)
13
13
  [![CI](https://img.shields.io/github/actions/workflow/status/c15t/c15t/ci.yml?style=flat-square)](https://github.com/c15t/c15t/actions/workflows/ci.yml)
14
14
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat-square)](https://github.com/c15t/c15t/blob/main/LICENSE.md)
@@ -40,7 +40,7 @@ CLI for rapid c15t setup. Scaffold React and Next.js cookie banners and a prefer
40
40
  Easiest setup with @c15t/cli:
41
41
 
42
42
  ```bash
43
- # Set up c15t
43
+ # Set up c15t in your project
44
44
  pnpm dlx @c15t/cli setup
45
45
  # Alternatives:
46
46
  # npx @c15t/cli setup
@@ -50,7 +50,7 @@ pnpm dlx @c15t/cli setup
50
50
  The CLI will:
51
51
 
52
52
  - Install necessary packages
53
- - Configure your c15t project
53
+ - Configure your c15t instance
54
54
  - Set up environment variables
55
55
  - Add consent management components to your app
56
56
 
@@ -65,37 +65,13 @@ The CLI will:
65
65
  ## Available Commands
66
66
 
67
67
  - `setup`: Set up c15t in your project
68
- - `codemods`: Run migration codemods (for example `translations -> i18n`)
68
+ - `codemods`: Run migration codemods for c15t upgrades
69
69
  - `self-host`: Self-hosted workflow commands (currently database migrations)
70
70
  - `skills`: Install c15t agent skills for AI-assisted development
71
71
  - `changelog`: Open the c15t changelog in your browser
72
72
  - `github`: Open the project's GitHub repository to star the project
73
73
  - `docs`: Open the c15t documentation in your browser
74
74
 
75
- ### Codemods
76
-
77
- Run codemods interactively:
78
-
79
- ```bash
80
- c15t codemods
81
- ```
82
-
83
- Preview changes without writing files:
84
-
85
- ```bash
86
- c15t codemods --dry-run
87
- ```
88
-
89
- ### Bundled Docs
90
-
91
- Supported c15t packages now include local docs inside the installed package:
92
-
93
- ```text
94
- node_modules/<package>/docs/
95
- ```
96
-
97
- These docs are version-matched to the installed package and can be used as local agent context alongside c15t skills.
98
-
99
75
  ## Global Flags
100
76
 
101
77
  - `--help`: Display help menu
@@ -123,24 +99,24 @@ For further information, guides, and examples visit the [reference documentation
123
99
 
124
100
  - Join our [Discord community](https://c15t.link/discord)
125
101
  - Open an issue on our [GitHub repository](https://github.com/c15t/c15t/issues)
126
- - Visit [consent.io](https://consent.io) and use the chat widget
127
- - Contact our support team via email [support@consent.io](mailto:support@consent.io)
102
+ - Visit [inth.com](https://inth.com) and use the chat widget
103
+ - Contact our support team via email [support@inth.com](mailto:support@inth.com)
128
104
 
129
105
  ## Contributing
130
106
 
131
- - We're open to all community contributions!
107
+ - We're open to all community contributions.
132
108
  - Read our [Contribution Guidelines](https://c15t.com/docs/oss/contributing)
133
109
  - Review our [Code of Conduct](https://c15t.com/docs/oss/code-of-conduct)
134
110
  - Fork the repository
135
111
  - Create a new branch for your feature
136
112
  - Submit a pull request
137
- - **All contributions, big or small, are welcome and appreciated!**
113
+ - **All contributions, big or small, are welcome and appreciated.**
138
114
 
139
115
  ## Security
140
116
 
141
117
  If you believe you have found a security vulnerability in c15t, we encourage you to **_responsibly disclose this and NOT open a public issue_**. We will investigate all legitimate reports.
142
118
 
143
- Our preference is that you make use of GitHub's private vulnerability reporting feature to disclose potential security vulnerabilities in our Open Source Software. To do this, please visit [https://github.com/c15t/c15t/security](https://github.com/c15t/c15t/security) and click the "Report a vulnerability" button.
119
+ Our preference is that you make use of GitHub's private vulnerability reporting feature to disclose potential security vulnerabilities in our open-source software. To do this, please visit [https://github.com/c15t/c15t/security](https://github.com/c15t/c15t/security) and click the "Report a vulnerability" button.
144
120
 
145
121
  ### Security Policy
146
122
 
@@ -155,4 +131,4 @@ Our preference is that you make use of GitHub's private vulnerability reporting
155
131
 
156
132
  ---
157
133
 
158
- **Built by [Inth](https://inth.com?utm_source=github&utm_medium=repopage_%40c15t%2Fcli)**
134
+ **Built by [Inth](https://inth.com?utm_source=npm&utm_medium=readme&utm_campaign=oss_readme&utm_content=%40c15t%2Fcli)**
package/dist/145.mjs CHANGED
@@ -7051,7 +7051,8 @@ const globalFlags = [
7051
7051
  },
7052
7052
  {
7053
7053
  names: [
7054
- '-y'
7054
+ '-y',
7055
+ '--yes'
7055
7056
  ],
7056
7057
  description: 'Skip confirmation prompts (use with caution).',
7057
7058
  type: 'boolean',
package/package.json CHANGED
@@ -1,8 +1,32 @@
1
1
  {
2
2
  "name": "@c15t/cli",
3
- "version": "2.0.1",
4
- "description": "CLI for rapid c15t setup. Scaffold React and Next.js cookie banners and a preferences centre, generate types and config, and run migration tooling for self-hosted deployments.",
5
- "homepage": "https://c15t.com",
3
+ "version": "2.0.2",
4
+ "description": "CLI for rapid c15t setup. Scaffold React and Next.js cookie banners and a preference center, generate types and config, and run migration tooling for self-hosted deployments.",
5
+ "keywords": [
6
+ "c15t",
7
+ "cli",
8
+ "consent",
9
+ "privacy",
10
+ "gdpr",
11
+ "ccpa",
12
+ "lgpd",
13
+ "tcf",
14
+ "cmp",
15
+ "cookie-banner",
16
+ "cookie-consent",
17
+ "consent-management",
18
+ "scaffold",
19
+ "codegen",
20
+ "migrations",
21
+ "codemod",
22
+ "nextjs",
23
+ "react",
24
+ "typescript"
25
+ ],
26
+ "homepage": "https://c15t.com/docs/cli/overview",
27
+ "bugs": {
28
+ "url": "https://github.com/c15t/c15t/issues"
29
+ },
6
30
  "repository": {
7
31
  "type": "git",
8
32
  "url": "https://github.com/c15t/c15t.git",
@@ -24,7 +48,7 @@
24
48
  "scripts": {
25
49
  "build": "rslib build && bun ../../scripts/normalize-dist-types.mjs",
26
50
  "check-types": "tsc --noEmit",
27
- "dev": "rslib build && bun ../../scripts/normalize-dist-types.mjs",
51
+ "dev": "sh -c 'rslib build --no-dts --no-clean && rslib build --watch --no-dts --no-clean'",
28
52
  "fmt": "bun biome format --write . && bun biome check --formatter-enabled=false --linter-enabled=false --write",
29
53
  "knip": "knip",
30
54
  "lint": "bun biome lint ./src",
@@ -33,7 +57,7 @@
33
57
  "test:watch": "vitest"
34
58
  },
35
59
  "dependencies": {
36
- "@c15t/backend": "2.0.0",
60
+ "@c15t/backend": "2.0.2",
37
61
  "@c15t/logger": "2.0.0",
38
62
  "@clack/prompts": "1.1.0",
39
63
  "@modelcontextprotocol/sdk": "^1.29.0",