tailwindcss 0.0.0-oxide-insiders.1d505e9 → 0.0.0-oxide-insiders.6138d69

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.
@@ -276,5 +276,19 @@ function normalizeConfig(config) {
276
276
  break;
277
277
  }
278
278
  }
279
+ // Warn if the line-clamp plugin is installed
280
+ if (config.plugins.length > 0) {
281
+ let plugin;
282
+ try {
283
+ plugin = require("@tailwindcss/line-clamp");
284
+ } catch {}
285
+ if (plugin && config.plugins.includes(plugin)) {
286
+ _log.default.warn("line-clamp-in-core", [
287
+ `The @tailwindcs/line-clamp plugin is now part of Tailwind CSS v3.3`,
288
+ `Remove it from your config to silence this warning`
289
+ ]);
290
+ config.plugins = config.plugins.filter((p)=>p !== plugin);
291
+ }
292
+ }
279
293
  return config;
280
294
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "0.0.0-oxide-insiders.1d505e9",
3
+ "version": "0.0.0-oxide-insiders.6138d69",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -55,7 +55,7 @@
55
55
  "autoprefixer": "^10.4.14",
56
56
  "concurrently": "^7.5.0",
57
57
  "cssnano": "^5.1.15",
58
- "esbuild": "^0.17.10",
58
+ "esbuild": "^0.17.12",
59
59
  "eslint": "^8.35.0",
60
60
  "eslint-config-prettier": "^8.7.0",
61
61
  "eslint-plugin-prettier": "^4.2.1",
@@ -70,7 +70,7 @@
70
70
  "postcss": "^8.0.9"
71
71
  },
72
72
  "dependencies": {
73
- "@tailwindcss/oxide": "0.0.0-oxide-insiders.1d505e9",
73
+ "@tailwindcss/oxide": "0.0.0-oxide-insiders.6138d69",
74
74
  "arg": "^5.0.2",
75
75
  "browserslist": "^4.21.5",
76
76
  "chokidar": "^3.5.3",
@@ -297,5 +297,22 @@ export function normalizeConfig(config) {
297
297
  }
298
298
  }
299
299
 
300
+ // Warn if the line-clamp plugin is installed
301
+ if (config.plugins.length > 0) {
302
+ let plugin
303
+ try {
304
+ plugin = require('@tailwindcss/line-clamp')
305
+ } catch {}
306
+
307
+ if (plugin && config.plugins.includes(plugin)) {
308
+ log.warn('line-clamp-in-core', [
309
+ `The @tailwindcs/line-clamp plugin is now part of Tailwind CSS v3.3`,
310
+ `Remove it from your config to silence this warning`,
311
+ ])
312
+
313
+ config.plugins = config.plugins.filter((p) => p !== plugin)
314
+ }
315
+ }
316
+
300
317
  return config
301
318
  }