create-ts-monorepo-starter 0.0.0-stage → 0.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/LICENSE +21 -0
- package/README.md +19 -2
- package/dist/THIRD_PARTY_NOTICES.txt +178 -0
- package/dist/cli.js +4316 -0
- package/dist/template/.changeset/config.json +15 -0
- package/dist/template/.editorconfig +14 -0
- package/dist/template/.github/ISSUE_TEMPLATE/bug_report.yml +34 -0
- package/dist/template/.github/ISSUE_TEMPLATE/config.yml +2 -0
- package/dist/template/.github/ISSUE_TEMPLATE/feature_request.yml +17 -0
- package/dist/template/.github/PULL_REQUEST_TEMPLATE.md +13 -0
- package/dist/template/.github/dependabot.yml +42 -0
- package/dist/template/.github/workflows/ci.yml +194 -0
- package/dist/template/.github/workflows/release.yml +109 -0
- package/dist/template/.github/zizmor.yml +6 -0
- package/dist/template/.husky/commit-msg +1 -0
- package/dist/template/.husky/pre-commit +11 -0
- package/dist/template/AGENTS.md +429 -0
- package/dist/template/CLAUDE.md +1 -0
- package/dist/template/CONTRIBUTING.md +91 -0
- package/dist/template/LICENSE +21 -0
- package/dist/template/README.md +432 -0
- package/dist/template/SECURITY.md +13 -0
- package/dist/template/_gitignore +56 -0
- package/dist/template/biome.json +32 -0
- package/dist/template/commitlint.config.js +11 -0
- package/dist/template/package.json +56 -0
- package/dist/template/packages/cli/package.json +34 -0
- package/dist/template/packages/cli/src/cli.ts +5 -0
- package/dist/template/packages/cli/src/index.test.ts +47 -0
- package/dist/template/packages/cli/src/index.ts +67 -0
- package/dist/template/packages/cli/test/bin.test.ts +36 -0
- package/dist/template/packages/cli/tsconfig.json +18 -0
- package/dist/template/packages/lib/package.json +36 -0
- package/dist/template/packages/lib/src/index.test.ts +10 -0
- package/dist/template/packages/lib/src/index.ts +27 -0
- package/dist/template/packages/lib/tsconfig.json +15 -0
- package/dist/template/packages/shared/package.json +33 -0
- package/dist/template/packages/shared/src/index.test.ts +29 -0
- package/dist/template/packages/shared/src/index.ts +52 -0
- package/dist/template/packages/shared/tsconfig.json +9 -0
- package/dist/template/packages/web/e2e/notice.e2e.ts +78 -0
- package/dist/template/packages/web/e2e/tsconfig.json +15 -0
- package/dist/template/packages/web/package.json +47 -0
- package/dist/template/packages/web/playwright.config.ts +10 -0
- package/dist/template/packages/web/rollup.config.js +13 -0
- package/dist/template/packages/web/src/index.test.ts +10 -0
- package/dist/template/packages/web/src/index.ts +63 -0
- package/dist/template/packages/web/tsconfig.json +14 -0
- package/dist/template/pnpm-lock.yaml +4044 -0
- package/dist/template/pnpm-workspace.yaml +12 -0
- package/dist/template/scripts/check-examples.mjs +158 -0
- package/dist/template/scripts/check-examples.test.ts +172 -0
- package/dist/template/tsconfig.json +23 -0
- package/dist/template/turbo.json +43 -0
- package/dist/template/vitest.config.ts +26 -0
- package/dist/template-manifest.json +53 -0
- package/dist/template-version.json +5 -0
- package/package.json +49 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 prosdevlab
|
|
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
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# create-ts-monorepo-starter
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Create a TypeScript monorepo for CLIs, libraries and browser libraries from the
|
|
4
|
+
[ts-monorepo-starter](https://github.com/prosdevlab/ts-monorepo-starter) template: pnpm 12, Turborepo, Biome, Vitest,
|
|
5
|
+
Changesets, CI and a release workflow, plus the example packages you pick. The project passes its own CI on the first
|
|
6
|
+
commit.
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm create ts-monorepo-starter@latest my-tools
|
|
10
|
+
pnpm create ts-monorepo-starter my-tools
|
|
11
|
+
yarn create ts-monorepo-starter my-tools
|
|
12
|
+
bun create ts-monorepo-starter my-tools
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Runs on Node 22.13 or later. `--help` lists the options; `-y` asks nothing.
|
|
16
|
+
|
|
17
|
+
Options, pnpm versions and how it works:
|
|
18
|
+
[the full README on GitHub](https://github.com/prosdevlab/create-ts-monorepo-starter#readme).
|
|
19
|
+
|
|
20
|
+
MIT licensed.
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
Name: fast-string-truncated-width
|
|
2
|
+
Version: 3.0.3
|
|
3
|
+
License: MIT
|
|
4
|
+
Private: false
|
|
5
|
+
Description: A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
|
|
6
|
+
Repository: undefined
|
|
7
|
+
License Text:
|
|
8
|
+
===
|
|
9
|
+
|
|
10
|
+
The MIT License (MIT)
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2024-present Fabio Spampinato
|
|
13
|
+
|
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
15
|
+
copy of this software and associated documentation files (the "Software"),
|
|
16
|
+
to deal in the Software without restriction, including without limitation
|
|
17
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
18
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
|
19
|
+
Software is furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in
|
|
22
|
+
all copies or substantial portions of the Software.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
29
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
30
|
+
DEALINGS IN THE SOFTWARE.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
Name: fast-string-width
|
|
35
|
+
Version: 3.0.2
|
|
36
|
+
License: MIT
|
|
37
|
+
Private: false
|
|
38
|
+
Description: A fast function for calculating the visual width of a string once printed to the terminal.
|
|
39
|
+
Repository: undefined
|
|
40
|
+
License Text:
|
|
41
|
+
===
|
|
42
|
+
|
|
43
|
+
The MIT License (MIT)
|
|
44
|
+
|
|
45
|
+
Copyright (c) 2024-present Fabio Spampinato
|
|
46
|
+
|
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
48
|
+
copy of this software and associated documentation files (the "Software"),
|
|
49
|
+
to deal in the Software without restriction, including without limitation
|
|
50
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
51
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
|
52
|
+
Software is furnished to do so, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
The above copyright notice and this permission notice shall be included in
|
|
55
|
+
all copies or substantial portions of the Software.
|
|
56
|
+
|
|
57
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
58
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
59
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
60
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
61
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
62
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
63
|
+
DEALINGS IN THE SOFTWARE.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
Name: fast-wrap-ansi
|
|
68
|
+
Version: 0.2.2
|
|
69
|
+
License: MIT
|
|
70
|
+
Private: false
|
|
71
|
+
Description: A tiny and fast text wrap library which takes ANSI escapes into account.
|
|
72
|
+
Repository: git+https://github.com/43081j/fast-wrap-ansi.git
|
|
73
|
+
Homepage: https://github.com/43081j/fast-wrap-ansi#readme
|
|
74
|
+
Author: James Garbutt (https://github.com/43081j)
|
|
75
|
+
License Text:
|
|
76
|
+
===
|
|
77
|
+
|
|
78
|
+
MIT License
|
|
79
|
+
|
|
80
|
+
Copyright (c) 2025 James Garbutt
|
|
81
|
+
|
|
82
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
83
|
+
|
|
84
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
85
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
86
|
+
in the Software without restriction, including without limitation the rights
|
|
87
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
88
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
89
|
+
furnished to do so, subject to the following conditions:
|
|
90
|
+
|
|
91
|
+
The above copyright notice and this permission notice shall be included in all
|
|
92
|
+
copies or substantial portions of the Software.
|
|
93
|
+
|
|
94
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
95
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
96
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
97
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
98
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
99
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
100
|
+
SOFTWARE.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
Name: sisteransi
|
|
105
|
+
Version: 1.0.5
|
|
106
|
+
License: MIT
|
|
107
|
+
Private: false
|
|
108
|
+
Description: ANSI escape codes for some terminal swag
|
|
109
|
+
Repository: https://github.com/terkelg/sisteransi
|
|
110
|
+
Author: Terkel Gjervig <terkel@terkel.com> (https://terkel.com)
|
|
111
|
+
License Text:
|
|
112
|
+
===
|
|
113
|
+
|
|
114
|
+
MIT License
|
|
115
|
+
|
|
116
|
+
Copyright (c) 2018 Terkel Gjervig Nielsen
|
|
117
|
+
|
|
118
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
119
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
120
|
+
in the Software without restriction, including without limitation the rights
|
|
121
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
122
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
123
|
+
furnished to do so, subject to the following conditions:
|
|
124
|
+
|
|
125
|
+
The above copyright notice and this permission notice shall be included in all
|
|
126
|
+
copies or substantial portions of the Software.
|
|
127
|
+
|
|
128
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
129
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
130
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
131
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
132
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
133
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
134
|
+
SOFTWARE.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
Name: @clack/core
|
|
139
|
+
Version: 1.5.1
|
|
140
|
+
License: MIT
|
|
141
|
+
Private: false
|
|
142
|
+
Repository: git+https://github.com/bombshell-dev/clack.git
|
|
143
|
+
Homepage: https://github.com/bombshell-dev/clack/tree/main/packages/core#readme
|
|
144
|
+
Author: Nate Moore <nate@natemoo.re> (https://twitter.com/n_moore)
|
|
145
|
+
License Text:
|
|
146
|
+
===
|
|
147
|
+
|
|
148
|
+
MIT License
|
|
149
|
+
|
|
150
|
+
MIT License Copyright (c) 2025-Present [Bombshell contributors](https://bomb.sh/team)
|
|
151
|
+
|
|
152
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
153
|
+
|
|
154
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
155
|
+
|
|
156
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
Name: @clack/prompts
|
|
161
|
+
Version: 1.8.1
|
|
162
|
+
License: MIT
|
|
163
|
+
Private: false
|
|
164
|
+
Repository: git+https://github.com/bombshell-dev/clack.git
|
|
165
|
+
Homepage: https://github.com/bombshell-dev/clack/tree/main/packages/prompts#readme
|
|
166
|
+
Author: Nate Moore <nate@natemoo.re> (https://twitter.com/n_moore)
|
|
167
|
+
License Text:
|
|
168
|
+
===
|
|
169
|
+
|
|
170
|
+
MIT License
|
|
171
|
+
|
|
172
|
+
MIT License Copyright (c) 2025-Present [Bombshell contributors](https://bomb.sh/team)
|
|
173
|
+
|
|
174
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
175
|
+
|
|
176
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
177
|
+
|
|
178
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|