test(04-01): RED — search workspace scaffold + normalizer vector suite (T1-T9)
- add the search/ npm workspace (root workspaces + search:test/search:typecheck delegates) - zero-dependency runner/harness copied from the bot/test precedent - 9 named normalizer laws: rule vectors, symmetry, whole-token-only, slash preservation, glued split, vowel-drop, idempotence, folding, table-is-data (>= 47 rows, one generic builder) All 9 cases fail while src/normalize.ts is absent — the RED gate.
This commit is contained in:
+4
-1
@@ -5,7 +5,8 @@
|
||||
"workspaces": [
|
||||
"theme",
|
||||
"bot",
|
||||
"web"
|
||||
"web",
|
||||
"search"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run build -w theme && npm run build -w web",
|
||||
@@ -22,6 +23,8 @@
|
||||
"bot:commands": "npm run commands -w bot",
|
||||
"web:test": "npm test -w web",
|
||||
"web:typecheck": "npm run typecheck -w web",
|
||||
"search:test": "npm test -w search",
|
||||
"search:typecheck": "npm run typecheck -w search",
|
||||
"web:dev": "npm run dev -w web",
|
||||
"web:build": "npm run build -w theme && npm run build -w web",
|
||||
"web:build:harness": "npm run build:harness -w web",
|
||||
|
||||
Reference in New Issue
Block a user