jiek 0.4.7-alpha.14 → 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.cts → cli.d.mts} +0 -15
- package/dist/cli.d.mts.map +1 -0
- package/dist/cli.d.ts +0 -15
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +222 -4408
- 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.cts → index.d.mts} +0 -15
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +0 -15
- 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 +69 -4189
- 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 +19 -11
- 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/dist/cli.cjs +0 -5041
- 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 -4688
- package/dist/rollup/index.min.cjs +0 -19
- /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
|
}
|
@@ -95,18 +95,3 @@ declare module 'jiek' {
|
|
95
95
|
};
|
96
96
|
}
|
97
97
|
}
|
98
|
-
|
99
|
-
declare module 'jiek' {
|
100
|
-
interface Config {
|
101
|
-
publish?: {
|
102
|
-
/**
|
103
|
-
* @default false
|
104
|
-
*/
|
105
|
-
withSuffix?: boolean;
|
106
|
-
/**
|
107
|
-
* @default true
|
108
|
-
*/
|
109
|
-
withSource?: boolean;
|
110
|
-
};
|
111
|
-
}
|
112
|
-
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cli.d.mts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/cli.d.ts
CHANGED
@@ -95,18 +95,3 @@ declare module 'jiek' {
|
|
95
95
|
};
|
96
96
|
}
|
97
97
|
}
|
98
|
-
|
99
|
-
declare module 'jiek' {
|
100
|
-
interface Config {
|
101
|
-
publish?: {
|
102
|
-
/**
|
103
|
-
* @default false
|
104
|
-
*/
|
105
|
-
withSuffix?: boolean;
|
106
|
-
/**
|
107
|
-
* @default true
|
108
|
-
*/
|
109
|
-
withSource?: boolean;
|
110
|
-
};
|
111
|
-
}
|
112
|
-
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|