@nx/next 16.4.0-beta.7 → 16.4.0-beta.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/next",
3
- "version": "16.4.0-beta.7",
3
+ "version": "16.4.0-beta.8",
4
4
  "private": false,
5
5
  "description": "The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides:\n\n\n- Scaffolding for creating, building, serving, linting, and testing Next.js applications.\n\n- Integration with building, serving, and exporting a Next.js application.\n\n- Integration with React libraries within the workspace. \n\nWhen using Next.js in Nx, you get the out-of-the-box support for TypeScript, Cypress, and Jest. No need to configure anything: watch mode, source maps, and typings just work.",
6
6
  "repository": {
@@ -35,13 +35,13 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@babel/plugin-proposal-decorators": "^7.14.5",
38
- "@nrwl/next": "16.4.0-beta.7",
39
- "@nx/devkit": "16.4.0-beta.7",
40
- "@nx/js": "16.4.0-beta.7",
41
- "@nx/linter": "16.4.0-beta.7",
42
- "@nx/react": "16.4.0-beta.7",
43
- "@nx/web": "16.4.0-beta.7",
44
- "@nx/workspace": "16.4.0-beta.7",
38
+ "@nrwl/next": "16.4.0-beta.8",
39
+ "@nx/devkit": "16.4.0-beta.8",
40
+ "@nx/js": "16.4.0-beta.8",
41
+ "@nx/linter": "16.4.0-beta.8",
42
+ "@nx/react": "16.4.0-beta.8",
43
+ "@nx/web": "16.4.0-beta.8",
44
+ "@nx/workspace": "16.4.0-beta.8",
45
45
  "@svgr/webpack": "^8.0.1",
46
46
  "chalk": "^4.1.0",
47
47
  "copy-webpack-plugin": "^10.2.4",
@@ -61,5 +61,5 @@
61
61
  "access": "public"
62
62
  },
63
63
  "types": "./index.d.ts",
64
- "gitHead": "847d3a45b61cd2c267acb66c4165a5bb875aff4f"
64
+ "gitHead": "a6589ab111fc01fd4d2cd215c31bfcff004dfc00"
65
65
  }
@@ -139,7 +139,7 @@ function stripOuterQuotes(str) {
139
139
  }
140
140
  // Exported for testing
141
141
  function ensureFileExtensions(files, absoluteDir) {
142
- const extensions = ['.js', '.cjs', '.mjs'];
142
+ const extensions = ['.js', '.cjs', '.mjs', '.json'];
143
143
  return files.map((file) => {
144
144
  const providedExt = (0, path_1.extname)(file);
145
145
  if (providedExt && extensions.includes(providedExt))