@cappa/cli 0.0.4 → 0.0.6
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/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["loadedPlugins: PluginDef[]","results: Array<Config>","ScreenshotTool"],"sources":["../package.json","../src/utils/getPlugins.ts","../src/utils/getConfig.ts","../src/utils/getCosmiConfig.ts","../src/index.ts"],"sourcesContent":["{\n \"name\": \"@cappa/cli\",\n \"version\": \"0.0.
|
|
1
|
+
{"version":3,"file":"index.js","names":["loadedPlugins: PluginDef[]","results: Array<Config>","ScreenshotTool"],"sources":["../package.json","../src/utils/getPlugins.ts","../src/utils/getConfig.ts","../src/utils/getCosmiConfig.ts","../src/index.ts"],"sourcesContent":["{\n \"name\": \"@cappa/cli\",\n \"version\": \"0.0.5\",\n \"description\": \"Command line interface for Cappa\",\n \"author\": \"Tim Richter\",\n \"keywords\": [\n \"screenshot\",\n \"cli\"\n ],\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"license\": \"MIT\",\n \"main\": \"./dist/index.js\",\n \"module\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"import\": \"./dist/index.mjs\",\n \"require\": \"./dist/index.js\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"bin\",\n \"package.json\",\n \"README.md\",\n \"LICENSE\"\n ],\n \"bin\": {\n \"cappa\": \"./bin/cappa.cjs\"\n },\n \"scripts\": {\n \"test\": \"vitest\",\n \"screenshot\": \"node src/index.ts\",\n \"build\": \"tsdown\"\n },\n \"dependencies\": {\n \"@cappa/core\": \"workspace:*\",\n \"citty\": \"0.1.6\",\n \"consola\": \"3.4.2\",\n \"cosmiconfig\": \"9.0.0\",\n \"jiti\": \"2.5.1\",\n \"picocolors\": \"1.1.1\",\n \"ts-node\": \"10.9.2\"\n },\n \"devDependencies\": {\n \"@types/node\": \"catalog:\",\n \"tsdown\": \"catalog:\",\n \"vitest\": \"catalog:\",\n \"@vitest/ui\": \"catalog:\",\n \"@vitest/coverage-v8\": \"catalog:\",\n \"typescript\": \"catalog:\"\n }\n}\n","import type { UserConfig, PluginDef } from \"@cappa/core\";\n\nexport async function getPlugins(\n plugins: UserConfig[\"plugins\"]\n): Promise<PluginDef[]> {\n if (!plugins) {\n return [];\n }\n\n const loadedPlugins: PluginDef[] = [];\n\n for (const plugin of plugins) {\n if (typeof plugin === \"function\") {\n // Plugin is a function that returns PluginDef\n const pluginDef = plugin();\n loadedPlugins.push(pluginDef);\n } else {\n // Plugin is already a PluginDef\n loadedPlugins.push(plugin);\n }\n }\n\n return loadedPlugins;\n}\n\nexport function isPromise(value: unknown): value is Promise<unknown> {\n return (\n value !== null &&\n typeof value === \"object\" &&\n \"then\" in value &&\n typeof (value as any).then === \"function\"\n );\n}\n","import { getPlugins, isPromise } from \"./getPlugins\";\n\nimport type { UserConfig } from \"@cappa/core\";\nimport type { CosmiconfigResult } from \"./getCosmiConfig.ts\";\nimport type { Config } from \"cosmiconfig\";\n\n/**\n * Converting UserConfig to Config without a change in the object beside the JSON convert.\n */\nexport async function getConfig(\n result: CosmiconfigResult\n): Promise<Array<Config> | Config> {\n const config = result?.config;\n let kubbUserConfig = Promise.resolve(config) as Promise<\n UserConfig | Array<UserConfig>\n >;\n\n // for ts or js files\n if (typeof config === \"function\") {\n const possiblePromise = config();\n if (isPromise(possiblePromise)) {\n kubbUserConfig = possiblePromise as Promise<\n UserConfig | Array<UserConfig>\n >;\n }\n kubbUserConfig = Promise.resolve(possiblePromise);\n }\n\n let JSONConfig = await kubbUserConfig;\n\n if (Array.isArray(JSONConfig)) {\n const results: Array<Config> = [];\n\n for (const item of JSONConfig) {\n const plugins = item.plugins ? await getPlugins(item.plugins) : undefined;\n\n results.push({\n ...item,\n plugins,\n } as Config);\n }\n\n return results;\n }\n\n JSONConfig = {\n ...JSONConfig,\n plugins: JSONConfig.plugins\n ? await getPlugins(JSONConfig.plugins)\n : undefined,\n };\n\n return JSONConfig as Config;\n}\n","import { cosmiconfig } from \"cosmiconfig\";\nimport { createJiti } from \"jiti\";\n\nimport type { UserConfig, defineConfig } from \"@cappa/core\";\n\nexport type CosmiconfigResult = {\n filepath: string;\n isEmpty?: boolean;\n config: ReturnType<typeof defineConfig> | UserConfig;\n};\n\nconst tsLoader = async (configFile: string) => {\n const jiti = createJiti(import.meta.url, {\n jsx: {\n runtime: \"automatic\",\n importSource: \"@cappa/core\",\n },\n sourceMaps: true,\n });\n\n const mod = await jiti.import(configFile, { default: true });\n\n return mod;\n};\n\nexport async function getCosmiConfig(\n moduleName: string,\n config?: string\n): Promise<CosmiconfigResult> {\n const searchPlaces = [\n \"package.json\",\n `.${moduleName}rc`,\n `.${moduleName}rc.json`,\n `.${moduleName}rc.yaml`,\n `.${moduleName}rc.yml`,\n\n `.${moduleName}rc.ts`,\n `.${moduleName}rc.js`,\n `.${moduleName}rc.mjs`,\n `.${moduleName}rc.cjs`,\n\n `${moduleName}.config.ts`,\n `${moduleName}.config.js`,\n `${moduleName}.config.mjs`,\n `${moduleName}.config.cjs`,\n ];\n const explorer = cosmiconfig(moduleName, {\n cache: false,\n searchPlaces: [\n ...searchPlaces.map((searchPlace) => {\n return `.config/${searchPlace}`;\n }),\n ...searchPlaces.map((searchPlace) => {\n return `configs/${searchPlace}`;\n }),\n ...searchPlaces,\n ],\n loaders: {\n \".ts\": tsLoader,\n },\n });\n\n const result = config ? await explorer.load(config) : await explorer.search();\n\n if (result?.isEmpty || !result || !result.config) {\n throw new Error(\n \"Config not defined, create a cappa.config.js or pass through your config with the option --config\"\n );\n }\n\n return result as CosmiconfigResult;\n}\n","import { defineCommand, runMain } from \"citty\";\nimport consola from \"consola\";\nimport { version } from \"../package.json\";\nimport { getConfig } from \"./utils/getConfig\";\nimport { getCosmiConfig } from \"./utils/getCosmiConfig\";\nimport { type PluginDef, ScreenshotTool } from \"@cappa/core\";\n\nconst name = \"cappa\";\n\nconst main = defineCommand({\n meta: {\n name,\n version,\n description: \"Cappa CLI\",\n },\n async setup() {\n consola.log(\"Cappa CLI:\");\n\n const result = await getCosmiConfig(\"cappa\");\n const config = await getConfig(result);\n\n consola.log(config);\n\n const screenshotTool = new ScreenshotTool({});\n await screenshotTool.init();\n\n try {\n // Wait for all plugins to complete\n for (const plugin of config.plugins) {\n await plugin.execute(screenshotTool);\n }\n } finally {\n // Always close the browser to ensure the process exits\n await screenshotTool.close();\n }\n },\n});\n\nexport async function run(_argv?: string[]): Promise<void> {\n await runMain(main);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEa;;;;ACAb,eAAsB,WACpB,SACsB;AACtB,KAAI,CAAC,QACH,QAAO,EAAE;CAGX,MAAMA,gBAA6B,EAAE;AAErC,MAAK,MAAM,UAAU,QACnB,KAAI,OAAO,WAAW,YAAY;EAEhC,MAAM,YAAY,QAAQ;AAC1B,gBAAc,KAAK,UAAU;OAG7B,eAAc,KAAK,OAAO;AAI9B,QAAO;;AAGT,SAAgB,UAAU,OAA2C;AACnE,QACE,UAAU,QACV,OAAO,UAAU,YACjB,UAAU,SACV,OAAQ,MAAc,SAAS;;;;;;;;ACrBnC,eAAsB,UACpB,QACiC;CACjC,MAAM,SAAS,QAAQ;CACvB,IAAI,iBAAiB,QAAQ,QAAQ,OAAO;AAK5C,KAAI,OAAO,WAAW,YAAY;EAChC,MAAM,kBAAkB,QAAQ;AAChC,MAAI,UAAU,gBAAgB,CAC5B,kBAAiB;AAInB,mBAAiB,QAAQ,QAAQ,gBAAgB;;CAGnD,IAAI,aAAa,MAAM;AAEvB,KAAI,MAAM,QAAQ,WAAW,EAAE;EAC7B,MAAMC,UAAyB,EAAE;AAEjC,OAAK,MA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AO;AAEtC,kBAAQ,IAAI,OAAO;EAEnB,MAAM,iBAAiB,IAAIC,4BAAe,EAAE,CAAC;AAC7C,QAAM,eAAe,MAAM;AAE3B,MAAI;AAEF,QAAK,MAAM,UAAU,OAAO,QAC1B,OAAM,OAAO,QAAQ,eAAe;YAE9B;AAER,SAAM,eAAe,OAAO;;;CAGjC,CAAC;AAEF,eAAsB,IAAI,OAAiC;AACzD,0BAAc,KAAK"}
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["loadedPlugins: PluginDef[]","results: Array<Config>"],"sources":["../package.json","../src/utils/getPlugins.ts","../src/utils/getConfig.ts","../src/utils/getCosmiConfig.ts","../src/index.ts"],"sourcesContent":["{\n \"name\": \"@cappa/cli\",\n \"version\": \"0.0.
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["loadedPlugins: PluginDef[]","results: Array<Config>"],"sources":["../package.json","../src/utils/getPlugins.ts","../src/utils/getConfig.ts","../src/utils/getCosmiConfig.ts","../src/index.ts"],"sourcesContent":["{\n \"name\": \"@cappa/cli\",\n \"version\": \"0.0.5\",\n \"description\": \"Command line interface for Cappa\",\n \"author\": \"Tim Richter\",\n \"keywords\": [\n \"screenshot\",\n \"cli\"\n ],\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"license\": \"MIT\",\n \"main\": \"./dist/index.js\",\n \"module\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"import\": \"./dist/index.mjs\",\n \"require\": \"./dist/index.js\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"bin\",\n \"package.json\",\n \"README.md\",\n \"LICENSE\"\n ],\n \"bin\": {\n \"cappa\": \"./bin/cappa.cjs\"\n },\n \"scripts\": {\n \"test\": \"vitest\",\n \"screenshot\": \"node src/index.ts\",\n \"build\": \"tsdown\"\n },\n \"dependencies\": {\n \"@cappa/core\": \"workspace:*\",\n \"citty\": \"0.1.6\",\n \"consola\": \"3.4.2\",\n \"cosmiconfig\": \"9.0.0\",\n \"jiti\": \"2.5.1\",\n \"picocolors\": \"1.1.1\",\n \"ts-node\": \"10.9.2\"\n },\n \"devDependencies\": {\n \"@types/node\": \"catalog:\",\n \"tsdown\": \"catalog:\",\n \"vitest\": \"catalog:\",\n \"@vitest/ui\": \"catalog:\",\n \"@vitest/coverage-v8\": \"catalog:\",\n \"typescript\": \"catalog:\"\n }\n}\n","import type { UserConfig, PluginDef } from \"@cappa/core\";\n\nexport async function getPlugins(\n plugins: UserConfig[\"plugins\"]\n): Promise<PluginDef[]> {\n if (!plugins) {\n return [];\n }\n\n const loadedPlugins: PluginDef[] = [];\n\n for (const plugin of plugins) {\n if (typeof plugin === \"function\") {\n // Plugin is a function that returns PluginDef\n const pluginDef = plugin();\n loadedPlugins.push(pluginDef);\n } else {\n // Plugin is already a PluginDef\n loadedPlugins.push(plugin);\n }\n }\n\n return loadedPlugins;\n}\n\nexport function isPromise(value: unknown): value is Promise<unknown> {\n return (\n value !== null &&\n typeof value === \"object\" &&\n \"then\" in value &&\n typeof (value as any).then === \"function\"\n );\n}\n","import { getPlugins, isPromise } from \"./getPlugins\";\n\nimport type { UserConfig } from \"@cappa/core\";\nimport type { CosmiconfigResult } from \"./getCosmiConfig.ts\";\nimport type { Config } from \"cosmiconfig\";\n\n/**\n * Converting UserConfig to Config without a change in the object beside the JSON convert.\n */\nexport async function getConfig(\n result: CosmiconfigResult\n): Promise<Array<Config> | Config> {\n const config = result?.config;\n let kubbUserConfig = Promise.resolve(config) as Promise<\n UserConfig | Array<UserConfig>\n >;\n\n // for ts or js files\n if (typeof config === \"function\") {\n const possiblePromise = config();\n if (isPromise(possiblePromise)) {\n kubbUserConfig = possiblePromise as Promise<\n UserConfig | Array<UserConfig>\n >;\n }\n kubbUserConfig = Promise.resolve(possiblePromise);\n }\n\n let JSONConfig = await kubbUserConfig;\n\n if (Array.isArray(JSONConfig)) {\n const results: Array<Config> = [];\n\n for (const item of JSONConfig) {\n const plugins = item.plugins ? await getPlugins(item.plugins) : undefined;\n\n results.push({\n ...item,\n plugins,\n } as Config);\n }\n\n return results;\n }\n\n JSONConfig = {\n ...JSONConfig,\n plugins: JSONConfig.plugins\n ? await getPlugins(JSONConfig.plugins)\n : undefined,\n };\n\n return JSONConfig as Config;\n}\n","import { cosmiconfig } from \"cosmiconfig\";\nimport { createJiti } from \"jiti\";\n\nimport type { UserConfig, defineConfig } from \"@cappa/core\";\n\nexport type CosmiconfigResult = {\n filepath: string;\n isEmpty?: boolean;\n config: ReturnType<typeof defineConfig> | UserConfig;\n};\n\nconst tsLoader = async (configFile: string) => {\n const jiti = createJiti(import.meta.url, {\n jsx: {\n runtime: \"automatic\",\n importSource: \"@cappa/core\",\n },\n sourceMaps: true,\n });\n\n const mod = await jiti.import(configFile, { default: true });\n\n return mod;\n};\n\nexport async function getCosmiConfig(\n moduleName: string,\n config?: string\n): Promise<CosmiconfigResult> {\n const searchPlaces = [\n \"package.json\",\n `.${moduleName}rc`,\n `.${moduleName}rc.json`,\n `.${moduleName}rc.yaml`,\n `.${moduleName}rc.yml`,\n\n `.${moduleName}rc.ts`,\n `.${moduleName}rc.js`,\n `.${moduleName}rc.mjs`,\n `.${moduleName}rc.cjs`,\n\n `${moduleName}.config.ts`,\n `${moduleName}.config.js`,\n `${moduleName}.config.mjs`,\n `${moduleName}.config.cjs`,\n ];\n const explorer = cosmiconfig(moduleName, {\n cache: false,\n searchPlaces: [\n ...searchPlaces.map((searchPlace) => {\n return `.config/${searchPlace}`;\n }),\n ...searchPlaces.map((searchPlace) => {\n return `configs/${searchPlace}`;\n }),\n ...searchPlaces,\n ],\n loaders: {\n \".ts\": tsLoader,\n },\n });\n\n const result = config ? await explorer.load(config) : await explorer.search();\n\n if (result?.isEmpty || !result || !result.config) {\n throw new Error(\n \"Config not defined, create a cappa.config.js or pass through your config with the option --config\"\n );\n }\n\n return result as CosmiconfigResult;\n}\n","import { defineCommand, runMain } from \"citty\";\nimport consola from \"consola\";\nimport { version } from \"../package.json\";\nimport { getConfig } from \"./utils/getConfig\";\nimport { getCosmiConfig } from \"./utils/getCosmiConfig\";\nimport { type PluginDef, ScreenshotTool } from \"@cappa/core\";\n\nconst name = \"cappa\";\n\nconst main = defineCommand({\n meta: {\n name,\n version,\n description: \"Cappa CLI\",\n },\n async setup() {\n consola.log(\"Cappa CLI:\");\n\n const result = await getCosmiConfig(\"cappa\");\n const config = await getConfig(result);\n\n consola.log(config);\n\n const screenshotTool = new ScreenshotTool({});\n await screenshotTool.init();\n\n try {\n // Wait for all plugins to complete\n for (const plugin of config.plugins) {\n await plugin.execute(screenshotTool);\n }\n } finally {\n // Always close the browser to ensure the process exits\n await screenshotTool.close();\n }\n },\n});\n\nexport async function run(_argv?: string[]): Promise<void> {\n await runMain(main);\n}\n"],"mappings":";;;;;;;cAEa;;;;ACAb,eAAsB,WACpB,SACsB;AACtB,KAAI,CAAC,QACH,QAAO,EAAE;CAGX,MAAMA,gBAA6B,EAAE;AAErC,MAAK,MAAM,UAAU,QACnB,KAAI,OAAO,WAAW,YAAY;EAEhC,MAAM,YAAY,QAAQ;AAC1B,gBAAc,KAAK,UAAU;OAG7B,eAAc,KAAK,OAAO;AAI9B,QAAO;;AAGT,SAAgB,UAAU,OAA2C;AACnE,QACE,UAAU,QACV,OAAO,UAAU,YACjB,UAAU,SACV,OAAQ,MAAc,SAAS;;;;;;;;ACrBnC,eAAsB,UACpB,QACiC;CACjC,MAAM,SAAS,QAAQ;CACvB,IAAI,iBAAiB,QAAQ,QAAQ,OAAO;AAK5C,KAAI,OAAO,WAAW,YAAY;EAChC,MAAM,kBAAkB,QAAQ;AAChC,MAAI,UAAU,gBAAgB,CAC5B,kBAAiB;AAInB,mBAAiB,QAAQ,QAAQ,gBAAgB;;CAGnD,IAAI,aAAa,MAAM;AAEvB,KAAI,MAAM,QAAQ,WAAW,EAAE;EAC7B,MAAMC,UAA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AAM,eAAe,QAAQ;EAC5C,MAAM,SAAS,MAAM,UAAU,OAAO;AAEtC,UAAQ,IAAI,OAAO;EAEnB,MAAM,iBAAiB,IAAI,eAAe,EAAE,CAAC;AAC7C,QAAM,eAAe,MAAM;AAE3B,MAAI;AAEF,QAAK,MAAM,UAAU,OAAO,QAC1B,OAAM,OAAO,QAAQ,eAAe;YAE9B;AAER,SAAM,eAAe,OAAO;;;CAGjC,CAAC;AAEF,eAAsB,IAAI,OAAiC;AACzD,OAAM,QAAQ,KAAK"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cappa/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Command line interface for Cappa",
|
|
5
5
|
"author": "Tim Richter",
|
|
6
6
|
"keywords": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"jiti": "2.5.1",
|
|
39
39
|
"picocolors": "1.1.1",
|
|
40
40
|
"ts-node": "10.9.2",
|
|
41
|
-
"@cappa/core": "0.0.
|
|
41
|
+
"@cappa/core": "0.0.6"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "22.13.10",
|