Skip to content

Commit a6a911e

Browse files
committed
feat: initial project
1 parent 874e050 commit a6a911e

18 files changed

+1084
-2
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!Dockerfile
3+
!bin

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

.github/renovate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>containerbase/.github",
5+
"github>containerbase/.github//merge-queue.json"
6+
]
7+
}

.github/workflows/build.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
9+
10+
merge_group:
11+
12+
schedule:
13+
- cron: '0 1 * * *'
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
17+
cancel-in-progress: true
18+
19+
env:
20+
HUSKY: 0
21+
22+
jobs:
23+
lint:
24+
runs-on: ubuntu-latest
25+
timeout-minutes: 10
26+
steps:
27+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
28+
- run: corepack enable
29+
- run: pnpm install
30+
- run: pnpm prettier
31+
32+
build:
33+
needs:
34+
- lint
35+
runs-on: ubuntu-latest
36+
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
# distro:
41+
# - focal
42+
# - jammy
43+
arch:
44+
- x86_64
45+
# - aarch64
46+
47+
env:
48+
# DISTRO: ${{ matrix.distro }} # build target, name required by binary-builder
49+
ARCH: ${{ matrix.arch }} # build target, name required by binary-builder
50+
51+
steps:
52+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
53+
54+
- name: binary-builder
55+
uses: containerbase/internal-tools@ea879db0cfe20e24636d8010ea1d1b2e9683e167 # v3.4.0
56+
with:
57+
command: binary-builder
58+
dry-run: ${{github.ref != 'refs/heads/main'}}
59+
token: ${{ secrets.GITHUB_TOKEN }}
60+
last-only: true

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/node_modules/
2+
/.pnpm-store/
3+
4+
/.cache/

.husky/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
lint-staged

.lintstagedrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"*": "prettier --ignore-unknown --write"
3+
}

.npmrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
save-exact = true
2+
save-prefix =
3+
4+
# pnpm run settings
5+
# https://pnpm.io/cli/run
6+
shell-emulator = true

.prettierignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
node_modules/
2+
/coverage/
3+
/dist/
4+
/bin/
5+
/tmp/
6+
/html/
7+
/.cache/
8+
9+
10+
# pnpm
11+
pnpm-lock.yaml
12+
/.pnpm-store

.prettierrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "es5",
4+
"plugins": ["prettier-plugin-packagejson"]
5+
}

0 commit comments

Comments
 (0)