Skip to content

Commit 5af368d

Browse files
committed
monorepo
1 parent f6b37f3 commit 5af368d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1062
-746
lines changed

.changeset/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/chilled-moons-protect.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"bippy": patch
3+
---
4+
5+
Add tests

.changeset/config.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

biome.json

+59-60
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,61 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3-
"vcs": {
4-
"enabled": false,
5-
"clientKind": "git",
6-
"useIgnoreFile": false
7-
},
8-
"files": {
9-
"ignoreUnknown": false,
10-
"ignore": ["*.gen.ts"]
11-
},
12-
"formatter": {
13-
"enabled": true,
14-
"indentStyle": "tab"
15-
},
16-
"organizeImports": {
17-
"enabled": true
18-
},
19-
"linter": {
20-
"enabled": true,
21-
"rules": {
22-
"recommended": true,
23-
"suspicious": {
24-
"noConsoleLog": {
25-
"level": "warn",
26-
"fix": "unsafe"
27-
}
28-
},
29-
"correctness": {
30-
"noUnusedFunctionParameters": {
31-
"level": "warn",
32-
"fix": "unsafe"
33-
},
34-
"noUnusedImports": {
35-
"level": "warn",
36-
"fix": "unsafe"
37-
},
38-
"noUnusedLabels": {
39-
"level": "warn",
40-
"fix": "unsafe"
41-
},
42-
"noUnusedPrivateClassMembers": {
43-
"level": "warn",
44-
"fix": "unsafe"
45-
},
46-
"noUnusedVariables": {
47-
"level": "warn",
48-
"fix": "unsafe"
49-
}
50-
}
51-
}
52-
},
53-
"javascript": {
54-
"formatter": {
55-
"quoteStyle": "single",
56-
"indentStyle": "space",
57-
"indentWidth": 2,
58-
"lineWidth": 80,
59-
"lineEnding": "lf"
60-
}
61-
}
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"include": ["packages/**/*.ts", "packages/**/*.tsx", "*.ts", "*.tsx"],
11+
"ignore": ["*.gen.ts", "node_modules", "dist", "coverage"]
12+
},
13+
"formatter": {
14+
"indentStyle": "space",
15+
"indentWidth": 2,
16+
"lineWidth": 80,
17+
"lineEnding": "lf"
18+
},
19+
"organizeImports": {
20+
"enabled": true
21+
},
22+
"linter": {
23+
"enabled": true,
24+
"rules": {
25+
"recommended": true,
26+
"suspicious": {
27+
"noConsoleLog": {
28+
"level": "warn",
29+
"fix": "unsafe"
30+
}
31+
},
32+
"correctness": {
33+
"noUnusedFunctionParameters": {
34+
"level": "warn",
35+
"fix": "unsafe"
36+
},
37+
"noUnusedImports": {
38+
"level": "warn",
39+
"fix": "unsafe"
40+
},
41+
"noUnusedLabels": {
42+
"level": "warn",
43+
"fix": "unsafe"
44+
},
45+
"noUnusedPrivateClassMembers": {
46+
"level": "warn",
47+
"fix": "unsafe"
48+
},
49+
"noUnusedVariables": {
50+
"level": "warn",
51+
"fix": "unsafe"
52+
}
53+
}
54+
}
55+
},
56+
"javascript": {
57+
"formatter": {
58+
"quoteStyle": "single"
59+
}
60+
}
6261
}

package.json

