feat(templates): Updated and added new TypeScript template files for npm projects

This commit is contained in:
2025-02-28 18:00:11 +00:00
parent 08e9849116
commit 68546939ca
5 changed files with 27 additions and 8 deletions

View File

@ -0,0 +1,8 @@
---
fileName: paths.ts
---
import * as plugins from './plugins.js';
export const packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../'
);