Skip to content

Commit

Permalink
chore(): dont use private apis (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartington authored Feb 24, 2020
1 parent 1f9f023 commit 9f279e1
Show file tree
Hide file tree
Showing 6 changed files with 768 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"semantic-release": "^15.9.17",
"tslint": "^5.12.0",
"tslint-ionic-rules": "0.0.21",
"typescript": "~3.5.3",
"typescript": "3.7.4",
"typescript-tslint-plugin": "0.5.5"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IonicModule } from '@ionic/angular';
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';

@NgModule({
imports: [ CommonModule, FormsModule,IonicModule,],
imports: [ CommonModule, FormsModule, IonicModule,],
declarations: [<%= classify(name) %>Component],
exports: [<%= classify(name) %>Component]
})
Expand Down
4 changes: 2 additions & 2 deletions schematics/component/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { strings } from '@angular-devkit/core';
import { Rule, SchematicsException, Tree, apply, branchAndMerge, chain, filter, mergeWith, move, noop, template, url } from '@angular-devkit/schematics';
import { addDeclarationToModule, addEntryComponentToModule, addExportToModule, addSymbolToNgModuleMetadata } from '@schematics/angular/utility/ast-utils';
import { InsertChange } from '@schematics/angular/utility/change';
import { buildRelativePath } from '@schematics/angular/utility/find-module';
import { parseName } from '@schematics/angular/utility/parse-name';
import { buildDefaultPath, getProject } from '@schematics/angular/utility/project';
import { validateHtmlSelector, validateName } from '@schematics/angular/utility/validation';
import * as ts from 'typescript';

import { buildSelector } from '../util';
import { addDeclarationToModule, addEntryComponentToModule, addExportToModule, addSymbolToNgModuleMetadata } from '../util/ast-util';
import { InsertChange } from '../util/change';

import { Schema as ComponentOptions } from './schema';

Expand Down
4 changes: 2 additions & 2 deletions schematics/page/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Path, join, normalize, strings } from '@angular-devkit/core';
import { DirEntry, Rule, SchematicsException, Tree, apply, branchAndMerge, chain, filter, mergeWith, move, noop, template, url } from '@angular-devkit/schematics';
import { findNodes } from '@schematics/angular/utility/ast-utils';
import { Change, InsertChange } from '@schematics/angular/utility/change';
import { ModuleOptions, buildRelativePath } from '@schematics/angular/utility/find-module';
import { parseName } from '@schematics/angular/utility/parse-name';
import { buildDefaultPath, getProject } from '@schematics/angular/utility/project';
import { validateHtmlSelector, validateName } from '@schematics/angular/utility/validation';
import * as ts from 'typescript';

import { buildSelector } from '../util';
import { findNodes } from '../util/ast-util';
import { Change, InsertChange } from '../util/change';

import { Schema as PageOptions } from './schema';

Expand Down
Loading

0 comments on commit 9f279e1

Please sign in to comment.