fix(core): update

This commit is contained in:
Philipp Kunz 2022-08-02 14:50:18 +02:00
parent fde1e90440
commit 3dfb07e875
4 changed files with 12 additions and 14 deletions

14
package-lock.json generated
View File

@ -18,7 +18,7 @@
"@gitzone/tsrun": "^1.2.37", "@gitzone/tsrun": "^1.2.37",
"@gitzone/tstest": "^1.0.72", "@gitzone/tstest": "^1.0.72",
"@pushrocks/tapbundle": "^5.0.4", "@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.6.2", "@types/node": "^18.6.3",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0" "tslint-config-prettier": "^1.18.0"
} }
@ -1910,9 +1910,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "18.6.2", "version": "18.6.3",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.6.2.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.6.3.tgz",
"integrity": "sha512-KcfkBq9H4PI6Vpu5B/KoPeuVDAbmi+2mDBqGPGUgoL7yXQtcWGu2vJWmmRkneWK3Rh0nIAX192Aa87AqKHYChQ==", "integrity": "sha512-6qKpDtoaYLM+5+AFChLhHermMQxc3TOEFIDzrZLPRGHPrLEwqFkkT5Kx3ju05g6X7uDPazz3jHbKPX0KzCjntg==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/parse5": { "node_modules/@types/parse5": {
@ -9978,9 +9978,9 @@
"integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ=="
}, },
"@types/node": { "@types/node": {
"version": "18.6.2", "version": "18.6.3",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.6.2.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-18.6.3.tgz",
"integrity": "sha512-KcfkBq9H4PI6Vpu5B/KoPeuVDAbmi+2mDBqGPGUgoL7yXQtcWGu2vJWmmRkneWK3Rh0nIAX192Aa87AqKHYChQ==" "integrity": "sha512-6qKpDtoaYLM+5+AFChLhHermMQxc3TOEFIDzrZLPRGHPrLEwqFkkT5Kx3ju05g6X7uDPazz3jHbKPX0KzCjntg=="
}, },
"@types/parse5": { "@types/parse5": {
"version": "6.0.3", "version": "6.0.3",

View File

@ -8,7 +8,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"test": "(tstest test/)", "test": "(tstest test/)",
"build": "(tsbuild --web)", "build": "(tsbuild --web --allowimplicitany)",
"buildDocs": "tsdoc" "buildDocs": "tsdoc"
}, },
"repository": { "repository": {
@ -31,9 +31,7 @@
"@gitzone/tsrun": "^1.2.37", "@gitzone/tsrun": "^1.2.37",
"@gitzone/tstest": "^1.0.72", "@gitzone/tstest": "^1.0.72",
"@pushrocks/tapbundle": "^5.0.4", "@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.6.2", "@types/node": "^18.6.3"
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0"
}, },
"dependencies": { "dependencies": {
"@pushrocks/smartfile": "^10.0.4", "@pushrocks/smartfile": "^10.0.4",

View File

@ -6,14 +6,14 @@ import * as smartpath from '@pushrocks/smartpath';
export { smartpath }; export { smartpath };
const __dirname = smartpath.get.dirnameFromImportMetaUrl(import.meta.url); const testDir = smartpath.get.dirnameFromImportMetaUrl(import.meta.url);
process.env['key1'] = 'original'; process.env['key1'] = 'original';
let testQenv: qenv.Qenv; let testQenv: qenv.Qenv;
tap.test('should create a new class', async () => { tap.test('should create a new class', async () => {
testQenv = new qenv.Qenv(path.join(__dirname, 'assets'), path.join(__dirname, 'assets'), false); testQenv = new qenv.Qenv(path.join(testDir, 'assets'), path.join(testDir, 'assets'), false);
expect(testQenv).toBeInstanceOf(qenv.Qenv); expect(testQenv).toBeInstanceOf(qenv.Qenv);
}); });

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/qenv', name: '@pushrocks/qenv',
version: '5.0.1', version: '5.0.2',
description: 'easy promised environments' description: 'easy promised environments'
} }