bunup 0.8.7 → 0.8.8

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.
Files changed (2) hide show
  1. package/dist/cli.js +7 -4
  2. package/package.json +99 -99
package/dist/cli.js CHANGED
@@ -517,9 +517,7 @@ async function newProject() {
517
517
  if (useMonorepo && monorepoFirstPackageName) {
518
518
  await replaceInFile({
519
519
  files: path5.join(projectPath, "**/*"),
520
- from: [
521
- new RegExp(MONOREPO_FIRST_PACKAGE_NAME_PLACEHOLDER, "g")
522
- ],
520
+ from: [new RegExp(MONOREPO_FIRST_PACKAGE_NAME_PLACEHOLDER, "g")],
523
521
  to: [monorepoFirstPackageName],
524
522
  ignore: ["node_modules", "dist", "bun.lock"]
525
523
  });
@@ -553,6 +551,11 @@ var init_new = __esm(() => {
553
551
  name: "Typescript Library",
554
552
  dir: "ts-lib",
555
553
  monorepoDir: "ts-lib-monorepo"
554
+ },
555
+ {
556
+ defaultName: "my-react-lib",
557
+ name: "React Library",
558
+ dir: "react-lib"
556
559
  }
557
560
  ];
558
561
  });
@@ -560,7 +563,7 @@ var init_new = __esm(() => {
560
563
  // src/cli/index.ts
561
564
  import { exec } from "tinyexec";
562
565
  // package.json
563
- var version = "0.8.7";
566
+ var version = "0.8.8";
564
567
 
565
568
  // src/cli/index.ts
566
569
  init_errors();
package/package.json CHANGED
@@ -1,101 +1,101 @@
1
1
  {
2
- "name": "bunup",
3
- "description": "⚡ A blazing-fast build tool for your libraries built with Bun.",
4
- "version": "0.8.7",
5
- "type": "module",
6
- "files": [
7
- "dist",
8
- "bin"
9
- ],
10
- "module": "./dist/index.js",
11
- "main": "./dist/index.cjs",
12
- "types": "./dist/index.d.cts",
13
- "exports": {
14
- ".": {
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.cjs",
17
- "types": "./dist/index.d.cts"
18
- },
19
- "./plugins": {
20
- "import": "./dist/plugins.js",
21
- "require": "./dist/plugins.cjs",
22
- "types": "./dist/plugins.d.cts"
23
- }
24
- },
25
- "license": "MIT",
26
- "author": "Arshad Yaseen <m@arshadyaseen.com> (https://arshadyaseen.com)",
27
- "maintainers": [
28
- {
29
- "name": "Arshad Yaseen",
30
- "email": "m@arshadyaseen.com",
31
- "url": "https://arshadyaseen.com"
32
- }
33
- ],
34
- "repository": {
35
- "type": "git",
36
- "url": "git+https://github.com/arshad-yaseen/bunup.git"
37
- },
38
- "funding": "https://github.com/sponsors/arshad-yaseen",
39
- "homepage": "https://bunup.dev",
40
- "keywords": [
41
- "bun",
42
- "bunup",
43
- "bun-bundler"
44
- ],
45
- "bin": {
46
- "bunup": "bin/bunup.mjs"
47
- },
48
- "dependencies": {
49
- "@clack/prompts": "^0.10.1",
50
- "bun-dts": "^0.1.28",
51
- "chokidar": "^4.0.3",
52
- "coffi": "^0.1.29",
53
- "giget": "^2.0.0",
54
- "replace-in-file": "^8.3.0",
55
- "tinyexec": "^1.0.1"
56
- },
57
- "devDependencies": {
58
- "@biomejs/biome": "^1.9.4",
59
- "@types/bun": "^1.2.5",
60
- "bumpp": "^10.1.0",
61
- "husky": "^9.1.7",
62
- "lint-staged": "^15.5.1",
63
- "typescript": "^5.8.3"
64
- },
65
- "peerDependencies": {
66
- "typescript": ">=4.5.0",
67
- "lightningcss": ">=1.17.0"
68
- },
69
- "peerDependenciesMeta": {
70
- "typescript": {
71
- "optional": true
72
- },
73
- "lightningcss": {
74
- "optional": true
75
- }
76
- },
77
- "scripts": {
78
- "build": "bunx bunup@latest",
79
- "build:docs": "bun run --cwd docs build",
80
- "dev": "bunx bunup@latest --watch",
81
- "dev:docs": "bun run --cwd docs dev",
82
- "format": "biome format .",
83
- "format:fix": "biome format --write .",
84
- "lint": "biome check .",
85
- "lint:fix": "biome check --write .",
86
- "prepare": "husky",
87
- "test": "bun test",
88
- "test-build": "bun run --cwd tests build",
89
- "tsc": "tsc --noEmit",
90
- "publish:ci": "bun publish --access public --no-git-checks",
91
- "release": "bumpp"
92
- },
93
- "lint-staged": {
94
- "*": "bun run format:fix && git add .",
95
- "src/**/*.(m|c)?(j|t)s": "bun run tsc"
96
- },
97
- "workspaces": [
98
- "docs",
99
- "tests"
100
- ]
2
+ "name": "bunup",
3
+ "description": "⚡ A blazing-fast build tool for your libraries built with Bun.",
4
+ "version": "0.8.8",
5
+ "type": "module",
6
+ "files": [
7
+ "dist",
8
+ "bin"
9
+ ],
10
+ "module": "./dist/index.js",
11
+ "main": "./dist/index.cjs",
12
+ "types": "./dist/index.d.cts",
13
+ "exports": {
14
+ ".": {
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/index.cjs",
17
+ "types": "./dist/index.d.cts"
18
+ },
19
+ "./plugins": {
20
+ "import": "./dist/plugins.js",
21
+ "require": "./dist/plugins.cjs",
22
+ "types": "./dist/plugins.d.cts"
23
+ }
24
+ },
25
+ "license": "MIT",
26
+ "author": "Arshad Yaseen <m@arshadyaseen.com> (https://arshadyaseen.com)",
27
+ "maintainers": [
28
+ {
29
+ "name": "Arshad Yaseen",
30
+ "email": "m@arshadyaseen.com",
31
+ "url": "https://arshadyaseen.com"
32
+ }
33
+ ],
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/arshad-yaseen/bunup.git"
37
+ },
38
+ "funding": "https://github.com/sponsors/arshad-yaseen",
39
+ "homepage": "https://bunup.dev",
40
+ "keywords": [
41
+ "bun",
42
+ "bunup",
43
+ "bun-bundler"
44
+ ],
45
+ "bin": {
46
+ "bunup": "bin/bunup.mjs"
47
+ },
48
+ "dependencies": {
49
+ "@clack/prompts": "^0.10.1",
50
+ "bun-dts": "^0.1.28",
51
+ "chokidar": "^4.0.3",
52
+ "coffi": "^0.1.29",
53
+ "giget": "^2.0.0",
54
+ "replace-in-file": "^8.3.0",
55
+ "tinyexec": "^1.0.1"
56
+ },
57
+ "devDependencies": {
58
+ "@biomejs/biome": "^1.9.4",
59
+ "@types/bun": "^1.2.5",
60
+ "bumpp": "^10.1.0",
61
+ "husky": "^9.1.7",
62
+ "lint-staged": "^15.5.1",
63
+ "typescript": "^5.8.3"
64
+ },
65
+ "peerDependencies": {
66
+ "typescript": ">=4.5.0",
67
+ "lightningcss": ">=1.17.0"
68
+ },
69
+ "peerDependenciesMeta": {
70
+ "typescript": {
71
+ "optional": true
72
+ },
73
+ "lightningcss": {
74
+ "optional": true
75
+ }
76
+ },
77
+ "scripts": {
78
+ "build": "bunx bunup@latest",
79
+ "build:docs": "bun run --cwd docs build",
80
+ "dev": "bunx bunup@latest --watch",
81
+ "dev:docs": "bun run --cwd docs dev",
82
+ "format": "biome format .",
83
+ "format:fix": "biome format --write .",
84
+ "lint": "biome check .",
85
+ "lint:fix": "biome check --write .",
86
+ "prepare": "husky",
87
+ "test": "bun test",
88
+ "test-build": "bun run --cwd tests build",
89
+ "tsc": "tsc --noEmit",
90
+ "publish:ci": "bun publish --access public --no-git-checks",
91
+ "release": "bumpp"
92
+ },
93
+ "lint-staged": {
94
+ "*": "bun run format:fix && git add .",
95
+ "src/**/*.(m|c)?(j|t)s": "bun run tsc"
96
+ },
97
+ "workspaces": [
98
+ "docs",
99
+ "tests"
100
+ ]
101
101
  }