frontmcp 0.1.8 → 0.2.0
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/cli.js +5 -3
- package/dist/version.js +1 -1
- package/package.json +5 -5
- package/src/cli.ts +5 -3
- package/src/version.ts +1 -1
package/dist/cli.js
CHANGED
|
@@ -299,7 +299,7 @@ const RECOMMENDED_TSCONFIG = {
|
|
|
299
299
|
module: REQUIRED_DECORATOR_FIELDS.module,
|
|
300
300
|
emitDecoratorMetadata: REQUIRED_DECORATOR_FIELDS.emitDecoratorMetadata,
|
|
301
301
|
experimentalDecorators: REQUIRED_DECORATOR_FIELDS.experimentalDecorators,
|
|
302
|
-
moduleResolution: '
|
|
302
|
+
moduleResolution: 'node',
|
|
303
303
|
strict: true,
|
|
304
304
|
esModuleInterop: true,
|
|
305
305
|
resolveJsonModule: true,
|
|
@@ -478,7 +478,7 @@ function upsertPackageJson(cwd, nameOverride, selfVersion) {
|
|
|
478
478
|
name: nameOverride !== null && nameOverride !== void 0 ? nameOverride : pkgNameFromCwd(cwd),
|
|
479
479
|
version: '0.1.0',
|
|
480
480
|
private: true,
|
|
481
|
-
type: '
|
|
481
|
+
type: 'commonjs',
|
|
482
482
|
main: 'src/main.ts',
|
|
483
483
|
scripts: {
|
|
484
484
|
dev: 'frontmcp dev',
|
|
@@ -491,13 +491,15 @@ function upsertPackageJson(cwd, nameOverride, selfVersion) {
|
|
|
491
491
|
npm: '>=10',
|
|
492
492
|
},
|
|
493
493
|
dependencies: {
|
|
494
|
-
'@frontmcp/sdk': '^0.
|
|
494
|
+
'@frontmcp/sdk': '^0.2.0',
|
|
495
|
+
'@frontmcp/core': '^0.2.0',
|
|
495
496
|
zod: '^3.23.8',
|
|
496
497
|
'reflect-metadata': '^0.2.2',
|
|
497
498
|
},
|
|
498
499
|
devDependencies: {
|
|
499
500
|
frontmcp: selfVersion, // exact CLI version used by npx
|
|
500
501
|
tsx: '^4.20.6',
|
|
502
|
+
"@types/node": "^20.11.30",
|
|
501
503
|
typescript: '^5.5.3',
|
|
502
504
|
},
|
|
503
505
|
};
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frontmcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "FrontMCP command line interface",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"prepare": "npm run build"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@frontmcp/sdk": "^0.
|
|
16
|
-
"@frontmcp/core": "^0.
|
|
17
|
-
"@frontmcp/plugins": "^0.
|
|
18
|
-
"@frontmcp/adapters": "^0.
|
|
15
|
+
"@frontmcp/sdk": "^0.2.0",
|
|
16
|
+
"@frontmcp/core": "^0.2.0",
|
|
17
|
+
"@frontmcp/plugins": "^0.2.0",
|
|
18
|
+
"@frontmcp/adapters": "^0.2.0",
|
|
19
19
|
"tsx": "^4.16.0",
|
|
20
20
|
"typescript": "^5.5.3"
|
|
21
21
|
},
|
package/src/cli.ts
CHANGED
|
@@ -274,7 +274,7 @@ const RECOMMENDED_TSCONFIG = {
|
|
|
274
274
|
emitDecoratorMetadata: REQUIRED_DECORATOR_FIELDS.emitDecoratorMetadata,
|
|
275
275
|
experimentalDecorators: REQUIRED_DECORATOR_FIELDS.experimentalDecorators,
|
|
276
276
|
|
|
277
|
-
moduleResolution: '
|
|
277
|
+
moduleResolution: 'node',
|
|
278
278
|
strict: true,
|
|
279
279
|
esModuleInterop: true,
|
|
280
280
|
resolveJsonModule: true,
|
|
@@ -450,7 +450,7 @@ async function upsertPackageJson(cwd: string, nameOverride: string | undefined,
|
|
|
450
450
|
name: nameOverride ?? pkgNameFromCwd(cwd),
|
|
451
451
|
version: '0.1.0',
|
|
452
452
|
private: true,
|
|
453
|
-
type: '
|
|
453
|
+
type: 'commonjs',
|
|
454
454
|
main: 'src/main.ts',
|
|
455
455
|
scripts: {
|
|
456
456
|
dev: 'frontmcp dev',
|
|
@@ -463,13 +463,15 @@ async function upsertPackageJson(cwd: string, nameOverride: string | undefined,
|
|
|
463
463
|
npm: '>=10',
|
|
464
464
|
},
|
|
465
465
|
dependencies: {
|
|
466
|
-
'@frontmcp/sdk': '^0.
|
|
466
|
+
'@frontmcp/sdk': '^0.2.0',
|
|
467
|
+
'@frontmcp/core': '^0.2.0',
|
|
467
468
|
zod: '^3.23.8',
|
|
468
469
|
'reflect-metadata': '^0.2.2',
|
|
469
470
|
},
|
|
470
471
|
devDependencies: {
|
|
471
472
|
frontmcp: selfVersion, // exact CLI version used by npx
|
|
472
473
|
tsx: '^4.20.6',
|
|
474
|
+
"@types/node": "^20.11.30",
|
|
473
475
|
typescript: '^5.5.3',
|
|
474
476
|
},
|
|
475
477
|
};
|
package/src/version.ts
CHANGED