@fabiobcsouza/tsdown-starter 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.
@@ -0,0 +1,4 @@
1
+ //#region src/index.d.ts
2
+ declare function fn(): string;
3
+ //#endregion
4
+ export { fn };
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ //#region src/index.ts
2
+ function fn() {
3
+ return "Hello, tsdown!";
4
+ }
5
+ //#endregion
6
+ export { fn };
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@fabiobcsouza/tsdown-starter",
3
+ "type": "module",
4
+ "version": "1.0.0",
5
+ "private": false,
6
+ "description": "A simple example library built by tsdown",
7
+ "exports": {
8
+ ".": "./dist/index.mjs",
9
+ "./package.json": "./package.json"
10
+ },
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "scripts": {
15
+ "build": "tsdown",
16
+ "dev": "tsdown --watch",
17
+ "prepublishOnly": "npm run build"
18
+ },
19
+ "devDependencies": {
20
+ "tsdown": "^0.22.0",
21
+ "typescript": "^6.0.3"
22
+ }
23
+ }