Merge remote-tracking branch 'origin/master'

This commit is contained in:
Derrick Hammer 2023-06-25 00:56:43 -04:00
commit c7eb98df6d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 33 additions and 0 deletions

6
CHANGELOG.md Normal file
View File

@ -0,0 +1,6 @@
# [0.1.0](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.0.1...v0.1.0) (2023-06-25)
### Features
* initial version ([1f8d48d](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/1f8d48d5ea5f03d3aa04e7870163cd29734cd2b2))

5
lib/index.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
import type { PresetAsset } from "presetter-types";
export declare const DEFAULT_VARIABLE: {
source: string;
};
export default function (): Promise<PresetAsset>;

22
lib/index.js Normal file
View File

@ -0,0 +1,22 @@
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
const DIR = dirname(fileURLToPath(import.meta.url));
const TEMPLATES = resolve(DIR, "..", "templates");
export const DEFAULT_VARIABLE = {
source: "src",
};
export default async function () {
return {
extends: ["presetter-preset-strict"],
template: {
".circleci/config.yml": resolve(TEMPLATES, "circleci.yml"),
},
variable: DEFAULT_VARIABLE,
supplementaryConfig: {
prettier: {
singleQuote: false,
},
},
};
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDN0MsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUl6QyxNQUFNLEdBQUcsR0FBRyxPQUFPLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztBQUdwRCxNQUFNLFNBQVMsR0FBRyxPQUFPLENBQUMsR0FBRyxFQUFFLElBQUksRUFBRSxXQUFXLENBQUMsQ0FBQztBQUNsRCxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRztJQUM5QixNQUFNLEVBQUUsS0FBSztDQUNkLENBQUM7QUFNRixNQUFNLENBQUMsT0FBTyxDQUFDLEtBQUs7SUFDbEIsT0FBTztRQUNMLE9BQU8sRUFBRSxDQUFDLHlCQUF5QixDQUFDO1FBQ3BDLFFBQVEsRUFBRTtZQUNSLHNCQUFzQixFQUFFLE9BQU8sQ0FBQyxTQUFTLEVBQUUsY0FBYyxDQUFDO1NBQzNEO1FBQ0QsUUFBUSxFQUFFLGdCQUFnQjtRQUMxQixtQkFBbUIsRUFBRTtZQUNuQixRQUFRLEVBQUU7Z0JBQ1IsV0FBVyxFQUFFLEtBQUs7YUFDbkI7U0FDRjtLQUNGLENBQUM7QUFDSixDQUFDIn0=