@seangalie/precast 0.0.0-stage → 0.1.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.
Files changed (98) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/LICENSE +202 -0
  3. package/README.md +217 -2
  4. package/dist/bin.d.ts +2 -0
  5. package/dist/bin.js +3 -0
  6. package/dist/cli.d.ts +1 -0
  7. package/dist/cli.js +140 -0
  8. package/dist/collect.d.ts +17 -0
  9. package/dist/collect.js +143 -0
  10. package/dist/context.d.ts +32 -0
  11. package/dist/context.js +159 -0
  12. package/dist/errors.d.ts +8 -0
  13. package/dist/errors.js +8 -0
  14. package/dist/fnmatch.d.ts +9 -0
  15. package/dist/fnmatch.js +110 -0
  16. package/dist/generate.d.ts +17 -0
  17. package/dist/generate.js +67 -0
  18. package/dist/index.d.ts +6 -0
  19. package/dist/index.js +6 -0
  20. package/dist/output-path.d.ts +30 -0
  21. package/dist/output-path.js +84 -0
  22. package/dist/platforms.d.ts +17 -0
  23. package/dist/platforms.js +62 -0
  24. package/dist/tiers.d.ts +23 -0
  25. package/dist/tiers.js +96 -0
  26. package/package.json +44 -4
  27. package/platforms/forgejo/files/.forgejo/CODEOWNERS.tmpl +2 -0
  28. package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/01_bug_report.yml.tmpl +83 -0
  29. package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/02_feature_request.yml.tmpl +57 -0
  30. package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/03_codebase_improvement.yml.tmpl +44 -0
  31. package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/04_support_question.yml.tmpl +47 -0
  32. package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/config.yml.tmpl +13 -0
  33. package/platforms/forgejo/files/.forgejo/PULL_REQUEST_TEMPLATE.md.tmpl +49 -0
  34. package/platforms/forgejo/files/.forgejo/SETUP.md.tmpl +61 -0
  35. package/platforms/forgejo/files/.forgejo/labels.yml.tmpl +99 -0
  36. package/platforms/forgejo/files/.forgejo/scripts/check-labels.sh.tmpl +91 -0
  37. package/platforms/forgejo/files/.forgejo/scripts/sync-labels.sh.tmpl +165 -0
  38. package/platforms/forgejo/files/.forgejo/workflows/labels.yml.tmpl +45 -0
  39. package/platforms/forgejo/files/.forgejo/workflows/lint.yml.tmpl +78 -0
  40. package/platforms/forgejo/files/.forgejo/workflows/pr-labels.yml.tmpl +51 -0
  41. package/platforms/forgejo/files/.forgejo/workflows/pre-commit.yml.tmpl +24 -0
  42. package/platforms/forgejo/files/.forgejo/workflows/release.yml.tmpl +130 -0
  43. package/platforms/forgejo/files/.forgejo/workflows/renovate.yml.tmpl +61 -0
  44. package/platforms/forgejo/files/.forgejo/workflows/stale.yml.tmpl +260 -0
  45. package/platforms/forgejo/files/renovate.json +36 -0
  46. package/platforms/forgejo/platform.json +41 -0
  47. package/platforms/github/files/.github/CODEOWNERS.tmpl +2 -0
  48. package/platforms/github/files/.github/ISSUE_TEMPLATE/01_bug_report.yml.tmpl +83 -0
  49. package/platforms/github/files/.github/ISSUE_TEMPLATE/02_feature_request.yml.tmpl +57 -0
  50. package/platforms/github/files/.github/ISSUE_TEMPLATE/03_codebase_improvement.yml.tmpl +44 -0
  51. package/platforms/github/files/.github/ISSUE_TEMPLATE/04_support_question.yml.tmpl +47 -0
  52. package/platforms/github/files/.github/ISSUE_TEMPLATE/config.yml.tmpl +16 -0
  53. package/platforms/github/files/.github/PULL_REQUEST_TEMPLATE.md.tmpl +49 -0
  54. package/platforms/github/files/.github/SETUP.md.tmpl +46 -0
  55. package/platforms/github/files/.github/dependabot.yml.tmpl +75 -0
  56. package/platforms/github/files/.github/labels.yml.tmpl +103 -0
  57. package/platforms/github/files/.github/release.yml.tmpl +47 -0
  58. package/platforms/github/files/.github/workflows/ci.yml.tmpl +55 -0
  59. package/platforms/github/files/.github/workflows/codeql.yml.tmpl +63 -0
  60. package/platforms/github/files/.github/workflows/labels.yml.tmpl +34 -0
  61. package/platforms/github/files/.github/workflows/lint-workflows.yml.tmpl +75 -0
  62. package/platforms/github/files/.github/workflows/lint.yml.tmpl +69 -0
  63. package/platforms/github/files/.github/workflows/lock.yml.tmpl +46 -0
  64. package/platforms/github/files/.github/workflows/pr-labels.yml.tmpl +26 -0
  65. package/platforms/github/files/.github/workflows/pre-commit.yml.tmpl +25 -0
  66. package/platforms/github/files/.github/workflows/release.yml.tmpl +101 -0
  67. package/platforms/github/files/.github/workflows/stale.yml.tmpl +57 -0
  68. package/platforms/github/platform.json +44 -0
  69. package/platforms/gitlab/files/.gitlab/CODEOWNERS.tmpl +2 -0
  70. package/platforms/gitlab/files/.gitlab/SETUP.md.tmpl +62 -0
  71. package/platforms/gitlab/files/.gitlab/issue_templates/01_bug_report.md +18 -0
  72. package/platforms/gitlab/files/.gitlab/issue_templates/02_feature_request.md +11 -0
  73. package/platforms/gitlab/files/.gitlab/issue_templates/03_codebase_improvement.md +11 -0
  74. package/platforms/gitlab/files/.gitlab/issue_templates/04_support_question.md +12 -0
  75. package/platforms/gitlab/files/.gitlab/labels.json +122 -0
  76. package/platforms/gitlab/files/.gitlab/merge_request_templates/Default.md +14 -0
  77. package/platforms/gitlab/files/.gitlab/scripts/project.py +159 -0
  78. package/platforms/gitlab/files/.gitlab-ci.yml.tmpl +54 -0
  79. package/platforms/gitlab/platform.json +34 -0
  80. package/template/.editorconfig.tmpl +54 -0
  81. package/template/.gitattributes +107 -0
  82. package/template/.gitignore.tmpl +244 -0
  83. package/template/.pre-commit-config.yaml.tmpl +43 -0
  84. package/template/.repo/check-secrets.py +40 -0
  85. package/template/.repo/ci-checks.sh +18 -0
  86. package/template/AGENTS.md.tmpl +75 -0
  87. package/template/CHANGELOG.md.tmpl +24 -0
  88. package/template/CLAUDE.md +1 -0
  89. package/template/LICENSE +202 -0
  90. package/template/README.md.tmpl +101 -0
  91. package/template/SETUP.md.tmpl +47 -0
  92. package/template/docs/CODE_OF_CONDUCT.md +85 -0
  93. package/template/docs/CONTRIBUTING.md.tmpl +54 -0
  94. package/template/docs/SECURITY.md.tmpl +26 -0
  95. package/template/docs/SUPPORT.md.tmpl +19 -0
  96. package/template/docs/logo.svg +84 -0
  97. package/template/docs/screenshot.png +0 -0
  98. package/tiers.json +10 -0
