BREAKING CHANGE(core): switch to esm

This commit is contained in:
Philipp Kunz 2022-04-13 16:02:29 +02:00
parent 66546a8b17
commit 1da4e08ed2
5 changed files with 19416 additions and 3435 deletions

22822
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,7 @@
"description": "update your tools in a smart way",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"type": "module",
"author": "Lossless GmbH",
"license": "MIT",
"scripts": {
@ -12,21 +13,21 @@
"build": "(tsbuild --web)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.24",
"@gitzone/tsrun": "^1.2.12",
"@gitzone/tstest": "^1.0.33",
"@pushrocks/tapbundle": "^3.2.1",
"@types/node": "^14.0.14",
"tslint": "^6.1.2",
"@gitzone/tsbuild": "^2.1.61",
"@gitzone/tsrun": "^1.2.32",
"@gitzone/tstest": "^1.0.70",
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^17.0.23",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@pushrocks/consolecolor": "^2.0.1",
"@pushrocks/npmextra": "^3.0.7",
"@pushrocks/smartnpm": "^1.0.17",
"@pushrocks/smartopen": "^1.0.22",
"@pushrocks/smarttime": "^3.0.18",
"@pushrocks/smartversion": "^2.0.4"
"@pushrocks/npmextra": "^3.0.9",
"@pushrocks/smartnpm": "^2.0.0",
"@pushrocks/smartopen": "^2.0.0",
"@pushrocks/smarttime": "^3.0.45",
"@pushrocks/smartversion": "^2.0.7"
},
"files": [
"ts/**/*",

View File

@ -1,5 +1,5 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartupdate from '../ts/index';
import * as smartupdate from '../ts/index.js';
let testSmartUpdate: smartupdate.SmartUpdate;

View File

@ -1 +1 @@
export { SmartUpdate } from './smartupdate.classes.smartupdate';
export { SmartUpdate } from './smartupdate.classes.smartupdate.js';

View File

@ -1,4 +1,4 @@
import * as plugins from './smartupdate.plugins';
import * as plugins from './smartupdate.plugins.js';
import { TimeStamp } from '@pushrocks/smarttime';