UNPKG

2.35 kBTypeScriptView Raw
1export interface TortillaPaths {
2 resolve: () => string;
3 resolveTree: (path: string) => object;
4 resolveProject: (path: string) => TortillaPaths;
5 config: string;
6 locales: string;
7 readme: string;
8 renovate: string;
9 storage: string;
10 gitModules: string;
11 travis: string;
12 manuals: {
13 resolve: () => string;
14 templates: string;
15 views: string;
16 };
17 cli: {
18 resolve: () => string;
19 tortilla: string;
20 tortillaManual: string;
21 tortillaRelease: string;
22 tortillaStep: string;
23 tortillaStrict: string;
24 tortillaSubmodule: string;
25 };
26 git: {
27 resolve: () => string;
28 ignore: string;
29 hooks: string;
30 rebaseApply: string;
31 rebaseMerge: string;
32 modules: string;
33 heads: {
34 resolve: () => string;
35 cherryPick: string;
36 orig: string;
37 revert: string;
38 };
39 messages: {
40 resolve: () => string;
41 commit: string;
42 merge: string;
43 squash: string;
44 };
45 refs: {
46 resolve: () => string;
47 heads: string;
48 remotes: string;
49 tags: string;
50 };
51 };
52 tortillaDir: string;
53 tortilla: {
54 resolve: () => string;
55 dump: string;
56 editor: string;
57 essentials: string;
58 git: string;
59 initializer: string;
60 localCache: string;
61 localStorage: string;
62 manual: string;
63 package: string;
64 paths: string;
65 rebase: string;
66 release: string;
67 step: string;
68 submodule: string;
69 utils: string;
70 hooks: string;
71 skeleton: string;
72 ascii: {
73 resolve: () => string;
74 views: string;
75 };
76 renderer: {
77 resolve: () => string;
78 helpers: string;
79 templates: string;
80 };
81 translator: {
82 resolve: () => string;
83 translation: string;
84 locales: string;
85 };
86 };
87 npm: {
88 resolve: () => string;
89 ignore: string;
90 package: string;
91 modules: string;
92 };
93}
94export declare function resolveProject(cwd: string): TortillaPaths;
95export declare const Paths: TortillaPaths;