@wp-playground/blueprints 3.0.12 → 3.0.13

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.
@@ -1102,6 +1102,11 @@ const schema11 = {
1102
1102
  description:
1103
1103
  'The path to the directory in the git repository. Defaults to the repo root.',
1104
1104
  },
1105
+ '.git': {
1106
+ type: 'boolean',
1107
+ description:
1108
+ 'When true, include a `.git` directory with Git metadata (experimental).',
1109
+ },
1105
1110
  },
1106
1111
  required: ['resource', 'url', 'ref'],
1107
1112
  additionalProperties: false,
@@ -4028,6 +4033,11 @@ const schema25 = {
4028
4033
  description:
4029
4034
  'The path to the directory in the git repository. Defaults to the repo root.',
4030
4035
  },
4036
+ '.git': {
4037
+ type: 'boolean',
4038
+ description:
4039
+ 'When true, include a `.git` directory with Git metadata (experimental).',
4040
+ },
4031
4041
  },
4032
4042
  required: ['resource', 'url', 'ref'],
4033
4043
  additionalProperties: false,
@@ -4070,7 +4080,8 @@ function validate19(
4070
4080
  key0 === 'url' ||
4071
4081
  key0 === 'ref' ||
4072
4082
  key0 === 'refType' ||
4073
- key0 === 'path'
4083
+ key0 === 'path' ||
4084
+ key0 === '.git'
4074
4085
  )
4075
4086
  ) {
4076
4087
  validate19.errors = [
@@ -4224,6 +4235,35 @@ function validate19(
4224
4235
  } else {
4225
4236
  var valid0 = true;
4226
4237
  }
4238
+ if (valid0) {
4239
+ if (data['.git'] !== undefined) {
4240
+ const _errs13 = errors;
4241
+ if (
4242
+ typeof data['.git'] !==
4243
+ 'boolean'
4244
+ ) {
4245
+ validate19.errors = [
4246
+ {
4247
+ instancePath:
4248
+ instancePath +
4249
+ '/.git',
4250
+ schemaPath:
4251
+ '#/properties/.git/type',
4252
+ keyword: 'type',
4253
+ params: {
4254
+ type: 'boolean',
4255
+ },
4256
+ message:
4257
+ 'must be boolean',
4258
+ },
4259
+ ];
4260
+ return false;
4261
+ }
4262
+ var valid0 = _errs13 === errors;
4263
+ } else {
4264
+ var valid0 = true;
4265
+ }
4266
+ }
4227
4267
  }
4228
4268
  }
4229
4269
  }
@@ -1354,6 +1354,10 @@
1354
1354
  "path": {
1355
1355
  "type": "string",
1356
1356
  "description": "The path to the directory in the git repository. Defaults to the repo root."
1357
+ },
1358
+ ".git": {
1359
+ "type": "boolean",
1360
+ "description": "When true, include a `.git` directory with Git metadata (experimental)."
1357
1361
  }
1358
1362
  },
1359
1363
  "required": ["resource", "url", "ref"],