@skmtc/core 0.0.640 → 0.0.641

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.
@@ -140,7 +140,7 @@ _RenderContext_prettierConfig = new WeakMap(), _RenderContext_stackTrail = new W
140
140
  const renderFile = ({ content, destinationPath, basePath, prettierConfig }) => {
141
141
  const path = toResolvedArtifactPath({ basePath, destinationPath });
142
142
  const formatted = prettierConfig
143
- ? synchronizedPrettier.format(content, { ...prettierConfig, parser: 'espree' })
143
+ ? synchronizedPrettier.format(content, { ...prettierConfig, parser: 'typescript' })
144
144
  : content;
145
145
  return {
146
146
  content: formatted,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.640",
3
+ "version": "0.0.641",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -170,7 +170,7 @@ _RenderContext_prettierConfig = new WeakMap(), _RenderContext_stackTrail = new W
170
170
  const renderFile = ({ content, destinationPath, basePath, prettierConfig }) => {
171
171
  const path = (0, toResolvedArtifactPath_js_1.toResolvedArtifactPath)({ basePath, destinationPath });
172
172
  const formatted = prettierConfig
173
- ? sync_1.default.format(content, { ...prettierConfig, parser: 'espree' })
173
+ ? sync_1.default.format(content, { ...prettierConfig, parser: 'typescript' })
174
174
  : content;
175
175
  return {
176
176
  content: formatted,