@jayfong/x-server 2.80.1 → 2.80.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/lib/_cjs/cli/build_util.js +2 -2
- package/lib/_cjs/cli/cli.js +1 -0
- package/lib/cli/build_util.d.ts +1 -0
- package/lib/cli/build_util.js +2 -2
- package/lib/cli/cli.js +1 -0
- package/package.json +1 -1
|
@@ -197,7 +197,7 @@ class BuildUtil {
|
|
|
197
197
|
return res;
|
|
198
198
|
}, {});
|
|
199
199
|
const distPkgContent = {
|
|
200
|
-
name:
|
|
200
|
+
name: options.appId,
|
|
201
201
|
version: pkgContent.version,
|
|
202
202
|
dependencies: deps
|
|
203
203
|
};
|
|
@@ -215,7 +215,7 @@ class BuildUtil {
|
|
|
215
215
|
module.exports = {
|
|
216
216
|
apps: [
|
|
217
217
|
{
|
|
218
|
-
name: ${JSON.stringify(
|
|
218
|
+
name: ${JSON.stringify(distPkgContent.name)},
|
|
219
219
|
script: './main.js',
|
|
220
220
|
...(${JSON.stringify(hasNvmrc ? {
|
|
221
221
|
interpreter: 'fnm',
|
package/lib/_cjs/cli/cli.js
CHANGED
package/lib/cli/build_util.d.ts
CHANGED
package/lib/cli/build_util.js
CHANGED
|
@@ -191,7 +191,7 @@ export class BuildUtil {
|
|
|
191
191
|
return res;
|
|
192
192
|
}, {});
|
|
193
193
|
const distPkgContent = {
|
|
194
|
-
name:
|
|
194
|
+
name: options.appId,
|
|
195
195
|
version: pkgContent.version,
|
|
196
196
|
dependencies: deps
|
|
197
197
|
};
|
|
@@ -209,7 +209,7 @@ export class BuildUtil {
|
|
|
209
209
|
module.exports = {
|
|
210
210
|
apps: [
|
|
211
211
|
{
|
|
212
|
-
name: ${JSON.stringify(
|
|
212
|
+
name: ${JSON.stringify(distPkgContent.name)},
|
|
213
213
|
script: './main.js',
|
|
214
214
|
...(${JSON.stringify(hasNvmrc ? {
|
|
215
215
|
interpreter: 'fnm',
|
package/lib/cli/cli.js
CHANGED