-
Notifications
You must be signed in to change notification settings - Fork 9
Add frontend build system #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5ab5926
0e0d32d
e0bf45d
984621d
9b36d9c
3c57948
0870728
e1d04cb
f6fa057
73c7e1b
b00b3b1
6dafefe
76e08b5
4a9817c
b22f684
dcc8c5e
33e2d37
fcebd63
c935ca6
468ec10
5b8aceb
21b08d6
4f94f5e
0f28f6e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,7 @@ | |
| /public/ | ||
| /var/ | ||
| /vendor/ | ||
| /node_modules/ | ||
| .DS_Store | ||
| .vagrant | ||
| .phpunit.result.cache | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -151,6 +151,14 @@ You can get a list of all installed phpList modules with this command: | |
| composer run-script list-modules | ||
| ``` | ||
|
|
||
| To compile and publish the `phplist/web-frontend` assets into | ||
| `public/build` (used by the web frontend Twig templates), | ||
| run: | ||
|
|
||
| ```bash | ||
| composer run-script build-web-frontend-assets | ||
| ``` | ||
|
Comment on lines
+154
to
+160
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Document the local Node/Yarn prerequisite for this command.
🤖 Prompt for AI Agents |
||
|
|
||
|
|
||
| ## Creating a .tar.gz package of this distribution | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use
apt-getinstead ofapt, and clean up apt lists in the same layer.Two issues in this
RUNblock:apt install—aptis designed for interactive terminal use and is explicitly documented as having an unstable CLI interface not suitable for scripts. Useapt-getconsistently with the rest of the Dockerfile.rm -rf /var/lib/apt/lists/*at the end of this layer, inflating the image size with package index data.🔧 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents