Commit 4353d3d290a970e854368f7ca64442fed18a9c0e

Authored by ly525
Committed by 小小鲁班
1 parent 131e802a

chore: upgrade to strapi.beta.18.4

Too many changes to show.

To preserve performance only 6 of 7 files are displayed.

back-end/h5-api/config/environments/development/database.json
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 "defaultConnection": "default", 2 "defaultConnection": "default",
3 "connections": { 3 "connections": {
4 "default": { 4 "default": {
5 - "connector": "strapi-hook-bookshelf", 5 + "connector": "bookshelf",
6 "settings": { 6 "settings": {
7 "client": "sqlite", 7 "client": "sqlite",
8 "filename": ".tmp/data.db" 8 "filename": ".tmp/data.db"
back-end/h5-api/config/environments/production/database.heroku.json
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 "defaultConnection": "default", 2 "defaultConnection": "default",
3 "connections": { 3 "connections": {
4 "default": { 4 "default": {
5 - "connector": "strapi-hook-bookshelf", 5 + "connector": "bookshelf",
6 "settings": { 6 "settings": {
7 "client": "postgres", 7 "client": "postgres",
8 "host": "${process.env.DATABASE_HOST}", 8 "host": "${process.env.DATABASE_HOST}",
back-end/h5-api/config/environments/production/database.json
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 "defaultConnection": "default", 2 "defaultConnection": "default",
3 "connections": { 3 "connections": {
4 "default": { 4 "default": {
5 - "connector": "strapi-hook-bookshelf", 5 + "connector": "bookshelf",
6 "settings": { 6 "settings": {
7 "client": "mysql", 7 "client": "mysql",
8 "host": "${process.env.DATABASE_HOST || 'localhost'}", 8 "host": "${process.env.DATABASE_HOST || 'localhost'}",
back-end/h5-api/config/environments/production/security.json
@@ -6,11 +6,7 @@ @@ -6,11 +6,7 @@
6 }, 6 },
7 "csp": { 7 "csp": {
8 "enabled": true, 8 "enabled": true,
9 - "policy": [{  
10 - "img-src": "'self' http:"  
11 - },  
12 - "block-all-mixed-content"  
13 - ] 9 + "policy": ["block-all-mixed-content"]
14 }, 10 },
15 "p3p": { 11 "p3p": {
16 "enabled": true, 12 "enabled": true,
back-end/h5-api/config/environments/staging/security.json
@@ -6,11 +6,7 @@ @@ -6,11 +6,7 @@
6 }, 6 },
7 "csp": { 7 "csp": {
8 "enabled": true, 8 "enabled": true,
9 - "policy": [{  
10 - "img-src": "'self' http:"  
11 - },  
12 - "block-all-mixed-content"  
13 - ] 9 + "policy": ["block-all-mixed-content"]
14 }, 10 },
15 "p3p": { 11 "p3p": {
16 "enabled": true, 12 "enabled": true,
back-end/h5-api/package.json
@@ -24,18 +24,17 @@ @@ -24,18 +24,17 @@
24 "mysql": "latest", 24 "mysql": "latest",
25 "psd": "^3.2.0", 25 "psd": "^3.2.0",
26 "sqlite3": "latest", 26 "sqlite3": "latest",
27 - "strapi": "3.0.0-beta.17.8",  
28 - "strapi-admin": "3.0.0-beta.17.8",  
29 - "strapi-hook-bookshelf": "3.0.0-beta.17.8",  
30 "strapi-hook-ejs": "3.0.0-beta.17.8", 27 "strapi-hook-ejs": "3.0.0-beta.17.8",
31 - "strapi-hook-knex": "3.0.0-beta.17.8",  
32 - "strapi-plugin-content-manager": "3.0.0-beta.17.8",  
33 - "strapi-plugin-content-type-builder": "3.0.0-beta.17.8",  
34 - "strapi-plugin-documentation": "3.0.0-beta.17.8",  
35 - "strapi-plugin-email": "3.0.0-beta.17.8",  
36 - "strapi-plugin-upload": "3.0.0-beta.17.8",  
37 - "strapi-plugin-users-permissions": "3.0.0-beta.17.8",  
38 - "strapi-utils": "3.0.0-beta.17.8" 28 + "strapi": "3.0.0-beta.18.4",
  29 + "strapi-admin": "3.0.0-beta.18.4",
  30 + "strapi-connector-bookshelf": "3.0.0-beta.18.4",
  31 + "strapi-plugin-content-manager": "3.0.0-beta.18.4",
  32 + "strapi-plugin-content-type-builder": "3.0.0-beta.18.4",
  33 + "strapi-plugin-email": "3.0.0-beta.18.4",
  34 + "strapi-plugin-graphql": "3.0.0-beta.18.4",
  35 + "strapi-plugin-upload": "3.0.0-beta.18.4",
  36 + "strapi-plugin-users-permissions": "3.0.0-beta.18.4",
  37 + "strapi-utils": "3.0.0-beta.18.4"
39 }, 38 },
40 "author": { 39 "author": {
41 "name": "A Strapi developer" 40 "name": "A Strapi developer"