Skip to content
Draft

V2 #5

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
71bd400
Update dependencies & add basic reactive tests
wlib Oct 14, 2023
076bfaa
WIP
wlib Dec 25, 2023
2bca56f
Add a bunch of utils, mostly for i18n
wlib Feb 8, 2024
3c29b81
Add `BruhCustomElementBase`
wlib Feb 8, 2024
4776712
Add `<bruh-display-name>`
wlib Feb 8, 2024
73a96b0
Add `<bruh-number>`
wlib Feb 8, 2024
0e0b96e
Add `<bruh-plural>`
wlib Feb 8, 2024
6a17a1e
Add `<bruh-list>`
wlib Feb 8, 2024
2006c55
Add `<bruh-language-picker>`
wlib Feb 8, 2024
07bce02
minor fixes
wlib Feb 20, 2024
941103f
Add `<bruh-date-time>`
wlib Feb 20, 2024
6041626
Separate sync and async server streaming
wlib Dec 9, 2024
8d4bab5
wip
wlib Jul 14, 2023
a2afa83
Convert Intl to typescript & more
wlib May 20, 2025
60b8cd7
v2 beta 0
wlib Dec 26, 2025
b31f628
Try out changesets
wlib Dec 26, 2025
c37044a
CI fix
wlib Dec 26, 2025
a1f159f
Add GITHUB_TOKEN
wlib Dec 26, 2025
e1450d6
CI fix
wlib Dec 26, 2025
4f1cdc3
CI fix
wlib Dec 26, 2025
f025c69
Mark template repos private
wlib Dec 26, 2025
7fd4a7c
Fix browser dom iterable element handling
wlib Dec 27, 2025
3073cde
Version Packages (beta)
github-actions[bot] Dec 27, 2025
37d7ba0
Merge pull request #6 from Technical-Source/changeset-release/v2
wlib Dec 27, 2025
46105d5
Fix WeakRef chain
wlib Jan 2, 2026
c566bf7
Merge pull request #7 from Technical-Source/weakref-chain
wlib Jan 2, 2026
7bce434
Version Packages (beta)
github-actions[bot] Jan 2, 2026
1ff8897
Merge pull request #8 from Technical-Source/changeset-release/v2
wlib Jan 2, 2026
e225949
Support nested reactives and custom equality checks
wlib Jan 26, 2026
49dc050
Version Packages (beta)
github-actions[bot] Jan 26, 2026
1c6c670
Merge pull request #9 from Technical-Source/changeset-release/v2
wlib Jan 26, 2026
8ba92f2
Overhaul reactivity to be dynamic
wlib Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/cuddly-candies-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bruh": patch
---

Fix browser dom iterable element handling
7 changes: 7 additions & 0 deletions .changeset/funny-trees-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"vite-plugin-bruh": patch
"create-bruh": patch
"bruh": patch
---

v2 beta 0
5 changes: 5 additions & 0 deletions .changeset/heavy-balloons-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bruh": patch
---

Support nested reactives and custom equality checks
5 changes: 5 additions & 0 deletions .changeset/loose-seals-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bruh": patch
---

Overhaul reactivity to be dynamic
16 changes: 16 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"bruh": "2.0.0-beta.0",
"create-bruh": "2.0.0-beta.0",
"vite-plugin-bruh": "2.0.0-beta.0"
},
"changesets": [
"cuddly-candies-kiss",
"funny-trees-lie",
"heavy-balloons-knock",
"loose-seals-smash",
"witty-bats-sniff"
]
}
5 changes: 5 additions & 0 deletions .changeset/witty-bats-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bruh": patch
---

Fix WeakRef chain
44 changes: 44 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Publish to NPM

on:
push:
branches:
- main
- v2

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
publish:
if: github.repository == 'Technical-Source/bruh'

runs-on: ubuntu-latest

permissions:
id-token: write
contents: write
pull-requests: write

steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- uses: actions/setup-node@v6
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'

- run: npm ci

- name: Changesets
id: changesets
uses: changesets/action@v1
with:
version: npm run changeset:version
publish: npm run changeset:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
**/node_modules/
**/dist/
.DS_Store
**/coverage/
**/__screenshots__/
ts-trace/
8 changes: 8 additions & 0 deletions .vscode/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"vitest.explorer",
"rbuckton.deoptexplorer-vscode",
"mhutchie.git-graph",
"YoavBls.pretty-ts-errors"
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.tabSize": 2,
"editor.renderWhitespace": "trailing"
}
Loading