27 lines
999 B
TypeScript
27 lines
999 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: ${typeof smartdelay === 'object'}`);
|
|
|
|
import * as smartlog from '@push.rocks/smartlog';
|
|
console.log(`✅ @push.rocks/smartlog import works: ${typeof smartlog === 'object'}`);
|
|
|
|
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.');
|