diff --git a/lib/core/ng-package.json b/lib/core/ng-package.json index 385e6922c9a..ae379155876 100644 --- a/lib/core/ng-package.json +++ b/lib/core/ng-package.json @@ -12,6 +12,11 @@ "input": "./", "output": "/" }, + { + "glob": "schematics/**/*", + "input": "./", + "output": "/" + }, { "glob": "assets/**/*", "input": "./src/lib", diff --git a/lib/core/project.json b/lib/core/project.json index ba239208a8b..9b61e4d4589 100644 --- a/lib/core/project.json +++ b/lib/core/project.json @@ -143,7 +143,7 @@ }, "npm-publish": { "executor": "nx:run-commands", - "dependsOn": ["build", "pretheme"], + "dependsOn": ["build", "pretheme", "build-schematics"], "options": { "cwd": "dist/libs/core", "commands": [