-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.wiki.fed.yaml
57 lines (52 loc) · 1.33 KB
/
org.wiki.fed.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
id: org.wiki.fed
runtime: org.freedesktop.Platform
runtime-version: '23.08'
add-extensions:
org.freedesktop.Sdk.Extension.node20:
directory: lib/node
version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.node20
build-options:
append_path: "/usr/lib/sdk/node20/bin"
env:
NPM_CONFIG_LOGLEVEL: info
command: run.sh
finish-args:
- --share=network
- --filesystem=home
metadata: metadata
modules:
- name: app
buildsystem: simple
build-options:
env:
XDG_CACHE_HOME: /run/build/app/flatpak-node/cache
npm_config_cache: /run/build/app/flatpak-node/npm-cache
npm_config_nodedir: /usr/lib/sdk/node20
npm_config_offline: 'true'
build-commands:
- node --version
- npm --version
- npm install --no-save
- cp -r ./ /app/
sources:
- type: archive
url: https://registry.npmjs.org/wiki/-/wiki-0.36.1.tgz
sha256: 011f6bd5d7402194e2acb5a117017da23d7cfe37a6dd01e872d0b605d0700a20
- type: file
path: package-lock.json
- generated-sources.json
- name: script
buildsystem: simple
build-commands:
- install -D run.sh /app/bin/run.sh
sources:
- type: file
path: bin/run.sh
- name: node
buildsystem: simple
build-commands:
- mkdir -p /app/lib/node