Skip to content

Commit cb1f7c0

Browse files
chore(package): Just Update Prettier™
1 parent e6d93f7 commit cb1f7c0

File tree

13 files changed

+64
-65
lines changed

13 files changed

+64
-65
lines changed

artifacts.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"ARTIFACTS": [
3-
"lib",
4-
"lib-esm",
5-
"release",
6-
"package.json"
7-
]
2+
"ARTIFACTS": ["lib", "lib-esm", "release", "package.json"]
83
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
"karma-super-dots-reporter": "^0.2.0",
9797
"karma-webpack": "^3.0.5",
9898
"lodash": "^4.17.11",
99-
"prettier": "^1.14.2",
100-
"pretty-quick": "^1.6.0",
99+
"prettier": "^1.15.3",
100+
"pretty-quick": "^1.8.0",
101101
"rollup": "^0.65.2",
102102
"rollup-plugin-node-resolve": "^3.4.0",
103103
"rollup-plugin-sourcemaps": "^0.4.2",

rollup.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ const RESOLVE_CONFIG = Object.assign({}, BASE_CONFIG, {
119119
const CONFIG = RESOLVE
120120
? RESOLVE_CONFIG
121121
: EVENTS
122-
? EVENTS_CONFIG
123-
: MONOLITHIC
124-
? MONOLITHIC_ROUTER_CONFIG
125-
: ROUTER
126-
? ROUTER_CONFIG
127-
: ROUTER_CONFIG;
122+
? EVENTS_CONFIG
123+
: MONOLITHIC
124+
? MONOLITHIC_ROUTER_CONFIG
125+
: ROUTER
126+
? ROUTER_CONFIG
127+
: ROUTER_CONFIG;
128128

129129
export default CONFIG;

src/templateFactory.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ export class TemplateFactory implements TemplateFactoryProvider {
7070
return isDefined(config.template)
7171
? asTemplate(this.fromString(config.template, params))
7272
: isDefined(config.templateUrl)
73-
? asTemplate(this.fromUrl(config.templateUrl, params))
74-
: isDefined(config.templateProvider)
75-
? asTemplate(this.fromProvider(config.templateProvider, params, context))
76-
: isDefined(config.component)
77-
? asComponent(config.component)
78-
: isDefined(config.componentProvider)
79-
? asComponent(this.fromComponentProvider(config.componentProvider, params, context))
80-
: asTemplate(defaultTemplate);
73+
? asTemplate(this.fromUrl(config.templateUrl, params))
74+
: isDefined(config.templateProvider)
75+
? asTemplate(this.fromProvider(config.templateProvider, params, context))
76+
: isDefined(config.component)
77+
? asComponent(config.component)
78+
: isDefined(config.componentProvider)
79+
? asComponent(this.fromComponentProvider(config.componentProvider, params, context))
80+
: asTemplate(defaultTemplate);
8181
}
8282

8383
/**

test/tsconfig.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
"moduleResolution": "node",
66
"module": "commonjs",
77
"target": "es5",
8-
"lib": [ "es6", "dom" ],
8+
"lib": ["es6", "dom"],
99
"allowSyntheticDefaultImports": true,
1010
"outDir": "../.testlib",
1111
"declaration": false,
1212
"sourceMap": false
1313
},
14-
"include": [
15-
"*.ts"
16-
]
14+
"include": ["*.ts"]
1715
}

test/typescript2.2/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"compilerOptions": {
33
"moduleResolution": "node",
44
"module": "commonjs",
5-
"lib": [ "es6", "dom" ],
5+
"lib": ["es6", "dom"],
66
"noImplicitAny": true,
77
"noEmit": true,
88
"target": "es5",
99
"typeRoots": ["node_modules/@types"]
1010
},
11-
"files": [ "index.ts" ]
11+
"files": ["index.ts"]
1212
}

test/typescript2.3/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"compilerOptions": {
33
"moduleResolution": "node",
44
"module": "commonjs",
5-
"lib": [ "es6", "dom" ],
5+
"lib": ["es6", "dom"],
66
"noImplicitAny": true,
77
"noEmit": true,
88
"target": "es5",
99
"typeRoots": ["node_modules/@types"]
1010
},
11-
"files": [ "index.ts" ]
11+
"files": ["index.ts"]
1212
}

test/typescript2.4/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"compilerOptions": {
33
"moduleResolution": "node",
44
"module": "commonjs",
5-
"lib": [ "es6", "dom" ],
5+
"lib": ["es6", "dom"],
66
"noImplicitAny": true,
77
"noEmit": true,
88
"target": "es5",
99
"typeRoots": ["node_modules/@types"]
1010
},
11-
"files": [ "index.ts" ]
11+
"files": ["index.ts"]
1212
}

test/typescript2.5/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"compilerOptions": {
33
"moduleResolution": "node",
44
"module": "commonjs",
5-
"lib": [ "es6", "dom" ],
5+
"lib": ["es6", "dom"],
66
"noImplicitAny": true,
77
"noEmit": true,
88
"target": "es5",
99
"typeRoots": ["node_modules/@types"]
1010
},
11-
"files": [ "index.ts" ]
11+
"files": ["index.ts"]
1212
}

test/typescript2.6/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"compilerOptions": {
33
"moduleResolution": "node",
44
"module": "commonjs",
5-
"lib": [ "es6", "dom" ],
5+
"lib": ["es6", "dom"],
66
"noImplicitAny": true,
77
"noEmit": true,
88
"target": "es5",
99
"typeRoots": ["node_modules/@types"]
1010
},
11-
"files": [ "index.ts" ]
11+
"files": ["index.ts"]
1212
}

0 commit comments

Comments
 (0)