create-meith 0.25.1 → 0.26.0

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/dist/bin.mjs CHANGED
@@ -53,7 +53,7 @@ var AT_ROOT_IGNORES = `# What \`forum-web ${AT_ROOT_FLAG}\` writes into this dir
53
53
  # alone by the build and still never committed, so it works locally and is
54
54
  # simply absent from the deploy, which builds from what git has. Extend the
55
55
  # board with a plugin or a theme instead \u2014 the forum loads those from
56
- # community.config.ts, and they are yours to commit. forum-web prints a
56
+ # meith.config.ts, and they are yours to commit. forum-web prints a
57
57
  # warning naming any file of yours it finds there.
58
58
  #
59
59
  # For the rest, a build refuses rather than overwriting a file it did not
@@ -425,7 +425,7 @@ save-exact=true
425
425
  `
426
426
  );
427
427
  files.set(
428
- "community.config.ts",
428
+ "meith.config.ts",
429
429
  `/**
430
430
  * The board's build-time registry.
431
431
  *
@@ -436,7 +436,7 @@ save-exact=true
436
436
  * not there at all.
437
437
  *
438
438
  * Adding a theme is: \`npm install\` it, add a line here, redeploy. Adding a
439
- * plugin is the same, through board.plugins.json and community.plugins.ts \u2014
439
+ * plugin is the same, through board.plugins.json and meith.plugins.ts \u2014
440
440
  * see docs/customization/plugins.md.
441
441
  */
442
442
  import { defineForumConfig } from '@meith/web/config'
@@ -448,7 +448,7 @@ import {
448
448
  LIGHT_TOKENS,
449
449
  } from '@meith/theme-default'
450
450
 
451
- import { INSTALLED_PLUGINS } from './community.plugins'
451
+ import { INSTALLED_PLUGINS } from './meith.plugins'
452
452
 
453
453
  export default defineForumConfig({
454
454
  themes: {
@@ -470,7 +470,7 @@ export default defineForumConfig({
470
470
  files.set("board.plugins.json", `${JSON.stringify({ plugins: [] }, null, 2)}
471
471
  `);
472
472
  files.set(
473
- "community.plugins.ts",
473
+ "meith.plugins.ts",
474
474
  `/**
475
475
  * The board's installed-plugin list.
476
476
  *
@@ -560,7 +560,7 @@ FROM ghcr.io/meith-dev/meith-base:\${MEITH_VERSION} AS deps
560
560
  WORKDIR /board
561
561
 
562
562
  # This board's own manifest, cached independently of its source \u2014 editing
563
- # community.config.ts should not re-run npm install. The base image above
563
+ # meith.config.ts should not re-run npm install. The base image above
564
564
  # already carries node_modules for @meith/web, @meith/cli and
565
565
  # @meith/theme-default at this exact version, so installing this file on top
566
566
  # of it only fetches what changed: a plugin newly added to \`dependencies\`,
@@ -952,7 +952,7 @@ echo "<password>" | npm run community -- user:create --username <name> --email <
952
952
 
953
953
  ## Configuring
954
954
 
955
- - **\`community.config.ts\`** \u2014 installed themes and plugins. Everything installable
955
+ - **\`meith.config.ts\`** \u2014 installed themes and plugins. Everything installable
956
956
  is named here so the bundler can see it; nothing is found by scanning a
957
957
  directory at runtime.
958
958
  - **\`/admin\`** \u2014 settings, forums, groups, members, themes, maintenance. An
@@ -1607,7 +1607,7 @@ Scaffold a board next to this directory if you do not have one
1607
1607
  npm installs a local directory as a symlink, so edits here are picked up by
1608
1608
  the board's next build without reinstalling.
1609
1609
 
1610
- Register the plugin in the board's \`community.plugins.ts\` \u2014 the comment at
1610
+ Register the plugin in the board's \`meith.plugins.ts\` \u2014 the comment at
1611
1611
  the top of that file shows the shape:
1612
1612
 
1613
1613
  import { messages as ${camel}Messages, plugin as ${camel}Plugin } from '${name}'
@@ -1663,7 +1663,7 @@ Scaffold a board next to this directory if you do not have one
1663
1663
  npm installs a local directory as a symlink, so edits here are picked up by
1664
1664
  the board's next build without reinstalling.
1665
1665
 
1666
- Register the theme in the board's \`community.config.ts\`, beside the
1666
+ Register the theme in the board's \`meith.config.ts\`, beside the
1667
1667
  default entry:
1668
1668
 
1669
1669
  import { defaultMessages } from '@meith/theme-default'
@@ -1890,7 +1890,7 @@ async function run(argv, version) {
1890
1890
  }
1891
1891
 
1892
1892
  // src/bin.ts
1893
- var result = await run(process.argv.slice(2), "0.25.1");
1893
+ var result = await run(process.argv.slice(2), "0.26.0");
1894
1894
  for (const line of result.lines) {
1895
1895
  if (result.code === 0) console.log(line);
1896
1896
  else console.error(line);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-meith",
3
- "version": "0.25.1",
3
+ "version": "0.26.0",
4
4
  "description": "Scaffold a Meith board, plugin or theme — npx create-meith <name> writes a deployable board workspace; --plugin and --theme write extension workspaces built on the published kits.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/bin.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { run } from './cli'
3
3
 
4
- const result = await run(process.argv.slice(2), '0.25.1')
4
+ const result = await run(process.argv.slice(2), '0.26.0')
5
5
  for (const line of result.lines) {
6
6
  if (result.code === 0) console.log(line)
7
7
  else console.error(line)
@@ -192,7 +192,7 @@ Scaffold a board next to this directory if you do not have one
192
192
  npm installs a local directory as a symlink, so edits here are picked up by
193
193
  the board's next build without reinstalling.
194
194
 
195
- Register the plugin in the board's \`community.plugins.ts\` — the comment at
195
+ Register the plugin in the board's \`meith.plugins.ts\` — the comment at
196
196
  the top of that file shows the shape:
197
197
 
198
198
  import { messages as ${camel}Messages, plugin as ${camel}Plugin } from '${name}'
@@ -249,7 +249,7 @@ Scaffold a board next to this directory if you do not have one
249
249
  npm installs a local directory as a symlink, so edits here are picked up by
250
250
  the board's next build without reinstalling.
251
251
 
252
- Register the theme in the board's \`community.config.ts\`, beside the
252
+ Register the theme in the board's \`meith.config.ts\`, beside the
253
253
  default entry:
254
254
 
255
255
  import { defaultMessages } from '@meith/theme-default'
package/src/scaffold.ts CHANGED
@@ -65,7 +65,7 @@ const AT_ROOT_IGNORES = `# What \`forum-web ${AT_ROOT_FLAG}\` writes into this d
65
65
  # alone by the build and still never committed, so it works locally and is
66
66
  # simply absent from the deploy, which builds from what git has. Extend the
67
67
  # board with a plugin or a theme instead — the forum loads those from
68
- # community.config.ts, and they are yours to commit. forum-web prints a
68
+ # meith.config.ts, and they are yours to commit. forum-web prints a
69
69
  # warning naming any file of yours it finds there.
70
70
  #
71
71
  # For the rest, a build refuses rather than overwriting a file it did not
@@ -460,7 +460,7 @@ save-exact=true
460
460
  )
461
461
 
462
462
  files.set(
463
- 'community.config.ts',
463
+ 'meith.config.ts',
464
464
  `/**
465
465
  * The board's build-time registry.
466
466
  *
@@ -471,7 +471,7 @@ save-exact=true
471
471
  * not there at all.
472
472
  *
473
473
  * Adding a theme is: \`npm install\` it, add a line here, redeploy. Adding a
474
- * plugin is the same, through board.plugins.json and community.plugins.ts —
474
+ * plugin is the same, through board.plugins.json and meith.plugins.ts —
475
475
  * see docs/customization/plugins.md.
476
476
  */
477
477
  import { defineForumConfig } from '@meith/web/config'
@@ -483,7 +483,7 @@ import {
483
483
  LIGHT_TOKENS,
484
484
  } from '@meith/theme-default'
485
485
 
486
- import { INSTALLED_PLUGINS } from './community.plugins'
486
+ import { INSTALLED_PLUGINS } from './meith.plugins'
487
487
 
488
488
  export default defineForumConfig({
489
489
  themes: {
@@ -506,7 +506,7 @@ export default defineForumConfig({
506
506
  files.set('board.plugins.json', `${JSON.stringify({ plugins: [] }, null, 2)}\n`)
507
507
 
508
508
  files.set(
509
- 'community.plugins.ts',
509
+ 'meith.plugins.ts',
510
510
  `/**
511
511
  * The board's installed-plugin list.
512
512
  *
@@ -600,7 +600,7 @@ FROM ghcr.io/meith-dev/meith-base:\${MEITH_VERSION} AS deps
600
600
  WORKDIR /board
601
601
 
602
602
  # This board's own manifest, cached independently of its source — editing
603
- # community.config.ts should not re-run npm install. The base image above
603
+ # meith.config.ts should not re-run npm install. The base image above
604
604
  # already carries node_modules for @meith/web, @meith/cli and
605
605
  # @meith/theme-default at this exact version, so installing this file on top
606
606
  # of it only fetches what changed: a plugin newly added to \`dependencies\`,
@@ -998,7 +998,7 @@ echo "<password>" | npm run community -- user:create --username <name> --email <
998
998
 
999
999
  ## Configuring
1000
1000
 
1001
- - **\`community.config.ts\`** — installed themes and plugins. Everything installable
1001
+ - **\`meith.config.ts\`** — installed themes and plugins. Everything installable
1002
1002
  is named here so the bundler can see it; nothing is found by scanning a
1003
1003
  directory at runtime.
1004
1004
  - **\`/admin\`** — settings, forums, groups, members, themes, maintenance. An