@twobrake/create-monorepo 0.1.0 → 0.1.2
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/dist/index.mjs +6 -2
- package/package.json +12 -3
package/dist/index.mjs
CHANGED
|
@@ -37,7 +37,11 @@ const DEFAULT_INSTALL_COMMANDS = {
|
|
|
37
37
|
pnpm: "pnpm install"
|
|
38
38
|
};
|
|
39
39
|
const EXCLUDED_PACKAGE_SCRIPTS = new Set(["installer:build", "installer:publish"]);
|
|
40
|
-
const IGNORE_PATH_LIST = [
|
|
40
|
+
const IGNORE_PATH_LIST = [
|
|
41
|
+
"packages/installer",
|
|
42
|
+
"packages/installer/**",
|
|
43
|
+
"README.md"
|
|
44
|
+
];
|
|
41
45
|
const replaceOccurrences = async (data) => {
|
|
42
46
|
const { cwd, extensions, queries } = data;
|
|
43
47
|
const directory = await readdir(cwd, { withFileTypes: true });
|
|
@@ -69,7 +73,7 @@ const createPrompt = async (prompt) => {
|
|
|
69
73
|
const execute = promisify(exec);
|
|
70
74
|
//#endregion
|
|
71
75
|
//#region package.json
|
|
72
|
-
var version = "0.1.
|
|
76
|
+
var version = "0.1.2";
|
|
73
77
|
//#endregion
|
|
74
78
|
//#region src/index.ts
|
|
75
79
|
const main = async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twobrake/create-monorepo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "The installer for an opinionated monorepo starter for TypeScript built on the Bun ecosystem.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bun",
|
|
@@ -15,6 +15,15 @@
|
|
|
15
15
|
"author": {
|
|
16
16
|
"name": "Lucas Stranks"
|
|
17
17
|
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/TwoBrake/bun-monorepo.git",
|
|
21
|
+
"directory": "packages/installer"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/TwoBrake/bun-monorepo#readme",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/TwoBrake/bun-monorepo/issues"
|
|
26
|
+
},
|
|
18
27
|
"bin": {
|
|
19
28
|
"create-monorepo": "dist/index.mjs"
|
|
20
29
|
},
|
|
@@ -29,7 +38,7 @@
|
|
|
29
38
|
"test-install": "bun run src/index.ts",
|
|
30
39
|
"build": "tsdown",
|
|
31
40
|
"build:watch": "tsdown --watch",
|
|
32
|
-
"release": "
|
|
41
|
+
"release": "npm publish --access public",
|
|
33
42
|
"prepublishOnly": "bun run build"
|
|
34
43
|
},
|
|
35
44
|
"dependencies": {
|
|
@@ -38,7 +47,7 @@
|
|
|
38
47
|
"zod": "^4.6.5"
|
|
39
48
|
},
|
|
40
49
|
"devDependencies": {
|
|
41
|
-
"@repo/utility": "
|
|
50
|
+
"@repo/utility": "workspace:*",
|
|
42
51
|
"tsdown": "^0.23.0",
|
|
43
52
|
"type-fest": "^5.10.0"
|
|
44
53
|
},
|