Skip to content

Commit 3326a64

Browse files
committed
chore: update playground to Strapi 5
1 parent d82e427 commit 3326a64

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+4513
-5400
lines changed

playground/.dockerignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

playground/.editorconfig

Lines changed: 0 additions & 16 deletions
This file was deleted.

playground/.env

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
1+
2+
# Server
13
HOST=0.0.0.0
24
PORT=1337
3-
APP_KEYS="toBeModified1,toBeModified2"
4-
API_TOKEN_SALT=tobemodified
5-
TRANSFER_TOKEN_SALT=tobemodified
6-
ADMIN_JWT_SECRET=tobemodified
7-
JWT_SECRET=tobemodified
5+
6+
# Secrets
7+
APP_KEYS=vLqBVQ5dmiMm8o7IZM7aSg==,HBBlsP8+OrSW18RlxXu2TA==,H1JEbF+lE+WgfAVxG5Yrkw==,SxAMsrrAaYZRJtI79D+mEA==
8+
API_TOKEN_SALT=VBEIUqMrOR42nDgOUy7CMA==
9+
ADMIN_JWT_SECRET=sGTAtvfdNSAL4XTr63giEA==
10+
TRANSFER_TOKEN_SALT=0rA7Tl6qc3HvnD28iK7qOg==
11+
12+
# Database
13+
DATABASE_CLIENT=sqlite
14+
DATABASE_HOST=
15+
DATABASE_PORT=
16+
DATABASE_NAME=
17+
DATABASE_USERNAME=
18+
DATABASE_PASSWORD=
19+
DATABASE_SSL=false
20+
DATABASE_FILENAME=.tmp/data.db

playground/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ HOST=0.0.0.0
22
PORT=1337
33
APP_KEYS="toBeModified1,toBeModified2"
44
API_TOKEN_SALT=tobemodified
5-
TRANSFER_TOKEN_SALT=tobemodified
65
ADMIN_JWT_SECRET=tobemodified
6+
TRANSFER_TOKEN_SALT=tobemodified
77
JWT_SECRET=tobemodified

playground/.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

playground/.eslintrc

Lines changed: 0 additions & 27 deletions
This file was deleted.

playground/.gitignore

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $RECYCLE.BIN/
4040
*.csv
4141
*.dat
4242
*.dmg
43-
# *.gz
43+
*.gz
4444
*.iso
4545
*.jar
4646
*.rar
@@ -82,6 +82,8 @@ ssl
8282
nbproject
8383
public/uploads/*
8484
!public/uploads/.gitkeep
85+
.tsbuildinfo
86+
.eslintcache
8587

8688
############################
8789
# Node.js
@@ -96,43 +98,34 @@ node_modules
9698
.node_history
9799

98100
############################
99-
# Yarn
101+
# Package managers
100102
############################
101103

102-
.pnp.*
103104
.yarn/*
105+
!.yarn/cache
106+
!.yarn/unplugged
104107
!.yarn/patches
105-
!.yarn/plugins
106108
!.yarn/releases
107109
!.yarn/sdks
108110
!.yarn/versions
111+
.pnp.*
112+
yarn-error.log
109113

110114
############################
111115
# Tests
112116
############################
113117

114-
testApp
115118
coverage
116119

117120
############################
118121
# Strapi
119122
############################
120123

121-
# .env
124+
.env
122125
license.txt
123126
exports
124-
*.cache
127+
.strapi
125128
dist
126-
!src/plugins/**/dist
127129
build
128130
.strapi-updater.json
129-
130-
############################
131-
# Webtools
132-
############################
133-
134-
config/env/development
135-
136-
# yalc
137-
.yalc
138-
yalc.lock
131+
.strapi-cloud.json

playground/.strapi/client/app.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

playground/.strapi/client/index.html

Lines changed: 0 additions & 63 deletions
This file was deleted.

playground/Dockerfile

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)