yap2app 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/bin/cli.bundle.js +4 -2
- package/bin/cli.js +4 -2
- package/bridge.js +1 -1
- package/package.json +3 -3
package/bin/cli.bundle.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'module';
|
|
3
|
+
const require = createRequire(import.meta.url);
|
|
2
4
|
var __create = Object.create;
|
|
3
5
|
var __defProp = Object.defineProperty;
|
|
4
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -7580,7 +7582,7 @@ var fs2 = fsSync2.promises || {
|
|
|
7580
7582
|
var PORT = Number(process.env.YAP2APP_PORT) || 10420;
|
|
7581
7583
|
var PROJECT_ROOT = process.cwd();
|
|
7582
7584
|
var PAIR_CODE = (process.env.YAP2APP_PAIR_CODE || "Y2A-" + Math.floor(1e3 + Math.random() * 9e3)).toUpperCase();
|
|
7583
|
-
var CLI_VERSION = "1.2.
|
|
7585
|
+
var CLI_VERSION = "1.2.3";
|
|
7584
7586
|
function getGitUserEmail() {
|
|
7585
7587
|
try {
|
|
7586
7588
|
const email2 = execSync("git config user.email", { encoding: "utf8", stdio: ["pipe", "pipe", "ignore"] }).trim();
|
package/bin/cli.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'module';
|
|
3
|
+
const require = createRequire(import.meta.url);
|
|
2
4
|
var __create = Object.create;
|
|
3
5
|
var __defProp = Object.defineProperty;
|
|
4
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -7580,7 +7582,7 @@ var fs2 = fsSync2.promises || {
|
|
|
7580
7582
|
var PORT = Number(process.env.YAP2APP_PORT) || 10420;
|
|
7581
7583
|
var PROJECT_ROOT = process.cwd();
|
|
7582
7584
|
var PAIR_CODE = (process.env.YAP2APP_PAIR_CODE || "Y2A-" + Math.floor(1e3 + Math.random() * 9e3)).toUpperCase();
|
|
7583
|
-
var CLI_VERSION = "1.2.
|
|
7585
|
+
var CLI_VERSION = "1.2.3";
|
|
7584
7586
|
function getGitUserEmail() {
|
|
7585
7587
|
try {
|
|
7586
7588
|
const email2 = execSync("git config user.email", { encoding: "utf8", stdio: ["pipe", "pipe", "ignore"] }).trim();
|
package/bridge.js
CHANGED
|
@@ -16,7 +16,7 @@ const fs = fsSync.promises || {
|
|
|
16
16
|
const PORT = Number(process.env.YAP2APP_PORT) || 10420;
|
|
17
17
|
const PROJECT_ROOT = process.cwd();
|
|
18
18
|
const PAIR_CODE = (process.env.YAP2APP_PAIR_CODE || ('Y2A-' + Math.floor(1000 + Math.random() * 9000))).toUpperCase();
|
|
19
|
-
const CLI_VERSION = '1.2.
|
|
19
|
+
const CLI_VERSION = '1.2.3';
|
|
20
20
|
|
|
21
21
|
function getGitUserEmail() {
|
|
22
22
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yap2app",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Autonomous Vibe-to-Prod Localhost Bridge & Model Context Protocol (MCP) Server",
|
|
6
6
|
"main": "bin/cli.bundle.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"registry": "https://registry.npmjs.org/"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "npx esbuild bin/cli-esm.js --bundle --platform=node --target=node18 --format=esm --banner:js=\"
|
|
28
|
-
"start": "
|
|
27
|
+
"build": "npx esbuild bin/cli-esm.js --bundle --platform=node --target=node18 --format=esm --banner:js=\"#!/usr/bin/env node\nimport { createRequire } from 'module';\nconst require = createRequire(import.meta.url);\" --outfile=bin/cli.bundle.js && cp bin/cli.bundle.js bin/cli.js && chmod +x bin/cli.js bin/cli.bundle.js",
|
|
28
|
+
"start": "./bin/cli.js start",
|
|
29
29
|
"bridge": "node ./bin/cli.js bridge",
|
|
30
30
|
"mcp": "node ./bin/cli.js mcp",
|
|
31
31
|
"scan": "node ./bin/cli.js scan"
|