@nuxtjs/prismic 1.4.2 → 1.4.3

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/README.md CHANGED
@@ -61,9 +61,9 @@ Thanks to [James Pegg](https://github.com/jamespeggsh) for the initial implement
61
61
  [npm-version-href]: https://npmjs.com/package/@nuxtjs/prismic
62
62
  [npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/prismic.svg
63
63
  [npm-downloads-href]: https://npmjs.com/package/@nuxtjs/prismic
64
- [github-actions-ci-src]: https://github.com/nuxt-community/prismic-module/workflows/ci/badge.svg
65
- [github-actions-ci-href]: https://github.com/nuxt-community/prismic-module/actions?query=workflow%3Aci
66
- [codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/prismic-module.svg
67
- [codecov-href]: https://codecov.io/gh/nuxt-community/prismic-module
64
+ [github-actions-ci-src]: https://github.com/nuxt-modules/prismic/workflows/ci/badge.svg
65
+ [github-actions-ci-href]: https://github.com/nuxt-modules/prismic/actions?query=workflow%3Aci
66
+ [codecov-src]: https://img.shields.io/codecov/c/github/nuxt-modules/prismic.svg
67
+ [codecov-href]: https://codecov.io/gh/nuxt-modules/prismic
68
68
  [license-src]: https://img.shields.io/npm/l/@nuxtjs/prismic.svg
69
69
  [license-href]: https://npmjs.com/package/@nuxtjs/prismic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxtjs/prismic",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Easily connect your Nuxt.js application to your content hosted on Prismic",
5
5
  "keywords": [
6
6
  "nuxt",
@@ -9,7 +9,7 @@
9
9
  "prismic",
10
10
  "cms"
11
11
  ],
12
- "repository": "nuxt-community/prismic-module",
12
+ "repository": "nuxt-modules/prismic",
13
13
  "license": "MIT",
14
14
  "main": "src/module.js",
15
15
  "files": [
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "scripts": {
20
20
  "dev": "nuxt example",
21
- "release": "yarn test && standard-version && git push --follow-tags && npm publish",
21
+ "release": "yarn test && standard-version && git push --follow-tags && npm publish --tag 1x",
22
22
  "release:dry": "standard-version --dry-run",
23
23
  "release:alpha": "yarn test && standard-version --release-as minor --prerelease alpha && git push --follow-tags && npm publish --tag alpha",
24
24
  "release:alpha:dry": "standard-version --release-as minor --prerelease alpha --dry-run",
package/src/module.js CHANGED
@@ -22,6 +22,9 @@ function install (moduleOptions) {
22
22
  logger.warn('Options `endpoint` is required, disabling module...')
23
23
  return
24
24
  }
25
+
26
+ this.options.build.transpile.push('@prismicio/vue', '@prismicio/simulator')
27
+
25
28
  const repo = options.endpoint.replace(/^https?:\/\//, '').replace(/(\.cdn)?\.prismic.+/, '')
26
29
  const app = this.options.dir.app || 'app'
27
30