@atomicsmash/cli 4.0.0 → 4.0.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../../src/commands/svg.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc,oTAW1B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,QA6EzC"}
1
+ {"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../../src/commands/svg.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc,oTAW1B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,QA+EzC"}
@@ -72,6 +72,8 @@ export default function svg(args) {
72
72
  for (const type of Object.values(result.symbol)) {
73
73
  if (type.contents) {
74
74
  mkdirSync(dirname(type.path), { recursive: true });
75
+ // TODO: find out how to remove this error.
76
+ // eslint-disable-next-line @typescript-eslint/no-base-to-string
75
77
  writeFileSync(type.path, type.contents.toString());
76
78
  }
77
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomicsmash/cli",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "A collection of CLI tools by Atomic Smash.",
5
5
  "keywords": [],
6
6
  "homepage": "https://www.atomicsmash.co.uk/",