Skip to content

Commit df20987

Browse files
committed
chore: update vitest to version 3.2.2 across all packages, update next version to 15.3.3, typos
1 parent 67f7fac commit df20987

12 files changed

Lines changed: 152 additions & 258 deletions

File tree

apps/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"eslint-config-next": "^15.3.3",
3131
"tailwindcss": "^4.1.4",
3232
"typescript": "^5.8.3",
33-
"vitest": "^3.1.3"
33+
"vitest": "^3.2.2"
3434
}
3535
}

apps/docs/content/docs/cli/guides/getting-started.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ description: This guide walks you through how to get up and running with a new P
55

66
import { Callout } from "fumadocs-ui/components/callout";
77
import { Step, Steps } from "fumadocs-ui/components/steps";
8-
import { Tab, Tabs } from "fumadocs-ui/components/tabs";
98

109
<Callout title="Are you more of a visual learner?">
1110
Check out the various videos available on [this page](/docs/cli).
@@ -16,7 +15,7 @@ import { Tab, Tabs } from "fumadocs-ui/components/tabs";
1615
If you're brand new to web development, you'll want to make sure these basics are installed on your system
1716

1817
- [Node](https://nodejs.org/en)
19-
- To check if you have already have Node installed, run `node -v` in your terminal. It will return the version number if already installed.
18+
- To check if you have already have Node.js installed, run `node -v` in your terminal. It will return the version number if already installed.
2019
- If not, download and install here: [nodejs.org](https://nodejs.org/en)
2120
- [Visual Studio Code](https://code.visualstudio.com/download) (or similar IDE)
2221
- git (download [GitHub Desktop](https://github.com/apps/desktop) if you've never used git before)
@@ -70,7 +69,7 @@ If you get an error while creating a Data API key, it's most often one of these
7069

7170
- The Data API is not enabled on your FileMaker server
7271
- The account name and/or password you entered was incorrect
73-
- The account does not have the `fmrest` extended privledge
72+
- The account does not have the `fmrest` extended privilege
7473

7574
</Callout>
7675

apps/docs/content/docs/cli/guides/motivation.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar:
88
import { Card } from "fumadocs-ui/components/card";
99
import { Callout } from "fumadocs-ui/components/callout";
1010

11-
The ProofKit CLI aims to make web development easier for beginners and more efficient for experienced devs. It's _opinionated_ structure allows for more than just a starter template or bootstrapping tool, but code-mod scripts that can modify a project after the initial setup.
11+
The ProofKit CLI aims to make web development easier for beginners and more efficient for experienced devs. Its _opinionated_ structure allows for more than just a starter template or bootstrapping tool, but code-mod scripts that can modify a project after the initial setup.
1212

1313
ProofKit is **not** a JavaScript framework. It's also **not** the only way to build a web app. It's simply our experience of building web apps encapsulated into a CLI tool to help you structure your project and add to it over time. Each template is just a starting point, and you are free to modify any part of it as you see fit.
1414

@@ -28,19 +28,19 @@ After you start a new ProofKit project, we encourage you to play around with it!
2828

2929
## The ProofKit Tech Stack
3030

31-
Here is a list of the frameworks and packages that you'll come accross in a ProofKit project, the reasons why we chose them, and links to their own docs.
31+
Here is a list of the frameworks and packages that you'll come across in a ProofKit project, the reasons why we chose them, and links to their own docs.
3232

3333
### Browser-based Frameworks / Packages
3434

3535
#### [Next.js](https://nextjs.org/docs)
3636

37-
A well-supported open-source React framework for full-stack web applications. This means it runs code on your frontened (in the client's web browser) and backend (on the web server, or API routes). It makes is easy to get a web app up and running with all the features that we expect from a modern web app and is used by companies of all sizes to power their online precence.
37+
A well-supported open-source React framework for full-stack web applications. This means it runs code on your frontend (in the client's web browser) and backend (on the web server, or API routes). It makes it easy to get a web app up and running with all the features that we expect from a modern web app and is used by companies of all sizes to power their online presence.
3838

3939
#### [Mantine](https://mantine.dev/)
4040

41-
A vast, themeable component library for React. We use their default components and styles to build apps very quickly, but with the option of adding custom styles or themes later if needed. Mantine also includes many helpful React hooks, and they provide a Modal and Notifcation system to ProofKit apps.
41+
A vast, themeable component library for React. We use their default components and styles to build apps very quickly, but with the option of adding custom styles or themes later if needed. Mantine also includes many helpful React hooks, and they provide a Modal and Notification system to ProofKit apps.
4242

43-
Why not tailwind css and/or shadcn/ui? We've chosen to focus on Mantine because it has allowed our team to work much faster for the kinds of web apps that we build for our clients. When you're working on multiple projects at once, it's actually a benefit to **not** own the compoment code within an individual codebase, so that it can be more easily upgraded when the time comes. However, we have not ruled out other components and style systems and may add support for them in the future.
43+
Why not tailwind css and/or shadcn/ui? We've chosen to focus on Mantine because it has allowed our team to work much faster for the kinds of web apps that we build for our clients. When you're working on multiple projects at once, it's actually a benefit to **not** own the component code within an individual codebase, so that it can be more easily upgraded when the time comes. However, we have not ruled out other components and style systems and may add support for them in the future.
4444

4545
#### [Tanstack Query](https://tanstack.com/query)
4646

@@ -58,7 +58,7 @@ A wrapper around Next.js actions that include middleware (for easily checking th
5858

5959
#### [Clerk](https://clerk.com/)
6060

61-
A hosted authentication service that is extremly easy to setup and use. It's a great choice to secure most customer-facing web apps, including built in features such as Social logins, magin link, multi-factor authentication, and more.
61+
A hosted authentication service that is extremely easy to set up and use. It's a great choice to secure most customer-facing web apps, including built-in features such as Social logins, magic link, multi-factor authentication, and more.
6262

6363
<Callout type="info">
6464
For when you need a bit more flexibility or if you want to self-host the authentication layer, [next-auth](https://authjs.dev/) is also supported by ProofKit. While it requires a bit more configuration to get everything just right, ProofKit handles most of it for you.

apps/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"fumadocs-typescript": "^4.0.3",
2323
"fumadocs-ui": "15.3.3",
2424
"lucide-react": "^0.511.0",
25-
"next": "^15.3.2",
25+
"next": "^15.3.3",
2626
"react": "^19.1.0",
2727
"react-dom": "^19.1.0",
2828
"shiki": "^3.3.0",

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
"version-packages": "changeset version",
1111
"sherif": "pnpm dlx sherif@latest",
1212
"sherif:fix": "pnpm sherif --fix",
13-
"release": "pnpm build && changeset publish"
13+
"release": "pnpm build && changeset publish",
14+
"test": "vitest"
1415
},
1516
"devDependencies": {
1617
"@changesets/cli": "^2.29.3",
1718
"@types/node": "^22.15.19",
1819
"eslint": "^9.23.0",
1920
"prettier": "^3.5.3",
2021
"turbo": "^2.5.2",
21-
"vitest": "^3.1.3"
22+
"vitest": "^3.2.2"
2223
},
2324
"packageManager": "pnpm@10.11.1",
2425
"engines": {

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"drizzle-kit": "^0.21.4",
104104
"drizzle-orm": "^0.30.10",
105105
"mysql2": "^3.9.7",
106-
"next": "^15.3.2",
106+
"next": "^15.3.3",
107107
"next-auth": "^4.24.7",
108108
"postgres": "^3.4.4",
109109
"prettier": "^3.5.3",
@@ -116,7 +116,7 @@
116116
"tsup": "^6.7.0",
117117
"type-fest": "^3.13.1",
118118
"typescript": "^5.8.3",
119-
"vitest": "^3.1.3",
119+
"vitest": "^3.2.2",
120120
"zod": "3.25.51"
121121
}
122122
}

packages/cli/src/generators/fmdapi.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,13 @@ export async function runCodegenCommand() {
209209
pkgManager === "npm"
210210
? "npx"
211211
: pkgManager === "pnpm"
212-
? "pnpx" // User preference
212+
? "pnpm"
213213
: pkgManager === "bun"
214214
? "bunx"
215215
: pkgManager,
216-
["@proofkit/typegen@latest", `--env-path=${settings.envFile}`],
216+
pkgManager === "pnpm"
217+
? ["dlx", "@proofkit/typegen@latest", `--env-path=${settings.envFile}`]
218+
: ["@proofkit/typegen@latest", `--env-path=${settings.envFile}`],
217219
{
218220
cwd: projectDir,
219221
stderr: "inherit",
@@ -290,7 +292,7 @@ export function getExistingSchemas({
290292
ds.path === dataSourceName
291293
);
292294

293-
if (targetDataSource && targetDataSource.layouts) {
295+
if (targetDataSource?.layouts) {
294296
return targetDataSource.layouts.map((layout) => ({
295297
layout: layout.layoutName,
296298
schemaName: layout.schemaName,
@@ -494,7 +496,7 @@ export async function removeLayout({
494496

495497
const targetDataSource = configArray.find((ds) => ds.path === targetDsPath);
496498

497-
if (targetDataSource && targetDataSource.layouts) {
499+
if (targetDataSource?.layouts) {
498500
const initialCount = targetDataSource.layouts.length;
499501
targetDataSource.layouts = targetDataSource.layouts.filter(
500502
(layout) => layout.schemaName !== schemaName

packages/fmdapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"publint": "^0.3.12",
7474
"ts-toolbelt": "^9.6.0",
7575
"typescript": "^5.8.3",
76-
"vitest": "^3.1.3"
76+
"vitest": "^3.2.2"
7777
},
7878
"engines": {
7979
"node": ">=18.0.0"

packages/typegen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@
6262
"@types/fs-extra": "^11.0.4",
6363
"publint": "^0.3.12",
6464
"typescript": "^5.8.3",
65-
"vitest": "^3.1.3"
65+
"vitest": "^3.2.2"
6666
}
6767
}

0 commit comments

Comments
 (0)