@shivasankaran18/stackd 1.2.0 → 1.2.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 (77) hide show
  1. package/apps/web/app/scaffold/page.tsx +1 -1
  2. package/apps/web/package.json +0 -1
  3. package/package.json +33 -4
  4. package/stackd.ts +0 -0
  5. package/dist/apps/cli/src/cli.js +0 -217
  6. package/dist/apps/cli/src/commands/create.js +0 -148
  7. package/dist/apps/cli/src/scripts/Auth/jwt.js +0 -78
  8. package/dist/apps/cli/src/scripts/Auth/nextAuth.js +0 -131
  9. package/dist/apps/cli/src/scripts/Auth/passport.js +0 -218
  10. package/dist/apps/cli/src/scripts/backend/django.js +0 -20
  11. package/dist/apps/cli/src/scripts/backend/expressjs.js +0 -58
  12. package/dist/apps/cli/src/scripts/backend/expressts.js +0 -83
  13. package/dist/apps/cli/src/scripts/frontend/angularjs.js +0 -1
  14. package/dist/apps/cli/src/scripts/frontend/angularts.js +0 -22
  15. package/dist/apps/cli/src/scripts/frontend/nextjs.js +0 -62
  16. package/dist/apps/cli/src/scripts/frontend/reactjs.js +0 -31
  17. package/dist/apps/cli/src/scripts/frontend/reactts.js +0 -30
  18. package/dist/apps/cli/src/scripts/frontend/vuejs.js +0 -37
  19. package/dist/apps/cli/src/scripts/frontend/vuets.js +0 -43
  20. package/dist/apps/cli/src/scripts/orms/drizzleSetup.js +0 -85
  21. package/dist/apps/cli/src/scripts/orms/mongoSetup.js +0 -53
  22. package/dist/apps/cli/src/scripts/orms/prismaSetup.js +0 -12
  23. package/dist/apps/cli/src/scripts/ui/shadcn.js +0 -207
  24. package/dist/apps/cli/src/scripts/ui/tailwindcss.js +0 -102
  25. package/dist/apps/web/app/api/auth/[...nextauth]/route.js +0 -5
  26. package/dist/apps/web/app/api/scaffold/route.js +0 -251
  27. package/dist/apps/web/app/home/page.js +0 -19
  28. package/dist/apps/web/app/layout.js +0 -19
  29. package/dist/apps/web/app/page.js +0 -1
  30. package/dist/apps/web/app/providers.js +0 -7
  31. package/dist/apps/web/app/scaffold/page.js +0 -326
  32. package/dist/apps/web/components/Sidebar.js +0 -54
  33. package/dist/apps/web/components/theme-provider.js +0 -6
  34. package/dist/apps/web/components/ui/button.js +0 -32
  35. package/dist/apps/web/components/ui/card.js +0 -15
  36. package/dist/apps/web/components/ui/dropdown-menu.js +0 -54
  37. package/dist/apps/web/components/ui/input.js +0 -7
  38. package/dist/apps/web/components/ui/label.js +0 -9
  39. package/dist/apps/web/components/ui/scroll-area.js +0 -19
  40. package/dist/apps/web/components/ui/sonner.js +0 -15
  41. package/dist/apps/web/components/ui/steps.js +0 -14
  42. package/dist/apps/web/components/ui/switch.js +0 -9
  43. package/dist/apps/web/lib/auth.js +0 -32
  44. package/dist/apps/web/lib/redis.js +0 -9
  45. package/dist/apps/web/lib/utils.js +0 -5
  46. package/dist/packages/scripts/Auth/jwt.js +0 -78
  47. package/dist/packages/scripts/Auth/nextAuth.js +0 -131
  48. package/dist/packages/scripts/Auth/passport.js +0 -218
  49. package/dist/packages/scripts/backend/django.js +0 -20
  50. package/dist/packages/scripts/backend/expressjs.js +0 -58
  51. package/dist/packages/scripts/backend/expressts.js +0 -83
  52. package/dist/packages/scripts/frontend/angularjs.js +0 -1
  53. package/dist/packages/scripts/frontend/angularts.js +0 -22
  54. package/dist/packages/scripts/frontend/nextjs.js +0 -62
  55. package/dist/packages/scripts/frontend/reactjs.js +0 -31
  56. package/dist/packages/scripts/frontend/reactts.js +0 -30
  57. package/dist/packages/scripts/frontend/vuejs.js +0 -37
  58. package/dist/packages/scripts/frontend/vuets.js +0 -43
  59. package/dist/packages/scripts/orms/drizzleSetup.js +0 -85
  60. package/dist/packages/scripts/orms/mongoSetup.js +0 -53
  61. package/dist/packages/scripts/orms/prismaSetup.js +0 -12
  62. package/dist/packages/scripts/ui/shadcn.js +0 -207
  63. package/dist/packages/scripts/ui/tailwindcss.js +0 -102
  64. package/dist/packages/ui/src/button.js +0 -10
  65. package/dist/packages/ui/src/card.js +0 -11
  66. package/dist/packages/ui/src/code.js +0 -6
  67. package/dist/packages/ui/turbo/generators/config.js +0 -30
  68. package/dist/stackd.js +0 -114
  69. package/dist/tsconfig.tsbuildinfo +0 -1
  70. package/packages/ui/eslint.config.mjs +0 -4
  71. package/packages/ui/package.json +0 -27
  72. package/packages/ui/src/button.tsx +0 -20
  73. package/packages/ui/src/card.tsx +0 -27
  74. package/packages/ui/src/code.tsx +0 -11
  75. package/packages/ui/tsconfig.json +0 -8
  76. package/packages/ui/turbo/generators/config.ts +0 -30
  77. package/packages/ui/turbo/generators/templates/component.hbs +0 -8
@@ -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
- };
@@ -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>-&gt;</span>
23
- </h2>
24
- <p>{children}</p>
25
- </a>
26
- );
27
- }
@@ -1,11 +0,0 @@
1
- import { type JSX } from "react";
2
-
3
- export function Code({
4
- children,
5
- className,
6
- }: {
7
- children: React.ReactNode;
8
- className?: string;
9
- }): JSX.Element {
10
- return <code className={className}>{children}</code>;
11
- }
@@ -1,8 +0,0 @@
1
- {
2
- "extends": "@repo/typescript-config/react-library.json",
3
- "compilerOptions": {
4
- "outDir": "dist"
5
- },
6
- "include": ["src"],
7
- "exclude": ["node_modules", "dist"]
8
- }
@@ -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
- }
@@ -1,8 +0,0 @@
1
- export const {{ pascalCase name }} = ({ children }: { children: React.ReactNode }) => {
2
- return (
3
- <div>
4
- <h1>{{ pascalCase name }} Component</h1>
5
- {children}
6
- </div>
7
- );
8
- };