create-bascik 1.0.0-rc.1
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/LICENSE +21 -0
- package/README.md +60 -0
- package/assets/SKILL.md +2025 -0
- package/dist/cli.d.ts +5 -0
- package/dist/cli.js +7 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +60 -0
- package/dist/index.js.map +1 -0
- package/dist/scaffold.d.ts +53 -0
- package/dist/scaffold.js +844 -0
- package/dist/scaffold.js.map +1 -0
- package/package.json +46 -0
- package/src/cli.ts +11 -0
- package/src/index.ts +66 -0
- package/src/scaffold.integration.test.ts +210 -0
- package/src/scaffold.test.ts +494 -0
- package/src/scaffold.ts +916 -0
- package/src/skill-sync.test.ts +17 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Collin Thomas
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# create-bascik
|
|
2
|
+
|
|
3
|
+
[](https://github.com/bascikdev/bascik/blob/main/create/test-coverage.json)
|
|
4
|
+
[](https://github.com/bascikdev/bascik/blob/main/create/test-coverage.json)
|
|
5
|
+
|
|
6
|
+
Interactive project initializer for [Bascik](https://bascik.dev).
|
|
7
|
+
|
|
8
|
+
## Quick Start
|
|
9
|
+
|
|
10
|
+
Scaffold a new Bascik project in one command:
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
npm create bascik@latest my-site -y
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Pass a project name as an argument or run without arguments to be prompted:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npm create bascik@latest
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## What it scaffolds
|
|
23
|
+
|
|
24
|
+
`create-bascik` creates a complete, ready-to-run starter site:
|
|
25
|
+
|
|
26
|
+
```text
|
|
27
|
+
my-site/
|
|
28
|
+
├── .github/skills/bascik/SKILL.md ← AI Copilot skill file
|
|
29
|
+
├── .claude/skills/bascik/SKILL.md ← Claude skill file
|
|
30
|
+
├── .vscode/
|
|
31
|
+
│ ├── launch.json ← Debug launchers for dev server and tests
|
|
32
|
+
│ └── extensions.json ← Recommends official Bascik extension
|
|
33
|
+
├── src/
|
|
34
|
+
│ ├── components/ ← site-meta, site-header, site-footer, feat-card, my-counter
|
|
35
|
+
│ └── pages/ ← index.html, about.html, contact.html, 404.html, css/styles.css
|
|
36
|
+
├── package.json ← dev, build, lint, test, and e2e scripts
|
|
37
|
+
└── .gitignore
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The starter does not include `bascik.config.ts` because it uses Bascik's built-in defaults. Add a config only when the project needs non-default behavior.
|
|
41
|
+
|
|
42
|
+
After scaffolding:
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
cd my-site
|
|
46
|
+
npm run dev
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Your site will be live at `http://localhost:8080`.
|
|
50
|
+
|
|
51
|
+
## Development & Testing
|
|
52
|
+
|
|
53
|
+
From the repository root:
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
yarn create:build # compile build output
|
|
57
|
+
yarn create:typecheck # TypeScript type check
|
|
58
|
+
yarn create:unit # run unit tests
|
|
59
|
+
yarn create:coverage # run unit tests with coverage report
|
|
60
|
+
```
|