+17-125
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,19 @@
11
{
2-
"name": "bippy",
3-
"version": "0.2.19",
4-
"description": "hack into react internals",
5-
"keywords": [
6-
"bippy",
7-
"react",
8-
"react-instrumentation",
9-
"react instrumentation",
10-
"fiber",
11-
"internals"
12-
],
13-
"homepage": "https://bippy.dev",
14-
"bugs": {
15-
"url": "https://github.com/aidenybai/bippy/issues"
16-
},
17-
"repository": {
18-
"type": "git",
19-
"url": "git+https://github.com/aidenybai/bippy.git"
20-
},
21-
"license": "MIT",
22-
"author": {
23-
"name": "Aiden Bai",
24-
"email": "[email protected]"
25-
},
26-
"sideEffects": false,
27-
"type": "module",
28-
"exports": {
29-
"./package.json": "./package.json",
30-
".": {
31-
"import": {
32-
"types": "./dist/index.d.ts",
33-
"default": "./dist/index.js"
34-
},
35-
"require": {
36-
"types": "./dist/index.d.cts",
37-
"default": "./dist/index.cjs"
38-
}
39-
},
40-
"./core": {
41-
"import": {
42-
"types": "./dist/core.d.ts",
43-
"default": "./dist/core.js"
44-
},
45-
"require": {
46-
"types": "./dist/core.d.cts",
47-
"default": "./dist/core.cjs"
48-
}
49-
},
50-
"./sw": {
51-
"import": {
52-
"types": "./dist/sw.d.ts",
53-
"default": "./dist/sw.js"
54-
},
55-
"require": {
56-
"types": "./dist/sw.d.cts",
57-
"default": "./dist/sw.cjs"
58-
}
59-
},
60-
"./inspect": {
61-
"import": {
62-
"types": "./dist/inspect.d.ts",
63-
"default": "./dist/inspect.js"
64-
},
65-
"require": {
66-
"types": "./dist/inspect.d.cts",
67-
"default": "./dist/inspect.cjs"
68-
}
69-
},
70-
"./dist/*": "./dist/*.js",
71-
"./dist/*.js": "./dist/*.js",
72-
"./dist/*.cjs": "./dist/*.cjs",
73-
"./dist/*.mjs": "./dist/*.mjs"
74-
},
75-
"main": "dist/index.js",
76-
"module": "dist/index.js",
77-
"browser": "dist/index.global.js",
78-
"types": "dist/index.d.ts",
79-
"files": [
80-
"dist",
81-
"bin",
82-
"package.json",
83-
"README.md",
84-
"LICENSE"
85-
],
86-
"scripts": {
87-
"build": "NODE_ENV=production tsup",
88-
"dev": "NODE_ENV=development tsup --watch",
89-
"lint": "pnpm biome lint --write src/*.ts",
90-
"format": "pnpm biome format --write src/*.ts",
91-
"check": "pnpm biome check --write src/*.ts",
92-
"publint": "publint",
93-
"test": "vitest --dom",
94-
"coverage": "vitest run --coverage --dom",
95-
"prepublishOnly": "pnpm build"
96-
},
97-
"devDependencies": {
98-
"@biomejs/biome": "1.9.4",
99-
"@testing-library/dom": "^10.4.0",
100-
"@testing-library/react": "^16.1.0",
101-
"@types/d3": "^7.4.3",
102-
"@types/node": "^20",
103-
"@types/react": "^18.3.12",
104-
"@types/react-dom": "^19.0.2",
105-
"@types/react-reconciler": "^0.28.9",
106-
"@vitest/coverage-istanbul": "2.1.8",
107-
"d3": "^7.9.0",
108-
"esbuild": "^0.24.2",
109-
"esbuild-plugin-inline-worker": "^0.1.1",
110-
"happy-dom": "^15.11.7",
111-
"pkg-pr-new": "^0.0.39",
112-
"publint": "^0.2.12",
113-
"react": "19.0.0",
114-
"react-devtools-inline": "^6.0.1",
115-
"react-dom": "19.0.0",
116-
"react-inspector": "^6.0.2",
117-
"react-reconciler": "^0.31.0",
118-
"react-refresh": "^0.16.0",
119-
"terser": "^5.36.0",
120-
"tsup": "^8.2.4",
121-
"vitest": "^2.1.8"
122-
},
123-
"packageManager": "[email protected]",
124-
"publishConfig": {
125-
"access": "public"
126-
}
2+
"name": "@bippy/monorepo",
3+
"scripts": {
4+
"dev": "pnpm -r run dev ",
5+
"build": "pnpm --filter=./packages/bippy run build",
6+
"test": "pnpm --filter=./packages/bippy run test",
7+
"publint": "pnpm --filter=./packages/bippy run publint",
8+
"lint": "pnpm biome lint --write",
9+
"format": "pnpm biome format --write",
10+
"check": "pnpm biome check --write",
11+
"bump": "changeset version",
12+
"release": "changeset publish"
13+
},
14+
"packageManager": "[email protected]+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0",
15+
"private": true,
16+
"devDependencies": {
17+
"@changesets/cli": "^2.27.11"
18+
}
12719
}

0 commit comments

Comments
 (0)