create-sonicjs 3.0.0-beta.13 → 3.0.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -409,7 +409,7 @@ async function copyTemplate(templateName, targetDir, options) {
|
|
|
409
409
|
|
|
410
410
|
// Add @sonicjs-cms/core dependency
|
|
411
411
|
packageJson.dependencies = {
|
|
412
|
-
'@sonicjs-cms/core': '^3.0.0-beta.
|
|
412
|
+
'@sonicjs-cms/core': '^3.0.0-beta.14',
|
|
413
413
|
...packageJson.dependencies
|
|
414
414
|
}
|
|
415
415
|
|
|
@@ -56,6 +56,12 @@ export default {
|
|
|
56
56
|
managed: true,
|
|
57
57
|
isActive: true,
|
|
58
58
|
|
|
59
|
+
// Opt in to public read access. Without this, only authenticated users
|
|
60
|
+
// (admin/editor) can read content via the API. See docs/authentication.md.
|
|
61
|
+
access: {
|
|
62
|
+
public: ['read'],
|
|
63
|
+
},
|
|
64
|
+
|
|
59
65
|
// Per-collection cache override. TTL in seconds; falls back to the cache plugin
|
|
60
66
|
// default (CACHE_CONFIGS.api.ttl, currently 300s) if unset.
|
|
61
67
|
cache: {
|