mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
23 lines
594 B
YAML
23 lines
594 B
YAML
schema_version: 1
|
|||
|
|
kind: preset
|
||
|
|
name: astro
|
||
|
|
description: Astro dev server and build (astro dev, astro build, astro sync)
|
||
|
|
|
||
|
|
metadata:
|
||
|
|
author: SafeDep
|
||
|
|
labels: [astro, javascript, dev-server, framework]
|
||
|
|
|
||
|
|
# Threat notes:
|
||
|
|
# - .astro/** holds generated types and content-collection state; dist/** is
|
||
|
|
# build output. Writes there cannot escape the project.
|
||
|
|
# - The loopback bind covers Astro's default dev port. Seatbelt's
|
||
|
|
# "localhost" ip filter matches both 127.0.0.1 and ::1.
|
||
|
|
filesystem:
|
||
|
|
allow_write:
|
||
|
|
- ${CWD}/.astro/**
|
||
|
|
- ${CWD}/dist/**
|
||
|
|
|
||
|
|
network:
|
||
|
|
allow_bind:
|
||
|
|
- localhost:4321
|