Skip to content

Commit

Permalink
fix(build): Update some packages and fixed some problems with build
Browse files Browse the repository at this point in the history
  • Loading branch information
tonivj5 committed Aug 5, 2017
1 parent bc44c5c commit 8717982
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 39 deletions.
4 changes: 3 additions & 1 deletion gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ task("rollup:es2015", () => src(`${buildFolder}/**/*.js`)
const tsProject = ts.createProject({
target: "es5",
module: "es2015",
lib: [
"es2016",
],
allowJs: true,
typescript: require("typescript"),
});
Expand Down Expand Up @@ -152,7 +155,6 @@ task("rollup:umd", () => src(`${tmpBundlesFolder}/${bundleNameES5}`)
external: ROLLUP_EXTERNAL,
format: "umd",
moduleName: libName,
moduleId: "",
separateCaches: rollupUMDCaches,
onwarn(message) {
if (message.code === "THIS_IS_UNDEFINED") {
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qontu/ngx-inline-editor",
"version": "0.2.0-alpha.8",
"version": "0.2.0-alpha.9",
"author": {
"name": "Carlos Caballero",
"email": "[email protected]"
Expand Down Expand Up @@ -77,14 +77,13 @@
"gulp": "^3.9.1",
"gulp-changed": "^3.1.0",
"gulp-inline-ng2-template": "^4.0.0",
"gulp-ngc": "^0.3.0",
"gulp-ngc": "^0.3.2",
"gulp-rename": "^1.2.2",
"gulp-rollup": "^2.11.0",
"gulp-typescript": "^3.1.6",
"gulp-rollup": "^2.14.0",
"gulp-typescript": "^3.2.1",
"jasmine-core": "^2.6.4",
"jasmine-spec-reporter": "~4.1.1",
"karma": "^1.7.0",
"karma-chrome-launcher": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^0.2.0",
"karma-jasmine": "^1.1.0",
Expand All @@ -100,7 +99,7 @@
"phantomjs-prebuilt": "~2.1.14",
"protractor": "~5.1.0",
"reflect-metadata": "~0.1.10",
"rollup": "^0.41.6",
"rollup": "^0.45.2",
"run-sequence": "^1.2.2",
"rxjs": "^5.3.0",
"ts-loader": "^2.0.3",
Expand Down
10 changes: 8 additions & 2 deletions src/types/inline-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ export interface InlineSelectConfig extends InlineBaseConfig, InputSelectable {

export interface InlineNumberConfig extends InlineBaseConfig, InputLengthTestable { }

export interface InlineTextareaConfig extends InlineBaseConfig, TextareaConfig, InputRegexTestable { }
export interface InlineTextareaConfig extends InlineBaseConfig, TextareaConfig, InputRegexTestable {
rows: number;
cols: number;
}

export interface InlineCheckboxConfig extends InlineBaseConfig, CheckboxConfig { }
export interface InlineCheckboxConfig extends InlineBaseConfig, CheckboxConfig {
checkedText: string;
uncheckedText: string;
}

export interface InlineConfig extends InlineTextConfig, InlineTextareaConfig,
InlineSelectConfig, InlineNumberConfig, InlineCheckboxConfig {
Expand Down
46 changes: 17 additions & 29 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ codelyzer@^3.0.0:
source-map "^0.5.6"
sprintf-js "^1.0.3"

colors@1.1.2, colors@^1.0.3, colors@^1.1.0, colors@^1.1.2:
colors@^1.0.3, colors@^1.1.0, colors@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"

Expand Down Expand Up @@ -1969,9 +1969,9 @@ gulp-inline-ng2-template@^4.0.0:
isarray "0.0.1"
through2 "~2.0.0"

gulp-ngc@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/gulp-ngc/-/gulp-ngc-0.3.1.tgz#9d63ac2806df22ea43710ad5177a111847063e56"
gulp-ngc@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/gulp-ngc/-/gulp-ngc-0.3.2.tgz#fc5d099eeb5e15a6dc64ab233b575c609ef35e5d"
dependencies:
"@angular/compiler-cli" ">=2.4.1"
gulp ">=3.9.1"
Expand All @@ -1982,14 +1982,14 @@ gulp-rename@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/gulp-rename/-/gulp-rename-1.2.2.tgz#3ad4428763f05e2764dec1c67d868db275687817"

gulp-rollup@^2.11.0:
version "2.12.0"
resolved "https://registry.yarnpkg.com/gulp-rollup/-/gulp-rollup-2.12.0.tgz#7a7a0dcda478954b111a2bf4a6e60d1ebdf77802"
gulp-rollup@^2.14.0:
version "2.14.0"
resolved "https://registry.yarnpkg.com/gulp-rollup/-/gulp-rollup-2.14.0.tgz#0244b4884ed14e957626628b960488cfc5b04b18"
dependencies:
buffer-from "^0.1.0"
gulp-util "^3.0.6"
readable-stream "^2.1.4"
rollup "^0.42.0"
rollup "^0.45.1"
rollup-plugin-hypothetical "^1.1.0"

[email protected]:
Expand All @@ -2002,9 +2002,9 @@ [email protected]:
through2 "^2.0.0"
vinyl "^1.0.0"

gulp-typescript@^3.1.6:
version "3.1.7"
resolved "https://registry.yarnpkg.com/gulp-typescript/-/gulp-typescript-3.1.7.tgz#d88600a914153f11c09c9a5ca8c2561ec75a4978"
gulp-typescript@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/gulp-typescript/-/gulp-typescript-3.2.1.tgz#52cd77e9c6844e3b9a8bddd88e884ceb46a5db79"
dependencies:
gulp-util "~3.0.7"
source-map "~0.5.3"
Expand Down Expand Up @@ -2625,12 +2625,6 @@ jasmine-core@^2.6.4, jasmine-core@~2.6.0:
version "2.6.4"
resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.6.4.tgz#dec926cd0a9fa287fb6db5c755fa487e74cecac5"

jasmine-spec-reporter@~4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/jasmine-spec-reporter/-/jasmine-spec-reporter-4.1.1.tgz#5a6d58ab5d61bea7309fbc279239511756b1b588"
dependencies:
colors "1.1.2"

jasmine@^2.5.3:
version "2.6.0"
resolved "https://registry.yarnpkg.com/jasmine/-/jasmine-2.6.0.tgz#6b22e70883e8e589d456346153b4d206ddbe217f"
Expand Down Expand Up @@ -2719,9 +2713,9 @@ jsprim@^1.2.2:
json-schema "0.2.3"
verror "1.3.6"

karma-chrome-launcher@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-2.0.0.tgz#c2790c5a32b15577d0fff5a4d5a2703b3b439c25"
karma-chrome-launcher@~2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-2.2.0.tgz#cf1b9d07136cc18fe239327d24654c3dbc368acf"
dependencies:
fs-access "^1.0.0"
which "^1.2.1"
Expand Down Expand Up @@ -4071,15 +4065,9 @@ rollup-plugin-hypothetical@^1.1.0:
version "1.2.1"
resolved "https://registry.yarnpkg.com/rollup-plugin-hypothetical/-/rollup-plugin-hypothetical-1.2.1.tgz#f427077b7bab592cc298197ab9aaac4fe4efa055"

rollup@^0.41.6:
version "0.41.6"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.41.6.tgz#e0d05497877a398c104d816d2733a718a7a94e2a"
dependencies:
source-map-support "^0.4.0"

rollup@^0.42.0:
version "0.42.0"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.42.0.tgz#56e791b3a2f3dd7190bbb80a375675f2fe0f9b23"
rollup@^0.45.1, rollup@^0.45.2:
version "0.45.2"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.45.2.tgz#63a284c2b31234656f24e9e9717fabb6a7f0fa43"
dependencies:
source-map-support "^0.4.0"

Expand Down

0 comments on commit 8717982

Please sign in to comment.