create-meith 0.26.0 → 0.27.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 +387 -73
- package/package.json +1 -1
- package/src/bin.ts +1 -1
- package/src/cli.ts +1 -1
- package/src/scaffold-extension.ts +1 -1
- package/src/scaffold.ts +386 -70
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-meith",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.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.
|
|
4
|
+
const result = await run(process.argv.slice(2), '0.27.0')
|
|
5
5
|
for (const line of result.lines) {
|
|
6
6
|
if (result.code === 0) console.log(line)
|
|
7
7
|
else console.error(line)
|
package/src/cli.ts
CHANGED
|
@@ -145,7 +145,7 @@ export async function run(argv: readonly string[], version: string): Promise<Cli
|
|
|
145
145
|
? [
|
|
146
146
|
'Then set DATABASE_URL, AUTH_SECRET and TICK_SECRET and deploy.',
|
|
147
147
|
'Something must run the tick every minute — the worker process, or',
|
|
148
|
-
'`
|
|
148
|
+
'`meith task:run`. Without it nothing catches up, and nothing errors.',
|
|
149
149
|
]
|
|
150
150
|
: [
|
|
151
151
|
`Then follow README.md — it walks through running the ${kind} inside a`,
|
|
@@ -206,7 +206,7 @@ and add the matching entry to \`board.plugins.json\`:
|
|
|
206
206
|
{ "plugins": [{ "key": "${name}", "package": "${name}", "enabled": true }] }
|
|
207
207
|
|
|
208
208
|
Rebuild the board (\`npm run build\`) and, because this plugin ships a
|
|
209
|
-
migration, run \`npx
|
|
209
|
+
migration, run \`npx meith migrate\`. The plugin then appears under
|
|
210
210
|
**Admin → Plugins**.
|
|
211
211
|
|
|
212
212
|
## Publish and list it
|