scripting-cli 1.1.1 → 1.1.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.
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
package/dist/index.js
CHANGED
|
@@ -367,7 +367,7 @@ function startServer(port) {
|
|
|
367
367
|
createVSCodeSettings(); // Create vscode settings.json when the server starts
|
|
368
368
|
const ipAddress = ip_1.default.address();
|
|
369
369
|
const address = `http://${ipAddress}:${PORT}`;
|
|
370
|
-
console.log(`Server listening on ${chalk_1.default.blue(address)}\nYou can select this server in the Scripting app to connect.`);
|
|
370
|
+
console.log(`Server listening on ${chalk_1.default.bold.blue(address)}\nYou can select this server in the Scripting app to connect.`);
|
|
371
371
|
bonjour.publish({ name: 'Scripting-service', type: 'http', port: PORT });
|
|
372
372
|
process.on('SIGINT', () => {
|
|
373
373
|
bonjour.unpublishAll(() => {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -71,6 +71,7 @@ function startServer(port?: number) {
|
|
|
71
71
|
"skipLibCheck": true,
|
|
72
72
|
"jsx": "react",
|
|
73
73
|
"jsxFactory": "createElement",
|
|
74
|
+
"jsxFragmentFactory": "Fragment",
|
|
74
75
|
"paths": {
|
|
75
76
|
"scripting": [
|
|
76
77
|
"./dts/scripting.d.ts"
|
|
@@ -440,7 +441,7 @@ function startServer(port?: number) {
|
|
|
440
441
|
const ipAddress = ip.address()
|
|
441
442
|
const address = `http://${ipAddress}:${PORT}`;
|
|
442
443
|
|
|
443
|
-
console.log(`Server listening on ${chalk.blue(address)}\nYou can select this server in the Scripting app to connect.`);
|
|
444
|
+
console.log(`Server listening on ${chalk.bold.blue(address)}\nYou can select this server in the Scripting app to connect.`);
|
|
444
445
|
|
|
445
446
|
bonjour.publish({ name: 'Scripting-service', type: 'http', port: PORT });
|
|
446
447
|
|