Skip to content

Commit 27721e3

Browse files
committed
fix(project): minor fix in schematics
1 parent 9fe5e61 commit 27721e3

File tree

6 files changed

+6
-16
lines changed

6 files changed

+6
-16
lines changed

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@angular/common": "~11.0.2",
2626
"@angular/compiler": "~11.0.2",
2727
"@angular/core": "~11.0.2",
28-
"@angular/flex-layout": "^10.0.0-beta.32",
28+
"@angular/flex-layout": "^11.0.0-beta.33",
2929
"@angular/forms": "~11.0.2",
3030
"@angular/material": "^11.0.0",
3131
"@angular/platform-browser": "~11.0.2",

projects/angular-material-extensions/select-icon/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"release:patch": "../../../node_modules/.bin/release-it --patch --ci ",
4040
"release:minor": "../../../node_modules/.bin/release-it --minor --ci",
4141
"release:major": "../../../node_modules/.bin/release-it --major --ci --no-git.requireCleanWorkingDir",
42-
"release:version": "../../../node_modules/.bin/release-it 1.0.1 --ci --no-git.requireCleanWorkingDir",
42+
"release:version": "../../../node_modules/.bin/release-it 2.0.0 --ci --no-git.requireCleanWorkingDir",
4343
"ng:test": "../../../node_modules/.bin/ng test @angular-material-extensions/select-icon",
4444
"test": "../../../node_modules/.bin/jest --coverage",
4545
"test:watch": "../../../node_modules/.bin/jest --coverage --watch"

projects/angular-material-extensions/select-icon/schematics/helpers/material/get-project.ts

-10
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export * from './ast/ng-module-imports';
22
export * from './build-component';
3-
export * from './get-project';
43
export * from './package-config';

projects/angular-material-extensions/select-icon/schematics/ng-add/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export function addModuleToImports(options: any): Rule {
4949
return (host: Tree, context: SchematicContext) => {
5050
const workspace = getWorkspace(host);
5151
const project = getProjectFromWorkspace(
52+
// @ts-ignore
5253
workspace,
5354
// Takes the first project in case it's not provided by CLI
5455
options.project ? options.project : Object.keys(workspace.projects)[0]

0 commit comments

Comments
 (0)