fix(core): update

This commit is contained in:
2022-03-24 14:32:49 +01:00
parent 796aa905d2
commit dfffd03790
11 changed files with 6046 additions and 14842 deletions

View File

@ -6,4 +6,4 @@ declare global {
}
// normal
export * from './smartpdf.classes.smartpdf';
export * from './smartpdf.classes.smartpdf.js';

View File

@ -1 +1 @@
export * from './interface.pdfresult';
export * from './interface.pdfresult.js';

View File

@ -1,4 +1,4 @@
import * as plugins from './smartpdf.plugins';
import * as plugins from './smartpdf.plugins.js';
export class PdfCandidate {
public htmlString: string;

View File

@ -1,11 +1,11 @@
import * as plugins from './smartpdf.plugins';
import * as paths from './smartpdf.paths';
import * as plugins from './smartpdf.plugins.js';
import * as paths from './smartpdf.paths.js';
import { Server } from 'http';
import { PdfCandidate } from './smartpdf.classes.pdfcandidate';
import { PdfCandidate } from './smartpdf.classes.pdfcandidate.js';
declare const document: any;
import * as interfaces from './interfaces';
import * as interfaces from './interfaces/index.js';
export class SmartPdf {
htmlServerInstance: Server;

View File

@ -1,3 +1,3 @@
import * as plugins from './smartpdf.plugins';
import * as plugins from './smartpdf.plugins.js';
export const packageDir = plugins.path.join(__dirname, '../');
export const packageDir = plugins.path.join(plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url), '../');

View File

@ -7,11 +7,12 @@ export { http, path };
// @pushrocks
import * as smartfile from '@pushrocks/smartfile';
import * as smartpromise from '@pushrocks/smartpromise';
import * as smartpath from '@pushrocks/smartpath';
import * as smartpuppeteer from '@pushrocks/smartpuppeteer';
import * as smartnetwork from '@pushrocks/smartnetwork';
import * as smartunique from '@pushrocks/smartunique';
export { smartfile, smartpromise, smartpuppeteer, smartunique, smartnetwork };
export { smartfile, smartpromise, smartpath, smartpuppeteer, smartunique, smartnetwork };
// thirdparty
import pdfMerger from 'pdf-merger-js';