migration/deno-v4 #1

Merged
philkunz merged 28 commits from migration/deno-v4 into main 2025-10-19 15:14:04 +00:00
3 changed files with 8 additions and 7 deletions
Showing only changes of commit 968cbbd8fc - Show all commits

View File

@@ -6,7 +6,8 @@
"dev": "deno run --allow-all mod.ts",
"compile": "deno task compile:all",
"compile:all": "bash scripts/compile-all.sh",
"test": "deno test --allow-all tests/",
"test": "deno run --allow-all test/test.ts && deno run --allow-all test/test.logger.ts",
"test:watch": "deno test --allow-all --watch test/",
"check": "deno check mod.ts",
"fmt": "deno fmt",
"lint": "deno lint"

View File

@@ -1,5 +1,5 @@
import { tap, expect } from '@push.rocks/tapbundle';
import { Logger } from '../ts/logger.js';
import { tap, expect } from 'npm:@git.zone/tstest@^1.0.0/tapbundle';
import { Logger } from '../ts/logger.ts';
// Create a Logger instance for testing
const logger = new Logger();

View File

@@ -1,8 +1,8 @@
import { tap, expect } from '@push.rocks/tapbundle';
import { NupstSnmp } from '../ts/snmp/manager.js';
import type { ISnmpConfig, IUpsStatus } from '../ts/snmp/types.js';
import { tap, expect } from 'npm:@git.zone/tstest@^1.0.0/tapbundle';
import { NupstSnmp } from '../ts/snmp/manager.ts';
import type { ISnmpConfig, IUpsStatus } from '../ts/snmp/types.ts';
import * as qenv from '@push.rocks/qenv';
import * as qenv from 'npm:@push.rocks/qenv';
const testQenv = new qenv.Qenv('./', '.nogit/');
// Create an SNMP instance with debug enabled