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