@drupal-canvas/create 1.4.0 → 1.4.1

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -665,7 +665,7 @@ function detectPackageManager() {
665
665
  // package.json
666
666
  var package_default = {
667
667
  name: "@drupal-canvas/create",
668
- version: "1.4.0",
668
+ version: "1.4.1",
669
669
  description: "CLI to scaffold a codebase for working with Drupal Canvas Code Components"};
670
670
 
671
671
  // src/lib/meta-info.ts
@@ -673,7 +673,15 @@ var getName = () => package_default.name;
673
673
  var getDescription = () => package_default.description;
674
674
  var getVersion = () => package_default.version;
675
675
  var GIT_TERMINAL_PROMPT = 0;
676
- var use_git_default = (baseDir) => simpleGit(baseDir).env({ ...process.env, GIT_TERMINAL_PROMPT });
676
+ var unsafe = {
677
+ allowUnsafeEditor: true,
678
+ allowUnsafePager: true
679
+ };
680
+ var use_git_default = (baseDir) => {
681
+ const options = { unsafe };
682
+ const git = baseDir === void 0 ? simpleGit(options) : simpleGit(baseDir, options);
683
+ return git.env({ ...process.env, GIT_TERMINAL_PROMPT });
684
+ };
677
685
 
678
686
  // src/create.ts
679
687
  async function createApp(ctx) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drupal-canvas/create",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "CLI to scaffold a codebase for working with Drupal Canvas Code Components",
5
5
  "license": "MIT",
6
6
  "repository": {