@nx/react 24.0.1 → 24.0.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/dist/tailwind.d.ts +1 -1
- package/dist/tailwind.js +3 -2
- package/package.json +16 -16
package/dist/tailwind.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @deprecated `@nx/react/tailwind` will be removed in Nx
|
|
2
|
+
* @deprecated `@nx/react/tailwind` will be removed in Nx 25. Migrate to Tailwind CSS v4 which no longer needs glob patterns.
|
|
3
3
|
* See: https://nx.dev/docs/technologies/react/guides/using-tailwind-css-in-react
|
|
4
4
|
*/
|
|
5
5
|
export declare function createGlobPatternsForDependencies(dirPath: string, fileGlobPattern?: string): string[];
|
package/dist/tailwind.js
CHANGED
|
@@ -3,14 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.createGlobPatternsForDependencies = createGlobPatternsForDependencies;
|
|
4
4
|
const internal_1 = require("@nx/js/internal");
|
|
5
5
|
let hasWarned = false;
|
|
6
|
+
// TODO(v25): remove the deprecated tailwind glob helpers (NXC-5174).
|
|
6
7
|
/**
|
|
7
|
-
* @deprecated `@nx/react/tailwind` will be removed in Nx
|
|
8
|
+
* @deprecated `@nx/react/tailwind` will be removed in Nx 25. Migrate to Tailwind CSS v4 which no longer needs glob patterns.
|
|
8
9
|
* See: https://nx.dev/docs/technologies/react/guides/using-tailwind-css-in-react
|
|
9
10
|
*/
|
|
10
11
|
function createGlobPatternsForDependencies(dirPath, fileGlobPattern = '/**/!(*.stories|*.spec).{tsx,ts,jsx,js,html}') {
|
|
11
12
|
if (!hasWarned) {
|
|
12
13
|
hasWarned = true;
|
|
13
|
-
console.warn(`\nWARNING: "@nx/react/tailwind" is deprecated and will be removed in Nx
|
|
14
|
+
console.warn(`\nWARNING: "@nx/react/tailwind" is deprecated and will be removed in Nx 25.\n` +
|
|
14
15
|
`Migrate to Tailwind CSS v4 which no longer needs glob patterns for content detection.\n` +
|
|
15
16
|
`See: https://nx.dev/docs/technologies/react/guides/using-tailwind-css-in-react\n`);
|
|
16
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react",
|
|
3
|
-
"version": "24.0.
|
|
3
|
+
"version": "24.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
|
|
6
6
|
"repository": {
|
|
@@ -105,26 +105,26 @@
|
|
|
105
105
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
106
106
|
"minimatch": "10.2.5",
|
|
107
107
|
"tslib": "^2.3.0",
|
|
108
|
-
"@nx/devkit": "24.0.
|
|
109
|
-
"@nx/js": "24.0.
|
|
110
|
-
"@nx/eslint": "24.0.
|
|
111
|
-
"@nx/web": "24.0.
|
|
108
|
+
"@nx/devkit": "24.0.3",
|
|
109
|
+
"@nx/js": "24.0.3",
|
|
110
|
+
"@nx/eslint": "24.0.3",
|
|
111
|
+
"@nx/web": "24.0.3",
|
|
112
112
|
"semver": "^7.6.3"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
|
-
"@nx/cypress": "24.0.
|
|
116
|
-
"@nx/playwright": "24.0.
|
|
117
|
-
"@nx/rollup": "24.0.
|
|
118
|
-
"@nx/rsbuild": "24.0.
|
|
119
|
-
"@nx/rspack": "24.0.
|
|
120
|
-
"@nx/vite": "24.0.
|
|
121
|
-
"@nx/vitest": "24.0.
|
|
122
|
-
"@nx/webpack": "24.0.
|
|
123
|
-
"@nx/storybook": "24.0.
|
|
124
|
-
"nx": "24.0.
|
|
115
|
+
"@nx/cypress": "24.0.3",
|
|
116
|
+
"@nx/playwright": "24.0.3",
|
|
117
|
+
"@nx/rollup": "24.0.3",
|
|
118
|
+
"@nx/rsbuild": "24.0.3",
|
|
119
|
+
"@nx/rspack": "24.0.3",
|
|
120
|
+
"@nx/vite": "24.0.3",
|
|
121
|
+
"@nx/vitest": "24.0.3",
|
|
122
|
+
"@nx/webpack": "24.0.3",
|
|
123
|
+
"@nx/storybook": "24.0.3",
|
|
124
|
+
"nx": "24.0.3"
|
|
125
125
|
},
|
|
126
126
|
"optionalDependencies": {
|
|
127
|
-
"@nx/vite": "24.0.
|
|
127
|
+
"@nx/vite": "24.0.3"
|
|
128
128
|
},
|
|
129
129
|
"publishConfig": {
|
|
130
130
|
"access": "public"
|