Update ports / start:core

pull/894/head
Steve Ruiz 2022-08-11 08:28:30 +01:00
rodzic 564dcf7757
commit bba572852f
7 zmienionych plików z 16 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

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

Wyświetl plik

@ -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

Wyświetl plik

@ -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",

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

@ -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",