@shivasankaran18/stackd 1.8.0 → 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 (73) hide show
  1. package/apps/cli/src/cli.ts +28 -2
  2. package/apps/cli/src/commands/create.ts +30 -0
  3. package/apps/cli/src/scripts/ui/shadcn.ts +4 -10
  4. package/apps/cli/src/scripts/ui/tailwind.ts +39 -0
  5. package/apps/web/app/scaffold/page.tsx +1 -1
  6. package/apps/web/package.json +1 -1
  7. package/apps/web/tsconfig.json +125 -23
  8. package/package.json +18 -20
  9. package/dist/apps/cli/src/cli.js +0 -217
  10. package/dist/apps/cli/src/commands/create.js +0 -148
  11. package/dist/apps/cli/src/scripts/Auth/jwt.js +0 -78
  12. package/dist/apps/cli/src/scripts/Auth/nextAuth.js +0 -131
  13. package/dist/apps/cli/src/scripts/Auth/passport.js +0 -218
  14. package/dist/apps/cli/src/scripts/backend/django.js +0 -20
  15. package/dist/apps/cli/src/scripts/backend/expressjs.js +0 -58
  16. package/dist/apps/cli/src/scripts/backend/expressts.js +0 -83
  17. package/dist/apps/cli/src/scripts/frontend/angularjs.js +0 -1
  18. package/dist/apps/cli/src/scripts/frontend/angularts.js +0 -22
  19. package/dist/apps/cli/src/scripts/frontend/nextjs.js +0 -62
  20. package/dist/apps/cli/src/scripts/frontend/reactjs.js +0 -31
  21. package/dist/apps/cli/src/scripts/frontend/reactts.js +0 -30
  22. package/dist/apps/cli/src/scripts/frontend/vuejs.js +0 -37
  23. package/dist/apps/cli/src/scripts/frontend/vuets.js +0 -43
  24. package/dist/apps/cli/src/scripts/orms/drizzleSetup.js +0 -85
  25. package/dist/apps/cli/src/scripts/orms/mongoSetup.js +0 -53
  26. package/dist/apps/cli/src/scripts/orms/prismaSetup.js +0 -12
  27. package/dist/apps/cli/src/scripts/ui/shadcn.js +0 -207
  28. package/dist/apps/cli/src/scripts/ui/tailwindcss.js +0 -102
  29. package/dist/apps/web/app/api/auth/[...nextauth]/route.js +0 -5
  30. package/dist/apps/web/app/api/scaffold/route.js +0 -251
  31. package/dist/apps/web/app/home/page.js +0 -19
  32. package/dist/apps/web/app/layout.js +0 -19
  33. package/dist/apps/web/app/page.js +0 -1
  34. package/dist/apps/web/app/providers.js +0 -7
  35. package/dist/apps/web/app/scaffold/page.js +0 -326
  36. package/dist/apps/web/components/Sidebar.js +0 -54
  37. package/dist/apps/web/components/theme-provider.js +0 -6
  38. package/dist/apps/web/components/ui/button.js +0 -32
  39. package/dist/apps/web/components/ui/card.js +0 -15
  40. package/dist/apps/web/components/ui/dropdown-menu.js +0 -54
  41. package/dist/apps/web/components/ui/input.js +0 -7
  42. package/dist/apps/web/components/ui/label.js +0 -9
  43. package/dist/apps/web/components/ui/scroll-area.js +0 -19
  44. package/dist/apps/web/components/ui/sonner.js +0 -15
  45. package/dist/apps/web/components/ui/steps.js +0 -14
  46. package/dist/apps/web/components/ui/switch.js +0 -9
  47. package/dist/apps/web/lib/auth.js +0 -32
  48. package/dist/apps/web/lib/redis.js +0 -9
  49. package/dist/apps/web/lib/utils.js +0 -5
  50. package/dist/packages/scripts/Auth/jwt.js +0 -78
  51. package/dist/packages/scripts/Auth/nextAuth.js +0 -131
  52. package/dist/packages/scripts/Auth/passport.js +0 -218
  53. package/dist/packages/scripts/backend/django.js +0 -20
  54. package/dist/packages/scripts/backend/expressjs.js +0 -58
  55. package/dist/packages/scripts/backend/expressts.js +0 -83
  56. package/dist/packages/scripts/frontend/angularjs.js +0 -1
  57. package/dist/packages/scripts/frontend/angularts.js +0 -22
  58. package/dist/packages/scripts/frontend/nextjs.js +0 -62
  59. package/dist/packages/scripts/frontend/reactjs.js +0 -31
  60. package/dist/packages/scripts/frontend/reactts.js +0 -30
  61. package/dist/packages/scripts/frontend/vuejs.js +0 -37
  62. package/dist/packages/scripts/frontend/vuets.js +0 -43
  63. package/dist/packages/scripts/orms/drizzleSetup.js +0 -85
  64. package/dist/packages/scripts/orms/mongoSetup.js +0 -53
  65. package/dist/packages/scripts/orms/prismaSetup.js +0 -12
  66. package/dist/packages/scripts/ui/shadcn.js +0 -207
  67. package/dist/packages/scripts/ui/tailwindcss.js +0 -102
  68. package/dist/stackd.js +0 -114
  69. package/dist/tsconfig.tsbuildinfo +0 -1
  70. package/packages/typescript-config/base.json +0 -19
  71. package/packages/typescript-config/nextjs.json +0 -12
  72. package/packages/typescript-config/package.json +0 -9
  73. package/packages/typescript-config/react-library.json +0 -7
@@ -15,6 +15,7 @@ export interface ProjectConfig {
15
15
  orm: string;
16
16
  auth: string;
17
17
  dbUrl: string;
18
+ ui: string;
18
19
  }
19
20
 
20
21
  interface Answers {
@@ -27,7 +28,8 @@ interface Answers {
27
28
  orm: string;
28
29
  auth: string;
29
30
  dbUrl: string;
30
- projectName:string;
31
+ projectName: string;
32
+ ui: string;
31
33
  }
32
34
 
33
35
  const showBanner = () => {
@@ -67,7 +69,9 @@ const CHOICES = {
67
69
  MONGOOSE: 'Mongoose',
68
70
  JWT: 'JWT',
69
71
  NEXTAUTH: 'NextAuth',
70
- PASSPORT: 'Passport'
72
+ PASSPORT: 'Passport',
73
+ TAILWIND: 'Tailwind CSS',
74
+ SHADCN: 'shadcn/ui + Tailwind'
71
75
  };
72
76
 
73
77
  program
@@ -124,6 +128,27 @@ program
124
128
  }
125
129
  ]);
126
130
 
131
+ // Add UI framework selection after frontend
132
+ let uiChoice = { ui: CHOICES.NONE };
133
+ if (frontendChoice.frontend !== chalk.green(CHOICES.DJANGO_TEMPLATES) &&
134
+ frontendChoice.frontend !== CHOICES.SKIP) {
135
+ uiChoice = await inquirer.prompt([
136
+ {
137
+ type: 'list',
138
+ name: 'ui',
139
+ message: chalk.magenta.bold('🎨 Choose a UI framework:'),
140
+ choices: (answers) => {
141
+ const isReact = frontendChoice.frontend.includes('React');
142
+ return [
143
+ chalk.blue(CHOICES.TAILWIND),
144
+ ...(isReact ? [chalk.cyan(CHOICES.SHADCN)] : []),
145
+ CHOICES.NONE
146
+ ];
147
+ },
148
+ default: CHOICES.NONE,
149
+ }
150
+ ]);
151
+ }
127
152
 
