benflux-ui 0.1.0 → 0.1.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Benflux — Nebula UI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
- #!/usr/bin/env node
3
2
  "use strict";
4
3
  var __create = Object.create;
5
4
  var __defProp = Object.defineProperty;
@@ -152,13 +151,13 @@ async function initCommand(options) {
152
151
  spinner3.stop(`Components directory: ${import_picocolors.default.cyan(settings.componentsDir)}`);
153
152
  spinner3.start("Creating benflux-ui.json config...");
154
153
  const config = {
155
- $schema: "https://benflux-ui.dev/schema.json",
154
+ $schema: "https://benflux-ui.vercel.app/schema.json",
156
155
  style: "default",
157
156
  typescript: settings.typescript,
158
157
  tailwind: {
159
158
  config: hasTw ? "tailwind.config.ts" : "tailwind.config.ts",
160
159
  css: "src/app/globals.css",
161
- baseColor: "nebula"
160
+ baseColor: "default"
162
161
  },
163
162
  aliases: {
164
163
  components: `@/${settings.componentsDir.replace("src/", "")}`,
@@ -201,11 +200,10 @@ export function cn(...inputs: ClassValue[]) {
201
200
  import_picocolors.default.green("\u2713") + " Benflux UI initialized!",
202
201
  "",
203
202
  import_picocolors.default.bold("Next steps:"),
204
- ` ${import_picocolors.default.cyan("npx benflux-ui add button")} Add a component`,
205
- ` ${import_picocolors.default.cyan("npx benflux-ui add dashboard")} Add a full dashboard`,
206
- ` ${import_picocolors.default.cyan("npx benflux-ui list")} See all components`,
203
+ ` ${import_picocolors.default.cyan("npx benflux-ui add button")} Add a component`,
204
+ ` ${import_picocolors.default.cyan("npx benflux-ui list")} See all components`,
207
205
  "",
208
- import_picocolors.default.dim("Documentation: https://benflux-ui.dev")
206
+ ` ${import_picocolors.default.bold("Docs:")} \x1B]8;;https://benflux-ui.vercel.app\x07https://benflux-ui.vercel.app\x1B]8;;\x07`
209
207
  ].join("\n")
210
208
  );
211
209
  }
package/dist/index.js CHANGED
@@ -169,13 +169,13 @@ async function initCommand(options) {
169
169
  spinner3.stop(`Components directory: ${import_picocolors.default.cyan(settings.componentsDir)}`);
170
170
  spinner3.start("Creating benflux-ui.json config...");
171
171
  const config = {
172
- $schema: "https://benflux-ui.dev/schema.json",
172
+ $schema: "https://benflux-ui.vercel.app/schema.json",
173
173
  style: "default",
174
174
  typescript: settings.typescript,
175
175
  tailwind: {
176
176
  config: hasTw ? "tailwind.config.ts" : "tailwind.config.ts",
177
177
  css: "src/app/globals.css",
178
- baseColor: "nebula"
178
+ baseColor: "default"
179
179
  },
180
180
  aliases: {
181
181
  components: `@/${settings.componentsDir.replace("src/", "")}`,
@@ -218,11 +218,10 @@ export function cn(...inputs: ClassValue[]) {
218
218
  import_picocolors.default.green("\u2713") + " Benflux UI initialized!",
219
219
  "",
220
220
  import_picocolors.default.bold("Next steps:"),
221
- ` ${import_picocolors.default.cyan("npx benflux-ui add button")} Add a component`,
222
- ` ${import_picocolors.default.cyan("npx benflux-ui add dashboard")} Add a full dashboard`,
223
- ` ${import_picocolors.default.cyan("npx benflux-ui list")} See all components`,
221
+ ` ${import_picocolors.default.cyan("npx benflux-ui add button")} Add a component`,
222
+ ` ${import_picocolors.default.cyan("npx benflux-ui list")} See all components`,
224
223
  "",
225
- import_picocolors.default.dim("Documentation: https://benflux-ui.dev")
224
+ ` ${import_picocolors.default.bold("Docs:")} \x1B]8;;https://benflux-ui.vercel.app\x07https://benflux-ui.vercel.app\x1B]8;;\x07`
226
225
  ].join("\n")
227
226
  );
228
227
  }
package/dist/index.mjs CHANGED
@@ -122,13 +122,13 @@ async function initCommand(options) {
122
122
  spinner3.stop(`Components directory: ${pc.cyan(settings.componentsDir)}`);
123
123
  spinner3.start("Creating benflux-ui.json config...");
124
124
  const config = {
125
- $schema: "https://benflux-ui.dev/schema.json",
125
+ $schema: "https://benflux-ui.vercel.app/schema.json",
126
126
  style: "default",
127
127
  typescript: settings.typescript,
128
128
  tailwind: {
129
129
  config: hasTw ? "tailwind.config.ts" : "tailwind.config.ts",
130
130
  css: "src/app/globals.css",
131
- baseColor: "nebula"
131
+ baseColor: "default"
132
132
  },
133
133
  aliases: {
134
134
  components: `@/${settings.componentsDir.replace("src/", "")}`,
@@ -171,11 +171,10 @@ export function cn(...inputs: ClassValue[]) {
171
171
  pc.green("\u2713") + " Benflux UI initialized!",
172
172
  "",
173
173
  pc.bold("Next steps:"),
174
- ` ${pc.cyan("npx benflux-ui add button")} Add a component`,
175
- ` ${pc.cyan("npx benflux-ui add dashboard")} Add a full dashboard`,
176
- ` ${pc.cyan("npx benflux-ui list")} See all components`,
174
+ ` ${pc.cyan("npx benflux-ui add button")} Add a component`,
175
+ ` ${pc.cyan("npx benflux-ui list")} See all components`,
177
176
  "",
178
- pc.dim("Documentation: https://benflux-ui.dev")
177
+ ` ${pc.bold("Docs:")} \x1B]8;;https://benflux-ui.vercel.app\x07https://benflux-ui.vercel.app\x1B]8;;\x07`
179
178
  ].join("\n")
180
179
  );
181
180
  }
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "benflux-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for adding Benflux UI components to your project",
5
- "keywords": ["benflux-ui", "cli", "components", "react", "nextjs", "ui"],
5
+ "keywords": [
6
+ "benflux-ui",
7
+ "cli",
8
+ "components",
9
+ "react",
10
+ "nextjs",
11
+ "ui"
12
+ ],
6
13
  "license": "MIT",
7
14
  "homepage": "https://benflux-ui.dev",
8
15
  "repository": {
@@ -23,13 +30,9 @@
23
30
  "types": "./dist/index.d.ts"
24
31
  }
25
32
  },
26
- "files": ["dist"],
27
- "scripts": {
28
- "build": "tsup",
29
- "dev": "tsup --watch",
30
- "typecheck": "tsc --noEmit",
31
- "clean": "rm -rf dist"
32
- },
33
+ "files": [
34
+ "dist"
35
+ ],
33
36
  "dependencies": {
34
37
  "@clack/prompts": "^0.7.0",
35
38
  "chalk": "^5.3.0",
@@ -44,10 +47,16 @@
44
47
  "zod": "^3.23.8"
45
48
  },
46
49
  "devDependencies": {
47
- "@benflux-ui/typescript-config": "workspace:*",
48
50
  "@types/fs-extra": "^11.0.4",
49
51
  "@types/semver": "^7.5.8",
50
52
  "tsup": "^8.0.2",
51
- "typescript": "^5.4.5"
53
+ "typescript": "^5.4.5",
54
+ "@benflux-ui/typescript-config": "0.0.1"
55
+ },
56
+ "scripts": {
57
+ "build": "tsup",
58
+ "dev": "tsup --watch",
59
+ "typecheck": "tsc --noEmit",
60
+ "clean": "rm -rf dist"
52
61
  }
53
- }
62
+ }