Compare commits

8 Commits

Author SHA1 Message Date
207f1e9d51 2.0.2 2022-04-13 16:20:55 +02:00
750b029ef8 update 2022-04-13 16:20:51 +02:00
710fd5ec2e 2.0.1 2022-04-13 16:15:26 +02:00
d1315392a1 update 2022-04-13 16:15:23 +02:00
cf894d9e82 2.0.0 2022-04-13 16:02:33 +02:00
1da4e08ed2 BREAKING CHANGE(core): switch to esm 2022-04-13 16:02:29 +02:00
66546a8b17 1.0.31 2020-06-25 21:14:08 +00:00
3c3275ece5 fix(core): update 2020-06-25 21:14:07 +00:00
6 changed files with 19422 additions and 3439 deletions

View File

@ -36,6 +36,7 @@ audit:
- lossless
- docker
- notpriv
allow_failure: true
# ====================
# test stage

22824
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,32 +1,33 @@
{
"name": "@pushrocks/smartupdate",
"version": "1.0.30",
"version": "2.0.2",
"private": false,
"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": {
"test": "(tstest test/)",
"build": "(tsbuild)"
"build": "(tsbuild --web --allowimplicitany)"
},
"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;
@ -8,7 +8,8 @@ tap.test('should create an instance of SmartUpdate', async () => {
});
tap.test('should check for a npm module', async () => {
await testSmartUpdate.check('lodash', '1.0.5');
const result = await testSmartUpdate.check('lodash', '1.0.5');
expect(result).toBeTrue();
});
tap.start();

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';