BREAKING CHANGE(core): switch to esm
This commit is contained in:
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartspawn',
|
||||
version: '3.0.0',
|
||||
description: 'smart subprocess handling'
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
export * from './smartspawn.classes.threadsimple';
|
||||
export * from './smartspawn.wrap';
|
||||
export * from './smartspawn.classes.threadsimple.js';
|
||||
export * from './smartspawn.wrap.js';
|
||||
|
||||
export * from 'threads';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import * as plugins from './smartspawn.plugins';
|
||||
import * as plugins from './smartspawn.plugins.js';
|
||||
import * as smartpromise from '@pushrocks/smartpromise';
|
||||
import * as childProcess from 'child_process';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import * as plugins from './smartspawn.plugins';
|
||||
import * as plugins from './smartspawn.plugins.js';
|
||||
|
||||
export const packageBase = plugins.path.join(__dirname, '../');
|
||||
export const typescriptwrapJs = plugins.path.join(packageBase, 'assets/typescriptwrap.js');
|
||||
|
@ -1,5 +1,5 @@
|
||||
import * as path from 'path';
|
||||
const threads = require('threads');
|
||||
import * as threads from 'threads';
|
||||
import * as smartpromise from '@pushrocks/smartpromise';
|
||||
|
||||
export { path, smartpromise, threads };
|
||||
|
Reference in New Issue
Block a user