Skip to content

Commit

Permalink
🐛 fix(all): fix general issues
Browse files Browse the repository at this point in the history
make beta for 'create' project, fix readme descriptions, change documentation styles, add todos...
  • Loading branch information
Ángel Albiñana Espejo authored and Ángel Albiñana Espejo committed Aug 21, 2024
1 parent a99c5c8 commit 0d32c11
Show file tree
Hide file tree
Showing 40 changed files with 414 additions and 587 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ yarn.lock
**/__cache__
.DS_Store
**/.DS_Store
packages/_config/exts-examples/**
packages/create/templates/**
16 changes: 14 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ features:

- title: Get started
icon: 👋
details: Get started now with BACKAN
details: Start your project now
link: guide/
- title: Library
icon: 📚
details: Learn and consult the BACKAN documentation.
details: Learn and check the documentation.
link: guide/core
- title: Server
icon: 🗄️
Expand All @@ -36,3 +36,15 @@ features:
link: guide/builder

---

::: code-group
```bash [npm]
npm install backan
```
```bash [pnpm]
pnpm install backan
```
```bash [yarn]
yarn add backan
```
:::
4 changes: 4 additions & 0 deletions docs/todo/v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
- [ ] ... -->

## 🌈 General

- [ ] Fix and complete README files


## 📖 Docs

Expand Down
9 changes: 9 additions & 0 deletions packages/backan/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# backan

## 0.0.5

### Patch Changes

- Fix general issues

- Updated dependencies []:
- @backan/core@0.0.5

## 0.0.4

### Patch Changes
Expand Down
82 changes: 40 additions & 42 deletions packages/backan/README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,3 @@
<!-- PIGEONPOSSE START MARK -->
<!--
██████╗ ██╗ ██████╗ ███████╗ ██████╗ ███╗ ██╗
██╔══██╗██║██╔════╝ ██╔════╝██╔═══██╗████╗ ██║
██████╔╝██║██║ ███╗█████╗ ██║ ██║██╔██╗ ██║
██╔═══╝ ██║██║ ██║██╔══╝ ██║ ██║██║╚██╗██║
██║ ██║╚██████╔╝███████╗╚██████╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝
██████╗ ██████╗ ███████╗███████╗███████╗
██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔════╝
██████╔╝██║ ██║███████╗███████╗█████╗
██╔═══╝ ██║ ██║╚════██║╚════██║██╔══╝
██║ ╚██████╔╝███████║███████║███████╗
╚═╝ ╚═════╝ ╚══════╝╚══════╝╚══════╝
█████╗█████╗█████╗█████╗█████╗█████╗█████╗
╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝
██████╗ █████╗ ██████╗██╗ ██╗ █████╗ ███╗ ██╗
██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔══██╗████╗ ██║
██████╔╝███████║██║ █████╔╝ ███████║██╔██╗ ██║
██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══██║██║╚██╗██║
██████╔╝██║ ██║╚██████╗██║ ██╗██║ ██║██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝
REPOSITORY: https://github.com/pigeonposse/backan
AUTHORS:
- Angelo (https://github.com/angelespejo)
DEVELOPED BY Angelo 🐦🌈
-->
<!-- PIGEONPOSSE END MARK -->

# Backan - All in one web API builder

<!-- PIGEONPOSSE START HEADER -->
Expand All @@ -60,8 +20,6 @@ Create endpoints with type validations and OpenApi documentation, safely and qui

<!-- PIGEONPOSSE END HEADER -->

> This package contains **_BACKAN_** Create library
<!-- PIGEONPOSSE START INDEX -->

- [Documentation](https://backan.pigeonposse.com/)
Expand Down Expand Up @@ -118,3 +76,43 @@ This software is licensed with **[GPL-3.0](/LICENSE)**.

</p>
<!-- PIGEONPOSSE END ORG -->

<!-- PIGEONPOSSE START MARK -->
<!--
██████╗ ██╗ ██████╗ ███████╗ ██████╗ ███╗ ██╗
██╔══██╗██║██╔════╝ ██╔════╝██╔═══██╗████╗ ██║
██████╔╝██║██║ ███╗█████╗ ██║ ██║██╔██╗ ██║
██╔═══╝ ██║██║ ██║██╔══╝ ██║ ██║██║╚██╗██║
██║ ██║╚██████╔╝███████╗╚██████╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝
██████╗ ██████╗ ███████╗███████╗███████╗
██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔════╝
██████╔╝██║ ██║███████╗███████╗█████╗
██╔═══╝ ██║ ██║╚════██║╚════██║██╔══╝
██║ ╚██████╔╝███████║███████║███████╗
╚═╝ ╚═════╝ ╚══════╝╚══════╝╚══════╝
█████╗█████╗█████╗█████╗█████╗█████╗█████╗
╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝
██████╗ █████╗ ██████╗██╗ ██╗ █████╗ ███╗ ██╗
██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔══██╗████╗ ██║
██████╔╝███████║██║ █████╔╝ ███████║██╔██╗ ██║
██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══██║██║╚██╗██║
██████╔╝██║ ██║╚██████╗██║ ██╗██║ ██║██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝
REPOSITORY: https://github.com/pigeonposse/backan
AUTHORS:
- Angelo (https://github.com/angelespejo)
DEVELOPED BY Angelo 🐦🌈
-->
<!-- PIGEONPOSSE END MARK -->
2 changes: 1 addition & 1 deletion packages/backan/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backan",
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"license": "GPL-3.0",
"homepage": "https://backan.pigeonposse.com/guide",
Expand Down
6 changes: 6 additions & 0 deletions packages/builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @backan/builder

## 0.0.5

### Patch Changes

- Fix general issues

## 0.0.4

### Patch Changes
Expand Down
80 changes: 40 additions & 40 deletions packages/builder/README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,3 @@
<!-- PIGEONPOSSE START MARK -->
<!--
██████╗ ██╗ ██████╗ ███████╗ ██████╗ ███╗ ██╗
██╔══██╗██║██╔════╝ ██╔════╝██╔═══██╗████╗ ██║
██████╔╝██║██║ ███╗█████╗ ██║ ██║██╔██╗ ██║
██╔═══╝ ██║██║ ██║██╔══╝ ██║ ██║██║╚██╗██║
██║ ██║╚██████╔╝███████╗╚██████╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝
██████╗ ██████╗ ███████╗███████╗███████╗
██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔════╝
██████╔╝██║ ██║███████╗███████╗█████╗
██╔═══╝ ██║ ██║╚════██║╚════██║██╔══╝
██║ ╚██████╔╝███████║███████║███████╗
╚═╝ ╚═════╝ ╚══════╝╚══════╝╚══════╝
█████╗█████╗█████╗█████╗█████╗█████╗█████╗
╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝
██████╗ █████╗ ██████╗██╗ ██╗ █████╗ ███╗ ██╗
██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔══██╗████╗ ██║
██████╔╝███████║██║ █████╔╝ ███████║██╔██╗ ██║
██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══██║██║╚██╗██║
██████╔╝██║ ██║╚██████╗██║ ██╗██║ ██║██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝
REPOSITORY: https://github.com/pigeonposse/backan
AUTHORS:
- Angelo (https://github.com/angelespejo)
DEVELOPED BY Angelo 🐦🌈
-->
<!-- PIGEONPOSSE END MARK -->

# Backan - Builder

<!-- PIGEONPOSSE START HEADER -->
Expand Down Expand Up @@ -118,3 +78,43 @@ This software is licensed with **[GPL-3.0](/LICENSE)**.

</p>
<!-- PIGEONPOSSE END ORG -->

<!-- PIGEONPOSSE START MARK -->
<!--
██████╗ ██╗ ██████╗ ███████╗ ██████╗ ███╗ ██╗
██╔══██╗██║██╔════╝ ██╔════╝██╔═══██╗████╗ ██║
██████╔╝██║██║ ███╗█████╗ ██║ ██║██╔██╗ ██║
██╔═══╝ ██║██║ ██║██╔══╝ ██║ ██║██║╚██╗██║
██║ ██║╚██████╔╝███████╗╚██████╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝
██████╗ ██████╗ ███████╗███████╗███████╗
██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔════╝
██████╔╝██║ ██║███████╗███████╗█████╗
██╔═══╝ ██║ ██║╚════██║╚════██║██╔══╝
██║ ╚██████╔╝███████║███████║███████╗
╚═╝ ╚═════╝ ╚══════╝╚══════╝╚══════╝
█████╗█████╗█████╗█████╗█████╗█████╗█████╗
╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝
██████╗ █████╗ ██████╗██╗ ██╗ █████╗ ███╗ ██╗
██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔══██╗████╗ ██║
██████╔╝███████║██║ █████╔╝ ███████║██╔██╗ ██║
██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══██║██║╚██╗██║
██████╔╝██║ ██║╚██████╗██║ ██╗██║ ██║██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝
REPOSITORY: https://github.com/pigeonposse/backan
AUTHORS:
- Angelo (https://github.com/angelespejo)
DEVELOPED BY Angelo 🐦🌈
-->
<!-- PIGEONPOSSE END MARK -->
2 changes: 1 addition & 1 deletion packages/builder/examples/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve } from 'node:path'
import { build } from '../src/main'
// import { build } from '../dist/main'

await build( {
build( {
input : resolve( 'examples/server.ts' ),
// name : 'backan',
// outDir : resolve( 'build' ),
Expand Down
2 changes: 1 addition & 1 deletion packages/builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@backan/builder",
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"license": "GPL-3.0",
"homepage": "https://backan.pigeonposse.com/guide/api",
Expand Down
2 changes: 1 addition & 1 deletion packages/builder/src/bin.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { build } from './main'

await build( {
build( {
input : '',
} )
20 changes: 20 additions & 0 deletions packages/builder/src/const.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export const target = 'node20'
export const name = 'BACKAN-BUILDER'
export const ERROR_ID = {
NO_INPUT : 'NO_INPUT',
PLATFORM_UNKWON : 'PLATFORM_UNKWON',
ON_ESBUILD : 'ON_ESBUILD',
ON_NCC : 'ON_NCC',
ON_PKG : 'ON_PKG',
UNEXPECTED : 'UNEXPECTED',
} as const
export const BUILDER_TYPE = {
ALL : 'all',
CJS : 'cjs',
BIN : 'bin',
} as const

export const ARCH = {
ARM64 : 'arm64',
X64 : 'x64',
} as const
Loading

0 comments on commit 0d32c11

Please sign in to comment.