nicolium rename stuff

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-27 01:04:14 +01:00
parent fbdd94f204
commit b88a638e25
994 changed files with 622 additions and 106 deletions

View File

@ -16,17 +16,17 @@ jobs:
command: pnpm run build
- run:
name: Install Nicolium deps
working_directory: packages/pl-fe
working_directory: packages/nicolium
command: pnpm install
- run:
name: Build Nicolium
working_directory: packages/pl-fe
working_directory: packages/nicolium
command: pnpm run build
- run:
name: Install Vercel CLI
command: sudo npm install -g vercel
- run:
working_directory: packages/pl-fe
working_directory: packages/nicolium
name: Deploy to Vercel
command: vercel deploy --token $VERCEL_TOKEN --prod=false --confirm --name pl-fe

View File

@ -1,4 +1,4 @@
name: pl-fe CI
name: Nicolium CI
on:
push:
@ -31,34 +31,34 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install deps
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: yarn install --ignore-scripts
- name: Lint
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: yarn lint
- name: Build
env:
NODE_ENV: production
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: yarn build
- name: i18n
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: |
yarn i18n
git diff
git diff --quiet || (echo "Locale files are out of date. Please run \`yarn i18n\`" && exit 1)
- name: Include archive
working-directory: ./packages/pl-fe/dist
working-directory: ./packages/nicolium/dist
run: zip -r ../pl-fe.zip .
- name: Build with landing page
env:
NODE_ENV: production
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: |
WITH_LANDING_PAGE=true yarn build
cp dist/index.html dist/404.html
@ -74,7 +74,7 @@ jobs:
- name: Copy pl-api documentation
working-directory: ./packages/pl-api
run: cp docs ../pl-fe/dist/pl-api-docs -r
run: cp docs ../nicolium/dist/pl-api-docs -r
- name: cloudflare lol
working-directory: .
@ -85,4 +85,4 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy packages/pl-fe/dist --project-name=plfe
command: pages deploy packages/nicolium/dist --project-name=plfe

View File

@ -3,6 +3,7 @@ updates:
- package-ecosystem: "npm"
directories:
- "/packages/pl-api"
- "/packages/pl-fe"
- "/packages/pl-hooks"
- "/packages/nicolium"
schedule:
interval: "weekly"

View File

@ -1,4 +1,4 @@
name: pl-fe CI
name: Nicolium CI
on:
push:
@ -48,17 +48,17 @@ jobs:
run: pnpm build
- name: Lint
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: pnpm lint
- name: Build
env:
NODE_ENV: production
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: pnpm build
- name: i18n
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: |
pnpm i18n
git diff
@ -68,16 +68,16 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: pl-fe
path: packages/pl-fe/dist
path: packages/nicolium/dist
- name: Include archive
working-directory: ./packages/pl-fe/dist
working-directory: ./packages/nicolium/dist
run: zip -r ../pl-fe.zip .
- name: build
env:
NODE_ENV: production
working-directory: ./packages/pl-fe
working-directory: ./packages/nicolium
run: |
BANNER_HTML="pl.mkljczk.pl runs Nicolium's \`develop\` branch, which can break sometimes. For a more stable experience, use <a href=\"https://web.nicolium.app\" target=\"_blank\" rel=\"noopener noreferrer\">web.nicolium.app</a>." WITH_LANDING_PAGE=true pnpm build
cp dist/index.html dist/404.html
@ -89,7 +89,7 @@ jobs:
- name: Copy pl-api documentation
working-directory: ./packages/pl-api
run: cp docs ../pl-fe/dist/pl-api-docs -r
run: cp docs ../nicolium/dist/pl-api-docs -r
- name: Build documentation
working-directory: .
@ -97,13 +97,13 @@ jobs:
- name: Copy documentation
working-directory: .
run: cp site ./packages/pl-fe/dist/docs -r
run: cp site ./packages/nicolium/dist/docs -r
- name: Upload Github Pages artifact
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: packages/pl-fe/dist
path: packages/nicolium/dist
deploy:
needs: build

View File

@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"
cd packages/pl-api && pnpm precommit && cd -
cd packages/pl-fe && pnpm precommit && cd -
cd packages/nicolium && pnpm precommit && cd -

View File

@ -19,10 +19,10 @@ pnpm install
# Build the pl-api dependency
pnpm -F pl-api build
# Build the Nicolium project
pnpm -F pl-fe build
pnpm -F nicolium build
```
The built files will be located in the `packages/pl-fe/dist` directory. You can [serve them using a static web server](./installing/standalone.md).
The built files will be located in the `packages/nicolium/dist` directory. You can [serve them using a static web server](./installing/standalone.md).
Following environment variables can be used to customize the instance in build process:

View File

@ -31,7 +31,7 @@ pnpm install
# Build the pl-api dependency
pnpm -F pl-api build # Use `pnpm -F pl-api watch` if you want to develop pl-api alongside Nicolium
# Run the Nicolium development server (by default at http://localhost:7312)
pnpm -F pl-fe dev
pnpm -F nicolium dev
```
The server supports hot module reloading, so any changes you make to the source code will be reflected in the browser automatically.
@ -49,7 +49,7 @@ Nicolium hosts its repository on [Codeberg](https://codeberg.org/mkljczk/nicoliu
The project uses [ESLint](https://eslint.org/) and [Stylelint](https://stylelint.io/) for code style checking, which is automatically run on every commit using [Husky](https://typicode.github.io/husky). You can run the linters manually using the following command:
```bash
pnpm -F pl-fe lint
pnpm -F nicolium lint
```
While contributing code, try to follow the existing coding style. Common sense rules regarding contributions apply. Keep your changes focused on a single issue or feature. Do not create pull requests including larger changes you don't understand fully—whether it's from another project or some auto-generated code.
@ -61,7 +61,7 @@ While contributing code, try to follow the existing coding style. Common sense r
Before committing changes adding or modifying user-visible strings, make sure to extract the messages using the following command:
```bash
pnpm -F pl-fe i18n
pnpm -F nicolium i18n
```
You can help translating Nicolium into your language on [Weblate](https://hosted.weblate.org/projects/pl-fe/).

View File

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View File

@ -1,5 +1,5 @@
{
"name": "pl-fe",
"name": "nicolium",
"displayName": "Nicolium",
"version": "0.0.1",
"description": "Mastodon-compatible social media front-end",

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 81 B

After

Width:  |  Height:  |  Size: 81 B

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Some files were not shown because too many files have changed in this diff Show More