feat: initial version
This commit is contained in:
parent
a3fd9cca5b
commit
64ba20821f
|
@ -0,0 +1,13 @@
|
||||||
|
name: Build/Publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
- develop-*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
uses: lumeweb/github-node-deploy-workflow/.github/workflows/main.yml@master
|
||||||
|
secrets: inherit
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"name": "@lumeweb/presetter-kernel-module-preset",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"type": "module",
|
||||||
|
"main": "lib/index.js",
|
||||||
|
"devDependencies": {
|
||||||
|
"@lumeweb/node-library-preset": "^0.2.5",
|
||||||
|
"presetter": "*"
|
||||||
|
},
|
||||||
|
"readme": "ERROR: No README data found!",
|
||||||
|
"_id": "@lumeweb/presetter-kernel-module-preset@0.1.0",
|
||||||
|
"scripts": {
|
||||||
|
"prepare": "presetter bootstrap",
|
||||||
|
"build": "run build",
|
||||||
|
"semantic-release": "semantic-release"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"presetter-preset-rollup": "^4.0.1"
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
import type { PresetAsset } from "presetter-types";
|
||||||
|
import { PresetContext } from "presetter-types";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get the list of templates provided by this preset
|
||||||
|
* @returns list of preset templates
|
||||||
|
*/
|
||||||
|
export default async function (context: PresetContext): Promise<PresetAsset> {
|
||||||
|
const ignores = !context.custom.config?.official
|
||||||
|
? [".github/workflows/ci.yml"]
|
||||||
|
: [];
|
||||||
|
|
||||||
|
return {
|
||||||
|
extends: ["presetter-preset-rollup", "@lumeweb/node-library-preset"],
|
||||||
|
supplementaryIgnores: ignores,
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue