jiek 0.4.7-alpha.1 → 0.4.7-alpha.11
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/jiek.js +7 -4
- package/dist/cli.cjs +5028 -0
- package/dist/cli.js +4277 -95
- package/dist/cli.min.cjs +19 -0
- package/dist/cli.min.js +19 -1
- package/dist/index.cjs +5 -0
- package/dist/index.js +1 -3
- package/dist/index.min.cjs +1 -0
- package/dist/index.min.js +1 -1
- package/dist/rollup/index.cjs +4670 -0
- package/dist/rollup/index.js +4180 -66
- package/dist/rollup/index.min.cjs +19 -0
- package/dist/rollup/index.min.js +19 -1
- package/package.json +13 -11
- package/src/commands/base.ts +1 -2
- package/src/commands/build.ts +4 -2
- package/src/rollup/index.ts +2 -2
- package/src/utils/filterSupport.ts +2 -0
- package/src/utils/tsRegister.ts +4 -0
- package/dist/cli.d.mts.map +0 -1
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/cli.min.js.map +0 -1
- package/dist/cli.min.mjs +0 -1
- package/dist/cli.min.mjs.map +0 -1
- package/dist/cli.mjs +0 -803
- package/dist/cli.mjs.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist/index.min.mjs +0 -1
- package/dist/index.min.mjs.map +0 -1
- package/dist/index.mjs +0 -3
- package/dist/index.mjs.map +0 -1
- package/dist/rollup/index.d.mts.map +0 -1
- package/dist/rollup/index.d.ts.map +0 -1
- package/dist/rollup/index.js.map +0 -1
- package/dist/rollup/index.min.js.map +0 -1
- package/dist/rollup/index.min.mjs +0 -1
- package/dist/rollup/index.min.mjs.map +0 -1
- package/dist/rollup/index.mjs +0 -551
- package/dist/rollup/index.mjs.map +0 -1
- package/src/pkg.ts +0 -1
- /package/dist/{cli.d.mts → cli.d.cts} +0 -0
- /package/dist/{index.d.mts → index.d.cts} +0 -0
- /package/dist/rollup/{index.d.mts → index.d.cts} +0 -0
package/bin/jiek.js
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
|
3
|
-
|
2
|
+
import { existsSync } from 'node:fs'
|
3
|
+
import { resolve, dirname } from 'node:path'
|
4
|
+
import { createRequire } from 'node:module'
|
4
5
|
|
5
|
-
|
6
|
+
const __dirname = dirname(import.meta.url.replace('file://', ''))
|
7
|
+
if (existsSync(resolve(__dirname, '../.jiek-dev-tag'))) {
|
8
|
+
const require = createRequire(import.meta.url)
|
6
9
|
require('esbuild-register')
|
7
10
|
require('../src/cli.ts')
|
8
11
|
} else {
|
9
|
-
|
12
|
+
import('jiek/cli')
|
10
13
|
}
|