128
153
  const backendChoice = await inquirer.prompt([
129
154
  {
@@ -210,6 +235,7 @@ program
210
235
  const answers = {
211
236
  ...projectSettings,
212
237
  ...frontendChoice,
238
+ ...uiChoice,
213
239
  ...backendChoice,
214
240
  ...databaseChoice,
215
241
  ...ormChoice,
@@ -16,6 +16,8 @@ import chalk from 'chalk';
16
16
  import ora from 'ora';
17
17
  import { mkdir } from 'fs/promises';
18
18
  import { ProjectConfig } from '../cli.js';
19
+ import { setupShadcn } from '../scripts/ui/shadcn.js';
20
+ import { setupTailwindCSS } from '../scripts/ui/tailwindcss.js';
19
21
 
20
22
  const emitLog = (message: string): void => {
21
23
  console.log(`[Emit Logs]: ${message}`);
@@ -64,6 +66,24 @@ export async function createProject(projectName: string, options: ProjectConfig)
64
66
  break;
65
67
  }
66
68
 
69
+ // UI Framework setup
70
+ if (options.ui !== 'None' && options.frontend !== 'Django Templates' && options.frontend !== 'Skip') {
71
+ spinner.text = 'Setting up UI framework...';
72
+ switch(options.ui) {
73
+ case 'Tailwind CSS':
74
+ await setupTailwindCSS(config, projectDir, emitLog);
75
+ break;
76
+ case 'shadcn/ui + Tailwind':
77
+ await setupTailwindCSS(config, projectDir, emitLog);
78
+ // @ts-ignore
79
+ await setupShadcn(config, projectDir, emitLog);
80
+ break;
81
+ default:
82
+ emitLog('Unknown UI framework choice');
83
+ break;
84
+ }
85
+ }
86
+
67
87
  // Backend setup
68
88
  spinner.text = 'Setting up backend...';
69
89
  switch(options.backend) {
@@ -143,6 +163,16 @@ export async function createProject(projectName: string, options: ProjectConfig)
143
163
  }
144
164
  }
145
165
 
166
+ // Add UI-specific instructions
167
+ if (options.ui !== 'None') {
168
+ console.log(chalk.yellow('\nUI Framework Setup:'));
169
+ if (options.ui === 'Tailwind CSS') {
170
+ console.log(chalk.cyan(' Tailwind CSS is ready to use'));
171
+ } else if (options.ui === 'shadcn/ui + Tailwind') {
172
+ console.log(chalk.cyan(' Run `npx shadcn-ui@latest init` to complete shadcn/ui setup'));
173
+ }
174
+ }
175
+
146
176
  // Add database specific instructions
147
177
  if (options.database !== 'Skip') {
148
178
  console.log(chalk.yellow('\nDatabase Setup:'));
@@ -2,12 +2,9 @@ import { writeFile, mkdir } from 'fs/promises';
2
2
  import { join } from 'path';
3
3
  import { execSync } from 'child_process';
4
4
  import { existsSync } from 'fs';
5
+ import { ProjectConfig } from '../../cli.js';
5
6
 
6
- export async function setupShadcn(
7
- config: any,
8
- projectDir: string,
9
- emitLog: (log: string) => void
10
- ) {
7
+ export async function setupShadcn(config: ProjectConfig, projectDir: string, emitLog: (message: string) => void) {
11
8
  try {
12
9
  const frontendDir = join(projectDir, 'frontend');
13
10
  emitLog('📦 Setting up shadcn/ui...');
@@ -17,10 +14,7 @@ export async function setupShadcn(
17
14
 
18
15
  // Install shadcn/ui dependencies
19
16
  emitLog('Installing shadcn/ui dependencies...');
20
- execSync('npm install @shadcn/ui class-variance-authority clsx tailwind-merge lucide-react', {
21
- cwd: frontendDir,
22
- stdio: 'inherit'
23
- });
17
+ execSync('npm install @shadcn/ui', { cwd: projectDir });
24
18
 
25
19
  // Create components.json configuration
26
20
  const componentsConfig = {
@@ -66,7 +60,7 @@ export function cn(...inputs: ClassValue[]) {
66
60
 
67
61
  emitLog('✅ shadcn/ui setup completed successfully!');
68
62
  } catch (error) {
69
- emitLog(`❌ Error setting up shadcn/ui: ${error instanceof Error ? error.message : 'Unknown error'}`);
63
+ emitLog('Failed to setup shadcn/ui');
70
64
  throw error;
71
65
  }
72
66
  }
@@ -0,0 +1,39 @@
1
+ import { execSync } from 'child_process';
2
+ import { writeFile } from 'fs/promises';
3
+ import { join } from 'path';
4
+ import { ProjectConfig } from '../../cli.js';
5
+
6
+ export async function setupTailwind(config: ProjectConfig, projectDir: string, emitLog: (message: string) => void) {
7
+ try {
8
+ emitLog('Installing Tailwind CSS...');
9
+ execSync('npm install -D tailwindcss postcss autoprefixer', { cwd: projectDir });
10
+ execSync('npx tailwindcss init -p', { cwd: projectDir });
11
+
12
+ // Add Tailwind configuration
13
+ const tailwindConfig = `
14
+ module.exports = {
15
+ content: [
16
+ "./src/**/*.{js,jsx,ts,tsx}",
17
+ ],
18
+ theme: {
19
+ extend: {},
20
+ },
21
+ plugins: [],
22
+ }`;
23
+
24
+ await writeFile(join(projectDir, 'tailwind.config.js'), tailwindConfig);
25
+
26
+ // Add Tailwind directives to CSS
27
+ const cssContent = `
28
+ @tailwind base;
29
+ @tailwind components;
30
+ @tailwind utilities;`;
31
+
32
+ await writeFile(join(projectDir, 'src/index.css'), cssContent);
33
+
34
+ emitLog('Tailwind CSS setup completed');
35
+ } catch (error) {
36
+ emitLog('Failed to setup Tailwind CSS');
37
+ throw error;
38
+ }
39
+ }
@@ -49,7 +49,7 @@ const Navbar = () => (
49
49
  </div>
50
50
 
51
51
  <a
52
- href="https://github.com/ShyamSunder06/STACKD"
52
+ href="https://github.com/shivasankaran18/STACKD"
53
53
  target="_blank"
54
54
  rel="noopener noreferrer"
55
55
  className="absolute right-8 text-muted-foreground hover:text-foreground"
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/eslint-config": "*",
40
- "@repo/typescript-config": "*",
40
+
41
41
  "@types/d3": "^7.4.3",
42
42
  "@types/node": "^20.0.0",
43
43
  "@types/react": "19.0.8",
@@ -1,23 +1,125 @@
1
- {
2
- "extends": "@repo/typescript-config/nextjs.json",
3
- "compilerOptions": {
4
- "plugins": [
5
- {
6
- "name": "next"
7
- }
8
- ],
9
- "paths": {
10
- "@/*": ["./*"]
11
- }
12
- },
13
- "include": [
14
- "**/*.ts",
15
- "**/*.tsx",
16
- "next-env.d.ts",
17
- "next.config.js",
18
- ".next/types/**/*.ts"
19
- ],
20
- "exclude": [
21
- "node_modules"
22
- ]
23
- }
1
+ {
2
+ "compilerOptions": {
3
+ /* Visit https://aka.ms/tsconfig to read more about this file */
4
+ /* Projects */
5
+ // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
6
+ // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
7
+ // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
8
+ // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
9
+ // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
10
+ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
11
+ /* Language and Environment */
12
+ "target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
13
+ // "jsx": "preserve", /* Specify what JSX code is generated. */
14
+ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
15
+ // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
16
+ // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
17
+ // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
18
+ // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
19
+ // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
20
+ // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
21
+ // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
22
+ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
23
+ /* Modules */
24
+ "module": "NodeNext", /* Specify what module code is generated. */// "rootDir": "./", /* Specify the root folder within your source files. */
25
+ "moduleResolution": "NodeNext", /* Specify how TypeScript looks up a file from a given module specifier. */// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
26
+ "paths": {
27
+ "@/*": ["./*"]
28
+ }, /* Specify a set of entries that re-map imports to additional lookup locations. */
29
+ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
30
+ // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
31
+ // "types": [], /* Specify type package names to be included without being referenced in a source file. */
32
+ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
33
+ // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
34
+ // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
35
+ // "rewriteRelativeImportExtensions": true, /* Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files. */
36
+ // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
37
+ // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
38
+ // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
39
+ // "noUncheckedSideEffectImports": true, /* Check side effect imports. */
40
+ // "resolveJsonModule": true, /* Enable importing .json files. */
41
+ // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
42
+ // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
43
+ /* JavaScript Support */
44
+ // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
45
+ // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
46
+ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
47
+ /* Emit */
48
+ // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
49
+ // "declarationMap": true, /* Create sourcemaps for d.ts files. */
50
+ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
51
+ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
52
+ // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
53
+ // "noEmit": true, /* Disable emitting files from a compilation. */
54
+ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
55
+ "outDir": "./dist", /* Specify an output folder for all emitted files. */// "removeComments": true, /* Disable emitting comments. */
56
+ // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
57
+ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
58
+ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
59
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
60
+ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
61
+ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
62
+ // "newLine": "crlf", /* Set the newline character for emitting files. */
63
+ // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
64
+ // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
65
+ // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
66
+ // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
67
+ // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
68
+ /* Interop Constraints */
69
+ // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
70
+ // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
71
+ // "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */
72
+ // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
73
+ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
74
+ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. *//* Type Checking */
75
+ "strict": true, /* Enable all strict type-checking options. */// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
76
+ // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
77
+ // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
78
+ // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
79
+ // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
80
+ // "strictBuiltinIteratorReturn": true, /* Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'. */
81
+ // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
82
+ // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
83
+ // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
84
+ // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
85
+ // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
86
+ // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
87
+ // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
88
+ // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
89
+ // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
90
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
91
+ // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
92
+ // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
93
+ // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
94
+ /* Completeness */
95
+ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
96
+ "skipLibCheck": true /* Skip type checking all .d.ts files. */,
97
+ "lib": [
98
+ "dom",
99
+ "dom.iterable",
100
+ "esnext"
101
+ ],
102
+ "allowJs": true,
103
+ "noEmit": true,
104
+ "incremental": true,
105
+ "resolveJsonModule": true,
106
+ "isolatedModules": true,
107
+ "jsx": "preserve",
108
+ "plugins": [
109
+ {
110
+ "name": "next"
111
+ }
112
+ ]
113
+ },
114
+ "include": [
115
+ "**/*.ts",
116
+ "**/*.tsx",
117
+ "next-env.d.ts",
118
+ "next.config.js",
119
+ ".next/types/**/*.ts"
120
+ ],
121
+ "exclude": [
122
+ "node_modules"
123
+ ],
124
+
125
+ }
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@shivasankaran18/stackd",
3
- "version": "1.8.0",
3
+ "version": "2.0.2",
4
4
  "bin": {
5
5
  "stackd": "stackd.ts",
6
6
  "pre-install": "npm install"
7
7
  },
8
- "main": "dist/stackd.js",
9
8
  "type": "module",
10
9
  "scripts": {
11
10
  "build": "turbo run build",
@@ -13,7 +12,6 @@
13
12
  "lint": "turbo run lint",
14
13
  "format": "prettier --write \"**/*.{ts,tsx,md}\"",
15
14
  "check-types": "turbo run check-types",
16
- "prepare": "husky install",
17
15
  "setup": "sh start-web.sh",
18
16
  "@types/node": "^22.13.5",
19
17
  "chalk": "4",
@@ -24,7 +22,7 @@
24
22
  "ora": "^8.2.0",
25
23
  "path": "^0.12.7",
26
24
  "ts-node": "^10.9.2",
27
- "create":"tsx ./stackd.ts init"
25
+ "create": "tsx ./stackd.ts init"
28
26
  },
29
27
  "devDependencies": {
30
28
  "@types/chalk": "^2.2.4",
@@ -46,42 +44,42 @@
46
44
  ],
47
45
  "dependencies": {
48
46
  "@octokit/rest": "^21.1.1",
49
- "chalk": "^4.1.2",
50
- "framer-motion": "^12.4.7",
51
- "fs": "^0.0.1-security",
52
- "simple-git": "^3.27.0",
53
- "ts-node": "^10.9.2",
54
- "tsx": "^4.19.3",
55
- "@types/chalk": "^2.2.4",
56
- "@types/commander": "^2.12.5",
57
- "@types/node": "^22.13.5",
58
- "commander": "^13.1.0",
59
- "gradient-string": "^3.0.0",
60
- "inquirer": "^12.4.2",
61
- "ora": "^8.2.0",
62
-
63
47
  "@radix-ui/react-dropdown-menu": "^2.1.6",
64
48
  "@radix-ui/react-label": "^2.1.2",
65
49
  "@radix-ui/react-scroll-area": "^1.2.3",
66
50
  "@radix-ui/react-slot": "^1.1.2",
67
51
  "@radix-ui/react-switch": "^1.1.3",
52
+ "@types/chalk": "^2.2.4",
53
+ "@types/commander": "^2.12.5",
54
+ "@types/node": "^22.13.5",
55
+ "@types/react": "^19.0.10",
68
56
  "axios": "^1.7.9",
57
+ "chalk": "^4.1.2",
69
58
  "class-variance-authority": "^0.7.1",
70
59
  "clsx": "^2.1.1",
60
+ "commander": "^13.1.0",
71
61
  "d3": "^7.9.0",
72
62
  "date-fns": "^4.1.0",
73
-
63
+ "dotenv": "^16.4.7",
64
+ "framer-motion": "^12.4.7",
65
+ "fs": "^0.0.1-security",
66
+ "gradient-string": "^3.0.0",
67
+ "inquirer": "^12.4.2",
74
68
  "lucide-react": "^0.475.0",
75
69
  "next": "^15.1.6",
76
70
  "next-auth": "^4.24.11",
77
71
  "next-themes": "^0.4.4",
72
+ "ora": "^8.2.0",
78
73
  "path": "^0.12.7",
79
74
  "prisma": "^6.4.0",
80
75
  "react": "^19.0.0",
81
76
  "react-dom": "^19.0.0",
82
77
  "redis": "^4.7.0",
78
+ "simple-git": "^3.27.0",
83
79
  "sonner": "^2.0.1",
84
80
  "tailwind-merge": "^3.0.1",
85
- "tailwindcss-animate": "^1.0.7"
81
+ "tailwindcss-animate": "^1.0.7",
82
+ "ts-node": "^10.9.2",
83
+ "tsx": "^4.19.3"
86
84
  }
87
85
  }