@kunk/cli 3.0.1 → 3.0.3
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/.turbo/turbo-build.log +13 -13
- package/.turbo/turbo-deploy.log +0 -0
- package/.turbo/turbo-version$colon$patch.log +4 -0
- package/CHANGELOG.md +0 -9
- package/dist/index.mjs +1 -1
- package/package.json +6 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
[
|
|
3
|
-
[34mℹ[39m
|
|
4
|
-
[34mℹ[39m
|
|
5
|
-
[34mℹ[39m
|
|
6
|
-
[34mℹ[39m
|
|
7
|
-
[34mℹ[39m
|
|
8
|
-
[34mℹ[39m
|
|
9
|
-
[34mℹ[39m
|
|
10
|
-
[34mℹ[39m
|
|
11
|
-
[
|
|
12
|
-
|
|
13
|
-
[32m✔[39m Build complete in [
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mtsdown[0m
|
|
3
|
+
[34mℹ[39m tsdown [2mv0.20.3[22m powered by rolldown [2mv1.0.0-rc.3[22m
|
|
4
|
+
[34mℹ[39m config file: [4m/Users/ag/auxo/kunk/packages/cli/tsdown.config.ts[24m
|
|
5
|
+
[34mℹ[39m entry: [34msrc/index.ts[39m
|
|
6
|
+
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
7
|
+
[34mℹ[39m Build start
|
|
8
|
+
[34mℹ[39m Cleaning 2 files
|
|
9
|
+
[34mℹ[39m Granting execute permission to [4mdist/index.mjs[24m
|
|
10
|
+
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [2m0.97 kB[22m [2m│ gzip: 0.55 kB[22m
|
|
11
|
+
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.mts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
12
|
+
[34mℹ[39m 2 files, total: 0.99 kB
|
|
13
|
+
[32m✔[39m Build complete in [32m1610ms[39m
|
|
File without changes
|
package/CHANGELOG.md
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import{program}from"commander";import{DatabaseConfig}from"@kunk/server";var version=`3.0.
|
|
2
|
+
import{program}from"commander";import{DatabaseConfig}from"@kunk/server";var version=`3.0.3`;async function docker_up(){await import(`@kunk/server`);let{PostgresContainer:e}=await import(`@kunk/docker`),{uri:n}=DatabaseConfig.get(),r=new URL(n);await e.start({hostname:r.hostname,port:r.port,username:r.username,password:r.password,database:r.pathname.slice(1)})}console.log(process.cwd()),program.name(`kunk`).description(`Kunk is a framework for building microservices`).version(version),program.command(`docker up`).description(`Start the docker containers`).option(`--detach`,`run the command in the background`).action(async(e,t)=>{if(console.log(`Starting docker containers in background...`,t),t.detach){let e=Bun.spawn([`bun`,`run`,`cli`,`docker`,`up`],{detached:!0,stdio:[`ignore`,`pipe`,`inherit`]});e.unref(),console.log(`Processo iniciado em background com PID: ${e.pid}`),process.exit(0)}else docker_up()}),program.parse(process.argv);export{};
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kunk/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.ts",
|
|
7
7
|
"module": "./index.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "tsdown"
|
|
9
|
+
"build": "tsdown",
|
|
10
|
+
"version:patch": "bun pm version patch",
|
|
11
|
+
"deploy": "bun publish"
|
|
10
12
|
},
|
|
11
13
|
"dependencies": {
|
|
12
|
-
"@kunk/server": "
|
|
13
|
-
"@kunk/docker": "
|
|
14
|
+
"@kunk/server": "3.0.0",
|
|
15
|
+
"@kunk/docker": "3.0.0"
|
|
14
16
|
},
|
|
15
17
|
"bin": {
|
|
16
18
|
"kunk": "./cli.ts"
|