Skip to content

Commit 95742cb

Browse files
Merge pull request #9 from zeixcom/next
Developer Skills and Missing Examples Descriptions
2 parents 56c2768 + 569c355 commit 95742cb

File tree

360 files changed

+4140
-7171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

360 files changed

+4140
-7171
lines changed

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -45,59 +45,3 @@ jobs:
4545
name: playwright-report
4646
path: playwright-report/
4747
retention-days: 30
48-
49-
publish:
50-
needs: test
51-
runs-on: ubuntu-latest
52-
if: github.event_name == 'release' && github.event.action == 'published'
53-
permissions:
54-
contents: read
55-
id-token: write # Required for npm provenance
56-
57-
steps:
58-
- name: Checkout code
59-
uses: actions/checkout@v4
60-
61-
- name: Setup Bun
62-
uses: oven-sh/setup-bun@v2
63-
with:
64-
bun-version: latest
65-
66-
- name: Install dependencies
67-
run: bun install --frozen-lockfile
68-
69-
- name: Build package
70-
run: bun run build
71-
72-
- name: Setup Node.js for npm
73-
uses: actions/setup-node@v4
74-
with:
75-
node-version: '20'
76-
registry-url: 'https://registry.npmjs.org'
77-
78-
- name: Verify package version matches tag
79-
run: |
80-
PACKAGE_VERSION=$(node -p "require('./package.json').version")
81-
TAG_VERSION=${GITHUB_REF#refs/tags/v}
82-
if [ "$PACKAGE_VERSION" != "$TAG_VERSION" ]; then
83-
echo "Package version ($PACKAGE_VERSION) doesn't match tag version ($TAG_VERSION)"
84-
exit 1
85-
fi
86-
87-
- name: Publish to npm
88-
run: npm publish --access public --provenance
89-
env:
90-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
91-
92-
- name: Create deployment status
93-
uses: actions/github-script@v7
94-
with:
95-
script: |
96-
github.rest.repos.createDeploymentStatus({
97-
owner: context.repo.owner,
98-
repo: context.repo.repo,
99-
deployment_id: context.payload.deployment?.id || 0,
100-
state: 'success',
101-
environment: 'npm',
102-
target_url: 'https://www.npmjs.com/package/@zeix/le-truc'
103-
});

docs-src/api/classes/ContextRequestEvent.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: ContextRequestEvent\<T\>
22

3-
Defined in: [src/context.ts:77](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/context.ts#L77)
3+
Defined in: [src/context.ts:77](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/context.ts#L77)
44

55
Class for context-request events
66

@@ -31,7 +31,7 @@ function to the callback which requesters can invoke to indicate they no longer
3131

3232
> **new ContextRequestEvent**\<`T`\>(`context`, `callback`, `subscribe?`): `ContextRequestEvent`\<`T`\>
3333
34-
Defined in: [src/context.ts:82](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/context.ts#L82)
34+
Defined in: [src/context.ts:82](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/context.ts#L82)
3535

3636
###### Parameters
3737

@@ -101,7 +101,7 @@ Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11463
101101

102102
> `readonly` **callback**: [`ContextCallback`](../type-aliases/ContextCallback.md)\<[`ContextType`](../type-aliases/ContextType.md)\<`T`\>\>
103103
104-
Defined in: [src/context.ts:79](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/context.ts#L79)
104+
Defined in: [src/context.ts:79](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/context.ts#L79)
105105

106106
callback function for value getter and unsubscribe function
107107

@@ -173,7 +173,7 @@ The read-only **`composed`** property of the or not the event will propagate acr
173173

174174
> `readonly` **context**: `T`
175175
176-
Defined in: [src/context.ts:78](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/context.ts#L78)
176+
Defined in: [src/context.ts:78](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/context.ts#L78)
177177

178178
context key
179179

@@ -295,7 +295,7 @@ The deprecated **`Event.srcElement`** is an alias for the Event.target property.
295295

296296
> `readonly` **subscribe**: `boolean`
297297
298-
Defined in: [src/context.ts:80](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/context.ts#L80)
298+
Defined in: [src/context.ts:80](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/context.ts#L80)
299299

300300
whether to subscribe to context changes
301301

docs-src/api/classes/DependencyTimeoutError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: DependencyTimeoutError
22

3-
Defined in: [src/errors.ts:102](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L102)
3+
Defined in: [src/errors.ts:102](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L102)
44

55
Error when a component's dependencies are not met within a specified timeout
66

@@ -18,7 +18,7 @@ Error when a component's dependencies are not met within a specified timeout
1818

1919
> **new DependencyTimeoutError**(`host`, `missing`): `DependencyTimeoutError`
2020
21-
Defined in: [src/errors.ts:107](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L107)
21+
Defined in: [src/errors.ts:107](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L107)
2222

2323
###### Parameters
2424

docs-src/api/classes/InvalidComponentNameError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: InvalidComponentNameError
22

3-
Defined in: [src/errors.ts:11](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L11)
3+
Defined in: [src/errors.ts:11](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L11)
44

55
Error thrown when component name violates rules for custom element names
66

@@ -18,7 +18,7 @@ Error thrown when component name violates rules for custom element names
1818

1919
> **new InvalidComponentNameError**(`component`): `InvalidComponentNameError`
2020
21-
Defined in: [src/errors.ts:15](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L15)
21+
Defined in: [src/errors.ts:15](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L15)
2222

2323
###### Parameters
2424

docs-src/api/classes/InvalidCustomElementError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: InvalidCustomElementError
22

3-
Defined in: [src/errors.ts:139](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L139)
3+
Defined in: [src/errors.ts:139](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L139)
44

55
Error thrown when target element is not a custom element as expected
66

@@ -18,7 +18,7 @@ Error thrown when target element is not a custom element as expected
1818

1919
> **new InvalidCustomElementError**(`target`, `where`): `InvalidCustomElementError`
2020
21-
Defined in: [src/errors.ts:144](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L144)
21+
Defined in: [src/errors.ts:144](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L144)
2222

2323
###### Parameters
2424

docs-src/api/classes/InvalidEffectsError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: InvalidEffectsError
22

3-
Defined in: [src/errors.ts:47](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L47)
3+
Defined in: [src/errors.ts:47](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L47)
44

55
Error thrown when setup function does not return effects
66

@@ -18,7 +18,7 @@ Error thrown when setup function does not return effects
1818

1919
> **new InvalidEffectsError**(`host`, `cause?`): `InvalidEffectsError`
2020
21-
Defined in: [src/errors.ts:52](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L52)
21+
Defined in: [src/errors.ts:52](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L52)
2222

2323
###### Parameters
2424

docs-src/api/classes/InvalidPropertyNameError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: InvalidPropertyNameError
22

3-
Defined in: [src/errors.ts:28](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L28)
3+
Defined in: [src/errors.ts:28](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L28)
44

55
Error thrown when trying to assign a property name that conflicts with reserved words or inherited HTMLElement properties
66

@@ -18,7 +18,7 @@ Error thrown when trying to assign a property name that conflicts with reserved
1818

1919
> **new InvalidPropertyNameError**(`component`, `prop`, `reason`): `InvalidPropertyNameError`
2020
21-
Defined in: [src/errors.ts:34](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L34)
21+
Defined in: [src/errors.ts:34](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L34)
2222

2323
###### Parameters
2424

docs-src/api/classes/InvalidReactivesError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: InvalidReactivesError
22

3-
Defined in: [src/errors.ts:120](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L120)
3+
Defined in: [src/errors.ts:120](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L120)
44

55
Error thrown when reactives passed to a component are invalid
66

@@ -18,7 +18,7 @@ Error thrown when reactives passed to a component are invalid
1818

1919
> **new InvalidReactivesError**(`host`, `target`, `reactives`): `InvalidReactivesError`
2020
21-
Defined in: [src/errors.ts:126](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L126)
21+
Defined in: [src/errors.ts:126](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L126)
2222

2323
###### Parameters
2424

docs-src/api/classes/InvalidUIKeyError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: InvalidUIKeyError
22

3-
Defined in: [src/errors.ts:69](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L69)
3+
Defined in: [src/errors.ts:69](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L69)
44

55
Error thrown if UI key is invalid
66

@@ -30,7 +30,7 @@ Where the key is used
3030

3131
> **new InvalidUIKeyError**(`host`, `key`, `where`): `InvalidUIKeyError`
3232
33-
Defined in: [src/errors.ts:70](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L70)
33+
Defined in: [src/errors.ts:70](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L70)
3434

3535
###### Parameters
3636

docs-src/api/classes/MissingElementError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Class: MissingElementError
22

3-
Defined in: [src/errors.ts:83](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L83)
3+
Defined in: [src/errors.ts:83](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L83)
44

55
Error thrown when a required descendant element does not exist in a component's DOM subtree
66

@@ -18,7 +18,7 @@ Error thrown when a required descendant element does not exist in a component's
1818

1919
> **new MissingElementError**(`host`, `selector`, `required`): `MissingElementError`
2020
21-
Defined in: [src/errors.ts:89](https://github.com/zeixcom/le-truc/blob/9899f5d34ea29fc1973736236835ba462d0ed87a/src/errors.ts#L89)
21+
Defined in: [src/errors.ts:89](https://github.com/zeixcom/le-truc/blob/b2bd37a6fe13095f4a2fd459382f54953f446e56/src/errors.ts#L89)
2222

2323
###### Parameters
2424

0 commit comments

Comments
 (0)