Skip to content

Commit ec7334e

Browse files
authored
feat: package extension with nix (#56)
* feat: package extension with nix * niri: fix package-lock.json * stocks: remove invalid label key only a valid key for checkboxes * nix: blacklist extensions using node-gyp
1 parent aee38f1 commit ec7334e

File tree

8 files changed

+217
-163
lines changed

8 files changed

+217
-163
lines changed

.github/workflows/nix.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Nix
3+
4+
on:
5+
push:
6+
pull_request:
7+
8+
jobs:
9+
check-formatting:
10+
name: Check Formatting
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
- uses: cachix/install-nix-action@v31
15+
- run: nix fmt -- --ci
16+
flake-check:
17+
name: Flake Check
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v6
21+
- uses: cachix/install-nix-action@v31
22+
- uses: cachix/cachix-action@v14
23+
continue-on-error: true
24+
with:
25+
name: vicinae
26+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
27+
- run: nix flake check

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ node_modules
44
# output
55
out
66
dist
7+
result
8+
result-*
79
*.tgz
810

911
# code coverage

extensions/bluetooth/flake.lock

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

extensions/bluetooth/flake.nix

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

extensions/niri/package-lock.json

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

extensions/stocks/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"description": "Comma-separated list of stock symbols to track (e.g., AAPL,MSFT,GOOGL,TSLA)",
2929
"default": "AAPL,MSFT,GOOGL,TSLA",
3030
"placeholder": "AAPL,MSFT,GOOGL,TSLA",
31-
"label": "Stock Symbols",
3231
"required": true
3332
},
3433
{

0 commit comments

Comments
 (0)