Skip to content

Commit 47e9e13

Browse files
Update installer instructions, format code, bump version, update dependencies.
1 parent 992d78f commit 47e9e13

File tree

6 files changed

+92
-12220
lines changed

6 files changed

+92
-12220
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/.pnp
66
.pnp.js
77
.yarn/install-state.gz
8+
package-lock.json
89

910
# testing
1011
/coverage

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Installing CodeQuill on Linux (Ubuntu is preferred) is straightforward.
1515

1616
### Using the installer
1717

18-
Download the install file here:<br>
19-
[https://github.com/The-Best-Codes/codequill/blob/main/codequill_app.sh](https://github.com/The-Best-Codes/codequill/blob/main/codequill_app.sh)<br>
20-
_Click the download button in the top right of the editor._
18+
Open your terminal (you can usually press CTRL + ALT + T to do this) and paste the following command:
2119

22-
If the download doesn't happen automatically, open the URL and save the page manually (right click and select "Save page as" or Press `CTRL + S`).
20+
```bash
21+
cd ~ && curl -O https://github.com/The-Best-Codes/codequill/blob/main/codequill_app.sh && bash codequill_app.sh
22+
```
2323

24-
Rigth click on the file, then select properties, and turn on "Allow executing as a program". Right click on the file again and select "Run as a progam".
24+
The install should happen automatically.
2525

2626
### Manual installation
2727

components/ui/calendar.tsx

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
"use client"
1+
"use client";
22

3-
import * as React from "react"
4-
import { ChevronLeft, ChevronRight } from "lucide-react"
5-
import { DayPicker } from "react-day-picker"
3+
import * as React from "react";
4+
import { ChevronLeft, ChevronRight } from "lucide-react";
5+
import { DayPicker } from "react-day-picker";
66

7-
import { cn } from "@/lib/utils"
8-
import { buttonVariants } from "@/components/ui/button"
7+
import { cn } from "@/lib/utils";
8+
import { buttonVariants } from "@/components/ui/button";
99

10-
export type CalendarProps = React.ComponentProps<typeof DayPicker>
10+
export type CalendarProps = React.ComponentProps<typeof DayPicker>;
1111

1212
function Calendar({
1313
className,
@@ -53,14 +53,16 @@ function Calendar({
5353
day_hidden: "invisible",
5454
...classNames,
5555
}}
56-
components={{
57-
IconLeft: ({ ...props }) => <ChevronLeft className="h-4 w-4" />,
58-
IconRight: ({ ...props }) => <ChevronRight className="h-4 w-4" />,
59-
}}
56+
components={
57+
{
58+
IconLeft: ({ ...props }) => <ChevronLeft className="h-4 w-4" />,
59+
IconRight: ({ ...props }) => <ChevronRight className="h-4 w-4" />,
60+
} as any
61+
}
6062
{...props}
6163
/>
62-
)
64+
);
6365
}
64-
Calendar.displayName = "Calendar"
66+
Calendar.displayName = "Calendar";
6567

66-
export { Calendar }
68+
export { Calendar };

0 commit comments

Comments
 (0)