@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.
- package/CHANGELOG.md +28 -0
- package/LICENSE +202 -0
- package/README.md +217 -2
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +3 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +140 -0
- package/dist/collect.d.ts +17 -0
- package/dist/collect.js +143 -0
- package/dist/context.d.ts +32 -0
- package/dist/context.js +159 -0
- package/dist/errors.d.ts +8 -0
- package/dist/errors.js +8 -0
- package/dist/fnmatch.d.ts +9 -0
- package/dist/fnmatch.js +110 -0
- package/dist/generate.d.ts +17 -0
- package/dist/generate.js +67 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/output-path.d.ts +30 -0
- package/dist/output-path.js +84 -0
- package/dist/platforms.d.ts +17 -0
- package/dist/platforms.js +62 -0
- package/dist/tiers.d.ts +23 -0
- package/dist/tiers.js +96 -0
- package/package.json +44 -4
- package/platforms/forgejo/files/.forgejo/CODEOWNERS.tmpl +2 -0
- package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/01_bug_report.yml.tmpl +83 -0
- package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/02_feature_request.yml.tmpl +57 -0
- package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/03_codebase_improvement.yml.tmpl +44 -0
- package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/04_support_question.yml.tmpl +47 -0
- package/platforms/forgejo/files/.forgejo/ISSUE_TEMPLATE/config.yml.tmpl +13 -0
- package/platforms/forgejo/files/.forgejo/PULL_REQUEST_TEMPLATE.md.tmpl +49 -0
- package/platforms/forgejo/files/.forgejo/SETUP.md.tmpl +61 -0
- package/platforms/forgejo/files/.forgejo/labels.yml.tmpl +99 -0
- package/platforms/forgejo/files/.forgejo/scripts/check-labels.sh.tmpl +91 -0
- package/platforms/forgejo/files/.forgejo/scripts/sync-labels.sh.tmpl +165 -0
- package/platforms/forgejo/files/.forgejo/workflows/labels.yml.tmpl +45 -0
- package/platforms/forgejo/files/.forgejo/workflows/lint.yml.tmpl +78 -0
- package/platforms/forgejo/files/.forgejo/workflows/pr-labels.yml.tmpl +51 -0
- package/platforms/forgejo/files/.forgejo/workflows/pre-commit.yml.tmpl +24 -0
- package/platforms/forgejo/files/.forgejo/workflows/release.yml.tmpl +130 -0
- package/platforms/forgejo/files/.forgejo/workflows/renovate.yml.tmpl +61 -0
- package/platforms/forgejo/files/.forgejo/workflows/stale.yml.tmpl +260 -0
- package/platforms/forgejo/files/renovate.json +36 -0
- package/platforms/forgejo/platform.json +41 -0
- package/platforms/github/files/.github/CODEOWNERS.tmpl +2 -0
- package/platforms/github/files/.github/ISSUE_TEMPLATE/01_bug_report.yml.tmpl +83 -0
- package/platforms/github/files/.github/ISSUE_TEMPLATE/02_feature_request.yml.tmpl +57 -0
- package/platforms/github/files/.github/ISSUE_TEMPLATE/03_codebase_improvement.yml.tmpl +44 -0
- package/platforms/github/files/.github/ISSUE_TEMPLATE/04_support_question.yml.tmpl +47 -0
- package/platforms/github/files/.github/ISSUE_TEMPLATE/config.yml.tmpl +16 -0
- package/platforms/github/files/.github/PULL_REQUEST_TEMPLATE.md.tmpl +49 -0
- package/platforms/github/files/.github/SETUP.md.tmpl +46 -0
- package/platforms/github/files/.github/dependabot.yml.tmpl +75 -0
- package/platforms/github/files/.github/labels.yml.tmpl +103 -0
- package/platforms/github/files/.github/release.yml.tmpl +47 -0
- package/platforms/github/files/.github/workflows/ci.yml.tmpl +55 -0
- package/platforms/github/files/.github/workflows/codeql.yml.tmpl +63 -0
- package/platforms/github/files/.github/workflows/labels.yml.tmpl +34 -0
- package/platforms/github/files/.github/workflows/lint-workflows.yml.tmpl +75 -0
- package/platforms/github/files/.github/workflows/lint.yml.tmpl +69 -0
- package/platforms/github/files/.github/workflows/lock.yml.tmpl +46 -0
- package/platforms/github/files/.github/workflows/pr-labels.yml.tmpl +26 -0
- package/platforms/github/files/.github/workflows/pre-commit.yml.tmpl +25 -0
- package/platforms/github/files/.github/workflows/release.yml.tmpl +101 -0
- package/platforms/github/files/.github/workflows/stale.yml.tmpl +57 -0
- package/platforms/github/platform.json +44 -0
- package/platforms/gitlab/files/.gitlab/CODEOWNERS.tmpl +2 -0
- package/platforms/gitlab/files/.gitlab/SETUP.md.tmpl +62 -0
- package/platforms/gitlab/files/.gitlab/issue_templates/01_bug_report.md +18 -0
- package/platforms/gitlab/files/.gitlab/issue_templates/02_feature_request.md +11 -0
- package/platforms/gitlab/files/.gitlab/issue_templates/03_codebase_improvement.md +11 -0
- package/platforms/gitlab/files/.gitlab/issue_templates/04_support_question.md +12 -0
- package/platforms/gitlab/files/.gitlab/labels.json +122 -0
- package/platforms/gitlab/files/.gitlab/merge_request_templates/Default.md +14 -0
- package/platforms/gitlab/files/.gitlab/scripts/project.py +159 -0
- package/platforms/gitlab/files/.gitlab-ci.yml.tmpl +54 -0
- package/platforms/gitlab/platform.json +34 -0
- package/template/.editorconfig.tmpl +54 -0
- package/template/.gitattributes +107 -0
- package/template/.gitignore.tmpl +244 -0
- package/template/.pre-commit-config.yaml.tmpl +43 -0
- package/template/.repo/check-secrets.py +40 -0
- package/template/.repo/ci-checks.sh +18 -0
- package/template/AGENTS.md.tmpl +75 -0
- package/template/CHANGELOG.md.tmpl +24 -0
- package/template/CLAUDE.md +1 -0
- package/template/LICENSE +202 -0
- package/template/README.md.tmpl +101 -0
- package/template/SETUP.md.tmpl +47 -0
- package/template/docs/CODE_OF_CONDUCT.md +85 -0
- package/template/docs/CONTRIBUTING.md.tmpl +54 -0
- package/template/docs/SECURITY.md.tmpl +26 -0
- package/template/docs/SUPPORT.md.tmpl +19 -0
- package/template/docs/logo.svg +84 -0
- package/template/docs/screenshot.png +0 -0
- 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
|