@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.
@@ -1,13 +1,13 @@
1
- $ tsdown
2
- ℹ tsdown v0.20.3 powered by rolldown v1.0.0-rc.3
3
- ℹ config file: /home/runner/work/kunk/kunk/packages/cli/tsdown.config.ts
4
- ℹ entry: src/index.ts
5
- ℹ tsconfig: tsconfig.json
6
- ℹ Build start
7
- ℹ Granting execute permission to dist/index.mjs
8
- ℹ dist/index.mjs 0.97 kB │ gzip: 0.55 kB
9
- ℹ dist/index.d.mts 0.01 kB │ gzip: 0.03 kB
10
- ℹ 2 files, total: 0.99 kB
11
- [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugin `rolldown-plugin-dts:generate`. See https://rolldown.rs/options/checks#plugintimings for more details.
12
-
13
- ✔ Build complete in 8389ms
1
+
2
+ $ tsdown
3
+ ℹ tsdown v0.20.3 powered by rolldown v1.0.0-rc.3
4
+ ℹ config file: /Users/ag/auxo/kunk/packages/cli/tsdown.config.ts
5
+ ℹ entry: src/index.ts
6
+ ℹ tsconfig: tsconfig.json
7
+ ℹ Build start
8
+ ℹ Cleaning 2 files
9
+ ℹ Granting execute permission to dist/index.mjs
10
+ ℹ dist/index.mjs 0.97 kB │ gzip: 0.55 kB
11
+ ℹ dist/index.d.mts 0.01 kB │ gzip: 0.03 kB
12
+ ℹ 2 files, total: 0.99 kB
13
+ ✔ Build complete in 1610ms
File without changes
@@ -0,0 +1,4 @@
1
+
2
+ $ bun pm version patch
3
+ [0.03ms] ".env"
4
+ v3.0.3
package/CHANGELOG.md CHANGED
@@ -1,14 +1,5 @@
1
1
  # @kunk/cli
2
2
 
3
- ## 3.0.1
4
-
5
- ### Patch Changes
6
-
7
- - bdb5bf7: teste
8
- - Updated dependencies [bdb5bf7]
9
- - @kunk/docker@3.0.1
10
- - @kunk/server@3.0.1
11
-
12
3
  ## 3.0.0
13
4
 
14
5
  ### Major Changes
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.0`;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{};
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.1",
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": "workspace:*",
13
- "@kunk/docker": "workspace:*"
14
+ "@kunk/server": "3.0.0",
15
+ "@kunk/docker": "3.0.0"
14
16
  },
15
17
  "bin": {
16
18
  "kunk": "./cli.ts"