@newt-app/templates 0.0.2
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.
- package/dist/index.d.ts +43 -0
- package/dist/index.js +1781 -0
- package/dist/static/web/static/favicon.ico +0 -0
- package/dist/static/web/static/fonts/GeistMonoVF.woff +0 -0
- package/dist/static/web/static/fonts/GeistVF.woff +0 -0
- package/dist/static/web/static/public/file-text.svg +3 -0
- package/dist/static/web/static/public/globe.svg +10 -0
- package/dist/static/web/static/public/next.svg +1 -0
- package/dist/static/web/static/public/turborepo-dark.svg +19 -0
- package/dist/static/web/static/public/turborepo-light.svg +19 -0
- package/dist/static/web/static/public/vercel.svg +10 -0
- package/dist/static/web/static/public/window.svg +3 -0
- package/package.json +23 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
type TemplateData = {
|
|
2
|
+
projectName: string;
|
|
3
|
+
};
|
|
4
|
+
type Template = {
|
|
5
|
+
filename: string;
|
|
6
|
+
template: string;
|
|
7
|
+
};
|
|
8
|
+
type File = {
|
|
9
|
+
src: string;
|
|
10
|
+
filename: string;
|
|
11
|
+
};
|
|
12
|
+
type Package = {
|
|
13
|
+
package: string;
|
|
14
|
+
module: string;
|
|
15
|
+
version: string;
|
|
16
|
+
dev?: boolean;
|
|
17
|
+
};
|
|
18
|
+
type Script = {
|
|
19
|
+
module: string;
|
|
20
|
+
name: string;
|
|
21
|
+
script: string;
|
|
22
|
+
};
|
|
23
|
+
type Module = {
|
|
24
|
+
templates: Template[];
|
|
25
|
+
staticFiles?: File[];
|
|
26
|
+
packages?: Package[];
|
|
27
|
+
scripts?: Script[];
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
declare const staticDir: URL;
|
|
31
|
+
declare const staticDirPath: string;
|
|
32
|
+
declare function getStaticFilePath(name: string): string;
|
|
33
|
+
declare const templates: {
|
|
34
|
+
root: Module;
|
|
35
|
+
web: Module;
|
|
36
|
+
api: Module;
|
|
37
|
+
auth: Module;
|
|
38
|
+
ui: Module;
|
|
39
|
+
eslintConfig: Module;
|
|
40
|
+
typescriptConfig: Module;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export { type File, type Module, type Package, type Script, type Template, type TemplateData, getStaticFilePath, staticDir, staticDirPath, templates };
|