From 0b1e55d100ab667c2f9e8864478630e3af35709e Mon Sep 17 00:00:00 2001 From: Ansul Agrawal Date: Mon, 16 Oct 2023 16:40:09 +0530 Subject: [PATCH] Added Build Code for typing file --- CHANGELOG.md | 10 ++++++++-- package.json | 2 +- scripts/build.js | 4 ++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed837dd..aa79766 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [4.3.1](https://github.com/react-scheduler/react-big-schedule/compare/4.3.0...4.3.1) + +`2023-10-16` + +- Updated Build Code by adding typing file `index.d.ts` by [@ansulagrawal](https://github.com/ansulagrawal) in [#110](https://github.com/react-scheduler/react-big-schedule/pull/110). + ## [4.3.0](https://github.com/react-scheduler/react-big-schedule/compare/4.2.5...4.3.0) `2023-10-16` @@ -15,8 +21,8 @@ - ESLint Configration by [@ansulagrawal](https://github.com/ansulagrawal) in [#93](https://github.com/react-scheduler/react-big-schedule/pull/93). - Fix some eslint issues and update some package versions by [@ansulagrawal](https://github.com/ansulagrawal) in [#104](https://github.com/react-scheduler/react-big-schedule/pull/104). - Apply fixes from CodeFactor by [@ansulagrawal](https://github.com/ansulagrawal) in [#105](https://github.com/react-scheduler/react-big-schedule/pull/105). -- Fix Eslint Errors by [@ansulagrawal](https://github.com/ansulagrawal) in [#106](https://github.com/react-scheduler/react-big-schedule/pull/108). -- Updated ChangeLog by [@ansulagrawal](https://github.com/ansulagrawal) in [#105](https://github.com/react-scheduler/react-big-schedule/pull/109). +- Fix Eslint Errors by [@ansulagrawal](https://github.com/ansulagrawal) in [#108](https://github.com/react-scheduler/react-big-schedule/pull/108). +- Updated ChangeLog by [@ansulagrawal](https://github.com/ansulagrawal) in [#109](https://github.com/react-scheduler/react-big-schedule/pull/109). ## [4.2.5](https://github.com/react-scheduler/react-big-schedule/compare/4.2.4...4.2.5) diff --git a/package.json b/package.json index f8cf4ec..2f1c0df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-big-schedule", - "version": "4.3.0", + "version": "4.3.1", "description": "React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React. Seamlessly integrate this modern browser-compatible component into your applications to effectively manage time, appointments, and resources. With drag-and-drop functionality, interactive UI, and granular views, react-big-schedule empowers users to effortlessly schedule and allocate resources with precision. Enhance productivity and streamline your workflow with this React-based solution, designed to optimize time management and simplify calendar-based operations. Perfect for applications requiring advanced scheduling capabilities, react-big-schedule offers a seamless and intuitive experience for managing appointments, resource allocation, and time slots. Unlock the potential of your React projects with react-big-schedule and revolutionize the way you handle scheduling and resource planning. It is the updated version of react-big-scheduler", "keywords": [ "react-big-schedule", diff --git a/scripts/build.js b/scripts/build.js index 3865448..caa2ad1 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -19,6 +19,7 @@ async function build() { const root = path.resolve(__dirname, '..'); const sourceDir = path.resolve(root, 'src'); const targetDir = path.resolve(root, 'dist'); + const typingDir = path.resolve(root, 'typing'); const jsTarget = targetDir; const cssTarget = path.resolve(targetDir, 'css'); const excludedFolders = ['examples', 'main.jsx']; @@ -35,6 +36,9 @@ async function build() { process.stdout.write('Copying CSS Files... \n'); await fs.copy(`${sourceDir}/css/`, cssTarget); + process.stdout.write('Copying Typescript Files... \n'); + await fs.copy(`${typingDir}/`, targetDir); + process.stdout.write('Success! \n'); } catch (e) { console.log(e);