druxt-schema 0.7.9 → 0.7.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # druxt-schema
2
2
 
3
+ ## 0.7.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [715e5ef]
8
+ - druxt@0.10.0
9
+
3
10
  ## 0.7.9
4
11
 
5
12
  ### Patch Changes
@@ -220,7 +220,7 @@ class DruxtSchema {
220
220
  }
221
221
  }
222
222
 
223
- const DruxtSchemaNuxtModule = function(moduleOptions = {}) {
223
+ const DruxtSchemaNuxtModule = function() {
224
224
  if (typeof this.options === "undefined" || !this.options.druxt) {
225
225
  throw new TypeError("Druxt settings missing.");
226
226
  }
@@ -235,7 +235,7 @@ const DruxtSchemaNuxtModule = function(moduleOptions = {}) {
235
235
  fileName: "store/druxt-schema.js",
236
236
  options
237
237
  });
238
- this.nuxt.hook("builder:prepared", async (nuxt, buildOptions) => {
238
+ this.nuxt.hook("builder:prepared", async () => {
239
239
  const druxtSchema = new DruxtSchema(options.baseUrl, options);
240
240
  const { schemas } = await druxtSchema.get();
241
241
  for (const name in schemas) {
@@ -228,7 +228,7 @@ class DruxtSchema {
228
228
  }
229
229
  }
230
230
 
231
- const DruxtSchemaNuxtModule = function(moduleOptions = {}) {
231
+ const DruxtSchemaNuxtModule = function() {
232
232
  if (typeof this.options === "undefined" || !this.options.druxt) {
233
233
  throw new TypeError("Druxt settings missing.");
234
234
  }
@@ -243,7 +243,7 @@ const DruxtSchemaNuxtModule = function(moduleOptions = {}) {
243
243
  fileName: "store/druxt-schema.js",
244
244
  options
245
245
  });
246
- this.nuxt.hook("builder:prepared", async (nuxt, buildOptions) => {
246
+ this.nuxt.hook("builder:prepared", async () => {
247
247
  const druxtSchema = new DruxtSchema(options.baseUrl, options);
248
248
  const { schemas } = await druxtSchema.get();
249
249
  for (const name in schemas) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt-schema",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
4
4
  "description": "Drupal Content Entity schema generator for Druxt with support for View and Form displays.",
5
5
  "keywords": [
6
6
  "drupal",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "consola": "^2.15.0",
35
35
  "drupal-jsonapi-params": "^1.2.2",
36
- "druxt": "^0.9.0"
36
+ "druxt": "^0.10.0"
37
37
  },
38
38
  "optionalDependencies": {
39
39
  "vue": "^2.6.14",