From 7d49248f7f73f088ed51c6e9176b289bc04c5d76 Mon Sep 17 00:00:00 2001 From: Guillermo Pages Date: Wed, 16 Jul 2025 19:50:32 +0200 Subject: [PATCH] fix: publishing stuff --- package.json | 4 ++-- tsconfig.build.json | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 tsconfig.build.json diff --git a/package.json b/package.json index 171d2c4..610d066 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-calendario", - "version": "1.0.0", + "version": "1.0.1", "description": "A modern, flexible calendar component for React with TypeScript support", "type": "module", "main": "dist/index.js", @@ -29,7 +29,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/yourusername/react-calendario" + "url": "git+https://github.com/gbili/react-calendario.git" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 0000000..adf7789 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,12 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "noEmit": false, + "declaration": true, + "declarationDir": "./dist", + "emitDeclarationOnly": true, + "rootDir": "./src" + }, + "include": ["src/**/*"], + "exclude": ["src/**/*.test.*", "src/examples", "src/App.tsx", "src/main.tsx"] +} \ No newline at end of file