create-nextop-app 0.0.2 → 0.0.4

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/dist/index.js CHANGED
@@ -5,7 +5,11 @@ import path from 'path';
5
5
  import chalk from 'chalk';
6
6
  import prompts from 'prompts';
7
7
  import { spawn } from 'child_process';
8
+ import { fileURLToPath } from 'url';
9
+ import { dirname } from 'path';
8
10
  const program = new Command();
11
+ const __filename = fileURLToPath(import.meta.url);
12
+ const __dirname = dirname(__filename);
9
13
  function runInstall(projectPath) {
10
14
  return new Promise((resolve, reject) => {
11
15
  const child = spawn('npm', ['install'], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextop-app",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "NextOP framework starter CLI",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {
@@ -21,7 +21,7 @@
21
21
  "react": "^19.2.3",
22
22
  "react-dom": "^19.2.3",
23
23
  "tailwindcss": "^4.1.18",
24
- "nextop-app": "0.0.1"
24
+ "nextop-app": "0.0.2"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^25.0.3",