diff --git a/package-lock.json b/package-lock.json index 1946700b..a6112490 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "packages/plugin-runtime", "packages/plugin-runtime-types", "plugins-external/mcp-server", - "plugins/template-function-faker", + "plugins-external/faker", "plugins-external/httpsnippet", "plugins/action-copy-curl", "plugins/action-copy-grpcurl", @@ -4154,7 +4154,7 @@ "link": true }, "node_modules/@yaak/faker": { - "resolved": "plugins/template-function-faker", + "resolved": "plugins-external/faker", "link": true }, "node_modules/@yaak/filter-jsonpath": { @@ -15957,6 +15957,33 @@ "undici-types": "~7.16.0" } }, + "plugins-external/faker": { + "name": "@yaak/faker", + "version": "1.1.1", + "dependencies": { + "@faker-js/faker": "^10.1.0" + }, + "devDependencies": { + "@types/node": "^25.0.3", + "typescript": "^5.9.3" + } + }, + "plugins-external/faker/node_modules/@faker-js/faker": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-10.3.0.tgz", + "integrity": "sha512-It0Sne6P3szg7JIi6CgKbvTZoMjxBZhcv91ZrqrNuaZQfB5WoqYYbzCUOq89YR+VY8juY9M1vDWmDDa2TzfXCw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/fakerjs" + } + ], + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.13.0 || ^23.5.0 || >=24.0.0", + "npm": ">=10" + } + }, "plugins-external/httpsnippet": { "name": "@yaak/httpsnippet", "version": "1.0.3", @@ -16139,33 +16166,6 @@ "name": "@yaak/template-function-encode", "version": "0.1.0" }, - "plugins/template-function-faker": { - "name": "@yaak/faker", - "version": "1.1.1", - "dependencies": { - "@faker-js/faker": "^10.1.0" - }, - "devDependencies": { - "@types/node": "^25.0.3", - "typescript": "^5.9.3" - } - }, - "plugins/template-function-faker/node_modules/@faker-js/faker": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-10.3.0.tgz", - "integrity": "sha512-It0Sne6P3szg7JIi6CgKbvTZoMjxBZhcv91ZrqrNuaZQfB5WoqYYbzCUOq89YR+VY8juY9M1vDWmDDa2TzfXCw==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/fakerjs" - } - ], - "license": "MIT", - "engines": { - "node": "^20.19.0 || ^22.13.0 || ^23.5.0 || >=24.0.0", - "npm": ">=10" - } - }, "plugins/template-function-fs": { "name": "@yaak/template-function-fs", "version": "0.1.0" diff --git a/package.json b/package.json index 3a9d76df..2f03a786 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "packages/plugin-runtime", "packages/plugin-runtime-types", "plugins-external/mcp-server", - "plugins/template-function-faker", + "plugins-external/faker", "plugins-external/httpsnippet", "plugins/action-copy-curl", "plugins/action-copy-grpcurl", diff --git a/plugins/template-function-faker/README.md b/plugins-external/faker/README.md similarity index 100% rename from plugins/template-function-faker/README.md rename to plugins-external/faker/README.md diff --git a/plugins/template-function-faker/package.json b/plugins-external/faker/package.json similarity index 91% rename from plugins/template-function-faker/package.json rename to plugins-external/faker/package.json index 5e281288..b5d00a7e 100755 --- a/plugins/template-function-faker/package.json +++ b/plugins-external/faker/package.json @@ -7,7 +7,7 @@ "repository": { "type": "git", "url": "https://github.com/mountain-loop/yaak.git", - "directory": "plugins/template-function-faker" + "directory": "plugins-external/faker" }, "scripts": { "build": "yaakcli build", diff --git a/plugins/template-function-faker/src/index.ts b/plugins-external/faker/src/index.ts similarity index 100% rename from plugins/template-function-faker/src/index.ts rename to plugins-external/faker/src/index.ts diff --git a/plugins/template-function-faker/tests/__snapshots__/init.test.ts.snap b/plugins-external/faker/tests/__snapshots__/init.test.ts.snap similarity index 100% rename from plugins/template-function-faker/tests/__snapshots__/init.test.ts.snap rename to plugins-external/faker/tests/__snapshots__/init.test.ts.snap diff --git a/plugins/template-function-faker/tests/init.test.ts b/plugins-external/faker/tests/init.test.ts similarity index 100% rename from plugins/template-function-faker/tests/init.test.ts rename to plugins-external/faker/tests/init.test.ts diff --git a/plugins/template-function-faker/tsconfig.json b/plugins-external/faker/tsconfig.json similarity index 100% rename from plugins/template-function-faker/tsconfig.json rename to plugins-external/faker/tsconfig.json