lean-spec 0.2.5-dev.20251124050427 → 0.2.5-dev.20251124054449
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/{chunk-YKBICZNR.js → chunk-6FKLWECL.js} +12 -12
- package/dist/chunk-6FKLWECL.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/mcp-server.js +1 -1
- package/package.json +1 -1
- package/templates/examples/dark-theme/README.md +55 -0
- package/templates/examples/{email-notifications → dark-theme}/package.json +2 -2
- package/templates/examples/dark-theme/src/public/app.js +92 -0
- package/templates/examples/dark-theme/src/public/index.html +38 -0
- package/templates/examples/dark-theme/src/public/style.css +163 -0
- package/templates/examples/dark-theme/src/server.js +17 -0
- package/dist/chunk-YKBICZNR.js.map +0 -1
- package/templates/examples/email-notifications/README.md +0 -55
- package/templates/examples/email-notifications/src/server.js +0 -57
- package/templates/examples/email-notifications/src/storage.js +0 -40
- package/templates/examples/email-notifications/src/users.js +0 -38
|
@@ -1954,16 +1954,16 @@ async function getProjectName2(cwd) {
|
|
|
1954
1954
|
|
|
1955
1955
|
// src/utils/examples.ts
|
|
1956
1956
|
var EXAMPLES = {
|
|
1957
|
-
"
|
|
1958
|
-
name: "
|
|
1959
|
-
title: "
|
|
1960
|
-
description: "Add
|
|
1957
|
+
"dark-theme": {
|
|
1958
|
+
name: "dark-theme",
|
|
1959
|
+
title: "Dark Theme Support",
|
|
1960
|
+
description: "Add dark theme support with automatic system preference detection",
|
|
1961
1961
|
difficulty: "beginner",
|
|
1962
|
-
tutorial: "Your First
|
|
1963
|
-
tutorialUrl: "https://leanspec.dev/docs/tutorials/first-
|
|
1964
|
-
tech: ["
|
|
1962
|
+
tutorial: "Your First Spec with AI",
|
|
1963
|
+
tutorialUrl: "https://leanspec.dev/docs/tutorials/first-spec-with-ai",
|
|
1964
|
+
tech: ["HTML", "CSS", "JavaScript", "Express.js"],
|
|
1965
1965
|
files: 6,
|
|
1966
|
-
lines:
|
|
1966
|
+
lines: 150
|
|
1967
1967
|
},
|
|
1968
1968
|
"dashboard-widgets": {
|
|
1969
1969
|
name: "dashboard-widgets",
|
|
@@ -2231,7 +2231,7 @@ async function listExamples() {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
console.log("Usage:");
|
|
2233
2233
|
console.log(chalk19.gray(" lean-spec init --example <name>"));
|
|
2234
|
-
console.log(chalk19.gray(" lean-spec init --example
|
|
2234
|
+
console.log(chalk19.gray(" lean-spec init --example dark-theme"));
|
|
2235
2235
|
console.log("");
|
|
2236
2236
|
}
|
|
2237
2237
|
async function scaffoldExample(exampleName, customName) {
|
|
@@ -3739,7 +3739,7 @@ async function listExamples2() {
|
|
|
3739
3739
|
console.log(chalk19.cyan(" lean-spec init --example"));
|
|
3740
3740
|
console.log("");
|
|
3741
3741
|
console.log(" # Custom directory name");
|
|
3742
|
-
console.log(chalk19.cyan(" lean-spec init --example
|
|
3742
|
+
console.log(chalk19.cyan(" lean-spec init --example dark-theme --name my-demo"));
|
|
3743
3743
|
console.log("");
|
|
3744
3744
|
}
|
|
3745
3745
|
var FrontmatterValidator = class {
|
|
@@ -8792,5 +8792,5 @@ if (import.meta.url === `file://${process.argv[1]}`) {
|
|
|
8792
8792
|
}
|
|
8793
8793
|
|
|
8794
8794
|
export { analyzeCommand, archiveCommand, backfillCommand, boardCommand, checkCommand, compactCommand, createCommand, createMcpServer, depsCommand, examplesCommand, filesCommand, ganttCommand, initCommand, linkCommand, listCommand, mcpCommand, migrateCommand, openCommand, searchCommand, splitCommand, statsCommand, templatesCommand, timelineCommand, tokensCommand, uiCommand, unlinkCommand, updateCommand, validateCommand, viewCommand };
|
|
8795
|
-
//# sourceMappingURL=chunk-
|
|
8796
|
-
//# sourceMappingURL=chunk-
|
|
8795
|
+
//# sourceMappingURL=chunk-6FKLWECL.js.map
|
|
8796
|
+
//# sourceMappingURL=chunk-6FKLWECL.js.map
|