-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
173 changed files
with
13,800 additions
and
8,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": ["@changesets/changelog-github", { "repo": "nebulaservices/nebula" }], | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [], | ||
"privatePackages": { "version": true, "tag": true } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
node_modules/ | ||
.vscode | ||
npm-debug.log | ||
yarn-error.log | ||
.github/ | ||
.env.example | ||
.env | ||
dist/ | ||
.git/ | ||
.astro/ | ||
~/ | ||
.gitignore | ||
biome.json | ||
docker-compose.yml | ||
Dockerfile | ||
README.md | ||
db/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build Docker image | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
workflow_dispatch: | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
build-and-push: | ||
name: Build and push Docker image to registry | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'nebulaservices' | ||
permissions: | ||
contents: write | ||
packages: write | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
- name: Setup docker buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login To registry ${{ env.REGISTRY }} | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ github.token }} | ||
- name: Extract Docker metadata | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: ${{ env.REGISTRY }}/nebulaservice/nebula | ||
- name: Build and push | ||
id: build-and-push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
platforms: linux/amd64,linux/arm64 | ||
file: ./Dockerfile | ||
name: nebula | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
env: | ||
FORCE_COLOR: true | ||
|
||
jobs: | ||
changelog: | ||
name: Release TAG | ||
if: ${{ github.repository_owner == 'nebulaservices' }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: 9.1.1 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Create Release Pull Request or Publish | ||
id: changesets | ||
uses: changesets/action@v1 | ||
with: | ||
version: pnpm run version | ||
publish: pnpm exec changeset publish | ||
commit: "[ci] release" | ||
title: "[ci] release" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,43 @@ | ||
# Logs | ||
logs | ||
*.log | ||
# build output | ||
dist/ | ||
server/*.js | ||
|
||
# generated types | ||
.astro/ | ||
|
||
# dependencies | ||
node_modules/ | ||
package-lock.json | ||
|
||
#external assets | ||
database_assets/ | ||
!database_assets/com.nebula.gruvbox/ | ||
!database_assets/com.nebula.lightTheme/ | ||
!database_assets/com.nebula.oled/ | ||
!database_assets/com.nebula.retro/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
package-lock.json | ||
|
||
dist-ssr | ||
dist | ||
*.local | ||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# Editor directories and files | ||
.idea | ||
# macOS-specific files | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# jetbrains setting folder | ||
.idea/ | ||
|
||
# nebula catalog database | ||
database.sqlite | ||
|
||
|
||
# YOUR config | ||
config.toml | ||
|
||
# Goofy PNPM problem | ||
~/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "workerware"] | ||
path = workerware | ||
url = https://github.com/mercuryworkshop/workerware |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# v9.0.0 | ||
|
||
- The first release of Nebula V9! And with it bring a whole host of changes: | ||
- More stable the V8 | ||
- Adds a Marketplace where users can create their own themes & plugins | ||
- Switches to Astro for speed | ||
- Other general bug fixes | ||
|
||
# v9.0.1 | ||
|
||
- Bumps dependencies | ||
- Fixes bugs | ||
|
||
# 9.0.2 | ||
|
||
- Adds the ability for a custom wisp server back | ||
- Increases upload fileSize capacity in hopes that bigger files can now be uploaded | ||
|
||
# 9.0.3 | ||
|
||
- Bugfix: themes with caps don't uninstall - fixed | ||
- Rewrite: InstalledThemes and InstalledPlugins are now in Astro instead of Svelte | ||
|
||
# 9.0.4 | ||
|
||
- General Bugfixes | ||
- Removes Svelte except for 2 componenents | ||
- Scramjet :rocket: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM node:22-alpine | ||
|
||
WORKDIR /app | ||
|
||
COPY package*.json . | ||
COPY . . | ||
|
||
RUN apk update | ||
RUN apk add python3 py3-pip alpine-sdk openssl-dev build-base python3-dev | ||
RUN python3 -m pip install setuptools --break-system-packages | ||
RUN cp -n config.example.toml config.toml | ||
RUN npm i -g pnpm | ||
RUN pnpm install | ||
RUN pnpm run build | ||
RUN export TERM=xterm-256color | ||
VOLUME /app | ||
EXPOSE 8080 | ||
ENTRYPOINT ["pnpm"] | ||
CMD ["start", "--color"] |
Oops, something went wrong.