Skip to content

Commit fdc0246

Browse files
Fix
2 parents 4cb2053 + 660e4c3 commit fdc0246

File tree

173 files changed

+13800
-8162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+13800
-8162
lines changed

.changeset/config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": ["@changesets/changelog-github", { "repo": "nebulaservices/nebula" }],
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": [],
11+
"privatePackages": { "version": true, "tag": true }
12+
}

.dockerignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
node_modules/
2+
.vscode
3+
npm-debug.log
4+
yarn-error.log
5+
.github/
6+
.env.example
7+
.env
8+
dist/
9+
.git/
10+
.astro/
11+
~/
12+
.gitignore
13+
biome.json
14+
docker-compose.yml
15+
Dockerfile
16+
README.md
17+
db/

.github/workflows/docker.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build Docker image
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
workflow_dispatch:
7+
8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: ${{ github.repository }}
11+
12+
jobs:
13+
build-and-push:
14+
name: Build and push Docker image to registry
15+
runs-on: ubuntu-latest
16+
if: github.repository_owner == 'nebulaservices'
17+
permissions:
18+
contents: write
19+
packages: write
20+
steps:
21+
- name: Checkout repo
22+
uses: actions/checkout@v3
23+
- name: Setup docker buildx
24+
uses: docker/setup-buildx-action@v3
25+
- name: Login To registry ${{ env.REGISTRY }}
26+
uses: docker/login-action@v3
27+
with:
28+
registry: ${{ env.REGISTRY }}
29+
username: ${{ github.actor }}
30+
password: ${{ github.token }}
31+
- name: Extract Docker metadata
32+
id: meta
33+
uses: docker/metadata-action@v3
34+
with:
35+
images: ${{ env.REGISTRY }}/nebulaservice/nebula
36+
- name: Build and push
37+
id: build-and-push
38+
uses: docker/build-push-action@v4
39+
with:
40+
context: .
41+
platforms: linux/amd64,linux/arm64
42+
file: ./Dockerfile
43+
name: nebula
44+
push: ${{ github.event_name != 'pull_request' }}
45+
tags: ${{ steps.meta.outputs.tags }}
46+
labels: ${{ steps.meta.outputs.labels }}
47+
cache-from: type=gha
48+
cache-to: type=gha,mode=max

.github/workflows/release.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
defaults:
10+
run:
11+
shell: bash
12+
13+
env:
14+
FORCE_COLOR: true
15+
16+
jobs:
17+
changelog:
18+
name: Release TAG
19+
if: ${{ github.repository_owner == 'nebulaservices' }}
20+
runs-on: ubuntu-latest
21+
permissions:
22+
contents: write
23+
id-token: write
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- name: Setup PNPM
28+
uses: pnpm/action-setup@v3
29+
with:
30+
version: 9.1.1
31+
32+
- name: Setup Node
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version: 18
36+
cache: "pnpm"
37+
38+
- name: Install dependencies
39+
run: pnpm install --no-frozen-lockfile
40+
41+
- name: Create Release Pull Request or Publish
42+
id: changesets
43+
uses: changesets/action@v1
44+
with:
45+
version: pnpm run version
46+
publish: pnpm exec changeset publish
47+
commit: "[ci] release"
48+
title: "[ci] release"
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 36 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,43 @@
1-
# Logs
2-
logs
3-
*.log
1+
# build output
2+
dist/
3+
server/*.js
4+
5+
# generated types
6+
.astro/
7+
8+
# dependencies
9+
node_modules/
10+
package-lock.json
11+
12+
#external assets
13+
database_assets/
14+
!database_assets/com.nebula.gruvbox/
15+
!database_assets/com.nebula.lightTheme/
16+
!database_assets/com.nebula.oled/
17+
!database_assets/com.nebula.retro/
18+
19+
# logs
420
npm-debug.log*
521
yarn-debug.log*
622
yarn-error.log*
723
pnpm-debug.log*
8-
lerna-debug.log*
9-
10-
node_modules
11-
package-lock.json
1224

13-
dist-ssr
14-
dist
15-
*.local
25+
# environment variables
26+
.env
27+
.env.production
1628

17-
# Editor directories and files
18-
.idea
29+
# macOS-specific files
1930
.DS_Store
20-
*.suo
21-
*.ntvs*
22-
*.njsproj
23-
*.sln
24-
*.sw?
31+
32+
# jetbrains setting folder
33+
.idea/
34+
35+
# nebula catalog database
36+
database.sqlite
37+
38+
39+
# YOUR config
40+
config.toml
41+
42+
# Goofy PNPM problem
43+
~/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "workerware"]
2+
path = workerware
3+
url = https://github.com/mercuryworkshop/workerware

.prettierignore

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

.prettierrc

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

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

0 commit comments

Comments
 (0)