@treelocator/runtime 0.2.0 → 0.3.0

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.
@@ -1,32 +0,0 @@
1
-
2
- > @treelocator/runtime@0.1.8 build /Users/wende/projects/locatorjs/packages/runtime
3
- > concurrently pnpm:build:*
4
-
5
- [tailwind]
6
- [tailwind] > @treelocator/runtime@0.1.8 build:tailwind /Users/wende/projects/locatorjs/packages/runtime
7
- [tailwind] > tailwindcss -i ./src/main.css -o ./dist/output.css
8
- [tailwind]
9
- [babel]
10
- [babel] > @treelocator/runtime@0.1.8 build:babel /Users/wende/projects/locatorjs/packages/runtime
11
- [babel] > babel src --out-dir dist --extensions .js,.jsx,.ts,.tsx
12
- [babel]
13
- [wrapImage]
14
- [wrapImage] > @treelocator/runtime@0.1.8 build:wrapImage /Users/wende/projects/locatorjs/packages/runtime
15
- [wrapImage] > node ./scripts/wrapImage.js
16
- [wrapImage]
17
- [ts]
18
- [ts] > @treelocator/runtime@0.1.8 build:ts /Users/wende/projects/locatorjs/packages/runtime
19
- [ts] > tsc --declaration --emitDeclarationOnly --noEmit false --outDir dist
20
- [ts]
21
- [wrapImage] Tree icon file generated
22
- [wrapImage] pnpm run build:wrapImage exited with code 0
23
- [tailwind] [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
24
- [tailwind]
25
- [tailwind] Rebuilding...
26
- [tailwind]
27
- [tailwind] Done in 173ms.
28
- [tailwind] pnpm run build:tailwind exited with code 0
29
- [babel] [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
30
- [babel] Successfully compiled 80 files with Babel (499ms).
31
- [babel] pnpm run build:babel exited with code 0
32
- [ts] pnpm run build:ts exited with code 0
@@ -1,32 +0,0 @@
1
-
2
- > @treelocator/runtime@0.1.8 dev /Users/wende/projects/locatorjs/packages/runtime
3
- > concurrently pnpm:dev:*
4
-
5
- [babel]
6
- [babel] > @treelocator/runtime@0.1.8 dev:babel /Users/wende/projects/locatorjs/packages/runtime
7
- [babel] > babel src --watch --out-dir dist --extensions .js,.jsx,.ts,.tsx
8
- [babel]
9
- [wrapImage]
10
- [wrapImage] > @treelocator/runtime@0.1.8 dev:wrapImage /Users/wende/projects/locatorjs/packages/runtime
11
- [wrapImage] > WATCH=true node ./scripts/wrapImage.js
12
- [wrapImage]
13
- [ts]
14
- [ts] > @treelocator/runtime@0.1.8 dev:ts /Users/wende/projects/locatorjs/packages/runtime
15
- [ts] > tsc --watch --declaration --emitDeclarationOnly --noEmit false --outDir dist --preserveWatchOutput
16
- [ts]
17
- [wrapCSS]
18
- [wrapCSS] > @treelocator/runtime@0.1.8 dev:wrapCSS /Users/wende/projects/locatorjs/packages/runtime
19
- [wrapCSS] > WATCH=true node ./scripts/wrapCSS.js
20
- [wrapCSS]
21
- [tailwind]
22
- [tailwind] > @treelocator/runtime@0.1.8 dev:tailwind /Users/wende/projects/locatorjs/packages/runtime
23
- [tailwind] > tailwindcss -i ./src/main.css -o ./dist/output.css --watch
24
- [tailwind]
25
- [tailwind]  ELIFECYCLE  Command failed.
26
- [ts]  ELIFECYCLE  Command failed.
27
- [wrapImage]  ELIFECYCLE  Command failed.
28
- [wrapCSS]  ELIFECYCLE  Command failed.
29
- [babel]  ELIFECYCLE  Command failed.
30
- [babel] pnpm run dev:babel exited with code SIGINT
31
- [wrapCSS] pnpm run dev:wrapCSS exited with code SIGINT
32
- [wrapImage] pnpm run dev:wrapImage exited with code SIGINT
@@ -1,63 +0,0 @@
1
-
2
- > @treelocator/runtime@0.1.8 test /Users/wende/projects/locatorjs/packages/runtime
3
- > vitest run
4
-
5
-
6
- RUN v2.1.9 /Users/wende/projects/locatorjs/packages/runtime
7
-
8
- ✓ src/functions/evalTemplate.test.ts (1 test) 1ms
9
- ✓ src/functions/transformPath.test.ts (3 tests) 1ms
10
- ✓ src/functions/mergeRects.test.ts (1 test) 2ms
11
- ✓ src/functions/cropPath.test.ts (2 tests) 1ms
12
- ✓ src/functions/getUsableFileName.test.tsx (4 tests) 4ms
13
- ❯ src/functions/formatAncestryChain.test.ts (9 tests | 2 failed) 7ms
14
- × formatAncestryChain > shows all owner components when ownerComponents is provided 4ms
15
- → expected 'div in App at src/App.jsx:104\n └─…' to be 'div in App at src/App.jsx:104\n └─…' // Object.is equality
16
- × formatAncestryChain > shows single owner component without arrow when only one in chain 1ms
17
- → expected 'Button at src/Button.tsx:10' to be 'button in Button at src/Button.tsx:10' // Object.is equality
18
- ✓ src/adapters/phoenix/__tests__/parsePhoenixComments.test.ts (14 tests) 16ms
19
-
20
- ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
21
-
22
- FAIL src/functions/formatAncestryChain.test.ts > formatAncestryChain > shows all owner components when ownerComponents is provided
23
- AssertionError: expected 'div in App at src/App.jsx:104\n └─…' to be 'div in App at src/App.jsx:104\n └─…' // Object.is equality
24
-
25
- - Expected
26
- + Received
27
-
28
- div in App at src/App.jsx:104
29
- - └─ div#sidebar-panel in Sidebar > GlassPanel at src/components/game/Sidebar.jsx:78
30
- + └─ GlassPanel#sidebar-panel in Sidebar at src/components/game/Sidebar.jsx:78
31
-
32
- ❯ src/functions/formatAncestryChain.test.ts:120:20
33
- 118|
34
- 119| const result = formatAncestryChain(items);
35
- 120| expect(result).toBe(
36
- | ^
37
- 121| `div in App at src/App.jsx:104
38
- 122| └─ div#sidebar-panel in Sidebar > GlassPanel at src/components/gam…
39
-
40
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
41
-
42
- FAIL src/functions/formatAncestryChain.test.ts > formatAncestryChain > shows single owner component without arrow when only one in chain
43
- AssertionError: expected 'Button at src/Button.tsx:10' to be 'button in Button at src/Button.tsx:10' // Object.is equality
44
-
45
- Expected: "button in Button at src/Button.tsx:10"
46
- Received: "Button at src/Button.tsx:10"
47
-
48
- ❯ src/functions/formatAncestryChain.test.ts:138:20
49
- 136|
50
- 137| const result = formatAncestryChain(items);
51
- 138| expect(result).toBe("button in Button at src/Button.tsx:10");
52
- | ^
53
- 139| });
54
- 140| });
55
-
56
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯
57
-
58
- Test Files 1 failed | 6 passed (7)
59
- Tests 2 failed | 32 passed (34)
60
- Start at 11:30:22
61
- Duration 904ms (transform 370ms, setup 0ms, collect 434ms, tests 32ms, environment 497ms, prepare 595ms)
62
-
63
-  ELIFECYCLE  Test failed. See above for more details.
@@ -1,4 +0,0 @@
1
-
2
- > @locator/runtime@0.5.1 ts /Users/wende/projects/locatorjs/packages/runtime
3
- > tsc --noEmit
4
-
package/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Krzysztof Wende
4
- Copyright (c) 2023 Michael Musil (original LocatorJS)
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.