@docusaurus/core 3.9.2-canary-6458 → 3.9.2-canary-6460
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.
|
@@ -69,6 +69,9 @@ async function tryOpenWithAppleScript({ url, browser, }) {
|
|
|
69
69
|
// We open Google Chrome Canary in priority over Google Chrome
|
|
70
70
|
return supportedChromiumBrowsers.filter((b) => activeBrowsers.includes(b));
|
|
71
71
|
}
|
|
72
|
+
// Test this manually with:
|
|
73
|
+
// osascript ./packages/docusaurus/src/commands/utils/openBrowser/openChrome.applescript "http://localhost:8080" "Google Chrome"
|
|
74
|
+
// osascript ./packages/docusaurus/src/commands/utils/openBrowser/openChrome.applescript "http://localhost:8080" "Arc"
|
|
72
75
|
async function tryBrowser(browserName) {
|
|
73
76
|
try {
|
|
74
77
|
// This command runs the openChrome.applescript (copied from CRA)
|
|
@@ -19,6 +19,16 @@ on run argv
|
|
|
19
19
|
set theProgram to item 2 of argv
|
|
20
20
|
end if
|
|
21
21
|
|
|
22
|
+
-- Arc: simple open + activate, no tab reuse
|
|
23
|
+
-- See https://github.com/facebook/docusaurus/issues/11582
|
|
24
|
+
if theProgram is "Arc" then
|
|
25
|
+
tell application "Arc"
|
|
26
|
+
activate
|
|
27
|
+
open location theURL
|
|
28
|
+
end tell
|
|
29
|
+
return
|
|
30
|
+
end if
|
|
31
|
+
|
|
22
32
|
using terms from application "Google Chrome"
|
|
23
33
|
tell application theProgram
|
|
24
34
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/core",
|
|
3
3
|
"description": "Easy to Maintain Open Source Documentation Websites",
|
|
4
|
-
"version": "3.9.2-canary-
|
|
4
|
+
"version": "3.9.2-canary-6460",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"url": "https://github.com/facebook/docusaurus/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@docusaurus/babel": "3.9.2-canary-
|
|
37
|
-
"@docusaurus/bundler": "3.9.2-canary-
|
|
38
|
-
"@docusaurus/logger": "3.9.2-canary-
|
|
39
|
-
"@docusaurus/mdx-loader": "3.9.2-canary-
|
|
40
|
-
"@docusaurus/utils": "3.9.2-canary-
|
|
41
|
-
"@docusaurus/utils-common": "3.9.2-canary-
|
|
42
|
-
"@docusaurus/utils-validation": "3.9.2-canary-
|
|
36
|
+
"@docusaurus/babel": "3.9.2-canary-6460",
|
|
37
|
+
"@docusaurus/bundler": "3.9.2-canary-6460",
|
|
38
|
+
"@docusaurus/logger": "3.9.2-canary-6460",
|
|
39
|
+
"@docusaurus/mdx-loader": "3.9.2-canary-6460",
|
|
40
|
+
"@docusaurus/utils": "3.9.2-canary-6460",
|
|
41
|
+
"@docusaurus/utils-common": "3.9.2-canary-6460",
|
|
42
|
+
"@docusaurus/utils-validation": "3.9.2-canary-6460",
|
|
43
43
|
"boxen": "^6.2.1",
|
|
44
44
|
"chalk": "^4.1.2",
|
|
45
45
|
"chokidar": "^3.5.3",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"webpack-merge": "^6.0.1"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@docusaurus/module-type-aliases": "3.9.2-canary-
|
|
81
|
-
"@docusaurus/types": "3.9.2-canary-
|
|
80
|
+
"@docusaurus/module-type-aliases": "3.9.2-canary-6460",
|
|
81
|
+
"@docusaurus/types": "3.9.2-canary-6460",
|
|
82
82
|
"@total-typescript/shoehorn": "^0.1.2",
|
|
83
83
|
"@types/detect-port": "^1.3.3",
|
|
84
84
|
"@types/react-dom": "^18.2.7",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"engines": {
|
|
99
99
|
"node": ">=20.0"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "a6e8e40ad3d664175c02021b0c677e1ee017f64e"
|
|
102
102
|
}
|