@docusaurus/core 0.0.0-5197 → 0.0.0-5201

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.
@@ -127,7 +127,6 @@ You can also set the deploymentBranch property in docusaurus.config.js .`);
127
127
  // Save the commit hash that triggers publish-gh-pages before checking
128
128
  // out to deployment branch.
129
129
  const currentCommit = shellExecLog('git rev-parse HEAD').stdout.trim();
130
- const currentGitRootDir = shellExecLog('git rev-parse --show-toplevel').stdout.trim();
131
130
  const runDeploy = async (outputDirectory) => {
132
131
  const fromPath = outputDirectory;
133
132
  const toPath = await fs_extra_1.default.mkdtemp(path_1.default.join(os_1.default.tmpdir(), `${projectName}-${deploymentBranch}`));
@@ -151,15 +150,6 @@ You can also set the deploymentBranch property in docusaurus.config.js .`);
151
150
  logger_1.default.error `Copying build assets from path=${fromPath} to path=${toPath} failed.`;
152
151
  throw err;
153
152
  }
154
- const gitConfigFromPath = path_1.default.join(currentGitRootDir, `.git`, `config`);
155
- const gitConfigToPath = path_1.default.join(toPath, `.git`, `config`);
156
- try {
157
- await fs_extra_1.default.copy(gitConfigFromPath, gitConfigToPath);
158
- }
159
- catch (err) {
160
- logger_1.default.error `Copying git config from path=${gitConfigFromPath} to path=${gitConfigToPath} failed.`;
161
- throw err;
162
- }
163
153
  shellExecLog('git add --all');
164
154
  const commitMessage = process.env.CUSTOM_COMMIT_MESSAGE ??
165
155
  `Deploy website - based on ${currentCommit}`;
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-5197",
4
+ "version": "0.0.0-5201",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -43,13 +43,13 @@
43
43
  "@babel/runtime": "^7.18.6",
44
44
  "@babel/runtime-corejs3": "^7.18.6",
45
45
  "@babel/traverse": "^7.18.8",
46
- "@docusaurus/cssnano-preset": "0.0.0-5197",
47
- "@docusaurus/logger": "0.0.0-5197",
48
- "@docusaurus/mdx-loader": "0.0.0-5197",
46
+ "@docusaurus/cssnano-preset": "0.0.0-5201",
47
+ "@docusaurus/logger": "0.0.0-5201",
48
+ "@docusaurus/mdx-loader": "0.0.0-5201",
49
49
  "@docusaurus/react-loadable": "5.5.2",
50
- "@docusaurus/utils": "0.0.0-5197",
51
- "@docusaurus/utils-common": "0.0.0-5197",
52
- "@docusaurus/utils-validation": "0.0.0-5197",
50
+ "@docusaurus/utils": "0.0.0-5201",
51
+ "@docusaurus/utils-common": "0.0.0-5201",
52
+ "@docusaurus/utils-validation": "0.0.0-5201",
53
53
  "@slorber/static-site-generator-webpack-plugin": "^4.0.7",
54
54
  "@svgr/webpack": "^6.2.1",
55
55
  "autoprefixer": "^10.4.7",
@@ -106,8 +106,8 @@
106
106
  "webpackbar": "^5.0.2"
107
107
  },
108
108
  "devDependencies": {
109
- "@docusaurus/module-type-aliases": "0.0.0-5197",
110
- "@docusaurus/types": "0.0.0-5197",
109
+ "@docusaurus/module-type-aliases": "0.0.0-5201",
110
+ "@docusaurus/types": "0.0.0-5201",
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": "03070cb8cdcb45a00d370920b202a99e4d5ab734"
130
+ "gitHead": "6ec76be5308aa26422b86b7452236bdbe1f1238a"
131
131
  }