@starley/ion-directives 1.1.19 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -11,6 +11,7 @@ var core_1 = require("@angular/core");
11
11
  var press_hold_directive_1 = require("./press-hold/press-hold.directive");
12
12
  var tap_directive_1 = require("./tap/tap.directive");
13
13
  var input_mask_directive_1 = require("./input-mask/input-mask.directive");
14
+ var common_1 = require("@angular/common");
14
15
  /**
15
16
  * Gerencia precionamento de enventos
16
17
  * @author Starley Cazorla
@@ -25,12 +26,15 @@ var DirectivesModule = /** @class */ (function () {
25
26
  tap_directive_1.TapDirective,
26
27
  input_mask_directive_1.IonInputMaskDirective
27
28
  ],
28
- imports: [],
29
+ imports: [
30
+ common_1.CommonModule
31
+ ],
29
32
  exports: [
30
33
  press_hold_directive_1.PressHoldDirective,
31
34
  tap_directive_1.TapDirective,
32
35
  input_mask_directive_1.IonInputMaskDirective
33
- ]
36
+ ],
37
+ schemas: [core_1.CUSTOM_ELEMENTS_SCHEMA, core_1.NO_ERRORS_SCHEMA]
34
38
  })
35
39
  ], DirectivesModule);
36
40
  return DirectivesModule;
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@starley/ion-directives",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "Directivas internas para ionic",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
7
  "scripts": {
8
- "build": "tsc --declaration",
8
+ "build": "tsc",
9
9
  "dev": "nodemon --watch \"src//\" --exec \"ts-node src/index.ts\" -e ts"
10
10
  },
11
11
  "peerDependencies": {
@@ -1,4 +1,4 @@
1
- import { NgModule } from '@angular/core';
1
+ import { CUSTOM_ELEMENTS_SCHEMA, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
2
2
  import { PressHoldDirective } from './press-hold/press-hold.directive';
3
3
  import { TapDirective } from './tap/tap.directive';
4
4
  import { IonInputMaskDirective } from './input-mask/input-mask.directive';
@@ -22,7 +22,8 @@ import { CommonModule } from '@angular/common';
22
22
  PressHoldDirective,
23
23
  TapDirective,
24
24
  IonInputMaskDirective
25
- ]
25
+ ],
26
+ schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]
26
27
 
27
28
  })
28
29
  export class DirectivesModule { }
package/tsconfig.json CHANGED
@@ -2,15 +2,11 @@
2
2
  "compilerOptions": {
3
3
  "target": "es5",
4
4
  "module": "commonjs",
5
- "outDir": "./dist",
6
- "strict": true,
7
- "noUnusedLocals": true,
8
- "noUnusedParameters": true,
9
- "noImplicitReturns": true,
10
5
  "experimentalDecorators": true,
11
- "noFallthroughCasesInSwitch": true,
12
- "esModuleInterop": true
6
+ "declaration": true,
7
+ "outDir": "./lib",
8
+ "strict": true
13
9
  },
14
- "include": ["src/**/*"],
15
- "exclude": ["node_modules", "**/*.test.ts"]
10
+ "include": ["src"],
11
+ "exclude": ["node_modules", "**/__tests__/*"]
16
12
  }