Skip to content

Commit fff8975

Browse files
committed
patch @blueprint/select. pnpm-workspace.yaml got normalized in the process
1 parent 392e244 commit fff8975

File tree

3 files changed

+102
-67
lines changed

3 files changed

+102
-67
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
diff --git a/lib/cjs/components/select/select.d.ts b/lib/cjs/components/select/select.d.ts
2+
index f8b9bc6c7d16e1b2bf2cecd157635de3d83069f4..ee0b6da30d8c9ff17dc5cc0a64440d5427454b4f 100644
3+
--- a/lib/cjs/components/select/select.d.ts
4+
+++ b/lib/cjs/components/select/select.d.ts
5+
@@ -4,6 +4,7 @@ import { IListItemsProps } from "../../common";
6+
export declare type SelectProps<T> = ISelectProps<T>;
7+
/** @deprecated use SelectProps */
8+
export interface ISelectProps<T> extends IListItemsProps<T> {
9+
+ children?: React.ReactNode;
10+
/**
11+
* Whether the component should take up the full width of its container.
12+
* This overrides `popoverProps.fill`. You also have to ensure that the child
13+
diff --git a/lib/esm/components/select/select.d.ts b/lib/esm/components/select/select.d.ts
14+
index f8b9bc6c7d16e1b2bf2cecd157635de3d83069f4..ee0b6da30d8c9ff17dc5cc0a64440d5427454b4f 100644
15+
--- a/lib/esm/components/select/select.d.ts
16+
+++ b/lib/esm/components/select/select.d.ts
17+
@@ -4,6 +4,7 @@ import { IListItemsProps } from "../../common";
18+
export declare type SelectProps<T> = ISelectProps<T>;
19+
/** @deprecated use SelectProps */
20+
export interface ISelectProps<T> extends IListItemsProps<T> {
21+
+ children?: React.ReactNode;
22+
/**
23+
* Whether the component should take up the full width of its container.
24+
* This overrides `popoverProps.fill`. You also have to ensure that the child
25+
diff --git a/lib/esnext/components/select/select.d.ts b/lib/esnext/components/select/select.d.ts
26+
index f8b9bc6c7d16e1b2bf2cecd157635de3d83069f4..ee0b6da30d8c9ff17dc5cc0a64440d5427454b4f 100644
27+
--- a/lib/esnext/components/select/select.d.ts
28+
+++ b/lib/esnext/components/select/select.d.ts
29+
@@ -4,6 +4,7 @@ import { IListItemsProps } from "../../common";
30+
export declare type SelectProps<T> = ISelectProps<T>;
31+
/** @deprecated use SelectProps */
32+
export interface ISelectProps<T> extends IListItemsProps<T> {
33+
+ children?: React.ReactNode;
34+
/**
35+
* Whether the component should take up the full width of its container.
36+
* This overrides `popoverProps.fill`. You also have to ensure that the child

pnpm-lock.yaml

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 53 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,46 @@ packages:
22
- packages/*
33
- apps/*
44

5+
allowUnusedPatches: false
6+
7+
allowedDeprecatedVersions:
8+
"@humanwhocodes/config-array": ^0.13
9+
"@humanwhocodes/object-schema": ^2.0
10+
"@playwright/test": ^1.29
11+
"@types/minimatch": ^6.0
12+
abab: ^2.0
13+
domexception: 4.0.0
14+
eslint: ^8.57
15+
glob: ^7.2
16+
inflight: ^1.0
17+
lodash.get: ^4.4
18+
lodash.isequal: ^4.5
19+
node-domexception: ^1.0
20+
path-match: ^1.2
21+
popper.js: ^1.16
22+
rimraf: <4
23+
524
# The global versions, in practice apply to website
625
catalog:
7-
react: ^19.1.0
8-
react-dom: ^19.1.0
9-
eslint: 8.57.1
1026
"@types/eslint": 8.56.12
1127
"@types/react": ^19.1.12
1228
"@types/react-dom": ^19.1.9
29+
eslint: 8.57.1
30+
react: ^19.1.0
31+
react-dom: ^19.1.0
1332

14-
# app-specific versions. Use catalog:roam etc. as versions in package.json
1533
catalogs:
1634
obsidian:
17-
react: 19.0.0
18-
react-dom: 19.0.0
1935
"@types/react": ^19.0.12
2036
"@types/react-dom": ^19.0.4
37+
react: 19.0.0
38+
react-dom: 19.0.0
2139
roam:
22-
react: 18.2.0
23-
react-dom: 18.2.0
2440
"@types/react": 18.2.21
2541
"@types/react-dom": 18.2.17
42+
react: 18.2.0
43+
react-dom: 18.2.0
2644

27-
# pnpm asks for those if absent.
2845
onlyBuiltDependencies:
2946
- core-js
3047
- core-js-pure
@@ -35,61 +52,40 @@ onlyBuiltDependencies:
3552
- supabase
3653
- unrs-resolver
3754

38-
# Use `pnpm why react` etc. to identify which packages request other versions.
3955
overrides:
40-
"roam>react": 18.2.0
41-
"roam>react-dom": 18.2.0
42-
"roam>@types/react": 18.2.21
43-
"roam>@types/react-dom": 18.2.17
44-
"@types/react-vertical-timeline-component@3.3.6>@types/react": "18.2.21"
45-
"@types/react-dom@18.2.17>@types/react": "18.2.21"
46-
"react-charts@3.0.0-beta.57>@types/react": "18.2.21"
47-
"react-charts@3.0.0-beta.57>@types/react-dom": "18.2.17"
56+
"@types/react-dom@18.2.17>@types/react": 18.2.21
57+
"@types/react-vertical-timeline-component@3.3.6>@types/react": 18.2.21
58+
react-charts@3.0.0-beta.57>@types/react: 18.2.21
59+
react-charts@3.0.0-beta.57>@types/react-dom: 18.2.17
60+
roam>@types/react: 18.2.21
61+
roam>@types/react-dom: 18.2.17
62+
roam>react: 18.2.0
63+
roam>react-dom: 18.2.0
4864

49-
# pnpm complained about these, may need review or updates
50-
allowedDeprecatedVersions:
51-
"@humanwhocodes/config-array": ^0.13
52-
"@humanwhocodes/object-schema": ^2.0
53-
"@playwright/test": ^1.29
54-
"@types/minimatch": ^6.0
55-
abab: ^2.0
56-
domexception: 4.0.0
57-
eslint: ^8.57
58-
glob: ^7.2
59-
inflight: ^1.0
60-
lodash.get: ^4.4
61-
lodash.isequal: ^4.5
62-
node-domexception: ^1.0
63-
path-match: ^1.2
64-
popper.js: ^1.16
65-
rimraf: "<4"
65+
patchedDependencies:
66+
"@blueprintjs/core@^3.50.4": patches/@blueprintjs__core@3.50.4.patch
67+
"@blueprintjs/select@3.19.1": patches/@blueprintjs__select@3.19.1.patch
68+
"@tldraw/editor@^2.3.0": patches/@tldraw__editor@2.3.0.patch
69+
tldraw@^2.3.0: patches/tldraw@2.3.0.patch
6670

6771
peerDependencyRules:
68-
# This tells pnpm not to complain that our overrides don't match the requested values
6972
allowedVersions:
70-
"react-popper@1.3.11>react": 18.2.0
71-
"react-day-picker@7.4.9>react": 18.2.0
72-
"react-in-viewport>react": 18.2.0
73-
"react-in-viewport>react-dom": 18.2.0
74-
"roamjs-components>react": 18.2.0
75-
"roamjs-components>react-dom": 18.2.0
76-
"roamjs-components>@types/react": 18.2.21
77-
"roamjs-components>@types/react-dom": 18.2.17
78-
"roamjs-components>idb": ^7.1
7973
"@blueprintjs/core>react": 18.2.0
8074
"@blueprintjs/core>react-dom": 18.2.0
81-
"@blueprintjs/select>react": 18.2.0
82-
"@blueprintjs/select>react-dom": 18.2.0
8375
"@blueprintjs/datetime>react": 18.2.0
8476
"@blueprintjs/datetime>react-dom": 18.2.0
85-
"roamjs-components>tslib": ^2
86-
"roamjs-components>@blueprintjs/select": 3.19.1
87-
"@samepage/scripts>tailwindcss": 3.4.17
77+
"@blueprintjs/select>react": 18.2.0
78+
"@blueprintjs/select>react-dom": 18.2.0
8879
"@next/eslint-plugin-next": ^15.0
89-
90-
patchedDependencies:
91-
tldraw@^2.3.0: patches/tldraw@2.3.0.patch
92-
"@tldraw/editor@^2.3.0": patches/@tldraw__editor@2.3.0.patch
93-
"@blueprintjs/core@^3.50.4": patches/@blueprintjs__core@3.50.4.patch
94-
95-
allowUnusedPatches: false
80+
"@samepage/scripts>tailwindcss": 3.4.17
81+
react-day-picker@7.4.9>react: 18.2.0
82+
react-in-viewport>react: 18.2.0
83+
react-in-viewport>react-dom: 18.2.0
84+
react-popper@1.3.11>react: 18.2.0
85+
roamjs-components>@blueprintjs/select: 3.19.1
86+
roamjs-components>@types/react: 18.2.21
87+
roamjs-components>@types/react-dom: 18.2.17
88+
roamjs-components>idb: ^7.1
89+
roamjs-components>react: 18.2.0
90+
roamjs-components>react-dom: 18.2.0
91+
roamjs-components>tslib: ^2

0 commit comments

Comments
 (0)