@zyacreatives/shared 1.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.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # shared
@@ -0,0 +1 @@
1
+ export declare const sum: (a: number, b: number) => number;
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export const sum = (a, b) => a + b;
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "@zyacreatives/shared",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "private": false,
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "keywords": [],
12
+ "author": "",
13
+ "license": "ISC",
14
+ "devDependencies": {
15
+ "tsup": "^8.5.0",
16
+ "typescript": "^5.9.3"
17
+ },
18
+ "scripts": {
19
+ "build": "pnpm tsc"
20
+ }
21
+ }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export const sum = (a: number, b: number) => a + b;
package/tsconfig.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "declaration": true,
6
+ "outDir": "dist",
7
+ "strict": true
8
+ },
9
+ "include": ["src"]
10
+ }