Compare commits

..

No commits in common. "v0.1.0-develop.24" and "v0.1.0-develop.23" have entirely different histories.

4 changed files with 30 additions and 17 deletions

View File

@ -1,10 +1,3 @@
# [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.24", "version": "0.1.0-develop.23",
"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.24", "version": "0.1.0-develop.23",
"dependencies": { "dependencies": {
"@lumeweb/node-library-preset": "0.2.7", "@lumeweb/node-library-preset": "0.2.7",
"@lumeweb/presetter-preset-rollup": "4.1.0-develop.1", "@lumeweb/presetter-preset-rollup": "4.0.2-develop.12",
"@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.1.0-develop.1", "version": "4.0.2-develop.12",
"resolved": "https://registry.npmjs.org/@lumeweb/presetter-preset-rollup/-/presetter-preset-rollup-4.1.0-develop.1.tgz", "resolved": "https://registry.npmjs.org/@lumeweb/presetter-preset-rollup/-/presetter-preset-rollup-4.0.2-develop.12.tgz",
"integrity": "sha512-HkLJq4yo4UntqXzWbSWOVsfZF/n8xWbKWOkqswqwfqDzjSuzkximLyeBe1AtQqdqHbQdd75vDy7/OuvzShHAog==", "integrity": "sha512-KP3w5EglJh481swp4Qc7uxUpQMMN8oGk6140YQojov8/EBj4aTCk8Pd0XH9Pkt0vScacb/HjWMIHkRhClnx9tQ==",
"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.24", "version": "0.1.0-develop.23",
"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.1.0-develop.1", "@lumeweb/presetter-preset-rollup": "4.0.2-develop.12",
"@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,5 +1,8 @@
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
@ -17,8 +20,25 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
], ],
supplementaryIgnores: ignores, supplementaryIgnores: ignores,
supplementaryConfig: { supplementaryConfig: {
// @ts-ignore rollup: {
browser: true, output: {
"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 }],