@docusaurus/core 0.0.0-5432 → 0.0.0-5434
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.
- package/lib/commands/swizzle/actions.js +2 -1
- package/package.json +10 -10
|
@@ -33,7 +33,7 @@ async function eject({ siteDir, themePath, componentName, typescript, }) {
|
|
|
33
33
|
const isDirectory = await isDir(fromPath);
|
|
34
34
|
const globPattern = isDirectory
|
|
35
35
|
? // Do we really want to copy all components?
|
|
36
|
-
path_1.default.join(fromPath, '
|
|
36
|
+
path_1.default.join(fromPath, '**/*')
|
|
37
37
|
: `${fromPath}.*`;
|
|
38
38
|
const globPatternPosix = (0, utils_1.posixPath)(globPattern);
|
|
39
39
|
const filesToCopy = await (0, utils_1.Globby)(globPatternPosix, {
|
|
@@ -42,6 +42,7 @@ async function eject({ siteDir, themePath, componentName, typescript, }) {
|
|
|
42
42
|
// When ejecting JS components, we want to avoid emitting TS files
|
|
43
43
|
// In particular the .d.ts files that theme build output contains
|
|
44
44
|
typescript ? null : '**/*.{d.ts,ts,tsx}',
|
|
45
|
+
'**/{__fixtures__,__tests__}/*',
|
|
45
46
|
]),
|
|
46
47
|
});
|
|
47
48
|
if (filesToCopy.length === 0) {
|
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": "0.0.0-
|
|
4
|
+
"version": "0.0.0-5434",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"@babel/runtime": "^7.19.0",
|
|
44
44
|
"@babel/runtime-corejs3": "^7.19.0",
|
|
45
45
|
"@babel/traverse": "^7.19.0",
|
|
46
|
-
"@docusaurus/cssnano-preset": "0.0.0-
|
|
47
|
-
"@docusaurus/logger": "0.0.0-
|
|
48
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
46
|
+
"@docusaurus/cssnano-preset": "0.0.0-5434",
|
|
47
|
+
"@docusaurus/logger": "0.0.0-5434",
|
|
48
|
+
"@docusaurus/mdx-loader": "0.0.0-5434",
|
|
49
49
|
"@docusaurus/react-loadable": "5.5.2",
|
|
50
|
-
"@docusaurus/utils": "0.0.0-
|
|
51
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
52
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
50
|
+
"@docusaurus/utils": "0.0.0-5434",
|
|
51
|
+
"@docusaurus/utils-common": "0.0.0-5434",
|
|
52
|
+
"@docusaurus/utils-validation": "0.0.0-5434",
|
|
53
53
|
"@slorber/static-site-generator-webpack-plugin": "^4.0.7",
|
|
54
54
|
"@svgr/webpack": "^6.3.1",
|
|
55
55
|
"autoprefixer": "^10.4.8",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"webpackbar": "^5.0.2"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
110
|
-
"@docusaurus/types": "0.0.0-
|
|
109
|
+
"@docusaurus/module-type-aliases": "0.0.0-5434",
|
|
110
|
+
"@docusaurus/types": "0.0.0-5434",
|
|
111
111
|
"@types/detect-port": "^1.3.2",
|
|
112
112
|
"@types/react-dom": "^18.0.6",
|
|
113
113
|
"@types/react-router-config": "^5.0.6",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"engines": {
|
|
128
128
|
"node": ">=16.14"
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "f7a250b65c812db35cb4fab50a6ce9dee0536fd0"
|
|
131
131
|
}
|