@wenathlan/stealthhead 2.0.118 → 2.0.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/tests/design.test.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenathlan/stealthhead",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.130",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/wenathlan/devthink"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"ecmascript": "^5.0.0",
|
|
27
27
|
"firefox": ">=0.8.0",
|
|
28
28
|
"iojs": "^1.0.0",
|
|
29
|
-
"node": "
|
|
29
|
+
"node": ">=26.12.0 <27",
|
|
30
30
|
"npm": "^12.1.0",
|
|
31
31
|
"pnpm": "^12.6.0",
|
|
32
32
|
"teleport": ">=0.2.0",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"restore:entry": "node -e \"const{readFileSync}=require('node:fs');const{execSync}=require('node:child_process');const script=/script[^>]*App\\.tsx/;const triad=/family=Bricolage\\+Grotesque[\\s\\S]*Outfit[\\s\\S]*JetBrains\\+Mono/;const face=(h)=>script.test(h)&&triad.test(h);if(face(readFileSync('index.html','utf8'))){console.log('index.html already rides the source face');process.exit(0)}if(!face(execSync('git show HEAD:./index.html',{encoding:'utf8'}))){console.error('refusing: HEAD index.html is not the canonical source face yet (script App.tsx + the font triad) - land the source-face fix first; nothing was touched');process.exit(1)}execSync('git checkout -- index.html',{stdio:'inherit'});console.log('index.html restored from HEAD (the source face)')\""
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
+
"@fluentui/react-icons": "^2.0.344",
|
|
49
50
|
"@hono/node-server": "^2.1.3",
|
|
50
51
|
"@prisma/adapter-libsql": "^7.10.0",
|
|
51
52
|
"hono": "^4.13.12",
|
package/tests/design.test.ts
CHANGED
|
@@ -51,14 +51,14 @@ describe("design contract", () => {
|
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
it("never ships an all-properties transition", () => {
|
|
54
|
-
expect(/transition:\s*all/.test(CSS), "transition: all is a
|
|
54
|
+
expect(/transition:\s*all/.test(CSS), "transition: all is a rejection").toBe(false);
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
it("never enters an element from zero scale (the windows dtPopIntro bounce excepted)", () => {
|
|
58
58
|
const sansPopIntro = CSS.replace(/@keyframes dtPopIntro \{[\s\S]*?\n\}/g, "");
|
|
59
59
|
expect(
|
|
60
60
|
/scale\(0\)/.test(sansPopIntro),
|
|
61
|
-
"scale(0) entries are a
|
|
61
|
+
"scale(0) entries are a rejection (the dtPopIntro bounce of the windows recipe excepted)",
|
|
62
62
|
).toBe(false);
|
|
63
63
|
});
|
|
64
64
|
|