@ivan-angelkoski/simple-package 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/dist/index.cjs ADDED
@@ -0,0 +1,10 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ //#region src/index.ts
4
+ function sayHello(name = "World") {
5
+ return `Hello ${name} from simple-package`;
6
+ }
7
+
8
+ //#endregion
9
+ exports.sayHello = sayHello;
10
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["export function sayHello(name: string = \"World\") {\n return `Hello ${name} from simple-package`;\n}\n"],"mappings":";;;AAAA,SAAgB,SAAS,OAAe,SAAS;AAC/C,QAAO,SAAS,KAAK"}
@@ -0,0 +1,5 @@
1
+ //#region src/index.d.ts
2
+ declare function sayHello(name?: string): string;
3
+ //#endregion
4
+ export { sayHello };
5
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";iBAAgB,QAAA,CAAS,IAAA"}
@@ -0,0 +1,5 @@
1
+ //#region src/index.d.ts
2
+ declare function sayHello(name?: string): string;
3
+ //#endregion
4
+ export { sayHello };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";iBAAgB,QAAA,CAAS,IAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ //#region src/index.ts
2
+ function sayHello(name = "World") {
3
+ return `Hello ${name} from simple-package`;
4
+ }
5
+
6
+ //#endregion
7
+ export { sayHello };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["export function sayHello(name: string = \"World\") {\n return `Hello ${name} from simple-package`;\n}\n"],"mappings":";AAAA,SAAgB,SAAS,OAAe,SAAS;AAC/C,QAAO,SAAS,KAAK"}
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@ivan-angelkoski/simple-package",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "description": "This is a simple package for testing purposes",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "require": "./dist/index.cjs",
15
+ "types": "./dist/index.d.ts"
16
+ }
17
+ },
18
+ "keywords": [
19
+ "test"
20
+ ],
21
+ "author": "Ivan Angelkoski",
22
+ "license": "ISC",
23
+ "devDependencies": {
24
+ "tsdown": "^0.20.3"
25
+ },
26
+ "scripts": {
27
+ "build": "tsdown",
28
+ "dev": "tsdown --watch",
29
+ "publish-package": "pnpm publish --access public"
30
+ }
31
+ }