2023-06-25 20:59:19 +00:00
|
|
|
"use strict";
|
2023-06-25 21:57:08 +00:00
|
|
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
|
|
if (k2 === undefined) k2 = k;
|
|
|
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
|
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
|
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
|
|
}
|
|
|
|
Object.defineProperty(o, k2, desc);
|
|
|
|
}) : (function(o, m, k, k2) {
|
|
|
|
if (k2 === undefined) k2 = k;
|
|
|
|
o[k2] = m[k];
|
|
|
|
}));
|
|
|
|
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
|
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
|
|
}) : function(o, v) {
|
|
|
|
o["default"] = v;
|
|
|
|
});
|
|
|
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
|
if (mod && mod.__esModule) return mod;
|
|
|
|
var result = {};
|
|
|
|
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
|
|
__setModuleDefault(result, mod);
|
|
|
|
return result;
|
|
|
|
};
|
2023-06-25 20:59:19 +00:00
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
exports.DEFAULT_VARIABLE = void 0;
|
|
|
|
const node_path_1 = require("node:path");
|
|
|
|
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 21:57:08 +00:00
|
|
|
let DIR;
|
|
|
|
if (typeof __dirname === "undefined") {
|
|
|
|
DIR = (await Promise.resolve().then(() => __importStar(require("./path.js")))).default();
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
DIR = __dirname;
|
|
|
|
}
|
|
|
|
const TEMPLATES = (0, node_path_1.resolve)(DIR, "..", "templates");
|
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
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
2023-06-25 20:59:19 +00:00
|
|
|
exports.default = default_1;
|
2023-06-25 21:57:08 +00:00
|
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx5Q0FBb0M7QUFLdkIsUUFBQSxnQkFBZ0IsR0FBRztJQUM5QixNQUFNLEVBQUUsS0FBSztDQUNkLENBQUM7QUFNYSxLQUFLO0lBQ2xCLElBQUksR0FBVyxD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