Skip to content

Commit eb12a99

Browse files
committed
chore(templatizer): regenerate templates from updated boilerplates
1 parent 4075979 commit eb12a99

2 files changed

Lines changed: 150 additions & 140 deletions

File tree

packages/templatizer/src/generated/module.ts

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Auto-generated template module
22

33
export default [
4-
(vars: Record<string, any>) => {
5-
const relPath = `tsconfig.json`;
6-
const content = `{
4+
(vars: Record<string, any>) => {
5+
const relPath = `tsconfig.json`;
6+
const content = `{
77
"extends": "../../tsconfig.json",
88
"compilerOptions": {
99
"outDir": "dist",
@@ -13,12 +13,12 @@ export default [
1313
"exclude": ["dist", "node_modules", "**/*.spec.*", "**/*.test.*"]
1414
}
1515
`;
16-
return { relPath, content };
17-
},
16+
return { relPath, content };
17+
},
1818

19-
(vars: Record<string, any>) => {
20-
const relPath = `tsconfig.esm.json`;
21-
const content = `{
19+
(vars: Record<string, any>) => {
20+
const relPath = `tsconfig.esm.json`;
21+
const content = `{
2222
"extends": "./tsconfig.json",
2323
"compilerOptions": {
2424
"outDir": "dist/esm",
@@ -28,12 +28,12 @@ export default [
2828
}
2929
}
3030
`;
31-
return { relPath, content };
32-
},
31+
return { relPath, content };
32+
},
3333

34-
(vars: Record<string, any>) => {
35-
const relPath = `package.json`;
36-
const content = `{
34+
(vars: Record<string, any>) => {
35+
const relPath = `package.json`;
36+
const content = `{
3737
"name": "${vars.PACKAGE_IDENTIFIER}",
3838
"version": "0.0.1",
3939
"author": "${vars.USERFULLNAME} <${vars.USEREMAIL}>",
@@ -42,7 +42,7 @@ export default [
4242
"module": "esm/index.js",
4343
"types": "index.d.ts",
4444
"homepage": "https://github.com/${vars.USERNAME}/${vars.REPONAME}",
45-
"license": "MIT",
45+
"license": "SEE LICENSE IN LICENSE",
4646
"publishConfig": {
4747
"access": "${vars.ACCESS}",
4848
"directory": "dist"
@@ -66,12 +66,12 @@ export default [
6666
},
6767
"keywords": []
6868
}`;
69-
return { relPath, content };
70-
},
69+
return { relPath, content };
70+
},
7171

72-
(vars: Record<string, any>) => {
73-
const relPath = `jest.config.js`;
74-
const content = `/** @type {import('ts-jest').JestConfigWithTsJest} */
72+
(vars: Record<string, any>) => {
73+
const relPath = `jest.config.js`;
74+
const content = `/** @type {import('ts-jest').JestConfigWithTsJest} */
7575
module.exports = {
7676
preset: "ts-jest",
7777
testEnvironment: "node",
@@ -90,12 +90,12 @@ module.exports = {
9090
modulePathIgnorePatterns: ["dist/*"]
9191
};
9292
`;
93-
return { relPath, content };
94-
},
93+
return { relPath, content };
94+
},
9595

96-
(vars: Record<string, any>) => {
97-
const relPath = `README.md`;
98-
const content = `# ${vars.MODULENAME}
96+
(vars: Record<string, any>) => {
97+
const relPath = `README.md`;
98+
const content = `# ${vars.MODULENAME}
9999
100100
<p align="center">
101101
<img src="https://raw.githubusercontent.com/launchql/launchql/refs/heads/main/assets/outline-logo.svg" width="250"><br />
@@ -144,28 +144,28 @@ AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN
144144
145145
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
146146
`;
147-
return { relPath, content };
148-
},
147+
return { relPath, content };
148+
},
149149

150-
(vars: Record<string, any>) => {
151-
const relPath = `src/index.ts`;
152-
const content = `export default () => {
150+
(vars: Record<string, any>) => {
151+
const relPath = `src/index.ts`;
152+
const content = `export default () => {
153153
154154
};`;
155-
return { relPath, content };
156-
},
155+
return { relPath, content };
156+
},
157157

158-
(vars: Record<string, any>) => {
159-
const relPath = `__tests__/first.test.ts`;
160-
const content = `it('works', () => {
158+
(vars: Record<string, any>) => {
159+
const relPath = `__tests__/first.test.ts`;
160+
const content = `it('works', () => {
161161
console.log('hello test world!');
162162
})`;
163-
return { relPath, content };
164-
},
163+
return { relPath, content };
164+
},
165165

166-
(vars: Record<string, any>) => {
167-
const relPath = `.questions.json`;
168-
const content = `[
166+
(vars: Record<string, any>) => {
167+
const relPath = `.questions.json`;
168+
const content = `[
169169
{
170170
"name": "${vars.USERFULLNAME}",
171171
"message": "Enter author full name",
@@ -207,6 +207,6 @@ No developer or entity involved in creating this software will be liable for any
207207
"required": true
208208
}
209209
]`;
210-
return { relPath, content };
211-
},
212-
];
210+
return { relPath, content };
211+
}
212+
];

0 commit comments

Comments
 (0)