silgi 0.23.7 → 0.23.8

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,4 +1,4 @@
1
- const version = "0.23.7";
1
+ const version = "0.23.8";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^3.0.0",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -491,6 +491,9 @@ const baseHeaderBannerComment = [
491
491
  function processFilePath(path) {
492
492
  const silgi = useSilgiCLI();
493
493
  const cleanPath = path.endsWith("/") ? path.slice(0, -1) : path;
494
+ if (cleanPath.endsWith("/.ts")) {
495
+ return cleanPath;
496
+ }
494
497
  if (silgi.options.typescript.removeFileExtension) {
495
498
  return cleanPath.replace(/\.ts$/, "");
496
499
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.23.7",
4
+ "version": "0.23.8",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {