@quincarter/create-lit-app 1.0.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/README.md +73 -0
- package/create-app-shell.sh +1741 -0
- package/man/create-lit-app.1 +74 -0
- package/package.json +38 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.\" Manpage for @quincarter/create-lit-app
|
|
2
|
+
.TH CREATE-LIT-APP 1 "27 July 2026" "1.0.0" "create-lit-app Manual"
|
|
3
|
+
.SH NAME
|
|
4
|
+
create-lit-app \- Interactive CLI generator for Lit Element App Shell applications
|
|
5
|
+
.SH SYNOPSIS
|
|
6
|
+
.B npx @quincarter/create-lit-app
|
|
7
|
+
[\fIOPTIONS\fR]
|
|
8
|
+
.SH DESCRIPTION
|
|
9
|
+
.B create-lit-app
|
|
10
|
+
is an interactive CLI initializer that scaffolds production-ready Lit Element applications based on a modular App Shell architecture with optional Preact Signals, Lit Context, Lit Router, and UI component suites.
|
|
11
|
+
.SH OPTIONS
|
|
12
|
+
.TP
|
|
13
|
+
.BR \-\-name= \fINAME\fR
|
|
14
|
+
Set the project directory and package name (default: my-app-shell).
|
|
15
|
+
.TP
|
|
16
|
+
.BR \-\-template= \fITYPE\fR
|
|
17
|
+
Starter template preset: \fBfull\fR | \fBblank\fR | \fBcustom\fR (default: full).
|
|
18
|
+
.TP
|
|
19
|
+
.BR \-\-pm= \fIPM\fR
|
|
20
|
+
Package manager to use: \fByarn\fR | \fBnpm\fR (default: yarn).
|
|
21
|
+
.TP
|
|
22
|
+
.BR \-\-router ", " \-\-no-router
|
|
23
|
+
Enable or disable @lit-labs/router (automatically enables @lit/context).
|
|
24
|
+
.TP
|
|
25
|
+
.BR \-\-context ", " \-\-no-context
|
|
26
|
+
Enable or disable @lit/context dependency injection.
|
|
27
|
+
.TP
|
|
28
|
+
.BR \-\-signals ", " \-\-no-signals
|
|
29
|
+
Enable or disable Preact Signals and IndexedDB persistence.
|
|
30
|
+
.TP
|
|
31
|
+
.BR \-\-todos ", " \-\-no-todos
|
|
32
|
+
Enable or disable Signals Todo List component and view.
|
|
33
|
+
.TP
|
|
34
|
+
.BR \-\-cards ", " \-\-no-cards
|
|
35
|
+
Enable or disable Generic Card component and examples view.
|
|
36
|
+
.TP
|
|
37
|
+
.BR \-\-charts ", " \-\-no-charts
|
|
38
|
+
Enable or disable Chart.js wrapper component and examples view.
|
|
39
|
+
.TP
|
|
40
|
+
.BR \-\-header ", " \-\-no-header
|
|
41
|
+
Enable or disable AppShellHeader component.
|
|
42
|
+
.TP
|
|
43
|
+
.BR \-\-theme-switcher ", " \-\-no-theme-switcher
|
|
44
|
+
Enable or disable Theme Switcher component.
|
|
45
|
+
.TP
|
|
46
|
+
.BR \-\-mfe-loader ", " \-\-no-mfe-loader
|
|
47
|
+
Enable or disable Micro-Frontend (MFE) loader utility.
|
|
48
|
+
.TP
|
|
49
|
+
.BR \-\-git ", " \-\-no-git
|
|
50
|
+
Initialize Git repository (default: true).
|
|
51
|
+
.TP
|
|
52
|
+
.BR \-\-install ", " \-\-no-install
|
|
53
|
+
Run package manager dependency installation (default: false).
|
|
54
|
+
.TP
|
|
55
|
+
.BR \-y ", " \-\-yes
|
|
56
|
+
Run non-interactively with current CLI flags.
|
|
57
|
+
.TP
|
|
58
|
+
.BR \-v ", " \-\-version
|
|
59
|
+
Display version number.
|
|
60
|
+
.TP
|
|
61
|
+
.BR \-h ", " \-\-help
|
|
62
|
+
Display help output.
|
|
63
|
+
.SH EXAMPLES
|
|
64
|
+
.TP
|
|
65
|
+
.B Interactive Scaffolding:
|
|
66
|
+
npx @quincarter/create-lit-app
|
|
67
|
+
.TP
|
|
68
|
+
.B Full Starter Preset:
|
|
69
|
+
npx @quincarter/create-lit-app --name=my-app --template=full
|
|
70
|
+
.TP
|
|
71
|
+
.B Custom Signals App:
|
|
72
|
+
npx @quincarter/create-lit-app --name=my-signals-app --template=custom --todos --signals --router --header
|
|
73
|
+
.SH AUTHOR
|
|
74
|
+
Quin Carter <quincarter>
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@quincarter/create-lit-app",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Interactive CLI initializer for Lit Element App Shell architecture",
|
|
5
|
+
"main": "create-app-shell.sh",
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-lit-app": "./create-app-shell.sh",
|
|
8
|
+
"create-app-shell": "./create-app-shell.sh"
|
|
9
|
+
},
|
|
10
|
+
"man": "./man/create-lit-app.1",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"create-app-shell.sh",
|
|
16
|
+
"man/",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
19
|
+
"keywords": [
|
|
20
|
+
"create-lit-app",
|
|
21
|
+
"lit",
|
|
22
|
+
"lit-element",
|
|
23
|
+
"app-shell",
|
|
24
|
+
"signals",
|
|
25
|
+
"vite",
|
|
26
|
+
"scaffold",
|
|
27
|
+
"cli"
|
|
28
|
+
],
|
|
29
|
+
"author": "Quin Carter",
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/quincarter/app-shell-starter.git"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@changesets/cli": "^2.31.1"
|
|
37
|
+
}
|
|
38
|
+
}
|