Compare commits

...

4 Commits

4 changed files with 17 additions and 30 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.24](https://git.lumeweb.com/LumeWeb/presetter-kernel-module-preset/compare/v0.1.0-develop.23...v0.1.0-develop.24) (2023-07-02)
### Bug Fixes
* pass browser to supplementaryConfig ([398bee7](https://git.lumeweb.com/LumeWeb/presetter-kernel-module-preset/commit/398bee7e03284720e62f3550e1ff72d67ab12c0d))
# [0.1.0-develop.23](https://git.lumeweb.com/LumeWeb/presetter-kernel-module-preset/compare/v0.1.0-develop.22...v0.1.0-develop.23) (2023-07-02) # [0.1.0-develop.23](https://git.lumeweb.com/LumeWeb/presetter-kernel-module-preset/compare/v0.1.0-develop.22...v0.1.0-develop.23) (2023-07-02)

12
npm-shrinkwrap.json generated
View File

@ -1,15 +1,15 @@
{ {
"name": "@lumeweb/presetter-kernel-module-preset", "name": "@lumeweb/presetter-kernel-module-preset",
"version": "0.1.0-develop.23", "version": "0.1.0-develop.24",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/presetter-kernel-module-preset", "name": "@lumeweb/presetter-kernel-module-preset",
"version": "0.1.0-develop.23", "version": "0.1.0-develop.24",
"dependencies": { "dependencies": {
"@lumeweb/node-library-preset": "0.2.7", "@lumeweb/node-library-preset": "0.2.7",
"@lumeweb/presetter-preset-rollup": "4.0.2-develop.12", "@lumeweb/presetter-preset-rollup": "4.1.0-develop.1",
"@rollup/plugin-typescript": "^11.1.2", "@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-wasm": "^6.1.3" "@rollup/plugin-wasm": "^6.1.3"
}, },
@ -1676,9 +1676,9 @@
} }
}, },
"node_modules/@lumeweb/presetter-preset-rollup": { "node_modules/@lumeweb/presetter-preset-rollup": {
"version": "4.0.2-develop.12", "version": "4.1.0-develop.1",
"resolved": "https://registry.npmjs.org/@lumeweb/presetter-preset-rollup/-/presetter-preset-rollup-4.0.2-develop.12.tgz", "resolved": "https://registry.npmjs.org/@lumeweb/presetter-preset-rollup/-/presetter-preset-rollup-4.1.0-develop.1.tgz",
"integrity": "sha512-KP3w5EglJh481swp4Qc7uxUpQMMN8oGk6140YQojov8/EBj4aTCk8Pd0XH9Pkt0vScacb/HjWMIHkRhClnx9tQ==", "integrity": "sha512-HkLJq4yo4UntqXzWbSWOVsfZF/n8xWbKWOkqswqwfqDzjSuzkximLyeBe1AtQqdqHbQdd75vDy7/OuvzShHAog==",
"dependencies": { "dependencies": {
"presetter-preset-strict": "^4.0.1", "presetter-preset-strict": "^4.0.1",
"presetter-types": "^4.0.1", "presetter-types": "^4.0.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/presetter-kernel-module-preset", "name": "@lumeweb/presetter-kernel-module-preset",
"version": "0.1.0-develop.23", "version": "0.1.0-develop.24",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {
@ -18,7 +18,7 @@
}, },
"dependencies": { "dependencies": {
"@lumeweb/node-library-preset": "0.2.7", "@lumeweb/node-library-preset": "0.2.7",
"@lumeweb/presetter-preset-rollup": "4.0.2-develop.12", "@lumeweb/presetter-preset-rollup": "4.1.0-develop.1",
"@rollup/plugin-typescript": "^11.1.2", "@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-wasm": "^6.1.3" "@rollup/plugin-wasm": "^6.1.3"
}, },

View File

@ -1,8 +1,5 @@
import type { PresetAsset } from "presetter-types"; import type { PresetAsset } from "presetter-types";
import { PresetContext } from "presetter-types"; import { PresetContext } from "presetter-types";
import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
/** /**
* get the list of templates provided by this preset * get the list of templates provided by this preset
@ -20,25 +17,8 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
], ],
supplementaryIgnores: ignores, supplementaryIgnores: ignores,
supplementaryConfig: { supplementaryConfig: {
rollup: { // @ts-ignore
output: { browser: true,
"0": {
inlineDynamicImports: true,
},
"1": {
browser: true,
preferBuiltins: false,
},
},
plugins: [
[
"@apply @rollup/plugin-wasm[default]",
{
targetEnv: "auto-inline",
},
],
],
},
release: { release: {
plugins: { plugins: {
"3": ["@semantic-release/npm", { npmPublish: false }], "3": ["@semantic-release/npm", { npmPublish: false }],