diff --git a/sample/TypeShim.Sample.Client/.gitignore b/sample/.gitignore similarity index 98% rename from sample/TypeShim.Sample.Client/.gitignore rename to sample/.gitignore index b7447368..da2cd498 100644 --- a/sample/TypeShim.Sample.Client/.gitignore +++ b/sample/.gitignore @@ -97,7 +97,7 @@ temp/ # Preserve root lock !package-lock.json # If individual workspace package-locks accidentally get created (npm -w install inside): -@typeshim/*/package-lock.json +@client/*/package-lock.json # ----------------------------- # Misc bundler artifacts diff --git a/sample/TypeShim.Sample.Client/@typeshim/app/index.html b/sample/@client/app/index.html similarity index 92% rename from sample/TypeShim.Sample.Client/@typeshim/app/index.html rename to sample/@client/app/index.html index 78f05e10..7bb81257 100644 --- a/sample/TypeShim.Sample.Client/@typeshim/app/index.html +++ b/sample/@client/app/index.html @@ -4,7 +4,7 @@ - @typeshim/app Demo + @client/app Demo diff --git a/sample/TypeShim.Sample.Client/@typeshim/app/package.json b/sample/@client/app/package.json similarity index 71% rename from sample/TypeShim.Sample.Client/@typeshim/app/package.json rename to sample/@client/app/package.json index 9c409c9c..869f8be8 100644 --- a/sample/TypeShim.Sample.Client/@typeshim/app/package.json +++ b/sample/@client/app/package.json @@ -1,5 +1,5 @@ { - "name": "@typeshim/app", + "name": "@client/app", "version": "1.0.0", "description": "", "main": "index.js", @@ -11,8 +11,5 @@ }, "keywords": [], "author": "", - "license": "ISC", - "dependencies": { - "@typeshim/people-ui": "*" - } + "license": "ISC" } diff --git a/sample/TypeShim.Sample.Client/@typeshim/app/src/App.tsx b/sample/@client/app/src/App.tsx similarity index 89% rename from sample/TypeShim.Sample.Client/@typeshim/app/src/App.tsx rename to sample/@client/app/src/App.tsx index 83537014..bc625c5a 100644 --- a/sample/TypeShim.Sample.Client/@typeshim/app/src/App.tsx +++ b/sample/@client/app/src/App.tsx @@ -1,8 +1,8 @@ import { useState } from 'react'; import Home from './pages/Home'; import People from './pages/People'; -import { TypeShimProvider } from '@typeshim/wasm-exports'; -import { AppProvider } from '@typeshim/people-ui'; +import { TypeShimProvider } from '@client/wasm-exports'; +import { AppProvider } from './people/AppProvider'; type Page = 'home' | 'people'; @@ -28,7 +28,7 @@ function Content() { display: 'flex', gap: '1rem' }}> - @typeshim/app + @client/app