Skip to content

Update index.md for Server Step #1197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Now we need a very basic `packages/server/package.json`. Let's start with this
```
You touched `dependencies`, so run `pnpm i`.

Now, our ui pakcage has a `dev-server` script that seems useful. Let's bring that over (this time as a `dev` script, since this package _is_ the server). Bring the lint and test scripts as well.
Now, our ui package has a `dev-server` script that seems useful. Let's bring that over (this time as a `dev` script, since this package _is_ the server). Bring the lint and test scripts as well.

```json
"scripts": {
Expand All @@ -55,13 +55,12 @@ Now, our ui pakcage has a `dev-server` script that seems useful. Let's bring tha

Remember to change that path in the `dev` script -- it should point to `src/index.ts`

Let's also add `build` and `dev` scripts -- copy these straight from the `@seeds/models` package.
Let's also add the `build` script -- copy this straight from the `@seeds/models` package.

```json
{
"scripts": {
"build": "tsc -p tsconfig.build.json",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput"
"build": "tsc -p tsconfig.build.json"
}
}
```
Expand Down Expand Up @@ -145,4 +144,4 @@ so that you can find any module import paths that need to be fixed. Once you get
pnpm build && pnpm test && pnpm check
```

You may notice that _linting_ doesn't work yet. Let's fix that next
You may notice that _linting_ doesn't work yet. Let's fix that next