fix(core): update

This commit is contained in:
Philipp Kunz 2023-06-12 00:42:30 +02:00
parent b0bc321cc2
commit fc0369cded
3 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartmanifest', name: '@pushrocks/smartmanifest',
version: '2.0.1', version: '2.0.2',
description: 'a module for creating web app manifests' description: 'a module for creating web app manifests'
} }

View File

@ -12,6 +12,7 @@ export interface ISmartManifestConstructorOptions {
src: string; src: string;
type: string; type: string;
sizes: string; sizes: string;
purpose?: 'any' | 'maskable' | 'monochrome';
}>; }>;
related_applications?: Array<{ related_applications?: Array<{
platform: 'play' | string; platform: 'play' | string;
@ -35,6 +36,7 @@ const defaultConstructorOptions: ISmartManifestConstructorOptions = {
src: '/assetbroker/manifest/icon-large.png', src: '/assetbroker/manifest/icon-large.png',
type: 'image/png', type: 'image/png',
sizes: '1024x1024', sizes: '1024x1024',
purpose: 'any',
}, },
{ {
src: '/assetbroker/manifest/icon-144x144.png', src: '/assetbroker/manifest/icon-144x144.png',

View File

@ -5,6 +5,7 @@
"target": "ES2022", "target": "ES2022",
"module": "ES2022", "module": "ES2022",
"moduleResolution": "nodenext", "moduleResolution": "nodenext",
"esModuleInterop": true "esModuleInterop": true,
"verbatimModuleSyntax": true,
} }
} }