@knapsack/doctor 4.72.0--canary.4920.be98a9b.0 → 4.72.0--canary.5313.51b7b5f.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +2 -2
- package/CHANGELOG.md +152 -0
- package/dist/v4/detect/ui.js +2 -2
- package/dist/v4/detect/ui.js.map +1 -1
- package/package.json +9 -9
- package/src/v4/detect/ui.ts +2 -2
- package/tsconfig.json +1 -0
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
> @knapsack/doctor@4.71.
|
2
|
+
> @knapsack/doctor@4.71.16 test /home/runner/work/app-monorepo/app-monorepo/libs/doctor
|
3
3
|
> ava
|
4
4
|
|
5
5
|
|
6
|
+
Block with id "tSXKx3fupm" does not exist, removing.
|
6
7
|
✔ v4 › detect › ui › Single missing blockId within pattern template is detected
|
7
8
|
✔ v4 › detect › ui › Multiple missing blockIds within pattern template are detected
|
8
9
|
✔ v4 › detect › ui › Single missing demoId within pattern template is detected
|
9
10
|
✔ v4 › detect › ui › Single missing blockId within pattern subpage is detected
|
10
11
|
✔ v4 › detect › ui › Single missing blockId within custom page is detected
|
11
12
|
✔ v4 › detect › ui › All navs have corresponding pages and patterns
|
12
|
-
Block with id "GSoyhYb6dx" does not exist, removing.
|
13
13
|
✔ fix-app-client-data › orphaned blocks
|
14
14
|
✔ fix-app-client-data › orphaned demos
|
15
15
|
✔ fix-app-client-data › orphaned demos in slots
|
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,155 @@
|
|
1
|
+
# v4.71.16 (Thu Dec 05 2024)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- refactor React Renderer to use `tsc` for build [#5224](https://github.com/knapsack-labs/app-monorepo/pull/5224) ([@EvanLovely](https://github.com/EvanLovely) [@mabry1985](https://github.com/mabry1985))
|
6
|
+
|
7
|
+
#### Authors: 2
|
8
|
+
|
9
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
10
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
11
|
+
|
12
|
+
---
|
13
|
+
|
14
|
+
# v4.71.13 (Wed Dec 04 2024)
|
15
|
+
|
16
|
+
#### 🐛 Bug Fix
|
17
|
+
|
18
|
+
- Merge branch 'feature/ksp-5777-gsk-sso-issues' into feature/sso-config-via-db ([@EvanLovely](https://github.com/EvanLovely))
|
19
|
+
- Merge branch 'latest' into feature/ksp-5777-gsk-sso-issues ([@illepic](https://github.com/illepic))
|
20
|
+
- Bump version to: v4.71.12 \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
21
|
+
- Update CHANGELOG.md \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
22
|
+
- Bump version to: v4.71.11 \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
23
|
+
|
24
|
+
#### 🏠 Internal
|
25
|
+
|
26
|
+
- refactor Cypress user login [#5225](https://github.com/knapsack-labs/app-monorepo/pull/5225) ([@EvanLovely](https://github.com/EvanLovely))
|
27
|
+
- Update Node.js to v20.18.1 [#5197](https://github.com/knapsack-labs/app-monorepo/pull/5197) ([@renovate[bot]](https://github.com/renovate[bot]))
|
28
|
+
- adds evt handlers for design src logs [#5194](https://github.com/knapsack-labs/app-monorepo/pull/5194) ([@mabry1985](https://github.com/mabry1985))
|
29
|
+
- setup login w popup [#5209](https://github.com/knapsack-labs/app-monorepo/pull/5209) ([@GormanDesign](https://github.com/GormanDesign) [@mabry1985](https://github.com/mabry1985) [@EvanLovely](https://github.com/EvanLovely) [@KnapsackBot](https://github.com/KnapsackBot) [@illepic](https://github.com/illepic))
|
30
|
+
- migrate to new Figma oAuth endpoints and configuration [#5206](https://github.com/knapsack-labs/app-monorepo/pull/5206) ([@mabry1985](https://github.com/mabry1985))
|
31
|
+
|
32
|
+
#### Authors: 6
|
33
|
+
|
34
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
35
|
+
- Christopher Bloom ([@illepic](https://github.com/illepic))
|
36
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
37
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
38
|
+
- KnapsackBot ([@KnapsackBot](https://github.com/KnapsackBot))
|
39
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
40
|
+
|
41
|
+
---
|
42
|
+
|
43
|
+
# v4.71.12 (Thu Nov 21 2024)
|
44
|
+
|
45
|
+
#### 🐛 Bug Fix
|
46
|
+
|
47
|
+
- Fix component alignment in pattern stage and embeds [#5138](https://github.com/knapsack-labs/app-monorepo/pull/5138) ([@GormanDesign](https://github.com/GormanDesign))
|
48
|
+
- Merge branch 'latest' into feature/ksp-5732-fix-component-alignment-in-pattern-stage-and-embeds ([@GormanDesign](https://github.com/GormanDesign))
|
49
|
+
|
50
|
+
#### Authors: 1
|
51
|
+
|
52
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
53
|
+
|
54
|
+
---
|
55
|
+
|
56
|
+
# v4.71.10 (Thu Nov 21 2024)
|
57
|
+
|
58
|
+
#### 🐛 Bug Fix
|
59
|
+
|
60
|
+
- fix prop reordering doesnt stick [#5196](https://github.com/knapsack-labs/app-monorepo/pull/5196) ([@mabry1985](https://github.com/mabry1985))
|
61
|
+
|
62
|
+
#### Authors: 1
|
63
|
+
|
64
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
65
|
+
|
66
|
+
---
|
67
|
+
|
68
|
+
# v4.71.9 (Wed Nov 20 2024)
|
69
|
+
|
70
|
+
#### 🏠 Internal
|
71
|
+
|
72
|
+
- setup TS strict mode KSP-5492 [#5183](https://github.com/knapsack-labs/app-monorepo/pull/5183) ([@EvanLovely](https://github.com/EvanLovely))
|
73
|
+
|
74
|
+
#### Authors: 1
|
75
|
+
|
76
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
77
|
+
|
78
|
+
---
|
79
|
+
|
80
|
+
# v4.71.8 (Fri Nov 15 2024)
|
81
|
+
|
82
|
+
#### 🐛 Bug Fix
|
83
|
+
|
84
|
+
- Merge branch 'latest' into feature/KSP-5764-add-button-modes ([@brittanysmart](https://github.com/brittanysmart))
|
85
|
+
- Merge branch 'latest' into GormanDesign-patch-2 ([@GormanDesign](https://github.com/GormanDesign))
|
86
|
+
|
87
|
+
#### 🏠 Internal
|
88
|
+
|
89
|
+
- update gsk-digital-channels sso page content [#5178](https://github.com/knapsack-labs/app-monorepo/pull/5178) ([@GormanDesign](https://github.com/GormanDesign))
|
90
|
+
- fix figma tiles show processing message indefinitely [#5179](https://github.com/knapsack-labs/app-monorepo/pull/5179) ([@mabry1985](https://github.com/mabry1985))
|
91
|
+
|
92
|
+
#### Authors: 3
|
93
|
+
|
94
|
+
- Brittany Smart ([@brittanysmart](https://github.com/brittanysmart))
|
95
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
96
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
97
|
+
|
98
|
+
---
|
99
|
+
|
100
|
+
# v4.71.6 (Thu Nov 14 2024)
|
101
|
+
|
102
|
+
#### 🐛 Bug Fix
|
103
|
+
|
104
|
+
- Merge branch 'latest' into feature/ksp-5437-update-auth0-node-sdk ([@freneticpixel](https://github.com/freneticpixel))
|
105
|
+
- Merge branch 'latest' into feature/ksp-5710-collections-block-filters ([@GormanDesign](https://github.com/GormanDesign))
|
106
|
+
- Merge remote-tracking branch 'origin/latest' into feature/ksp-5437-update-auth0-node-sdk ([@freneticpixel](https://github.com/freneticpixel))
|
107
|
+
|
108
|
+
#### 🏠 Internal
|
109
|
+
|
110
|
+
- Update dependency @types/node to ^20.17.6 [#5127](https://github.com/knapsack-labs/app-monorepo/pull/5127) ([@renovate[bot]](https://github.com/renovate[bot]))
|
111
|
+
|
112
|
+
#### Authors: 3
|
113
|
+
|
114
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
115
|
+
- Jim Frenette ([@freneticpixel](https://github.com/freneticpixel))
|
116
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
117
|
+
|
118
|
+
---
|
119
|
+
|
120
|
+
# v4.71.5 (Tue Nov 05 2024)
|
121
|
+
|
122
|
+
#### 🐛 Bug Fix
|
123
|
+
|
124
|
+
- Merge branch 'latest' into feature/ksp-5668-handle-figma-blocks-when-updating-design-source-file ([@GormanDesign](https://github.com/GormanDesign))
|
125
|
+
|
126
|
+
#### 🏠 Internal
|
127
|
+
|
128
|
+
- Update dependency @types/node to ^20.17.5 [#5086](https://github.com/knapsack-labs/app-monorepo/pull/5086) ([@renovate[bot]](https://github.com/renovate[bot]))
|
129
|
+
- Update dependency @react-aria/visually-hidden to ^3.8.17 [#5078](https://github.com/knapsack-labs/app-monorepo/pull/5078) ([@renovate[bot]](https://github.com/renovate[bot]))
|
130
|
+
- Update dependency @types/node to ^20.17.4 [#5080](https://github.com/knapsack-labs/app-monorepo/pull/5080) ([@renovate[bot]](https://github.com/renovate[bot]))
|
131
|
+
- Update dependency @types/node to ^20.17.3 [#5046](https://github.com/knapsack-labs/app-monorepo/pull/5046) ([@renovate[bot]](https://github.com/renovate[bot]))
|
132
|
+
|
133
|
+
#### Authors: 2
|
134
|
+
|
135
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
136
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
137
|
+
|
138
|
+
---
|
139
|
+
|
140
|
+
# v4.71.4 (Tue Oct 29 2024)
|
141
|
+
|
142
|
+
#### 🏠 Internal
|
143
|
+
|
144
|
+
- Update dependency @types/node to ^20.17.2 [#5020](https://github.com/knapsack-labs/app-monorepo/pull/5020) ([@renovate[bot]](https://github.com/renovate[bot]))
|
145
|
+
- Update dependency ava to ^6.2.0 [#5022](https://github.com/knapsack-labs/app-monorepo/pull/5022) ([@renovate[bot]](https://github.com/renovate[bot]))
|
146
|
+
|
147
|
+
#### Authors: 1
|
148
|
+
|
149
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
150
|
+
|
151
|
+
---
|
152
|
+
|
1
153
|
# v4.71.1 (Wed Oct 23 2024)
|
2
154
|
|
3
155
|
#### 🐛 Bug Fix
|
package/dist/v4/detect/ui.js
CHANGED
@@ -216,10 +216,10 @@ export const v4DetectUi = ({ data, }) => {
|
|
216
216
|
}
|
217
217
|
// Determine if the path is a fully qualified URL. We expect most paths
|
218
218
|
// to not pass this check, since most are local (ie /thing/other-thing)
|
219
|
-
if (isRemoteUrl(nav.path))
|
219
|
+
if (nav.path && isRemoteUrl(nav.path))
|
220
220
|
return;
|
221
221
|
// Does the path start with a `/`? If not, let them know and fix
|
222
|
-
if (!nav.path.startsWith('/')) {
|
222
|
+
if (nav.path && !nav.path.startsWith('/')) {
|
223
223
|
errors.push(new DoctorError({
|
224
224
|
name: 'NAV_PATH_BAD_FORMAT',
|
225
225
|
message: `Nav ID [${nav.id}] has an internal path [${nav.path}] that does not start with a slash ("/"). A fix patch has been generated automatically to add a slash to the beginning of the path.`,
|
package/dist/v4/detect/ui.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../../src/v4/detect/ui.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,IAAI,EACJ,kBAAkB,GAEnB,MAAM,iBAAiB,CAAC;AAczB;;;GAGG;AACH,MAAM,OAAO,WAAY,SAAQ,KAAK;IAMpC,8EAA8E;IAC9E,iFAAiF;IACjF,iCAAiC;IACjC,kBAAkB;IAElB,YAAY,EAAE,IAAI,EAAE,OAAO,EAA8C;QACvE,mEAAmE;QACnE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACz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
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/doctor",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.72.0--canary.
|
4
|
+
"version": "4.72.0--canary.5313.51b7b5f.0",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
7
7
|
".": {
|
@@ -19,15 +19,15 @@
|
|
19
19
|
"test": "ava"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@knapsack/utils": "4.72.0--canary.
|
22
|
+
"@knapsack/utils": "4.72.0--canary.5313.51b7b5f.0"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
|
-
"@knapsack/eslint-config-starter": "4.72.0--canary.
|
26
|
-
"@knapsack/prettier-config": "4.72.0--canary.
|
27
|
-
"@knapsack/test-ava": "4.72.0--canary.
|
28
|
-
"@knapsack/types": "4.72.0--canary.
|
29
|
-
"@knapsack/typescript-config-starter": "4.72.0--canary.
|
30
|
-
"@types/node": "^20.17.
|
25
|
+
"@knapsack/eslint-config-starter": "4.72.0--canary.5313.51b7b5f.0",
|
26
|
+
"@knapsack/prettier-config": "4.72.0--canary.5313.51b7b5f.0",
|
27
|
+
"@knapsack/test-ava": "4.72.0--canary.5313.51b7b5f.0",
|
28
|
+
"@knapsack/types": "4.72.0--canary.5313.51b7b5f.0",
|
29
|
+
"@knapsack/typescript-config-starter": "4.72.0--canary.5313.51b7b5f.0",
|
30
|
+
"@types/node": "^20.17.8",
|
31
31
|
"ava": "^6.2.0",
|
32
32
|
"eslint": "^8.57.0",
|
33
33
|
"typescript": "^5.6.3"
|
@@ -41,5 +41,5 @@
|
|
41
41
|
"directory": "libs/doctor",
|
42
42
|
"type": "git"
|
43
43
|
},
|
44
|
-
"gitHead": "
|
44
|
+
"gitHead": "51b7b5f2b8e4a42f078030647178769053559d32"
|
45
45
|
}
|
package/src/v4/detect/ui.ts
CHANGED
@@ -301,10 +301,10 @@ export const v4DetectUi = ({
|
|
301
301
|
|
302
302
|
// Determine if the path is a fully qualified URL. We expect most paths
|
303
303
|
// to not pass this check, since most are local (ie /thing/other-thing)
|
304
|
-
if (isRemoteUrl(nav.path)) return;
|
304
|
+
if (nav.path && isRemoteUrl(nav.path)) return;
|
305
305
|
|
306
306
|
// Does the path start with a `/`? If not, let them know and fix
|
307
|
-
if (!nav.path.startsWith('/')) {
|
307
|
+
if (nav.path && !nav.path.startsWith('/')) {
|
308
308
|
errors.push(
|
309
309
|
new DoctorError({
|
310
310
|
name: 'NAV_PATH_BAD_FORMAT',
|