From e3e44bb07d76a5f76740b9c3668c567cbd38558d Mon Sep 17 00:00:00 2001 From: Emily Xiong Date: Wed, 5 Apr 2023 11:46:50 -0400 Subject: [PATCH] feat(react): deprecate styl from react and next for 17 --- .../packages/next/generators/application.json | 11 ++++++----- .../packages/next/generators/component.json | 8 ++++---- docs/generated/packages/next/generators/library.json | 8 ++++---- docs/generated/packages/next/generators/page.json | 8 ++++---- .../packages/react/generators/application.json | 8 ++++---- .../packages/react/generators/component.json | 10 +++++----- docs/generated/packages/react/generators/host.json | 8 ++++---- .../generated/packages/react/generators/library.json | 8 ++++---- docs/generated/packages/react/generators/remote.json | 8 ++++---- .../packages/web/generators/application.json | 4 ---- .../packages/webpack/documents/webpack-plugins.md | 2 +- .../packages/workspace/generators/preset.json | 4 ---- docs/shared/packages/webpack/webpack-plugins.md | 2 +- nx-dev/nx-dev/lib/rspack/content/rspack-plugin.ts | 2 +- .../lib/rspack/schema/generators/application.ts | 8 ++++---- .../create-nx-workspace/bin/create-nx-workspace.ts | 7 ------- packages/next/src/generators/application/schema.json | 12 ++++++++---- packages/next/src/generators/component/schema.json | 8 ++++---- packages/next/src/generators/library/schema.json | 8 ++++---- packages/next/src/generators/page/schema.json | 8 ++++---- .../application/lib/install-common-dependencies.ts | 2 +- .../react/src/generators/application/schema.json | 8 ++++---- packages/react/src/generators/component/schema.json | 8 ++++---- packages/react/src/generators/host/schema.json | 8 ++++---- .../library/lib/install-common-dependencies.ts | 2 +- packages/react/src/generators/library/schema.json | 8 ++++---- packages/react/src/generators/remote/schema.json | 8 ++++---- packages/react/src/utils/assertion.ts | 2 +- packages/react/typings/style.d.ts | 2 +- packages/web/src/generators/application/schema.json | 4 ---- packages/workspace/src/generators/preset/schema.json | 4 ---- 31 files changed, 90 insertions(+), 108 deletions(-) diff --git a/docs/generated/packages/next/generators/application.json b/docs/generated/packages/next/generators/application.json index da58d772463b2..ffae6af93b348 100644 --- a/docs/generated/packages/next/generators/application.json +++ b/docs/generated/packages/next/generators/application.json @@ -37,10 +37,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -56,7 +52,12 @@ { "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" - } + }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, + { "value": "none", "label": "None" } ] } }, diff --git a/docs/generated/packages/next/generators/component.json b/docs/generated/packages/next/generators/component.json index 0fefb6530eb83..f7afec0303d74 100644 --- a/docs/generated/packages/next/generators/component.json +++ b/docs/generated/packages/next/generators/component.json @@ -38,10 +38,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -58,6 +54,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" } ] } diff --git a/docs/generated/packages/next/generators/library.json b/docs/generated/packages/next/generators/library.json index f06dff5a6173c..1031c302d70b7 100644 --- a/docs/generated/packages/next/generators/library.json +++ b/docs/generated/packages/next/generators/library.json @@ -37,10 +37,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -57,6 +53,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" } ] } diff --git a/docs/generated/packages/next/generators/page.json b/docs/generated/packages/next/generators/page.json index ae02f33745aad..5bfa02902dea5 100644 --- a/docs/generated/packages/next/generators/page.json +++ b/docs/generated/packages/next/generators/page.json @@ -44,10 +44,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -64,6 +60,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" } ] }, diff --git a/docs/generated/packages/react/generators/application.json b/docs/generated/packages/react/generators/application.json index c9813e4946715..a254d59c11a76 100644 --- a/docs/generated/packages/react/generators/application.json +++ b/docs/generated/packages/react/generators/application.json @@ -51,10 +51,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -71,6 +67,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" } ] } diff --git a/docs/generated/packages/react/generators/component.json b/docs/generated/packages/react/generators/component.json index 3f81d977536b5..9a95cbf9660a7 100644 --- a/docs/generated/packages/react/generators/component.json +++ b/docs/generated/packages/react/generators/component.json @@ -48,10 +48,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -68,7 +64,11 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, - { "value": "none", "label": "None" } + { "value": "none", "label": "None" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + } ] } }, diff --git a/docs/generated/packages/react/generators/host.json b/docs/generated/packages/react/generators/host.json index 802c15f41a8a7..cbc4a363a0f07 100644 --- a/docs/generated/packages/react/generators/host.json +++ b/docs/generated/packages/react/generators/host.json @@ -37,10 +37,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -57,6 +53,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" } ] } diff --git a/docs/generated/packages/react/generators/library.json b/docs/generated/packages/react/generators/library.json index 35b01e811a9ca..efed9cd3177cc 100644 --- a/docs/generated/packages/react/generators/library.json +++ b/docs/generated/packages/react/generators/library.json @@ -47,10 +47,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -67,6 +63,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" } ] } diff --git a/docs/generated/packages/react/generators/remote.json b/docs/generated/packages/react/generators/remote.json index bcc76f7936198..62acbdd29558a 100644 --- a/docs/generated/packages/react/generators/remote.json +++ b/docs/generated/packages/react/generators/remote.json @@ -37,10 +37,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -57,6 +53,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATD: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" } ] } diff --git a/docs/generated/packages/web/generators/application.json b/docs/generated/packages/web/generators/application.json index 5b2bc487bbd4e..3aa22d9d6aa38 100644 --- a/docs/generated/packages/web/generators/application.json +++ b/docs/generated/packages/web/generators/application.json @@ -33,10 +33,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl)[ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" diff --git a/docs/generated/packages/webpack/documents/webpack-plugins.md b/docs/generated/packages/webpack/documents/webpack-plugins.md index 9547f7804cea1..d8929d6752ef2 100644 --- a/docs/generated/packages/webpack/documents/webpack-plugins.md +++ b/docs/generated/packages/webpack/documents/webpack-plugins.md @@ -37,7 +37,7 @@ module.exports = composePlugins(withNx(), (config) => { ## withWeb -The `withWeb` plugin adds support for CSS/SASS/Less/Stylus stylesheets, assets (such as images and fonts), and `index.html` processing. +The `withWeb` plugin adds support for CSS/SASS/Less stylesheets, assets (such as images and fonts), and `index.html` processing. ### Options diff --git a/docs/generated/packages/workspace/generators/preset.json b/docs/generated/packages/workspace/generators/preset.json index 651d03ffd18cf..c9165e99375c2 100644 --- a/docs/generated/packages/workspace/generators/preset.json +++ b/docs/generated/packages/workspace/generators/preset.json @@ -42,10 +42,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl)[ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" diff --git a/docs/shared/packages/webpack/webpack-plugins.md b/docs/shared/packages/webpack/webpack-plugins.md index 9547f7804cea1..d8929d6752ef2 100644 --- a/docs/shared/packages/webpack/webpack-plugins.md +++ b/docs/shared/packages/webpack/webpack-plugins.md @@ -37,7 +37,7 @@ module.exports = composePlugins(withNx(), (config) => { ## withWeb -The `withWeb` plugin adds support for CSS/SASS/Less/Stylus stylesheets, assets (such as images and fonts), and `index.html` processing. +The `withWeb` plugin adds support for CSS/SASS/Less stylesheets, assets (such as images and fonts), and `index.html` processing. ### Options diff --git a/nx-dev/nx-dev/lib/rspack/content/rspack-plugin.ts b/nx-dev/nx-dev/lib/rspack/content/rspack-plugin.ts index 5821736a5bb63..be7aba1c12038 100644 --- a/nx-dev/nx-dev/lib/rspack/content/rspack-plugin.ts +++ b/nx-dev/nx-dev/lib/rspack/content/rspack-plugin.ts @@ -25,7 +25,7 @@ module.exports = composePlugins(withNx(), (config) => { ## withWeb -The \`withWeb\` plugin adds support for CSS/SASS/Less/Stylus stylesheets, assets (such as images and fonts), and \`index.html\` processing. +The \`withWeb\` plugin adds support for CSS/SASS/Less stylesheets, assets (such as images and fonts), and \`index.html\` processing. ### Options diff --git a/nx-dev/nx-dev/lib/rspack/schema/generators/application.ts b/nx-dev/nx-dev/lib/rspack/schema/generators/application.ts index 78b026bf8340a..afe3e1aa8b534 100644 --- a/nx-dev/nx-dev/lib/rspack/schema/generators/application.ts +++ b/nx-dev/nx-dev/lib/rspack/schema/generators/application.ts @@ -44,14 +44,14 @@ export const schema = { 'SASS(.scss) [ http://sass-lang.com ]', }, { - value: 'styl', + value: 'less', label: - 'Stylus(.styl) [ http://stylus-lang.com ]', + 'LESS [ http://lesscss.org ]', }, { - value: 'less', + value: 'styl', label: - 'LESS [ http://lesscss.org ]', + 'DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]', }, { value: 'none', diff --git a/packages/create-nx-workspace/bin/create-nx-workspace.ts b/packages/create-nx-workspace/bin/create-nx-workspace.ts index 4d17dd28e8857..9d735a836e6e6 100644 --- a/packages/create-nx-workspace/bin/create-nx-workspace.ts +++ b/packages/create-nx-workspace/bin/create-nx-workspace.ts @@ -589,13 +589,6 @@ async function determineStyle( }, ]; - if (![Preset.AngularMonorepo, Preset.AngularStandalone].includes(preset)) { - choices.push({ - name: 'styl', - message: 'Stylus(.styl) [ http://stylus-lang.com ]', - }); - } - if ( [Preset.ReactMonorepo, Preset.ReactStandalone, Preset.NextJs].includes( preset diff --git a/packages/next/src/generators/application/schema.json b/packages/next/src/generators/application/schema.json index 79db0c6d1bc6c..0a7f05a8d2d63 100644 --- a/packages/next/src/generators/application/schema.json +++ b/packages/next/src/generators/application/schema.json @@ -37,10 +37,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -56,6 +52,14 @@ { "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" + }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, + { + "value": "none", + "label": "None" } ] } diff --git a/packages/next/src/generators/component/schema.json b/packages/next/src/generators/component/schema.json index bdd97db8d1271..7e3a70fa4954f 100644 --- a/packages/next/src/generators/component/schema.json +++ b/packages/next/src/generators/component/schema.json @@ -40,10 +40,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -60,6 +56,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" diff --git a/packages/next/src/generators/library/schema.json b/packages/next/src/generators/library/schema.json index f5b1c95c6cb20..9a9c804fe9b48 100644 --- a/packages/next/src/generators/library/schema.json +++ b/packages/next/src/generators/library/schema.json @@ -37,10 +37,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -57,6 +53,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" diff --git a/packages/next/src/generators/page/schema.json b/packages/next/src/generators/page/schema.json index 3601304504740..9d4435ea3d60e 100644 --- a/packages/next/src/generators/page/schema.json +++ b/packages/next/src/generators/page/schema.json @@ -46,10 +46,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -66,6 +62,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" diff --git a/packages/react/src/generators/application/lib/install-common-dependencies.ts b/packages/react/src/generators/application/lib/install-common-dependencies.ts index 17cf8ea21daf3..5847c1dd250d7 100644 --- a/packages/react/src/generators/application/lib/install-common-dependencies.ts +++ b/packages/react/src/generators/application/lib/install-common-dependencies.ts @@ -23,7 +23,7 @@ export function installCommonDependencies( case 'less': devDependencies = { less: lessVersion }; break; - case 'styl': + case 'styl': // @TODO(17): deprecated, going to be removed in Nx 17 devDependencies = { stylus: stylusVersion }; break; } diff --git a/packages/react/src/generators/application/schema.json b/packages/react/src/generators/application/schema.json index 6073454d01979..5e108b743d2ee 100644 --- a/packages/react/src/generators/application/schema.json +++ b/packages/react/src/generators/application/schema.json @@ -54,10 +54,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -74,6 +70,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" diff --git a/packages/react/src/generators/component/schema.json b/packages/react/src/generators/component/schema.json index 27d2e557cfd84..53e32702efec3 100644 --- a/packages/react/src/generators/component/schema.json +++ b/packages/react/src/generators/component/schema.json @@ -50,10 +50,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -73,6 +69,10 @@ { "value": "none", "label": "None" + }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" } ] } diff --git a/packages/react/src/generators/host/schema.json b/packages/react/src/generators/host/schema.json index ba6adf0f57317..a943433312d0c 100644 --- a/packages/react/src/generators/host/schema.json +++ b/packages/react/src/generators/host/schema.json @@ -40,10 +40,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -60,6 +56,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" diff --git a/packages/react/src/generators/library/lib/install-common-dependencies.ts b/packages/react/src/generators/library/lib/install-common-dependencies.ts index 4a1bcbba39faf..a4f39be3e6a81 100644 --- a/packages/react/src/generators/library/lib/install-common-dependencies.ts +++ b/packages/react/src/generators/library/lib/install-common-dependencies.ts @@ -27,7 +27,7 @@ export function installCommonDependencies( case 'less': devDependencies['less'] = lessVersion; break; - case 'styl': + case 'styl': // @TODO(17): deprecated, going to be removed in Nx 17 devDependencies['stylus'] = stylusVersion; break; } diff --git a/packages/react/src/generators/library/schema.json b/packages/react/src/generators/library/schema.json index fa7e3a82c2e45..f0c3b0630cf2b 100644 --- a/packages/react/src/generators/library/schema.json +++ b/packages/react/src/generators/library/schema.json @@ -47,10 +47,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -67,6 +63,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATED: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" diff --git a/packages/react/src/generators/remote/schema.json b/packages/react/src/generators/remote/schema.json index e1c1f678e0f64..a410a547b326a 100644 --- a/packages/react/src/generators/remote/schema.json +++ b/packages/react/src/generators/remote/schema.json @@ -40,10 +40,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl) [ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" @@ -60,6 +56,10 @@ "value": "styled-jsx", "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]" }, + { + "value": "styl", + "label": "DEPRECATD: Stylus(.styl) [ http://stylus-lang.com ]" + }, { "value": "none", "label": "None" diff --git a/packages/react/src/utils/assertion.ts b/packages/react/src/utils/assertion.ts index 59d939ff531ea..acece502ec756 100644 --- a/packages/react/src/utils/assertion.ts +++ b/packages/react/src/utils/assertion.ts @@ -2,7 +2,7 @@ const VALID_STYLES = [ 'css', 'scss', 'less', - 'styl', + 'styl', // @TODO(17): deprecated, going to be removed in Nx 17 'styled-components', '@emotion/styled', 'styled-jsx', diff --git a/packages/react/typings/style.d.ts b/packages/react/typings/style.d.ts index 8f2d76d63e51f..7d4317304c3a9 100644 --- a/packages/react/typings/style.d.ts +++ b/packages/react/typings/style.d.ts @@ -1,7 +1,7 @@ export type SupportedStyles = | 'css' | 'scss' - | 'styl' + | 'styl' // @TODO(17): deprecated, going to be removed in Nx 17 | 'less' | 'styled-components' | '@emotion/styled' diff --git a/packages/web/src/generators/application/schema.json b/packages/web/src/generators/application/schema.json index 56bd2ac79336c..5ce0957d30e93 100644 --- a/packages/web/src/generators/application/schema.json +++ b/packages/web/src/generators/application/schema.json @@ -36,10 +36,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl)[ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]" diff --git a/packages/workspace/src/generators/preset/schema.json b/packages/workspace/src/generators/preset/schema.json index ca6f3c5830df8..3731fb5981963 100644 --- a/packages/workspace/src/generators/preset/schema.json +++ b/packages/workspace/src/generators/preset/schema.json @@ -45,10 +45,6 @@ "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" }, - { - "value": "styl", - "label": "Stylus(.styl)[ http://stylus-lang.com ]" - }, { "value": "less", "label": "LESS [ http://lesscss.org ]"