jiek 0.4.7-alpha.14 → 0.4.7-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/jiek.js +2 -2
- package/dist/cli.cjs +196 -4407
- package/dist/cli.d.cts +0 -15
- package/dist/cli.d.ts +0 -15
- package/dist/cli.js +22 -4223
- package/dist/cli.min.cjs +1 -19
- package/dist/cli.min.js +1 -19
- package/dist/index.d.cts +0 -15
- package/dist/index.d.ts +0 -15
- package/dist/rollup/index.cjs +35 -4166
- package/dist/rollup/index.js +12 -4130
- package/dist/rollup/index.min.cjs +1 -19
- package/dist/rollup/index.min.js +1 -19
- package/package.json +14 -5
- package/src/commands/base.ts +2 -1
- package/src/commands/build.ts +2 -4
- package/src/commands/publish.ts +2 -16
- package/src/pkg.ts +1 -0
- package/src/rollup/index.ts +3 -5
- package/src/utils/filterSupport.ts +0 -2
- package/src/utils/getExports.ts +7 -11
- package/src/utils/tsRegister.ts +0 -4
package/bin/jiek.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env node
|
1
|
+
#!/usr/bin/env node -m
|
2
2
|
import { existsSync } from 'node:fs'
|
3
3
|
import { resolve, dirname } from 'node:path'
|
4
4
|
import { createRequire } from 'node:module'
|
@@ -7,7 +7,7 @@ const __dirname = dirname(import.meta.url.replace('file://', ''))
|
|
7
7
|
if (existsSync(resolve(__dirname, '../.jiek-dev-tag'))) {
|
8
8
|
const require = createRequire(import.meta.url)
|
9
9
|
require('esbuild-register')
|
10
|
-
require('../src/cli
|
10
|
+
require('../src/cli')
|
11
11
|
} else {
|
12
12
|
import('jiek/cli')
|
13
13
|
}
|