Skip to content

Commit

Permalink
Upgraded strapi and added config sync
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessa committed Oct 9, 2023
1 parent 3a35144 commit 8553865
Show file tree
Hide file tree
Showing 4 changed files with 1,387 additions and 2,112 deletions.
3 changes: 3 additions & 0 deletions cms/config/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ export default ({ env }) => ({
salt: env('TRANSFER_TOKEN_SALT'),
},
},
watchIgnoreFiles: [
'**/config/sync/**',
],
});
17 changes: 17 additions & 0 deletions cms/config/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,21 @@ module.exports = {
},
},
},
'config-sync': {
enabled: true,
config: {
syncDir: "config/sync/",
// minify: false,
// soft: false,
// importOnBootstrap: false,
// customTypes: [],
// excludedTypes: [],
// excludedConfig: [
// "core-store.plugin_users-permissions_grant",
// "core-store.plugin_upload_metrics",
// "core-store.strapi_content_types_schema",
// "core-store.ee_information",
// ],
},
},
};
12 changes: 7 additions & 5 deletions cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi",
"seed": "strapi import -f ./seed.tar.gz"
"seed": "strapi import -f ./seed.tar.gz",
"cs": "config-sync"
},
"dependencies": {
"@strapi/plugin-documentation": "4.11.2",
"@strapi/plugin-i18n": "4.11.2",
"@strapi/plugin-users-permissions": "4.11.2",
"@strapi/strapi": "4.11.2",
"@strapi/plugin-documentation": "4.14.3",
"@strapi/plugin-i18n": "4.14.3",
"@strapi/plugin-users-permissions": "4.14.3",
"@strapi/strapi": "4.14.3",
"pg": "8.8.0",
"strapi-plugin-config-sync": "^1.1.3",
"strapi-plugin-import-export-entries": "^1.21.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 8553865

Please sign in to comment.