Skip to content

Commit d41ef3e

Browse files
committed
feat: Refactoring and initial release
1 parent 383c852 commit d41ef3e

File tree

12 files changed

+47
-60
lines changed

12 files changed

+47
-60
lines changed

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
7+
workflow_dispatch: {}
8+
9+
permissions:
10+
contents: read
11+
id-token: write
12+
13+
jobs:
14+
publish:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v5
19+
20+
- name: Setup Deno
21+
uses: denoland/setup-deno@v2
22+
with:
23+
deno-version: 'v2.x'
24+
25+
- name: Publish package
26+
run: deno publish

deno.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
},
3434
"lint": {
3535
"plugins": [
36-
"jsr:@loat-dev/lint-plugins@0.3.11/colon_spacing",
37-
"jsr:@loat-dev/lint-plugins@0.3.11/imports",
38-
"jsr:@loat-dev/lint-plugins@0.3.11/arrays"
36+
"jsr:@loat-dev/lint-plugins@0.3.12/imports",
37+
"jsr:@loat-dev/lint-plugins@0.3.12/arrays"
3938
],
4039
"rules": {
4140
"tags": [

deno.lock

Lines changed: 3 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/error/connection_closed_error.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/error/inclomplete_http_response_error.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/error/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/error/invalid_http_response_error.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/http/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * as error from './error/index.ts'
2+
export * as response from './response/index.ts'

src/http/response/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export { parse } from './parse.ts';
2+
export { splitResponse } from './split_response.ts';
3+
export type { SplitResponseResult } from './split_response_result.ts';
4+
export * as body from './body/index.ts'
5+
export * as headers from './headers/index.ts'
6+
export * as startLine from './start_line/index.ts'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export { parseStartLine } from './parse_start_line.ts'
2+
export type { StartLine } from './start_line.ts'

0 commit comments

Comments
 (0)