Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
207f1e9d51 | |||
750b029ef8 | |||
710fd5ec2e | |||
d1315392a1 | |||
cf894d9e82 | |||
1da4e08ed2 | |||
66546a8b17 | |||
3c3275ece5 |
@ -36,6 +36,7 @@ audit:
|
|||||||
- lossless
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
# ====================
|
# ====================
|
||||||
# test stage
|
# test stage
|
||||||
|
22660
package-lock.json
generated
22660
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
27
package.json
27
package.json
@ -1,32 +1,33 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartupdate",
|
"name": "@pushrocks/smartupdate",
|
||||||
"version": "1.0.30",
|
"version": "2.0.2",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "update your tools in a smart way",
|
"description": "update your tools in a smart way",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
|
"type": "module",
|
||||||
"author": "Lossless GmbH",
|
"author": "Lossless GmbH",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(tstest test/)",
|
"test": "(tstest test/)",
|
||||||
"build": "(tsbuild)"
|
"build": "(tsbuild --web --allowimplicitany)"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.24",
|
"@gitzone/tsbuild": "^2.1.61",
|
||||||
"@gitzone/tsrun": "^1.2.12",
|
"@gitzone/tsrun": "^1.2.32",
|
||||||
"@gitzone/tstest": "^1.0.33",
|
"@gitzone/tstest": "^1.0.70",
|
||||||
"@pushrocks/tapbundle": "^3.2.1",
|
"@pushrocks/tapbundle": "^5.0.3",
|
||||||
"@types/node": "^14.0.14",
|
"@types/node": "^17.0.23",
|
||||||
"tslint": "^6.1.2",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.18.0"
|
"tslint-config-prettier": "^1.18.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pushrocks/consolecolor": "^2.0.1",
|
"@pushrocks/consolecolor": "^2.0.1",
|
||||||
"@pushrocks/npmextra": "^3.0.7",
|
"@pushrocks/npmextra": "^3.0.9",
|
||||||
"@pushrocks/smartnpm": "^1.0.17",
|
"@pushrocks/smartnpm": "^2.0.0",
|
||||||
"@pushrocks/smartopen": "^1.0.22",
|
"@pushrocks/smartopen": "^2.0.0",
|
||||||
"@pushrocks/smarttime": "^3.0.18",
|
"@pushrocks/smarttime": "^3.0.45",
|
||||||
"@pushrocks/smartversion": "^2.0.4"
|
"@pushrocks/smartversion": "^2.0.7"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ts/**/*",
|
"ts/**/*",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { expect, tap } from '@pushrocks/tapbundle';
|
import { expect, tap } from '@pushrocks/tapbundle';
|
||||||
import * as smartupdate from '../ts/index';
|
import * as smartupdate from '../ts/index.js';
|
||||||
|
|
||||||
let testSmartUpdate: smartupdate.SmartUpdate;
|
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 () => {
|
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();
|
tap.start();
|
||||||
|
@ -1 +1 @@
|
|||||||
export { SmartUpdate } from './smartupdate.classes.smartupdate';
|
export { SmartUpdate } from './smartupdate.classes.smartupdate.js';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as plugins from './smartupdate.plugins';
|
import * as plugins from './smartupdate.plugins.js';
|
||||||
|
|
||||||
import { TimeStamp } from '@pushrocks/smarttime';
|
import { TimeStamp } from '@pushrocks/smarttime';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user