@shivasankaran18/stackd 1.1.0 → 1.2.1
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/apps/web/package.json +0 -1
- package/package.json +32 -2
- package/packages/ui/eslint.config.mjs +0 -4
- package/packages/ui/package.json +0 -27
- package/packages/ui/src/button.tsx +0 -20
- package/packages/ui/src/card.tsx +0 -27
- package/packages/ui/src/code.tsx +0 -11
- package/packages/ui/tsconfig.json +0 -8
- package/packages/ui/turbo/generators/config.ts +0 -30
- package/packages/ui/turbo/generators/templates/component.hbs +0 -8
package/apps/web/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@shivasankaran18/stackd",
|
3
|
-
"version": "1.1
|
3
|
+
"version": "1.2.1",
|
4
4
|
"bin": {
|
5
5
|
"stackd": "stackd.ts",
|
6
6
|
"pre-install": "npm install"
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"ora": "^8.2.0",
|
24
24
|
"path": "^0.12.7",
|
25
25
|
"ts-node": "^10.9.2",
|
26
|
-
"create":"tsx ./stackd.ts init"
|
26
|
+
"create": "tsx ./stackd.ts init"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"@types/chalk": "^2.2.4",
|
@@ -45,10 +45,40 @@
|
|
45
45
|
],
|
46
46
|
"dependencies": {
|
47
47
|
"@octokit/rest": "^21.1.1",
|
48
|
+
"@radix-ui/react-dropdown-menu": "^2.1.6",
|
49
|
+
"@radix-ui/react-label": "^2.1.2",
|
50
|
+
"@radix-ui/react-scroll-area": "^1.2.3",
|
51
|
+
"@radix-ui/react-slot": "^1.1.2",
|
52
|
+
"@radix-ui/react-switch": "^1.1.3",
|
53
|
+
"@types/chalk": "^2.2.4",
|
54
|
+
"@types/commander": "^2.12.5",
|
55
|
+
"@types/node": "^22.13.5",
|
56
|
+
"axios": "^1.7.9",
|
48
57
|
"chalk": "^4.1.2",
|
58
|
+
"class-variance-authority": "^0.7.1",
|
59
|
+
"clsx": "^2.1.1",
|
60
|
+
"commander": "^13.1.0",
|
61
|
+
"d3": "^7.9.0",
|
62
|
+
"date-fns": "^4.1.0",
|
63
|
+
"dotenv": "^16.4.7",
|
49
64
|
"framer-motion": "^12.4.7",
|
50
65
|
"fs": "^0.0.1-security",
|
66
|
+
"gradient-string": "^3.0.0",
|
67
|
+
"inquirer": "^12.4.2",
|
68
|
+
"lucide-react": "^0.475.0",
|
69
|
+
"next": "^15.1.6",
|
70
|
+
"next-auth": "^4.24.11",
|
71
|
+
"next-themes": "^0.4.4",
|
72
|
+
"ora": "^8.2.0",
|
73
|
+
"path": "^0.12.7",
|
74
|
+
"prisma": "^6.4.0",
|
75
|
+
"react": "^19.0.0",
|
76
|
+
"react-dom": "^19.0.0",
|
77
|
+
"redis": "^4.7.0",
|
51
78
|
"simple-git": "^3.27.0",
|
79
|
+
"sonner": "^2.0.1",
|
80
|
+
"tailwind-merge": "^3.0.1",
|
81
|
+
"tailwindcss-animate": "^1.0.7",
|
52
82
|
"ts-node": "^10.9.2",
|
53
83
|
"tsx": "^4.19.3"
|
54
84
|
}
|
package/packages/ui/package.json
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "@repo/ui",
|
3
|
-
"version": "0.0.0",
|
4
|
-
"private": true,
|
5
|
-
"exports": {
|
6
|
-
"./*": "./src/*.tsx"
|
7
|
-
},
|
8
|
-
"scripts": {
|
9
|
-
"lint": "eslint . --max-warnings 0",
|
10
|
-
"generate:component": "turbo gen react-component",
|
11
|
-
"check-types": "tsc --noEmit"
|
12
|
-
},
|
13
|
-
"devDependencies": {
|
14
|
-
"@repo/eslint-config": "*",
|
15
|
-
"@repo/typescript-config": "*",
|
16
|
-
"@turbo/gen": "^2.4.0",
|
17
|
-
"@types/node": "^22.13.0",
|
18
|
-
"@types/react": "19.0.8",
|
19
|
-
"@types/react-dom": "19.0.3",
|
20
|
-
"eslint": "^9.20.0",
|
21
|
-
"typescript": "5.7.3"
|
22
|
-
},
|
23
|
-
"dependencies": {
|
24
|
-
"react": "^19.0.0",
|
25
|
-
"react-dom": "^19.0.0"
|
26
|
-
}
|
27
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
|
3
|
-
import { ReactNode } from "react";
|
4
|
-
|
5
|
-
interface ButtonProps {
|
6
|
-
children: ReactNode;
|
7
|
-
className?: string;
|
8
|
-
appName: string;
|
9
|
-
}
|
10
|
-
|
11
|
-
export const Button = ({ children, className, appName }: ButtonProps) => {
|
12
|
-
return (
|
13
|
-
<button
|
14
|
-
className={className}
|
15
|
-
onClick={() => alert(`Hello from your ${appName} app!`)}
|
16
|
-
>
|
17
|
-
{children}
|
18
|
-
</button>
|
19
|
-
);
|
20
|
-
};
|
package/packages/ui/src/card.tsx
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import { type JSX } from "react";
|
2
|
-
|
3
|
-
export function Card({
|
4
|
-
className,
|
5
|
-
title,
|
6
|
-
children,
|
7
|
-
href,
|
8
|
-
}: {
|
9
|
-
className?: string;
|
10
|
-
title: string;
|
11
|
-
children: React.ReactNode;
|
12
|
-
href: string;
|
13
|
-
}): JSX.Element {
|
14
|
-
return (
|
15
|
-
<a
|
16
|
-
className={className}
|
17
|
-
href={`${href}?utm_source=create-turbo&utm_medium=basic&utm_campaign=create-turbo"`}
|
18
|
-
rel="noopener noreferrer"
|
19
|
-
target="_blank"
|
20
|
-
>
|
21
|
-
<h2>
|
22
|
-
{title} <span>-></span>
|
23
|
-
</h2>
|
24
|
-
<p>{children}</p>
|
25
|
-
</a>
|
26
|
-
);
|
27
|
-
}
|
package/packages/ui/src/code.tsx
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
import type { PlopTypes } from "@turbo/gen";
|
2
|
-
|
3
|
-
// Learn more about Turborepo Generators at https://turbo.build/repo/docs/core-concepts/monorepos/code-generation
|
4
|
-
|
5
|
-
export default function generator(plop: PlopTypes.NodePlopAPI): void {
|
6
|
-
// A simple generator to add a new React component to the internal UI library
|
7
|
-
plop.setGenerator("react-component", {
|
8
|
-
description: "Adds a new react component",
|
9
|
-
prompts: [
|
10
|
-
{
|
11
|
-
type: "input",
|
12
|
-
name: "name",
|
13
|
-
message: "What is the name of the component?",
|
14
|
-
},
|
15
|
-
],
|
16
|
-
actions: [
|
17
|
-
{
|
18
|
-
type: "add",
|
19
|
-
path: "src/{{kebabCase name}}.tsx",
|
20
|
-
templateFile: "templates/component.hbs",
|
21
|
-
},
|
22
|
-
{
|
23
|
-
type: "append",
|
24
|
-
path: "package.json",
|
25
|
-
pattern: /"exports": {(?<insertion>)/g,
|
26
|
-
template: ' "./{{kebabCase name}}": "./src/{{kebabCase name}}.tsx",',
|
27
|
-
},
|
28
|
-
],
|
29
|
-
});
|
30
|
-
}
|