From 139b9e27edac093dc1589198bdb9ab1193bf2902 Mon Sep 17 00:00:00 2001 From: Gheric Speiginer Date: Wed, 15 May 2024 21:19:36 -0700 Subject: [PATCH 1/2] Eliminated HOOKSTATE-111 and HOOKSTATE-106 exceptions --- .vscode/launch.json | 19 ++++++++ README.md | 2 +- core/src/__tests__/Complex.tsx | 75 ++++++++++++++++++++++++++++++++ core/src/__tests__/Extension.tsx | 15 ++++--- core/src/__tests__/Primitive.tsx | 2 +- core/src/index.ts | 37 ++++++++++------ 6 files changed, 129 insertions(+), 21 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..8e06bbd7 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + "version": "1.0.0", + "configurations": [ + { + "name": "Test Core", + "request": "launch", + "runtimeArgs": [ + "nx", + "test", + "core" + ], + "runtimeExecutable": "pnpm", + "skipFiles": [ + "/**" + ], + "type": "node" + } + ] + } \ No newline at end of file diff --git a/README.md b/README.md index 2494112f..1589829c 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ This is the mono repository, which combine the Hookstate core package, extension From the repository root directory: -- `npm install -f pnpm` - install pnpm tool +- `npm install -g pnpm` - install pnpm tool - `pnpm install` - install node_modules for all packages - `pnpm nx