dwkim 0.0.16 → 0.0.18

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/dist/index.mjs ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/index.ts
4
+ function multiply(a, b) {
5
+ return a * b;
6
+ }
7
+ function identitiy(arg) {
8
+ return arg;
9
+ }
10
+ function main() {
11
+ console.log("multiply 1 2", multiply(1, 2));
12
+ console.log("identitiy 1", identitiy("1"));
13
+ }
14
+ main();
15
+ export {
16
+ identitiy,
17
+ multiply
18
+ };
package/package.json CHANGED
@@ -1,42 +1,32 @@
1
1
  {
2
2
  "name": "dwkim",
3
- "version": "0.0.16",
4
- "type": "module",
5
- "author": "Dongwook Kim",
6
- "exports": {
7
- ".": "./dist/index.js"
3
+ "version": "0.0.18",
4
+ "description": "this",
5
+ "license": "MIT",
6
+ "author": "dannyworks102@gmail.com",
7
+ "type": "commonjs",
8
+ "main": "dist/index.js",
9
+ "module": "dist/index.mjs",
10
+ "types": "dist/index.d.ts",
11
+ "bin": {
12
+ "dwkim": "dist/index.js"
8
13
  },
9
14
  "files": [
10
- "dist/index.js",
15
+ "dist",
11
16
  "package.json"
12
17
  ],
13
- "bin": {
14
- "dwkim": "dist/index.js"
18
+ "dependencies": {
19
+ "typescript": "^5.8.3"
15
20
  },
16
21
  "devDependencies": {
17
- "@types/node": "^20.17.10",
18
- "dotenv-cli": "^8.0.0",
19
- "esbuild": "^0.24.2",
20
- "ts-node": "^10.9.2",
21
- "tsx": "4.19.1",
22
- "typescript": "~5.6.3",
23
- "@repo/typescript-config": "0.0.0",
24
- "@repo/database": "1.0.0"
25
- },
26
- "dependencies": {
27
- "@ai-sdk/openai": "^1.1.9",
28
- "ai": "^4.1.34",
29
- "boxen": "^8.0.1",
30
- "chalk": "^5.4.1",
31
- "dotenv": "^16.4.7",
32
- "rimraf": "^5.0.5",
33
- "zod": "^3.24.1"
22
+ "@changesets/cli": "^2.29.4",
23
+ "tsup": "^8.5.0",
24
+ "tsx": "^4.20.3"
34
25
  },
35
26
  "scripts": {
36
- "start": "pnpm run build && node dist/index.js",
37
- "build": "node script/build.js",
38
- "build:watch": "node script/build.js --watch",
39
- "prebuild": "rimraf ./dist",
40
- "publish:dev": "dotenv -e .env -- node script/private-registry.js"
27
+ "build": "tsup src/index.ts --format cjs,esm --dts",
28
+ "release": "pnpm run build && changeset publish",
29
+ "dev": "tsx watch src/index.ts",
30
+ "lint": "tsc"
41
31
  }
42
32
  }