@kunk/client 3.0.0

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.
@@ -0,0 +1,12 @@
1
+ $ tsdown
2
+ ℹ tsdown v0.20.3 powered by rolldown v1.0.0-rc.3
3
+ ℹ config file: /home/runner/work/kunk/kunk/packages/client/tsdown.config.ts (unrun)
4
+ ℹ entry: src/index.ts
5
+ ℹ tsconfig: ../../tsconfig.json
6
+ ℹ Build start
7
+ ℹ dist/index.mjs 0.09 kB │ gzip: 0.10 kB
8
+ ℹ dist/index.d.mts 0.16 kB │ gzip: 0.14 kB
9
+ ℹ 2 files, total: 0.26 kB
10
+ [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugin `rolldown-plugin-dts:generate`. See https://rolldown.rs/options/checks#plugintimings for more details.
11
+
12
+ ✔ Build complete in 3379ms
package/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # @kunk/client
2
+
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - version 2
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @kunk/api@3.0.0
@@ -0,0 +1,9 @@
1
+ //#region src/index.d.ts
2
+ declare function createClient(): {
3
+ get: () => Promise<{
4
+ id: string;
5
+ name: string;
6
+ }>;
7
+ };
8
+ //#endregion
9
+ export { createClient };
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ function createClient(){return{get:async()=>({id:`1`,name:`John Doe`})}}export{createClient};
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@kunk/client",
3
+ "version": "3.0.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "main": "./src/index.ts",
7
+ "module": "./src/index.ts",
8
+ "scripts": {
9
+ "build": "tsdown"
10
+ },
11
+ "dependencies": {
12
+ "@kunk/api": "workspace:*"
13
+ },
14
+ "publishConfig": {
15
+ "access": "public"
16
+ }
17
+ }
package/src/index.ts ADDED
@@ -0,0 +1,10 @@
1
+ export function createClient() {
2
+ return {
3
+ get: async () => {
4
+ return {
5
+ id: "1",
6
+ name: "John Doe",
7
+ }
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,11 @@
1
+ import { defineConfig } from 'tsdown'
2
+
3
+ export default defineConfig({
4
+ entry: [
5
+ './src/index.ts'
6
+ ],
7
+ dts: true,
8
+ minify: {
9
+ mangle: true,
10
+ }
11
+ })