Revert "Added formatter for yml too"

This reverts commit f74d5219a6.
This commit is contained in:
Kasra Bigdeli 2020-08-16 07:34:16 -04:00
parent f74d5219a6
commit 3cb7e7d6bb
2 changed files with 34 additions and 33 deletions

View File

@ -3,8 +3,8 @@
"version": "1.0.0", "version": "1.0.0",
"description": "One Click App Repository for CapRover", "description": "One Click App Repository for CapRover",
"scripts": { "scripts": {
"formatter": "prettier --check './public/**/*.(json|yml)'", "formatter": "prettier --check './public/**/*.json'",
"formatter-write": "prettier --write './public/**/*.(json|yml)'", "formatter-write": "prettier --write './public/**/*.json'",
"build": "rm -rf ./dist/ && mkdir -p dist && node ./scripts/build_one_click_apps.js && node ./scripts/build_one_click_apps_from_v4.js", "build": "rm -rf ./dist/ && mkdir -p dist && node ./scripts/build_one_click_apps.js && node ./scripts/build_one_click_apps_from_v4.js",
"validate_json": "node ./scripts/validate_json.js", "validate_json": "node ./scripts/validate_json.js",
"publish": "npm run build && ./scripts/publish-from-actions.sh" "publish": "npm run build && ./scripts/publish-from-actions.sh"

View File

@ -1,26 +1,26 @@
captainVersion: 4 captainVersion: 4
services: services:
'$$cap_appname': "$$cap_appname":
image: privatebin/nginx-fpm-alpine:$$cap_version image: privatebin/nginx-fpm-alpine:$$cap_version
environment: environment:
TZ: '$$cap_tz' TZ: "$$cap_tz"
PHP_TZ: '$$cap_tz' PHP_TZ: "$$cap_tz"
volumes: volumes:
- '$$cap_appname-data:/srv/data' - "$$cap_appname-data:/srv/data"
caproverExtra: caproverExtra:
containerHttpPort: '8080' containerHttpPort: '8080'
caproverOneClickApp: caproverOneClickApp:
variables: variables:
- id: '$$cap_version' - id: "$$cap_version"
label: PrivateBin Version label: PrivateBin Version
defaultValue: '1.3.4' defaultValue: '1.3.4'
description: Check out their Docker page for the valid tags https://hub.docker.com/r/privatebin/nginx-fpm-alpine/tags description: Check out their Docker page for the valid tags https://hub.docker.com/r/privatebin/nginx-fpm-alpine/tags
validRegex: "/^([^\\s^\\/])+$/" validRegex: "/^([^\\s^\\/])+$/"
- id: '$$cap_tz' - id: "$$cap_tz"
label: Time Zone label: Time Zone
defaultValue: America/New_York defaultValue: America/New_York
description: Get yours from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones description: Get yours from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
validRegex: '/.{1,}/' validRegex: "/.{1,}/"
instructions: instructions:
start: |- start: |-
PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data.
@ -32,3 +32,4 @@ caproverOneClickApp:
displayName: PrivateBin displayName: PrivateBin
description: A minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES. description: A minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES.
documentation: See https://github.com/PrivateBin/docker-nginx-fpm-alpine documentation: See https://github.com/PrivateBin/docker-nginx-fpm-alpine