@oyolincc/create 0.0.0-dev-20260513110237 → 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/package.json +7 -4
- package/templates/monorepo/.vscode/launch.json +25 -0
- package/templates/monorepo/.vscode/settings.json +3 -1
- package/templates/monorepo/_gitignore +8 -0
- package/templates/monorepo/envs/.env.example +1 -0
- package/templates/monorepo/oyo.config.json +11 -0
- package/templates/monorepo/package.json +23 -0
- package/templates/monorepo/pnpm-workspace.yaml +43 -0
- package/templates/monorepo/tsconfig.json +4 -0
- package/templates/monorepo/turbo.json +12 -0
- package/templates/monorepo/vite.config.ts +13 -0
- package/templates/monorepo/.vite-hooks/pre-commit +0 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oyolincc/create",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "@oyolincc/create",
|
|
5
5
|
"homepage": "https://github.com/oyolincc/lib#readme",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/oyolincc/lib/issues"
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"author": "
|
|
10
|
+
"author": "oyolincc",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+https://github.com/oyolincc/lib.git",
|
|
@@ -42,7 +42,10 @@
|
|
|
42
42
|
"createConfig": {
|
|
43
43
|
"templates": [
|
|
44
44
|
{
|
|
45
|
-
"
|
|
45
|
+
"name": "monorepo",
|
|
46
|
+
"description": "Create a monorepo project",
|
|
47
|
+
"template": "./templates/monorepo",
|
|
48
|
+
"monorepo": true
|
|
46
49
|
}
|
|
47
50
|
]
|
|
48
51
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"configurations": [
|
|
3
|
+
{
|
|
4
|
+
"command": "IS_OVERRIDE=1 pnpm -C libs/code-gen pkg-gen",
|
|
5
|
+
"name": "repo-ts",
|
|
6
|
+
"request": "launch",
|
|
7
|
+
// "skipFiles": [
|
|
8
|
+
// "<node_internals>/**"
|
|
9
|
+
// ],
|
|
10
|
+
"sourceMaps": true,
|
|
11
|
+
"type": "node-terminal"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Attach to process",
|
|
15
|
+
"port": 19230,
|
|
16
|
+
"request": "attach",
|
|
17
|
+
"skipFiles": ["<node_internals>/**"],
|
|
18
|
+
"type": "node"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
// Use IntelliSense to learn about possible attributes.
|
|
22
|
+
// Hover to view descriptions of existing attributes.
|
|
23
|
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
24
|
+
"version": "0.2.0"
|
|
25
|
+
}
|
|
@@ -14,9 +14,11 @@
|
|
|
14
14
|
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
15
15
|
},
|
|
16
16
|
"oxc.fmt.configPath": "./vite.config.ts",
|
|
17
|
+
"oxc.fixKind": "safe_fix",
|
|
17
18
|
"editor.formatOnSave": true,
|
|
18
19
|
"editor.formatOnSaveMode": "file",
|
|
19
20
|
"editor.codeActionsOnSave": {
|
|
20
21
|
"source.fixAll.oxc": "explicit"
|
|
21
|
-
}
|
|
22
|
+
},
|
|
23
|
+
"oxc.enable.oxlint": false
|
|
22
24
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
HELLO_WORLD='hello world'
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"type": "module",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"prepare": "vp config",
|
|
6
|
+
"changeset": "vp exec changeset",
|
|
7
|
+
"build": "turbo build"
|
|
8
|
+
},
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"@changesets/changelog-github": "0.5.0",
|
|
11
|
+
"@changesets/cli": "2.27.12",
|
|
12
|
+
"@oyolincc/cli": "catalog:",
|
|
13
|
+
"@oyolincc/dev-config": "catalog:",
|
|
14
|
+
"@types/node": "catalog:",
|
|
15
|
+
"tsx": "catalog:",
|
|
16
|
+
"turbo": "catalog:",
|
|
17
|
+
"vite-plus": "catalog:"
|
|
18
|
+
},
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=22.12.0"
|
|
21
|
+
},
|
|
22
|
+
"packageManager": "pnpm@11.1.1"
|
|
23
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
packages:
|
|
2
|
+
- libs/*
|
|
3
|
+
|
|
4
|
+
catalogMode: prefer
|
|
5
|
+
|
|
6
|
+
catalog:
|
|
7
|
+
'@types/node': ^24
|
|
8
|
+
typescript: 6.0.3
|
|
9
|
+
'@typescript/native-preview': 7.0.0-dev.20260509.2
|
|
10
|
+
vite: npm:@voidzero-dev/vite-plus-core@latest
|
|
11
|
+
vitest: npm:@voidzero-dev/vite-plus-test@latest
|
|
12
|
+
vite-plus: latest
|
|
13
|
+
plop: 4.0.5
|
|
14
|
+
handlebars: 4.7.9
|
|
15
|
+
kolorist: ^1.8.0
|
|
16
|
+
change-case: ^5.4.4
|
|
17
|
+
lowdb: ^7.0.1
|
|
18
|
+
find-up: ^8.0.0
|
|
19
|
+
cross-spawn: ^7.0.6
|
|
20
|
+
commander: ^14.0.3
|
|
21
|
+
'@types/cross-spawn': ^6.0.6
|
|
22
|
+
valibot: ^1.4.0
|
|
23
|
+
turbo: ^2.9.14
|
|
24
|
+
tsx: 4.21.0
|
|
25
|
+
node-plop: ^0.32.3
|
|
26
|
+
inquirer: 9.3.8
|
|
27
|
+
'@types/inquirer': 9.0.9
|
|
28
|
+
dotenv: 17.2.3
|
|
29
|
+
'@oyolincc/dev-config': 0.1.0
|
|
30
|
+
'@oyolincc/cli': 2.1.0
|
|
31
|
+
|
|
32
|
+
overrides:
|
|
33
|
+
vite: 'catalog:'
|
|
34
|
+
vitest: 'catalog:'
|
|
35
|
+
peerDependencyRules:
|
|
36
|
+
allowAny:
|
|
37
|
+
- vite
|
|
38
|
+
- vitest
|
|
39
|
+
allowedVersions:
|
|
40
|
+
vite: '*'
|
|
41
|
+
vitest: '*'
|
|
42
|
+
allowBuilds:
|
|
43
|
+
esbuild: true
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineConfig } from 'vite-plus'
|
|
2
|
+
import { lintConfig, fmtConfig } from '@oyolincc/dev-config'
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
staged: {
|
|
6
|
+
'*': 'vp check --fix',
|
|
7
|
+
},
|
|
8
|
+
fmt: fmtConfig,
|
|
9
|
+
lint: lintConfig,
|
|
10
|
+
run: {
|
|
11
|
+
cache: false,
|
|
12
|
+
},
|
|
13
|
+
})
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
vp staged
|