build: remove pnpm & use bun, update installation steps and deps

This commit is contained in:
rzmk 2024-05-02 17:58:17 -04:00
parent c2395b20ce
commit 8bf97e8d72
No known key found for this signature in database
17 changed files with 30 additions and 19835 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
# build output
dist/
.output/
.astro
# dependencies
node_modules/

View file

@ -12,11 +12,11 @@ Astro, React, Tailwind, Framer Motion
## How to run
All commands are run from the root of the project, from a terminal:
All commands are run from the root of the project, from a terminal. We use [bun](https://bun.sh):
| Command | Action |
| :----------------- | :------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm run dev` | Starts local dev server at `localhost:3000` |
| `pnpm run build` | Build your production site to `./dist/` |
| `pnpm run preview` | Preview your build locally, before deploying |
| Command | Action |
| :-------------- | :------------------------------------------- |
| `bun install` | Installs dependencies |
| `bun dev` | Starts local dev server at `localhost:3000` |
| `bun run build` | Build your production site to `./dist/` |
| `bun preview` | Preview your build locally, before deploying |

BIN
bun.lockb

Binary file not shown.

14508
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,16 +11,16 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/tailwind": "^3.1.3",
"@fontsource/inter": "^4.5.15",
"astro": "^2.10.15",
"framer-motion": "^10.18.0",
"npm-check-updates": "^16.14.18",
"@astrojs/tailwind": "^5.1.0",
"@fontsource/inter": "^5.0.18",
"astro": "^4.7.1",
"framer-motion": "^11.1.7",
"npm-check-updates": "^16.14.20",
"tailwindcss": "^3.4.3"
},
"devDependencies": {
"@astrojs/react": "^2.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@astrojs/react": "^3.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}

5299
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -56,7 +56,7 @@ const FAQData = [
answer: "You may generate a CKAN API token by logging into your CKAN account on your CKAN instance. Then, click on the user profile icon on the top right corner, click the 'API Tokens' tab, enter any name for your token and click the 'Create API Token' button, and then your API token will appear on the page. Note that you may not view your API token from qsv pro, so we recommend saving this token somewhere safe.",
screenshots: [
{
src: generateCkanApiToken,
src: generateCkanApiToken.src,
alt: "Example of CKAN API token generation on user's profile page",
},
],

View file

@ -18,7 +18,7 @@ export const Features0 = () => {
<div className="flex flex-wrap items-center 2xl:w-[1450px] xl:w-[1300px] w-11/12 mx-auto md:pl-4 xl:pr-16 xl:pl-16">
<div className="w-full lg:w-1/2 mb-8 md:mb-0 lg:pl-16 flex justify-center mx-auto pt-16 lg:pt-0">
<img
src={draganddrop}
src={draganddrop.src}
alt="Drag and Drop Demo"
className="rounded-xl custom-border-gray"
/>

View file

@ -47,7 +47,7 @@ export const Features1 = () => {
</div>
<div className="w-full md:w-3/4 mb-8 md:mb-0 mx-auto lg:w-1/2 flex flex-wrap lg:-mx-4 sm:pr-8 justify-center">
<img
src={recipedemo}
src={recipedemo.src}
alt="Recipe Demo"
className="rounded-xl custom-border-gray"
/>

View file

@ -14,7 +14,7 @@ export const Features2 = () => (
<div className="flex flex-wrap items-center 2xl:w-[1450px] xl:w-[1300px] w-11/12 mx-auto md:pl-4 xl:pr-16 xl:pl-16">
<div className="w-full md:w-1/2 mb-8 md:mb-0 lg:pl-16 flex justify-center mx-auto pt-16 lg:pt-0">
<img
src={uploadtockan}
src={uploadtockan.src}
alt="CKAN Upload Demo"
className="rounded-xl custom-border-gray"
/>
@ -47,7 +47,7 @@ export const Features2 = () => (
<span>
Integrated with the CKAN API{" "}
<span className="text-red-300">
(>= 2.9)
{"(>= 2.9)"}
</span>
</span>
</li>

View file

@ -60,7 +60,7 @@ export const Features3 = () => {
</div>
<div className="w-full md:w-3/4 mb-8 md:mb-0 mx-auto lg:w-1/2 flex flex-wrap lg:-mx-4 sm:pr-8 justify-center">
<img
src={recipedemo}
src={recipedemo.src}
alt="Recipe Demo"
className="rounded-xl custom-border-gray"
/>

View file

@ -52,7 +52,7 @@ export const FeaturesDiagonal = () => {
</div>
<div className="w-4/5 lg:w-2/3 lg:pl-16 flex justify-center mx-auto pt-16 lg:pt-0">
<img
src={configurator}
src={configurator.src}
alt="Configurator Demo"
className="rounded-xl custom-border-gray"
/>

View file

@ -56,7 +56,7 @@ export const Footer = () => {
<div className="flex justify-center lg:justify-start items-center grow basis-0">
<div className="text-white mr-2 text-6xl">
<img
src={datHereLogoFull}
src={datHereLogoFull.src}
alt="datHere Logo"
className="w-48"
/>

View file

@ -89,7 +89,7 @@ export const Hero = () => {
<div className="grid grid-cols-1 sm:flex sm:ml-20 place-items-center justify-center items-center">
{/* <span>qsv pro</span> */}
<img
src={qsvProLogo}
src={qsvProLogo.src}
alt="qsv pro logo"
className="w-72 sm:w-96 lg:w-120"
/>
@ -216,7 +216,7 @@ export const Hero = () => {
>
<div className="relative w-screen flex justify-center ">
<img
src={dashboard}
src={dashboard.src}
alt="123"
className="w-4/5 2xl:w-[1200px] mx-auto absolute z-10 rounded-xl custom-border-gray hero-dashboard-border-gradient lg:top-6 xl:top-0"
/>

View file

@ -29,7 +29,7 @@ export const Navbar = () => {
<div className="flex justify-start items-center grow basis-0">
{/* <div className="text-white mr-2 text-6xl">
<img
src={datHereLogo}
src={datHereLogo.src}
alt="datHere logo"
className="w-6 h-6"
/>
@ -38,7 +38,7 @@ export const Navbar = () => {
qsv pro
</div> */}
<img
src={qsvProLogo}
src={qsvProLogo.src}
alt="qsv pro logo"
className="h-8"
/>

View file

@ -60,7 +60,7 @@ export const Testimonials = () => (
</div>
<div className="flex mt-4 mb-2 xl:mt-8 xl:mb-4">
<img
src={testimonial.image}
src={testimonial.src}
alt=""
width="45px"
/>

1
src/env.d.ts vendored
View file

@ -1 +1,2 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />