style: bump prettier and format app

This commit is contained in:
sct
2021-05-13 23:48:08 +09:00
parent 4e484282f0
commit aa86809dc9
50 changed files with 196 additions and 195 deletions

View File

@@ -11,22 +11,22 @@ confinement: strict
parts:
overseerr:
plugin: nodejs
nodejs-version: "14.16.1"
nodejs-package-manager: "yarn"
nodejs-version: '14.16.1'
nodejs-package-manager: 'yarn'
nodejs-yarn-version: v1.22.10
build-packages:
- git
- on arm64:
- build-essential
- automake
- python-gi
- python-gi-dev
- build-essential
- automake
- python-gi
- python-gi-dev
- on armhf:
- libatomic1
- build-essential
- automake
- python-gi
- python-gi-dev
- libatomic1
- build-essential
- automake
- python-gi
- python-gi-dev
source: .
override-pull: |
snapcraftctl pull
@@ -56,7 +56,7 @@ parts:
snapcraftctl set-version "$SNAP_VERSION"
snapcraftctl set-grade "$GRADE"
build-environment:
- PATH: "$SNAPCRAFT_PART_BUILD/node_modules/.bin:$SNAPCRAFT_PART_BUILD/../npm/bin:$PATH"
- PATH: '$SNAPCRAFT_PART_BUILD/node_modules/.bin:$SNAPCRAFT_PART_BUILD/../npm/bin:$PATH'
override-build: |
set -e
# Set COMMIT_TAG before the build begins
@@ -72,11 +72,9 @@ parts:
rm -rf $SNAPCRAFT_PART_INSTALL/.github && rm $SNAPCRAFT_PART_INSTALL/.gitbook.yaml
stage-packages:
- on armhf:
- libatomic1
stage:
[ .next, ./* ]
prime:
[ .next, ./* ]
- libatomic1
stage: [.next, ./*]
prime: [.next, ./*]
apps:
deamon:
@@ -89,8 +87,8 @@ apps:
- network
- network-bind
environment:
PATH: "$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH"
OVERSEERR_SNAP: "True"
PATH: '$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH'
OVERSEERR_SNAP: 'True'
CONFIG_DIRECTORY: $SNAP_USER_COMMON
LOG_LEVEL: "debug"
NODE_ENV: "production"
LOG_LEVEL: 'debug'
NODE_ENV: 'production'