@nrwl/next 14.3.5 → 14.3.6

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
@@ -3,6 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [14.3.5](https://github.com/nrwl/nx/compare/14.3.4...14.3.5) (2022-06-15)
6
+ ## [14.3.6](https://github.com/nrwl/nx/compare/14.3.5...14.3.6) (2022-06-16)
7
7
 
8
8
  **Note:** Version bump only for package @nrwl/next
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/next",
3
- "version": "14.3.5",
3
+ "version": "14.3.6",
4
4
  "description": "When 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.\n\nThe Next.js plugin 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.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,13 +34,13 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@babel/plugin-proposal-decorators": "^7.14.5",
37
- "@nrwl/cypress": "14.3.5",
38
- "@nrwl/devkit": "14.3.5",
39
- "@nrwl/jest": "14.3.5",
40
- "@nrwl/linter": "14.3.5",
41
- "@nrwl/react": "14.3.5",
42
- "@nrwl/web": "14.3.5",
43
- "@nrwl/workspace": "14.3.5",
37
+ "@nrwl/cypress": "14.3.6",
38
+ "@nrwl/devkit": "14.3.6",
39
+ "@nrwl/jest": "14.3.6",
40
+ "@nrwl/linter": "14.3.6",
41
+ "@nrwl/react": "14.3.6",
42
+ "@nrwl/web": "14.3.6",
43
+ "@nrwl/workspace": "14.3.6",
44
44
  "@svgr/webpack": "^6.1.2",
45
45
  "chalk": "4.1.0",
46
46
  "eslint-config-next": "^12.1.0",
@@ -50,5 +50,5 @@
50
50
  "url-loader": "^4.1.1",
51
51
  "webpack-merge": "^5.8.0"
52
52
  },
53
- "gitHead": "b73fe9a628dfed38b22b97030ebcb9b25ebc31ff"
53
+ "gitHead": "cc2a1d55bb3dd51e655cc8da7af4e633d24b40a3"
54
54
  }
@@ -155,7 +155,7 @@ function createAppJsx(name) {
155
155
  </svg>
156
156
  </a>
157
157
  <a
158
- href="https://nx.dev/tutorial/01-create-application?utm_source=nx-project"
158
+ href="https://nx.dev/react-tutorial/01-create-application?utm_source=nx-project"
159
159
  target="_blank"
160
160
  rel="noreferrer"
161
161
  className="list-item-link"
package/tailwind.d.ts CHANGED
@@ -1,6 +1,2 @@
1
- /**
2
- * Generates a set of glob patterns based off the source root of the app and its dependencies
3
- * @param dirPath workspace relative directory path that will be used to infer the parent project and dependencies
4
- * @param fileGlobPattern pass a custom glob pattern to be used
5
- */
6
- export declare function createGlobPatternsForDependencies(dirPath: string, fileGlobPattern?: string): string[];
1
+ import { createGlobPatternsForDependencies } from '@nrwl/react/tailwind';
2
+ export { createGlobPatternsForDependencies };
package/tailwind.js CHANGED
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createGlobPatternsForDependencies = void 0;
4
- const generate_globs_1 = require("@nrwl/workspace/src/utilities/generate-globs");
5
- /**
6
- * Generates a set of glob patterns based off the source root of the app and its dependencies
7
- * @param dirPath workspace relative directory path that will be used to infer the parent project and dependencies
8
- * @param fileGlobPattern pass a custom glob pattern to be used
9
- */
10
- function createGlobPatternsForDependencies(dirPath, fileGlobPattern = '/**/!(*.stories|*.spec).{tsx,jsx,js}') {
11
- try {
12
- return (0, generate_globs_1.createGlobPatternsForDependencies)(dirPath, fileGlobPattern);
13
- }
14
- catch (_a) {
15
- /**
16
- * It should not be possible to reach this point when the utility is invoked as part of the normal
17
- * lifecycle of Nx executors. However, other tooling, such as the VSCode Tailwind IntelliSense plugin
18
- * or JetBrains editors such as WebStorm, may execute the tailwind.config.js file in order to provide
19
- * autocomplete features, for example.
20
- *
21
- * In order to best support that use-case, we therefore do not hard error when the ProjectGraph is
22
- * fundamently unavailable in this tailwind-specific context.
23
- */
24
- console.warn('\n[createGlobPatternsForDependencies] WARNING: There was no ProjectGraph available to read from, returning an empty array of glob patterns\n');
25
- return [];
26
- }
27
- }
28
- exports.createGlobPatternsForDependencies = createGlobPatternsForDependencies;
4
+ // Re-exporting for convenience and backwards compatibility.
5
+ const tailwind_1 = require("@nrwl/react/tailwind");
6
+ Object.defineProperty(exports, "createGlobPatternsForDependencies", { enumerable: true, get: function () { return tailwind_1.createGlobPatternsForDependencies; } });
29
7
  //# sourceMappingURL=tailwind.js.map
package/tailwind.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tailwind.js","sourceRoot":"","sources":["../../../packages/next/tailwind.ts"],"names":[],"mappings":";;;AAAA,iFAA2H;AAE3H;;;;GAIG;AACH,SAAgB,iCAAiC,CAC/C,OAAe,EACf,kBAA0B,sCAAsC;IAEhE,IAAI;QACF,OAAO,IAAA,kDAAsB,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC;KACzD;IAAC,WAAM;QACN;;;;;;;;WAQG;QACH,OAAO,CAAC,IAAI,CACV,8IAA8I,CAC/I,CAAC;QACF,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AArBD,8EAqBC"}
1
+ {"version":3,"file":"tailwind.js","sourceRoot":"","sources":["../../../packages/next/tailwind.ts"],"names":[],"mappings":";;;AAAA,4DAA4D;AAC5D,mDAAyE;AAChE,kHADA,4CAAiC,OACA"}