26 lines
930 B
TypeScript
26 lines
930 B
TypeScript
|
|
#!/usr/bin/env -S deno run --allow-all
|
||
|
|
|
||
|
|
// Simple test to verify basic Deno functionality
|
||
|
|
import * as path from '@std/path';
|
||
|
|
|
||
|
|
console.log('Testing Deno migration for Spark...');
|
||
|
|
console.log('');
|
||
|
|
console.log('✅ Deno runtime works');
|
||
|
|
console.log('✅ Standard library imports work');
|
||
|
|
|
||
|
|
// Test path functionality
|
||
|
|
const testPath = path.join('/opt', 'spark');
|
||
|
|
console.log(`✅ Path operations work: ${testPath}`);
|
||
|
|
|
||
|
|
// Test basic imports from plugins
|
||
|
|
import * as smartdelay from '@push.rocks/smartdelay';
|
||
|
|
console.log('✅ @push.rocks/smartdelay import works');
|
||
|
|
|
||
|
|
import * as smartlog from '@push.rocks/smartlog';
|
||
|
|
console.log('✅ @push.rocks/smartlog import works');
|
||
|
|
|
||
|
|
console.log('');
|
||
|
|
console.log('Basic Deno functionality confirmed!');
|
||
|
|
console.log('');
|
||
|
|
console.log('Note: Full application may require additional dependency resolution');
|
||
|
|
console.log('for complex packages like @serve.zone/api that have many transitive dependencies.');
|