initkit 1.2.2 → 1.2.3
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/README.md +1 -1
- package/bin/index.js +1 -1
- package/package.json +1 -1
- package/src/utils/addonInstaller.js +8 -4
package/README.md
CHANGED
|
@@ -851,7 +851,7 @@ MIT © [Shirish Shrestha](https://github.com/shirishshrestha)
|
|
|
851
851
|
- **Issues**: [GitHub Issues](https://github.com/shirishshrestha/initkit/issues)
|
|
852
852
|
- **Discussions**: [GitHub Discussions](https://github.com/shirishshrestha/initkit/discussions)
|
|
853
853
|
- **Documentation**: [Full Documentation](./docs/QUICK_START.md)
|
|
854
|
-
- **Email**:
|
|
854
|
+
- **Email**: shirish.shrestha07@gmail.com
|
|
855
855
|
|
|
856
856
|
---
|
|
857
857
|
|
package/bin/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "initkit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A modern CLI tool for scaffolding production-ready web projects with live npm version fetching, multiple frameworks, and best practices built-in",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -132,8 +132,10 @@ async function installStyling(projectPath, styling, config) {
|
|
|
132
132
|
|
|
133
133
|
// Create Tailwind config files directly (more reliable than running init command)
|
|
134
134
|
console.log(chalk.dim(' Initializing Tailwind configuration...'));
|
|
135
|
-
const
|
|
136
|
-
const
|
|
135
|
+
const fsExtra = await import('fs-extra');
|
|
136
|
+
const fs = fsExtra.default;
|
|
137
|
+
const pathModule = await import('path');
|
|
138
|
+
const path = pathModule.default;
|
|
137
139
|
|
|
138
140
|
// Create tailwind.config.js with proper content paths
|
|
139
141
|
const tailwindConfigPath = path.join(projectPath, 'tailwind.config.js');
|
|
@@ -219,8 +221,10 @@ async function installUILibrary(projectPath, library, config) {
|
|
|
219
221
|
console.log(chalk.dim(' Running shadcn-ui init...'));
|
|
220
222
|
|
|
221
223
|
// Ensure tsconfig has path aliases for shadcn
|
|
222
|
-
const
|
|
223
|
-
const
|
|
224
|
+
const fsExtra = await import('fs-extra');
|
|
225
|
+
const fs = fsExtra.default;
|
|
226
|
+
const pathModule = await import('path');
|
|
227
|
+
const path = pathModule.default;
|
|
224
228
|
const tsconfigPath = path.join(projectPath, 'tsconfig.json');
|
|
225
229
|
|
|
226
230
|
if (await fs.pathExists(tsconfigPath)) {
|