nextdesk 0.1.0 → 0.1.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.
@@ -66,19 +66,19 @@ async function init(options) {
66
66
  if (!packageJson.scripts) {
67
67
  packageJson.scripts = {};
68
68
  }
69
- if (!packageJson.scripts['mydesk:dev']) {
70
- packageJson.scripts['mydesk:dev'] = 'mydesk dev';
69
+ if (!packageJson.scripts['nextdesk:dev']) {
70
+ packageJson.scripts['nextdesk:dev'] = 'nextdesk dev';
71
71
  }
72
- if (!packageJson.scripts['mydesk:build']) {
73
- packageJson.scripts['mydesk:build'] = 'mydesk build';
72
+ if (!packageJson.scripts['nextdesk:build']) {
73
+ packageJson.scripts['nextdesk:build'] = 'nextdesk build';
74
74
  }
75
75
  fs_1.default.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n');
76
76
  }
77
- spinner.succeed('MyDesk initialized!');
77
+ spinner.succeed('NextDesk initialized!');
78
78
  console.log(chalk_1.default.bold('\n✨ All set!\n'));
79
79
  console.log(chalk_1.default.gray(' Run these commands:'));
80
- console.log(chalk_1.default.cyan(' npm run mydesk:dev # Start desktop app in dev mode'));
81
- console.log(chalk_1.default.cyan(' npm run mydesk:build # Build desktop app for production\n'));
80
+ console.log(chalk_1.default.cyan(' npm run nextdesk:dev # Start desktop app in dev mode'));
81
+ console.log(chalk_1.default.cyan(' npm run nextdesk:build # Build desktop app for production\n'));
82
82
  }
83
83
  catch (err) {
84
84
  spinner.fail(`Initialization failed: ${err.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextdesk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Turn your Next.js app into a 5MB desktop app in 30 seconds",
5
5
  "bin": {
6
6
  "nextdesk": "./dist/index.js"
@@ -77,22 +77,22 @@ export async function init(options: InitOptions) {
77
77
  packageJson.scripts = {}
78
78
  }
79
79
 
80
- if (!packageJson.scripts['mydesk:dev']) {
81
- packageJson.scripts['mydesk:dev'] = 'mydesk dev'
80
+ if (!packageJson.scripts['nextdesk:dev']) {
81
+ packageJson.scripts['nextdesk:dev'] = 'nextdesk dev'
82
82
  }
83
- if (!packageJson.scripts['mydesk:build']) {
84
- packageJson.scripts['mydesk:build'] = 'mydesk build'
83
+ if (!packageJson.scripts['nextdesk:build']) {
84
+ packageJson.scripts['nextdesk:build'] = 'nextdesk build'
85
85
  }
86
86
 
87
87
  fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n')
88
88
  }
89
89
 
90
- spinner.succeed('MyDesk initialized!')
90
+ spinner.succeed('NextDesk initialized!')
91
91
 
92
92
  console.log(chalk.bold('\n✨ All set!\n'))
93
93
  console.log(chalk.gray(' Run these commands:'))
94
- console.log(chalk.cyan(' npm run mydesk:dev # Start desktop app in dev mode'))
95
- console.log(chalk.cyan(' npm run mydesk:build # Build desktop app for production\n'))
94
+ console.log(chalk.cyan(' npm run nextdesk:dev # Start desktop app in dev mode'))
95
+ console.log(chalk.cyan(' npm run nextdesk:build # Build desktop app for production\n'))
96
96
 
97
97
  } catch (err: any) {
98
98
  spinner.fail(`Initialization failed: ${err.message}`)