Skip to content

Commit

Permalink
Added Build Code for typing file
Browse files Browse the repository at this point in the history
  • Loading branch information
ansulagrawal committed Oct 16, 2023
1 parent 764b366 commit 0b1e55d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 4 additions & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand All @@ -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);
Expand Down

0 comments on commit 0b1e55d

Please sign in to comment.