Compare commits

...

9 Commits
forge ... main

Author SHA1 Message Date
4eecc0e778 3 2026-02-18 10:51:53 -08:00
44cc1ac10f 0.0.2 2026-02-18 10:48:08 -08:00
d64b855a90 update deps 2026-02-18 10:48:01 -08:00
14e44d1592 wrong forge 2026-01-29 21:04:10 -08:00
bf2a5b4976 @because/howl 2026-01-29 19:38:16 -08:00
Chris Wanstrath
50af55c1b7 v0.1.1 2026-01-29 18:35:31 -08:00
Chris Wanstrath
9d0391beaa npm 2026-01-29 18:35:22 -08:00
3954663270 make forge a peerDependency
fixes duplicate module instances when bundled

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 20:54:59 -08:00
1b33637d0e Merge pull request 'Port howl to forge' (#1) from forge into main
Reviewed-on: #1
2026-01-21 04:52:54 +00:00
19 changed files with 29 additions and 22 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
registry=https://npm.nose.space

View File

@ -1,8 +1,14 @@
{ {
"name": "howl", "name": "@because/howl",
"module": "index.tsx", "version": "0.0.3",
"module": "src/index.tsx",
"type": "module", "type": "module",
"exports": "./src/index.tsx", "exports": "./src/index.tsx",
"files": [
"src",
"!src/**/*.test.*",
"README.md"
],
"scripts": { "scripts": {
"dev": "bun run --hot test/server.tsx" "dev": "bun run --hot test/server.tsx"
}, },
@ -11,10 +17,10 @@
"hono": "^4.10.7" "hono": "^4.10.7"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "^5" "typescript": "^5",
"@because/forge": "*"
}, },
"dependencies": { "dependencies": {
"forge": "git+https://git.nose.space/defunkt/forge",
"lucide-static": "^0.555.0" "lucide-static": "^0.555.0"
} }
} }

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
import { Section } from './section' import { Section } from './section'
import { H2, Text } from './text' import { H2, Text } from './text'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
export const Box = define('Box', { export const Box = define('Box', {

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
import { VStack, HStack } from './stack' import { VStack, HStack } from './stack'
import { Section } from './section' import { Section } from './section'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
// Code block container // Code block container

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
import { Section } from './section' import { Section } from './section'
import { H2 } from './text' import { H2 } from './text'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
import { VStack, HStack } from './stack' import { VStack, HStack } from './stack'
import { Button } from './button' import { Button } from './button'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
import * as icons from 'lucide-static' import * as icons from 'lucide-static'
import { Grid } from './grid' import { Grid } from './grid'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { Section } from './section' import { Section } from './section'
import { H2, H3, H4, H5, Text } from './text' import { H2, H3, H4, H5, Text } from './text'
import { VStack, HStack } from './stack' import { VStack, HStack } from './stack'

View File

@ -1,5 +1,5 @@
// Re-export Forge utilities // Re-export Forge utilities
export { Styles, extendThemes } from 'forge' export { Styles, extendThemes } from '@because/forge'
export { theme } from './theme' export { theme } from './theme'
export { cn } from './cn' export { cn } from './cn'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
import { Section } from './section' import { Section } from './section'
import { H2 } from './text' import { H2 } from './text'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
// Dark mode toggle button // Dark mode toggle button

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
export const Section = define('Section', { export const Section = define('Section', {

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
import { Section } from './section' import { Section } from './section'
import { H2 } from './text' import { H2 } from './text'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
import { H2 } from './text' import { H2 } from './text'
import { RedBox, GreenBox, BlueBox } from './box' import { RedBox, GreenBox, BlueBox } from './box'

View File

@ -1,4 +1,4 @@
import { define } from 'forge' import { define } from '@because/forge'
import { theme } from './theme' import { theme } from './theme'
export const H1 = define('H1', { export const H1 = define('H1', {

View File

@ -1,4 +1,4 @@
import { createThemes } from 'forge' import { createThemes } from '@because/forge'
const lightTheme = { const lightTheme = {
// Colors // Colors

View File

@ -1,6 +1,6 @@
import "hono/jsx" import "hono/jsx"
import { raw } from "hono/html" import { raw } from "hono/html"
import { Styles } from "forge" import { Styles } from '@because/forge'
import { import {
DarkModeToggle, DarkModeToggle,
PageTitle, PageTitle,