Skip to content

Commit

Permalink
Upgrade v5 (#359)
Browse files Browse the repository at this point in the history
* chore(populate-deep): replace by strapi-v5-plugin-populate-deep

* chore: remove strapi-plugin-site-publisher

* chore(deps): pins to fix npm audit

* chore(strapi): upgrade to 5.5.1

* chore(middleware): update CSP for dev

* feat(workflow-trigger): add own v5 plugin

* chore: update generated types

* doc(plugin): add npm run cmds

* chore(deps): upgrade transitive

* test: update to documents API

---------

Co-authored-by: Flo Drews <[email protected]>
Co-authored-by: Rafael Falk <[email protected]>
Co-authored-by: Spencer Peace <[email protected]>
  • Loading branch information
4 people authored Dec 16, 2024
1 parent 1cfa5c1 commit 7a5e573
Show file tree
Hide file tree
Showing 35 changed files with 14,085 additions and 9,825 deletions.
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ Icon
.Trashes
._*


############################
# Linux
############################

*~


############################
# Windows
############################
Expand All @@ -31,7 +29,6 @@ $RECYCLE.BIN/
*.msm
*.msp


############################
# Packages
############################
Expand Down Expand Up @@ -60,7 +57,6 @@ $RECYCLE.BIN/
*.out
*.pid


############################
# Logs and databases
############################
Expand All @@ -71,7 +67,6 @@ $RECYCLE.BIN/
*.sqlite
*.sqlite3


############################
# Misc.
############################
Expand Down Expand Up @@ -116,3 +111,5 @@ build
data/*
!data/.gitkeep
.strapi/client/*

plugins/*/dist
7 changes: 6 additions & 1 deletion config/middlewares.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ module.exports = ({ env }) => {
contentSecurityPolicy: {
useDefaults: true,
directives: {
'connect-src': ["'self'", 'https:'],
'connect-src': [
"'self'",
'https:',
'ws://localhost:5173/',
'http://localhost:5173/',
],
'img-src': [
"'self'",
'data:',
Expand Down
2 changes: 1 addition & 1 deletion config/plugins.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = ({ env }) => {
const config = {
"site-publisher": {
"gh-workflow-trigger-v5": {
config: {
owner: "digitalservicebund",
repo: "a2j-rechtsantragstelle",
Expand Down
Loading

0 comments on commit 7a5e573

Please sign in to comment.