From 20359e77a687421a1b1e2ce5b5d0bbe3b92f85ac Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Fri, 9 Jun 2023 03:21:12 -0400 Subject: [PATCH] fix(js): mark importPath option as important since it is required for publishable libs (#17509) --- docs/generated/packages/js/generators/library.json | 9 +++++---- packages/js/src/generators/library/schema.json | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/generated/packages/js/generators/library.json b/docs/generated/packages/js/generators/library.json index f9b5faf1c3..4ebe520993 100644 --- a/docs/generated/packages/js/generators/library.json +++ b/docs/generated/packages/js/generators/library.json @@ -59,10 +59,6 @@ "description": "The test environment to use if unitTestRunner is set to jest.", "default": "jsdom" }, - "importPath": { - "type": "string", - "description": "The library name used to import it, like @myorg/my-awesome-lib." - }, "pascalCaseFiles": { "type": "boolean", "description": "Use pascal case file names.", @@ -85,6 +81,11 @@ "description": "Generate a publishable library.", "x-priority": "important" }, + "importPath": { + "type": "string", + "description": "The library name used to import it, like @myorg/my-awesome-lib. Required for publishable library.", + "x-priority": "important" + }, "buildable": { "type": "boolean", "default": true, diff --git a/packages/js/src/generators/library/schema.json b/packages/js/src/generators/library/schema.json index f5d8a71ead..27db9ebdf5 100644 --- a/packages/js/src/generators/library/schema.json +++ b/packages/js/src/generators/library/schema.json @@ -59,10 +59,6 @@ "description": "The test environment to use if unitTestRunner is set to jest.", "default": "jsdom" }, - "importPath": { - "type": "string", - "description": "The library name used to import it, like @myorg/my-awesome-lib." - }, "pascalCaseFiles": { "type": "boolean", "description": "Use pascal case file names.", @@ -85,6 +81,11 @@ "description": "Generate a publishable library.", "x-priority": "important" }, + "importPath": { + "type": "string", + "description": "The library name used to import it, like @myorg/my-awesome-lib. Required for publishable library.", + "x-priority": "important" + }, "buildable": { "type": "boolean", "default": true,