svgfusion 1.0.4 → 1.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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -5
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -31,10 +31,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
31
31
  ));
32
32
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
33
33
 
34
- // node_modules/.pnpm/tsup@8.5.0_typescript@5.8.3/node_modules/tsup/assets/cjs_shims.js
34
+ // node_modules/.pnpm/tsup@8.5.0_postcss@8.5.6_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js
35
35
  var getImportMetaUrl, importMetaUrl;
36
36
  var init_cjs_shims = __esm({
37
- "node_modules/.pnpm/tsup@8.5.0_typescript@5.8.3/node_modules/tsup/assets/cjs_shims.js"() {
37
+ "node_modules/.pnpm/tsup@8.5.0_postcss@8.5.6_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js"() {
38
38
  "use strict";
39
39
  getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
40
40
  importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
@@ -542,9 +542,7 @@ ${colors.gray}\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
542
542
  `;
543
543
  }
544
544
  var program = new import_commander.Command();
545
- if (process.argv.length === 2) {
546
- console.log(createBanner());
547
- }
545
+ console.log(createBanner());
548
546
  program.name("svgfusion").description(
549
547
  "Transform SVG files into production-ready React and Vue 3 components"
550
548
  ).version(packageJson.version);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svgfusion",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "A powerful CLI tool and library that converts SVG files into production-ready React and Vue 3 components with TypeScript support and automatic optimization.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -64,7 +64,7 @@
64
64
  "build": "tsup && chmod +x dist/cli.js",
65
65
  "dev": "tsup --watch",
66
66
  "test": "jest",
67
- "test:coverage": "jest --coverage",
67
+ "test:coverage": "jest --coverage --json --testLocationInResults --outputFile=./coverage/coverage-summary.json",
68
68
  "test:watch": "jest --watch",
69
69
  "lint": "eslint src/**/*.ts tests/**/*.ts",
70
70
  "lint:fix": "eslint src/**/*.ts tests/**/*.ts --fix",