mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-22 20:41:56 +00:00
Prettier install & format
This commit is contained in:
@@ -11,6 +11,7 @@ This project uses `devenv.nix` to manage the development environment, which will
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
1. Clone the repository:
|
1. Clone the repository:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/Cian-H/am-d-model.eu.git
|
git clone https://github.com/Cian-H/am-d-model.eu.git
|
||||||
cd am-d-model.eu
|
cd am-d-model.eu
|
||||||
@@ -54,4 +55,3 @@ implemented in future but for now, simplicity is a virtue.
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
|
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
|
||||||
inputs:
|
inputs:
|
||||||
nixpkgs:
|
nixpkgs:
|
||||||
url: github:cachix/devenv-nixpkgs/rolling
|
url: github:cachix/devenv-nixpkgs/rolling
|
||||||
|
|||||||
@@ -1,44 +1,43 @@
|
|||||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
|
||||||
services:
|
services:
|
||||||
site:
|
site:
|
||||||
build: .
|
build: .
|
||||||
networks:
|
networks:
|
||||||
- am-d-model-network
|
- am-d-model-network
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- "io.containers.autoupdate=local"
|
- "io.containers.autoupdate=local"
|
||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
image: docker.io/library/caddy:latest
|
image: docker.io/library/caddy:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
- site
|
- site
|
||||||
networks:
|
networks:
|
||||||
- am-d-model-network
|
- am-d-model-network
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
volumes:
|
volumes:
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- ./caddy:/etc/caddy
|
- ./caddy:/etc/caddy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- "io.containers.autoupdate=registry"
|
- "io.containers.autoupdate=registry"
|
||||||
|
|
||||||
repo-placeholder:
|
repo-placeholder:
|
||||||
image: docker.io/nginx:alpine
|
image: docker.io/nginx:alpine
|
||||||
networks:
|
networks:
|
||||||
- am-d-model-network
|
- am-d-model-network
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./repo:/usr/share/nginx/html
|
- ./repo:/usr/share/nginx/html
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
am-d-model-network:
|
am-d-model-network:
|
||||||
name: am-d-model-network
|
name: am-d-model-network
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
|
|||||||
8
prettier.config.js
Normal file
8
prettier.config.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
const config = {
|
||||||
|
singleQuote: false,
|
||||||
|
tabWidth: 4,
|
||||||
|
trailingComma: "all",
|
||||||
|
printWidth: 100,
|
||||||
|
};
|
||||||
|
|
||||||
|
export default config;
|
||||||
Reference in New Issue
Block a user