Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: project #1

Open
wants to merge 117 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
0a67cbf
feat: project
OzakIOne Jan 5, 2024
4bec25f
add generate package
OzakIOne Jan 15, 2024
3e5d3a5
cli generation, organise files
OzakIOne Jan 15, 2024
0dd9bee
chore: engine 18
OzakIOne Jan 15, 2024
b956f43
test
OzakIOne Jan 15, 2024
8e6eb40
remove turbo
OzakIOne Jan 15, 2024
8910d33
vite vercel test
OzakIOne Jan 15, 2024
1de7347
cleanup
OzakIOne Jan 15, 2024
9db733d
wip vite vercel
OzakIOne Jan 16, 2024
34ac36f
remove vite
OzakIOne Jan 16, 2024
774fceb
fix web
OzakIOne Jan 16, 2024
6af4351
fix image error
OzakIOne Jan 16, 2024
5d7842e
fix lockfile error
OzakIOne Jan 16, 2024
357cd60
fix img error
OzakIOne Jan 16, 2024
f0f766e
docs: setup
OzakIOne Jan 16, 2024
7e4841e
font variable
OzakIOne Jan 16, 2024
3a605eb
chore: node package
OzakIOne Jan 16, 2024
f772f41
react component logo
OzakIOne Jan 16, 2024
c2dc69b
chore: update lock
OzakIOne Jan 16, 2024
983820e
type naming & fix logo
OzakIOne Jan 16, 2024
d968317
wip
OzakIOne Jan 16, 2024
98ff3aa
fix err
OzakIOne Jan 16, 2024
21ad71a
rename & remove code doc
OzakIOne Jan 16, 2024
ad3a4df
clean deps
OzakIOne Jan 16, 2024
fb35c20
remove unused
OzakIOne Jan 16, 2024
c6e671c
refactor
OzakIOne Jan 17, 2024
be2c815
refacttor
OzakIOne Jan 17, 2024
8d9f2f5
components
OzakIOne Jan 17, 2024
0ba3e90
refactor
OzakIOne Jan 17, 2024
c41b88c
refactor style
OzakIOne Jan 17, 2024
a7eb044
options as param not deps
OzakIOne Jan 18, 2024
dfd11f0
rename
OzakIOne Jan 18, 2024
58e2106
chore update
OzakIOne Jan 18, 2024
2255c03
types package
OzakIOne Jan 18, 2024
7783e71
zod & types
OzakIOne Jan 18, 2024
3ac1786
zod validation
OzakIOne Jan 18, 2024
2cebe46
refactor split code & deps
OzakIOne Jan 18, 2024
78baef8
refactor
OzakIOne Jan 18, 2024
c09fb7e
create config
OzakIOne Jan 18, 2024
904929a
knip cleanup
OzakIOne Jan 18, 2024
951ea65
schema type
OzakIOne Jan 18, 2024
a7371b0
feat: tags
OzakIOne Jan 19, 2024
2816cc7
style
OzakIOne Jan 19, 2024
dc916f4
tags
OzakIOne Jan 19, 2024
13f0ed3
zod in nodes
OzakIOne Jan 19, 2024
92eaa71
wip
OzakIOne Jan 19, 2024
d4bbbb6
types
OzakIOne Jan 29, 2024
8b04d0c
zod coerce + types
OzakIOne Jan 29, 2024
ed64b4a
update lock
OzakIOne Jan 29, 2024
9053407
build
OzakIOne Jan 29, 2024
c5e234c
turbo
OzakIOne Jan 29, 2024
a67cc6e
chore: update path
OzakIOne Jan 29, 2024
db781d5
build wip
OzakIOne Jan 29, 2024
0510830
build wip
OzakIOne Jan 29, 2024
490526e
test
OzakIOne Jan 29, 2024
d9c3b8d
fix cli
OzakIOne Jan 29, 2024
9af1756
rm swc
OzakIOne Jan 30, 2024
088dc2e
wip
OzakIOne Jan 30, 2024
ae01a0d
wip
OzakIOne Jan 30, 2024
001dc5a
vercel vanilla
OzakIOne Jan 30, 2024
d09fb94
font
OzakIOne Jan 30, 2024
4c5a0d9
wip
OzakIOne Jan 30, 2024
69b027e
test
OzakIOne Jan 31, 2024
3ad9b06
wip
OzakIOne Jan 31, 2024
5c5164e
wip 2
OzakIOne Jan 31, 2024
2bd1e40
wip 3
OzakIOne Jan 31, 2024
e0ed83b
clean
OzakIOne Jan 31, 2024
6d8a0d2
update readme
OzakIOne Jan 31, 2024
9d5a6c2
chore config
OzakIOne Jan 31, 2024
cdea9fe
chore format
OzakIOne Jan 31, 2024
c9a215a
chore eslint & update deps
OzakIOne Jan 31, 2024
fe1fae4
wip
OzakIOne Feb 6, 2024
07987f0
rm coerce
OzakIOne Feb 6, 2024
42a4b90
wip
OzakIOne Feb 6, 2024
25a865f
wip
OzakIOne Feb 7, 2024
478a0d5
error handling
OzakIOne Feb 7, 2024
2778db1
refactor
OzakIOne Feb 7, 2024
3cfd18c
rm zod
OzakIOne Feb 9, 2024
5ccf6a1
test
OzakIOne Feb 9, 2024
577f245
error logging
OzakIOne Feb 9, 2024
ec8d98f
error log
OzakIOne Feb 9, 2024
1324240
fix typo
OzakIOne Feb 9, 2024
a2249b2
fix default value
OzakIOne Feb 9, 2024
a9ee4d3
fix
OzakIOne Feb 9, 2024
c9e4bf6
test
OzakIOne Feb 9, 2024
a31f582
test
OzakIOne Feb 9, 2024
94be0a9
test
OzakIOne Feb 9, 2024
98bf5e0
fix
OzakIOne Feb 9, 2024
f60458d
fix
OzakIOne Feb 9, 2024
fae758c
chore lint
OzakIOne Feb 9, 2024
fd6309f
filter dup tags
OzakIOne Feb 9, 2024
73434b7
debug
OzakIOne Feb 9, 2024
f2428ac
debug
OzakIOne Feb 9, 2024
db42fef
improve zod tags
OzakIOne Feb 9, 2024
e84c2fc
wip
OzakIOne Feb 9, 2024
434cc59
default values zod
OzakIOne Feb 12, 2024
f58319d
strict schema & title required
OzakIOne Feb 12, 2024
a8c552d
debug
OzakIOne Feb 12, 2024
2fe8818
ugly test
OzakIOne Feb 12, 2024
649f79f
fix test
OzakIOne Feb 12, 2024
88b72c3
fix cli
OzakIOne Feb 12, 2024
f16a03b
refactor: circular deps & knip
OzakIOne Feb 12, 2024
974f809
update lock
OzakIOne Feb 12, 2024
9046d09
fix errors
OzakIOne Feb 12, 2024
d13a7bb
shared function
OzakIOne Feb 12, 2024
bd5b605
wip blogType images
OzakIOne Feb 19, 2024
e305f63
docs: add new image type
OzakIOne Feb 19, 2024
b39440c
update option description
OzakIOne Feb 19, 2024
3dc690b
wip
OzakIOne Feb 27, 2024
a4a1dcd
fix zod
OzakIOne Feb 27, 2024
36a8631
fix zod
OzakIOne Feb 27, 2024
712e6b5
docs: finish customization instructions
OzakIOne Feb 27, 2024
d245ae1
chore: update deps
OzakIOne Feb 28, 2024
7ce965d
test
OzakIOne Feb 28, 2024
3b386ff
wip
OzakIOne Feb 28, 2024
fa905a8
wip
OzakIOne Feb 28, 2024
d72d205
chore(deps): update minor versions
OzakIOne Jun 1, 2024
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
68 changes: 68 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:node/recommended",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-console": "warn",
"no-unused-vars": "warn",
"no-return-await": "error",
"node/no-unsupported-features/es-syntax": "off",
"@typescript-eslint/no-explicit-any": "warn",
"node/no-unsupported-features/node-builtins": "warn",
"node/no-extraneous-import": [
"error",
{
"allowModules": [
"react"
]
}
],
"node/no-missing-import": [
"off"
]
},
"env": {
"node": true
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [
".ts",
".tsx",
".js"
]
},
"import/resolver": {
"node": {
"extensions": [
".ts",
".tsx"
]
},
"typescript": {
"alwaysTryTypes": true,
"project": [
"apps/*/tsconfig.json",
"libs/*/tsconfig.json"
]
},
"alias": {
"map": [
[
"@ozaki",
"./packages"
]
],
"extensions": [
".ts",
".tsx",
".js",
".jsx"
]
}
}
}
}
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# dependencies
node_modules/
.vscode

