domma-cms 0.69.3 → 0.69.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domma-cms",
3
- "version": "0.69.3",
3
+ "version": "0.69.4",
4
4
  "description": "File-based CMS powered by Domma and Fastify. Run npx domma-cms my-site to create a new project.",
5
5
  "type": "module",
6
6
  "main": "server/server.js",
@@ -77,7 +77,9 @@ try {
77
77
  const given = process.argv.slice(2);
78
78
  const files = given.filter(a => !a.startsWith('-'));
79
79
  const args = ['--test', '--test-concurrency=1', ...given, ...(files.length ? [] : ['tests/**/*.test.js'])];
80
- const child = spawn(process.execPath, args, {cwd: copy, stdio: 'inherit', env: process.env});
80
+ // DOMMA_REPO_ROOT: where the real checkout is, for the few tests that compare
81
+ // against a sibling repo (../dcms-marketplace) the temp copy has no neighbour for.
82
+ const child = spawn(process.execPath, args, {cwd: copy, stdio: 'inherit', env: {...process.env, DOMMA_REPO_ROOT: ROOT}});
81
83
 
82
84
  // Ctrl+C, or a kill: stop the suite, then still delete the copy.
83
85
  for (const sig of ['SIGINT', 'SIGTERM', 'SIGHUP']) {
@@ -41,12 +41,15 @@ export const ENGINE_TOP_LEVEL = new Set([
41
41
  const SITE_ROOTS = ['content', 'config', 'plugins'];
42
42
 
43
43
  /**
44
- * Plugins that were promoted into core (0.67.0) or retired. A site that has not
45
- * yet booted a release that removes them still has the folder; it is engine,
46
- * not the site's.
44
+ * Every slug dcms-marketplace reserves (its reserved.json): plugins promoted
45
+ * into core (0.67.0), retired, or withdrawn. None is shipped by any upstream
46
+ * any more, so without this list a leftover folder - `shopping-cart` on
47
+ * cms.dommajs.org, withdrawn scaffolder output - reads as the site's own code
48
+ * and gets committed. A reserved name is never the site's: its folder is engine.
47
49
  */
48
50
  export const RETIRED_PLUGINS = [
49
- 'analytics', 'contacts', 'notes', 'todo', 'demo-viewer', 'theme-switcher', 'site-search'
51
+ 'analytics', 'contacts', 'notes', 'todo', 'demo-viewer', 'theme-switcher', 'site-search',
52
+ 'seo-pro', 'shopping-cart', 'form-builder'
50
53
  ];
51
54
 
52
55
  /**
@@ -78,7 +81,7 @@ export const ENGINE_SCHEMAS = [
78
81
  */
79
82
  export const PRIVATE_DATA = [
80
83
  'notifications', 'api-tokens', 'notes-notes', 'todo-items',
81
- 'contacts-contacts', 'contacts-groups', 'roles', 'user-profiles',
84
+ 'contacts', 'contacts-contacts', 'contacts-groups', 'roles', 'user-profiles',
82
85
  'user-messages', 'user-message-threads', 'analytics-events', 'enquiries',
83
86
  'blog-comments', 'invoices', 'invoice-receivers', 'invoice-issuers',
84
87
  'surveys-contacts', 'surveys-invites'