@capgo/cli 4.12.14-beta.0 → 4.13.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/CHANGELOG.md +36 -0
- package/build.mjs +3 -5
- package/dist/index.js +183 -80551
- package/package.json +2 -2
- package/src/app/add.ts +1 -1
- package/src/bundle/encrypt.ts +4 -4
- package/vercel-ncc.js +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [4.13.2](https://github.com/Cap-go/CLI/compare/v4.13.1...v4.13.2) (2024-07-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* use esbuild with embed modules ([2e582b5](https://github.com/Cap-go/CLI/commit/2e582b56693611927e433cb5ba4b9c478dd141a9))
|
|
11
|
+
|
|
12
|
+
### [4.13.1](https://github.com/Cap-go/CLI/compare/v4.13.0...v4.13.1) (2024-07-18)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* lint and typo ([d648cd3](https://github.com/Cap-go/CLI/commit/d648cd3eaccbafaf2247cd60379f9162bd48180c))
|
|
18
|
+
|
|
19
|
+
## [4.13.0](https://github.com/Cap-go/CLI/compare/v4.12.15...v4.13.0) (2024-07-18)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* adding ncc support ([70eddce](https://github.com/Cap-go/CLI/commit/70eddce117ee8bdc6d861990e36b3ac836be01b4))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* no more deps when install ([3bc93ed](https://github.com/Cap-go/CLI/commit/3bc93edadba09d789f00c202a55d26b10d6579f9))
|
|
30
|
+
* script ([8267d43](https://github.com/Cap-go/CLI/commit/8267d435d90e4e579b36edf5051152179b3841c1))
|
|
31
|
+
|
|
32
|
+
### [4.12.15](https://github.com/Cap-go/CLI/compare/v4.12.14...v4.12.15) (2024-07-18)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* better imports ([b02d95d](https://github.com/Cap-go/CLI/commit/b02d95df18231530ed33e17ab322a92face25727))
|
|
38
|
+
* do not even make modif ([dbc7e5b](https://github.com/Cap-go/CLI/commit/dbc7e5bc9a07e29520309149146458d78c30cb72))
|
|
39
|
+
* it work but remove comments ([6ff1480](https://github.com/Cap-go/CLI/commit/6ff1480765e206779ef8eaf82e19683bbf83e525))
|
|
40
|
+
|
|
5
41
|
### [4.12.14](https://github.com/Cap-go/CLI/compare/v4.12.13...v4.12.14) (2024-07-18)
|
|
6
42
|
|
|
7
43
|
### [4.12.13](https://github.com/Cap-go/CLI/compare/v4.12.12...v4.12.13) (2024-07-17)
|
package/build.mjs
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import * as esbuild from "esbuild";
|
|
2
2
|
|
|
3
|
-
// Replace 'your-external-dependencies-here' with actual externals from your project
|
|
4
|
-
const external = [];
|
|
5
|
-
|
|
6
3
|
esbuild.build({
|
|
7
4
|
entryPoints: ["src/index.ts"],
|
|
8
5
|
bundle: true,
|
|
9
6
|
platform: "node",
|
|
10
7
|
target: "node18",
|
|
11
|
-
|
|
12
|
-
outdir: "dist",
|
|
8
|
+
outfile: "dist/index.js", // Change this to output a single file
|
|
13
9
|
sourcemap: process.env.NODE_ENV === "development",
|
|
10
|
+
minify: true, // Minify the output
|
|
11
|
+
treeShaking: true, // Enable tree shaking to remove unused code
|
|
14
12
|
banner: {
|
|
15
13
|
js: "#!/usr/bin/env node",
|
|
16
14
|
},
|