Update ports / start:core

This commit is contained in:
Steve Ruiz 2022-08-11 08:28:30 +01:00
parent 564dcf7757
commit bba572852f
7 changed files with 16 additions and 4 deletions

View file

@ -8,4 +8,6 @@ An advanced example project for `@tldraw/core`.
To start this project:
- run `yarn dev` from the repository's root directory
- run `yarn start:core` from the repository's root directory
- open `localhost://5421` in your browser
- OR run `yarn dev` from the `examples/core-example-advanced` directory

View file

@ -5,4 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), tsconfigPaths()],
server: {
port: 5421,
},
})

View file

@ -9,4 +9,5 @@ An simple example project for `@tldraw/core`.
To start this project:
- run `yarn` from the repository's root directory
- run `yarn dev:core` from the `examples/core-example` directory
- run `yarn dev` from the `examples/core-example` directory
- open `localhost://5422` in your browser

View file

@ -10,7 +10,7 @@
"license": "MIT",
"type": "module",
"scripts": {
"dev:core": "vite",
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "TIMING=1 eslint src/ --ext .ts,.tsx",

View file

@ -4,4 +4,7 @@ import { defineConfig } from 'vite'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 5422,
},
})

View file

@ -5,4 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), tsconfigPaths()],
server: {
port: 5420,
},
})

View file

@ -22,7 +22,7 @@
"build:packages": "turbo run build --filter=./packages/*",
"build:apps": "turbo run build --filter=./apps/**",
"start": "turbo run dev --filter=@tldraw/tldraw-example... --parallel",
"start:core": "turbo run dev --filter=@tldraw/core-example*... --parallel",
"start:core": "turbo run dev --filter=@tldraw/core-example-advanced*... --parallel",
"start:www": "turbo run dev --filter=@tldraw/www... --parallel",
"start:vscode": "turbo run dev --filter=./apps/vscode/*... --parallel",
"start:extension": "turbo run dev --filter=@tldraw/new-tab-extension... --parallel",