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/README.md +315 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +23 -1986
- package/dist/index.mjs +18 -0
- package/package.json +20 -30
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.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
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
|
|
15
|
+
"dist",
|
|
11
16
|
"package.json"
|
|
12
17
|
],
|
|
13
|
-
"
|
|
14
|
-
"
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"typescript": "^5.8.3"
|
|
15
20
|
},
|
|
16
21
|
"devDependencies": {
|
|
17
|
-
"@
|
|
18
|
-
"
|
|
19
|
-
"
|
|
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
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
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
|
}
|