2023-06-25 20:59:19 +00:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
exports.DEFAULT_VARIABLE = void 0;
|
|
|
|
const node_path_1 = require("node:path");
|
|
|
|
const node_url_1 = require("node:url");
|
|
|
|
let DIR;
|
|
|
|
if (typeof __dirname === "undefined") {
|
|
|
|
DIR = (0, node_path_1.dirname)((0, node_url_1.fileURLToPath)(import.meta.url));
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
DIR = __dirname;
|
|
|
|
}
|
|
|
|
const TEMPLATES = (0, node_path_1.resolve)(DIR, "..", "templates");
|
|
|
|
exports.DEFAULT_VARIABLE = {
|
2023-06-25 02:18:23 +00:00
|
|
|
source: "src",
|
|
|
|
};
|
2023-06-25 20:59:19 +00:00
|
|
|
async function default_1() {
|
2023-06-25 02:18:23 +00:00
|
|
|
return {
|
|
|
|
extends: ["presetter-preset-strict"],
|
|
|
|
template: {
|
2023-06-25 20:59:19 +00:00
|
|
|
".github/workflows/ci.yml": (0, node_path_1.resolve)(TEMPLATES, "ci.yml.raw"),
|
|
|
|
".releaserc.json": (0, node_path_1.resolve)(TEMPLATES, ".releaserc.json"),
|
2023-06-25 02:18:23 +00:00
|
|
|
},
|
2023-06-25 08:29:32 +00:00
|
|
|
noSymlinks: [".github/workflows/ci.yml"],
|
2023-06-25 20:59:19 +00:00
|
|
|
variable: exports.DEFAULT_VARIABLE,
|
2023-06-25 02:18:23 +00:00
|
|
|
supplementaryConfig: {
|
|
|
|
prettier: {
|
|
|
|
singleQuote: false,
|
|
|
|
},
|
2023-06-25 09:25:40 +00:00
|
|
|
gitignore: [".releaserc.json"],
|
2023-06-25 08:54:43 +00:00
|
|
|
tsconfig: {
|
|
|
|
compilerOptions: {
|
2023-06-25 09:20:13 +00:00
|
|
|
lib: ["ES2021", "dom"],
|
2023-06-25 08:54:43 +00:00
|
|
|
},
|
|
|
|
},
|
2023-06-25 02:18:23 +00:00
|
|
|
},
|
|
|
|
};
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