creatium 0.1.17 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -676
- package/README.md +6 -10
- package/dist/index.d.mts +881 -0
- package/dist/index.d.ts +881 -0
- package/dist/{main.mjs → index.mjs} +330 -1080
- package/dist/shared/creatium.v0AbQ44Q.mjs +5912 -0
- package/dist/utils.d.mts +1013 -0
- package/dist/utils.d.ts +1013 -0
- package/dist/utils.mjs +2 -0
- package/package.json +17 -29
- package/dist/main.cjs +0 -2061
- package/dist/main.d.cts +0 -1672
- package/dist/main.d.mts +0 -1672
- package/dist/main.d.ts +0 -1672
package/dist/utils.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { _ as arePathsEqual, $ as box, S as cache, M as catchExecOutput, T as color, R as columns, O as copyDir, k as copyFile, j as createDir, I as createSymlink, P as currentProcess, W as deepmerge, L as deepmergeCustom, N as ensureDir, H as env, G as exec, V as execChild, z as existsDir, U as existsFile, q as existsLocalBin, Y as existsLocalBins, K as existsPath, J as fileURLToPath, Z as getAbsolutePath, X as getArch, Q as getBaseName, u as getClosestPackageDir, e as getClosestPackageJson, t as getContentDir, D as getCurrentDir, r as getDirName, n as getExtName, i as getFilteredFileNames, o as getHomeDir, s as getObjectFromJSONFile, a as getPaths, l as getPlatform, c as getStringType, F as getSystemEnvPaths, h as getTempDir, f as gradient, d as isAbsolutePath, C as isBrowser, p as isBun, g as isDeno, E as isDev, m as isDirectory, b as isJsDom, B as isNode, v as isPath, y as isWebWorker, A as joinPath, w as joinUrl, x as line, a0 as normalizePath, a1 as object2string, a2 as prompt, a3 as readDir, a4 as readFile, a5 as relativePath, a6 as removeDir, a7 as removeDirIfExist, a8 as removeFile, a9 as removeFileIfExist, aa as removePathIfExist, ab as replacePlaceholders, ac as resolvePath, ad as table, ae as truncate, af as validateHomeDir, ag as writeFile, ah as writeFileContent } from './shared/creatium.v0AbQ44Q.mjs';
|
|
2
|
+
import 'module';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "creatium",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Build your create-bins quickly and easily",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bin",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"type": "individual",
|
|
27
27
|
"url": "https://pigeonposse.com/?popup=donate"
|
|
28
28
|
},
|
|
29
|
-
"license": "
|
|
29
|
+
"license": "MIT",
|
|
30
30
|
"author": {
|
|
31
31
|
"name": "Angelo",
|
|
32
32
|
"email": "angelo@pigeonposse.com",
|
|
@@ -35,39 +35,27 @@
|
|
|
35
35
|
"type": "module",
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"default": "./dist/main.cjs"
|
|
45
|
-
}
|
|
38
|
+
"types": "./dist/index.d.mts",
|
|
39
|
+
"default": "./dist/index.mjs"
|
|
40
|
+
},
|
|
41
|
+
"./utils": {
|
|
42
|
+
"types": "./dist/utils.d.mts",
|
|
43
|
+
"default": "./dist/utils.mjs"
|
|
46
44
|
}
|
|
47
45
|
},
|
|
48
|
-
"main": "dist/
|
|
49
|
-
"module": "dist/
|
|
50
|
-
"types": "dist/
|
|
46
|
+
"main": "dist/index.mjs",
|
|
47
|
+
"module": "dist/index.mjs",
|
|
48
|
+
"types": "dist/index.d.ts",
|
|
51
49
|
"files": [
|
|
52
50
|
"dist"
|
|
53
51
|
],
|
|
54
52
|
"dependencies": {
|
|
55
|
-
"@
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"cli-table3": "0.6.5",
|
|
59
|
-
"columnify": "1.6.0",
|
|
60
|
-
"deepmerge-ts": "7.1.5",
|
|
61
|
-
"gradient-string": "3.0.0",
|
|
62
|
-
"string-width": "7.2.0",
|
|
63
|
-
"tiny-glob": "0.2.9",
|
|
64
|
-
"tiny-updater": "3.5.3",
|
|
65
|
-
"yargs": "17.7.2"
|
|
53
|
+
"@clippium/preset-colored": "1.0.0",
|
|
54
|
+
"clippium": "0.1.0",
|
|
55
|
+
"tiny-updater": "3.5.3"
|
|
66
56
|
},
|
|
67
57
|
"devDependencies": {
|
|
68
|
-
"@
|
|
69
|
-
"@types/yargs": "17.0.33",
|
|
70
|
-
"@creatium/repo-config": "0.1.17"
|
|
58
|
+
"@creatium-js/repo-config": "0.2.2"
|
|
71
59
|
},
|
|
72
60
|
"publishConfig": {
|
|
73
61
|
"access": "public",
|
|
@@ -75,8 +63,8 @@
|
|
|
75
63
|
},
|
|
76
64
|
"scripts": {
|
|
77
65
|
"build": "unbuild",
|
|
78
|
-
"dev": "tsx examples/simple/bin.ts",
|
|
79
|
-
"example": "run(){ tsx examples/\"${@:1}\"/bin.ts; }; run $@",
|
|
66
|
+
"dev": "pnpx tsx examples/simple/bin.ts",
|
|
67
|
+
"example": "run(){ pnpx tsx examples/\"${@:1}\"/bin.ts; }; run $@",
|
|
80
68
|
"size": "pnpm dlx @sizium/cli -i ./ --res info",
|
|
81
69
|
"test": "vitest run -r src --passWithNoTests"
|
|
82
70
|
}
|