@@ -0,0 +1,26 @@
1
+ # Security policy
2
+
3
+ ## Supported versions
4
+
5
+ > **[?]**
6
+ > List the versions that receive security fixes. Do not promise support for releases
7
+ > that I do not maintain.
8
+
9
+ ## Reporting a vulnerability
10
+
11
+ Please do not report vulnerabilities in public issues or change requests.
12
+
13
+ @@SECURITY_CHANNEL@@
14
+
15
+ > **[?]**
16
+ > Provide a real private reporting channel here, including the contact address and
17
+ > any institutional requirements. Do this before publishing the repository.
18
+
19
+ Include the affected version, environment, reproduction steps, impact, and any
20
+ suggested fix. Keep the details private until I have coordinated disclosure and
21
+ released a fix or mitigation.
22
+
23
+ > **[?]**
24
+ > Set realistic acknowledgement, remediation, and disclosure expectations.
25
+
26
+ This project is provided without warranty under its [license](../LICENSE).
@@ -0,0 +1,19 @@
1
+ # Getting help with @@PROJECT_NAME@@
2
+
3
+ Read the [README](../README.md) and search [existing issues](@@ISSUES_URL@@) first.
4
+
5
+ | Request | Where to go |
6
+ | --- | --- |
7
+ | A bug, feature request, improvement, or support question | [Issue tracker](@@ISSUES_URL@@) |
8
+ | A contribution | [Contributing guide](CONTRIBUTING.md) |
9
+ | A vulnerability | [Private reporting instructions](SECURITY.md) |
10
+
11
+ Include the project version, environment, and the smallest example that reproduces
12
+ the problem. I maintain this project on a best-effort basis.
13
+ @@TIERS full@@
14
+
15
+ For GitHub and Forgejo, the supplied Stale workflow marks eligible items after
16
+ 60 quiet days and closes them 14 days later, with exemptions defined in that
17
+ workflow. GitLab has no stale automation in this starter. Review these defaults
18
+ and the platform setup checklist before relying on them.
19
+ @@END_TIERS@@
@@ -0,0 +1,84 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 450" width="100%" height="100%">
2
+ <defs>
3
+ <style>
4
+ .bg { fill: #0d1117; }
5
+ .window-bar { fill: #161b22; }
6
+ .text-base { font-family: 'Courier New', Courier, monospace; font-size: 16px; fill: #58a6ff; }
7
+ .text-green { fill: #3fb950; }
8
+ .text-yellow { fill: #d29922; }
9
+ .text-dim { fill: #8b949e; }
10
+ .text-red { fill: #f85149; }
11
+
12
+ /* Animation Configurations */
13
+ @keyframes blink {
14
+ 0%, 100% { opacity: 1; }
15
+ 50% { opacity: 0; }
16
+ }
17
+ @keyframes reveal {
18
+ 0% { opacity: 0; }
19
+ 100% { opacity: 1; }
20
+ }
21
+
22
+ .cursor { animation: blink 1s infinite; fill: #58a6ff; }
23
+
24
+ /* Sequential row delays to simulate text output streaming over time */
25
+ .row-1 { animation: reveal 0s forwards; animation-delay: 0.5s; opacity: 0; }
26
+ .row-2 { animation: reveal 0s forwards; animation-delay: 1.8s; opacity: 0; }
27
+ .row-3 { animation: reveal 0s forwards; animation-delay: 3.0s; opacity: 0; }
28
+ .row-4 { animation: reveal 0s forwards; animation-delay: 4.5s; opacity: 0; }
29
+ .row-5 { animation: reveal 0s forwards; animation-delay: 6.0s; opacity: 0; }
30
+ .row-6 { animation: reveal 0s forwards; animation-delay: 7.5s; opacity: 0; }
31
+ .row-7 { animation: reveal 0s forwards; animation-delay: 9.0s; opacity: 0; }
32
+ </style>
33
+ </defs>
34
+
35
+ <!-- Background window shell -->
36
+ <rect class="bg" width="800" height="450" rx="8" />
37
+ <rect class="window-bar" width="800" height="35" rx="8" />
38
+
39
+ <!-- Window Control Buttons (macOS Style Chrome) -->
40
+ <circle cx="20" cy="17.5" r="6" fill="#f85149" />
41
+ <circle cx="40" cy="17.5" r="6" fill="#d29922" />
42
+ <circle cx="60" cy="17.5" r="6" fill="#3fb950" />
43
+ <text x="400" y="22" fill="#8b949e" font-family="sans-serif" font-size="13" text-anchor="middle">terminal — github</text>
44
+
45
+ <!-- Terminal Output Canvas -->
46
+ <g transform="translate(25, 40)">
47
+
48
+ <!-- Row 1: Initialize command -->
49
+ <g class="row-1">
50
+ <text x="0" y="30" class="text-base"><tspan class="text-green">user@dev:~$</tspan> mkdir project</text>
51
+ </g>
52
+
53
+ <!-- Row 2: Initialize command -->
54
+ <g class="row-2">
55
+ <text x="0" y="65" class="text-base"><tspan class="text-green">user@dev:~$</tspan> cd project</text>
56
+ </g>
57
+
58
+ <!-- Row 3: Initialize command -->
59
+ <g class="row-3">
60
+ <text x="0" y="100" class="text-base"><tspan class="text-green">user@dev:~/project$</tspan> git init</text>
61
+ </g>
62
+
63
+ <!-- Row 4: Connecting Proxy -->
64
+ <g class="row-4">
65
+ <text x="0" y="135" class="text-base text-dim" font-weight="bold">Initialized empty Git repository in ~/project/.git/</text>
66
+ </g>
67
+
68
+ <!-- Row 5: Initialize command -->
69
+ <g class="row-5">
70
+ <text x="0" y="170" class="text-base"><tspan class="text-green">user@dev:~/project$</tspan> git switch -c main</text>
71
+ </g>
72
+
73
+ <!-- Row 6: Initialize command -->
74
+ <g class="row-6">
75
+ <text x="0" y="205" class="text-base"><tspan class="text-green">user@dev:~/project/(main)$</tspan> git remote add origin git@github.com:user/project.git</text>
76
+ </g>
77
+
78
+ <!-- Row 7: Loop Cursor Prompt -->
79
+ <g class="row-7">
80
+ <text x="0" y="240" class="text-base"><tspan class="text-green">user@dev:~/project/(main)$</tspan> git add <tspan class="cursor">█</tspan></text>
81
+ </g>
82
+
83
+ </g>
84
+ </svg>
Binary file
package/tiers.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "regular": [
3
+ ".pre-commit-config.yaml",
4
+ ".repo/*",
5
+ "docs/CODE_OF_CONDUCT.md",
6
+ "docs/CONTRIBUTING.md",
7
+ "docs/SECURITY.md",
8
+ "docs/SUPPORT.md"
9
+ ]
10
+ }