refactor: only extend @lumeweb/node-library-preset
This commit is contained in:
parent
6b73013f21
commit
4de7f45c65
|
@ -10,7 +10,6 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/node-library-preset": "^0.2.7",
|
"@lumeweb/node-library-preset": "^0.2.7",
|
||||||
"esbuild": "^0.18.11",
|
"esbuild": "^0.18.11",
|
||||||
"presetter-preset-strict": "^4.0.1",
|
|
||||||
"read-pkg": "^8.0.0",
|
"read-pkg": "^8.0.0",
|
||||||
"semantic-release": "^21.0.7"
|
"semantic-release": "^21.0.7"
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/node-library-preset": "^0.2.7",
|
"@lumeweb/node-library-preset": "^0.2.7",
|
||||||
"esbuild": "^0.18.11",
|
"esbuild": "^0.18.11",
|
||||||
"presetter-preset-strict": "^4.0.1",
|
|
||||||
"read-pkg": "^8.0.0",
|
"read-pkg": "^8.0.0",
|
||||||
"semantic-release": "^21.0.7"
|
"semantic-release": "^21.0.7"
|
||||||
},
|
},
|
||||||
|
|
|
@ -51,7 +51,7 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
extends: ["@lumeweb/node-library-preset", "presetter-preset-strict"],
|
extends: ["@lumeweb/node-library-preset"],
|
||||||
template: {
|
template: {
|
||||||
"build.js": (context) => {
|
"build.js": (context) => {
|
||||||
const content = loadFile(resolve(TEMPLATES, "build.js"), "text");
|
const content = loadFile(resolve(TEMPLATES, "build.js"), "text");
|
||||||
|
|
Loading…
Reference in New Issue