Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
85c8881
Add initial roadmap for project features
intensed-dev Sep 26, 2026
10a5d88
chore: add project structure and tests
intensed-dev Sep 26, 2026
87f9289
chore: add project structure and tests
intensed-dev Sep 26, 2026
b5f7c59
chore: add project structure and tests
intensed-dev Sep 26, 2026
809d7b0
chore: add project structure and tests
intensed-dev Sep 26, 2026
36760eb
chore: add project structure and tests
intensed-dev Sep 26, 2026
8f67a20
chore: add project structure and tests
intensed-dev Sep 26, 2026
53dcf25
chore: add project structure and tests
intensed-dev Sep 26, 2026
255c9d6
chore: add project structure and tests
intensed-dev Sep 26, 2026
7dfe63a
chore: add project structure and tests
intensed-dev Sep 26, 2026
0a01e88
chore: add project structure and tests
intensed-dev Sep 26, 2026
2b00b32
chore: add project structure and tests
intensed-dev Sep 26, 2026
4b97750
chore: add project structure and tests
intensed-dev Sep 26, 2026
cba4e27
chore: add project structure and tests
intensed-dev Sep 26, 2026
48459ad
feat: add reactive each and conditional rendering
intensed-dev Sep 26, 2026
4efabae
Merge pull request #1 from intensed-dev/feat/rebase-0.3-roadmap
intensed-dev Sep 26, 2026
65fe280
feat: complete .rebase compiler pipeline
intensed-dev Sep 26, 2026
25d5931
feat: add component composition and built-in routing
intensed-dev Sep 26, 2026
9a50f23
feat: finalize Rebase 0.3 public API and tests
intensed-dev Sep 26, 2026
2732ee7
feat: finalize Rebase 0.3 public API and tests
intensed-dev Sep 26, 2026
f1faf32
test: finalize Rebase public API and compiler/runtime coverage
intensed-dev Sep 26, 2026
753561a
test: finalize Rebase public API and compiler/runtime coverage
intensed-dev Sep 26, 2026
1ad737c
test: finalize Rebase public API and compiler/runtime coverage
intensed-dev Sep 26, 2026
2bf55e0
test: finalize Rebase public API and compiler/runtime coverage
intensed-dev Sep 26, 2026
0a92e26
test: finalize Rebase public API and compiler/runtime coverage
intensed-dev Sep 26, 2026
5f87bfe
chore: remove legacy docs and roadmap from package repo
intensed-dev Sep 26, 2026
af69b48
chore: remove legacy docs and roadmap from package repo
intensed-dev Sep 26, 2026
3dbfbc2
chore: remove legacy docs and roadmap from package repo
intensed-dev Sep 26, 2026
5554c89
chore: remove legacy docs and roadmap from package repo
intensed-dev Sep 26, 2026
0cd53e7
chore: remove legacy docs and roadmap from package repo
intensed-dev Sep 26, 2026
e54369c
docs: keep completed Rebase roadmap without legacy docs site
intensed-dev Sep 26, 2026
183da26
fix: make router safe in Node and SSR environments
intensed-dev Sep 26, 2026
93a9ac6
ci: validate completed Rebase implementation
intensed-dev Sep 26, 2026
ca288c6
test: fix custom component assertion
intensed-dev Sep 26, 2026
87375d7
Merge pull request #2 from intensed-dev/feat/rebase-complete
intensed-dev Sep 26, 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
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Bug report
about: Report a reproducible problem in Rebase
title: "bug: "
labels: bug
---

## What happened?

## Reproduction

```rebase
<!-- minimal example -->
```

## Expected behavior

## Environment

- Rebase version:
- Node version:
- Browser:
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature request
about: Suggest an improvement to Rebase
title: "feat: "
labels: enhancement
---

## Problem

## Proposed API or syntax

```rebase
<!-- example -->
```

## Alternatives considered
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI

on:
push:
pull_request:

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
- run: npm test
- run: npm run build
20 changes: 20 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# AGENTS.md

## Project model

Rebase is a compiler-first JavaScript framework. Keep the compiler and runtime dependency-free and browser-oriented.

## Structure

- `packages/compiler` — .rebase parsing, code generation, and CLI
- `packages/runtime` — reactive state, rendering, events, components, and routing
- `packages/rebase` — public package entry point
- `packages/*/test` — Node test suite

## Development rules

- Preserve ESM syntax.
- Do not add a runtime dependency for functionality that can be implemented with platform APIs.
- Keep generated JavaScript readable.
- Add a regression test for compiler/runtime bugs.
- Do not commit generated `dist` output.
7 changes: 7 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Code of Conduct

We expect contributors to be respectful, constructive, and inclusive. Harassment, discrimination, personal attacks, and deliberately disruptive behavior are not acceptable.

Maintainers may remove comments, reject contributions, or restrict participation when behavior violates this code of conduct.

For serious incidents, use the private contact method described in `SECURITY.md`.
21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Contributing to Rebase

## Development

Rebase requires a current Node.js release with ESM support.

```bash
npm test
npm run build
```

## Pull requests

- Keep changes focused.
- Add tests for behavior changes and bug fixes.
- Do not commit generated `dist` output.
- Explain syntax or public API changes in the pull request.

## Rebase syntax

A `.rebase` file may use `<script>`, `<template>`, and `<style>` sections in any order. Templates support `{name}`, `{#if}`, `{:elif}`, `{:else}`, `{#each}`, `on:*` event attributes, and reusable component tags.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Intense

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ https://rebase.js.org
## License

MIT


Rebase 0.3 includes reactive blocks, reusable components, and built-in routing.
13 changes: 13 additions & 0 deletions Roadmap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Rebase roadmap

- [x] Add `{#each}`
- [x] Add `{#if}`, `{:else}`, `{:elif}`
- [x] Automatic reactive updates
- [x] Built-in routing
- [x] Reusable `.rebase` components
- [x] Clean URL routing and dynamic `[slug]` parameters
- [x] `rebase.config.js`
- [x] `on:` event activators
- [x] `{VARIABLE}` interpolation
- [x] Vue-style `script/template/style` sections in any order
- [x] Dynamic route parameters
11 changes: 11 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Security Policy

## Reporting a vulnerability

Do not publish exploit details in a public issue. Contact the repository owner privately through the contact method available on the GitHub profile.

Include the affected version, a minimal reproduction, impact, and relevant logs.

## Scope

The compiler intentionally generates JavaScript from project source. Do not compile untrusted `.rebase` files in a privileged environment.
1 change: 0 additions & 1 deletion docs/404.html

This file was deleted.

157 changes: 0 additions & 157 deletions docs/api.md

This file was deleted.

34 changes: 0 additions & 34 deletions docs/index.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/style.css

This file was deleted.

9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"name": "rebase",
"version": "0.2.0",
"version": "0.3.0",
"description": "A compiler-first JavaScript framework for building web interfaces.",
"type": "module",
"private": true,
"scripts": {
"build": "node packages/compiler/src/cli.js",
"test": "node --test"
},
"scripts": {"build": "node packages/compiler/src/cli.js", "test": "node --test"},
"license": "MIT"
}
}
1 change: 1 addition & 0 deletions packages/compiler/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { compile, compileFile } from "./src/compiler.js";
9 changes: 9 additions & 0 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@rebasejs/compiler",
"version": "0.3.0",
"type": "module",
"bin": {
"rebase": "./src/cli.js"
},
"exports": "./src/compiler.js"
}
Loading
Loading