# testing
coverage/

# production
build/

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

*.png
*.svg
*.jpg

.turbo
.next
.vercel
out/

dist/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
1 change: 1 addition & 0 deletions .prettierignore
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"arrowParens": "always",
"bracketSpacing": false,
"bracketSameLine": true,
"printWidth": 80,
"proseWrap": "never",
"singleQuote": true,
"trailingComma": "all"
}
139 changes: 139 additions & 0 deletions README.md

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"dependencies": {
"@types/node": "^20.13.0",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"eslint": "^8.57.0",
"eslint-plugin-node": "^11.1.0",
"prettier": "^3.3.0",
"react": "^18.3.1",
"typescript": "^5.4.5"
},
"devDependencies": {
"@typescript-eslint/parser": "^7.11.0",
"turbo": "^1.13.3"
},
"engines": {
"node": ">=16.0.0"
},
"name": "ozaki",
"scripts": {
"cli:dev": "pnpm --filter ./packages/cli run watch",
"cli:start": "pnpm --filter ./packages/cli run start",
"lint": "pnpm --stream -r run lint",
"lint:fix": "pnpm --stream -r run lint:fix",
"format": "pnpm --stream -r run format",
"format:fix": "pnpm --stream -r run format:fix",
"vercel:build": "pnpm --filter ./packages/vercel-edge run build",
"vercel:dev": "pnpm --filter ./packages/vercel-edge run dev",
"vercel:start": "pnpm --filter ./packages/vercel-edge run start",
"build": "turbo run build"
},
"version": "1.0.0",
"packageManager": "pnpm@8.15.4+sha1.c85a4305534f76d461407b59277b954bac97b5c4"
}
29 changes: 29 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"dependencies": {
"@ozaki/generate": "workspace:^",
"@ozaki/shared": "workspace:^",
"@resvg/resvg-js": "^2.6.0",
"@types/node": "^20.10.6",
"cac": "^6.7.14",
"nodemon": "^3.0.2",
"satori": "^0.10.11",
"tsx": "^4.7.0",
"zod": "^3.22.4"
},
"main": "dist/index.js",
"name": "@ozaki/cli",
"scripts": {
"format": "prettier --check \"src/**/*.{ts,tsx}\"",
"format:fix": "prettier --write \"src/**/*.{ts,tsx}\"",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
"start": "tsx src/index.tsx",
"build": "tsc",
"watch": "nodemon -w src/index.tsx --exec tsx src/index.tsx"
},
"engines": {
"node": ">=18.0.0"
},
"type": "module",
"version": "1.0.0"
}
Loading