Skip to content

Commit 33eea1c

Browse files
nskandranisebholstein
authored andcommitted
build(*): fix build on windows machine
Closes sebholstein#1191
1 parent c7e3462 commit 33eea1c

2 files changed

Lines changed: 20 additions & 50 deletions

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"bundle:umd:snazzy": "rollup -c rollup.snazzy-info-window.config.js",
3232
"ngc:esm": "ngc -p tsconfig.json",
3333
"clang:format": "clang-format --glob=packages/**/*.ts -i",
34-
"postngc:esm": "mkdir -p dist/ && cp -R .tmp/esm/* dist/ && rimraf packages/**/*.ngfactory.ts",
34+
"postngc:esm": "mkdirp dist/ && ncp .tmp/esm dist/ && rimraf packages/**/*.ngfactory.ts",
3535
"test": "karma start",
3636
"test:watch": "karma start --no-single-run --auto-watch",
3737
"ci": "npm run build && npm run test",
@@ -85,6 +85,8 @@
8585
"karma-remap-istanbul": "^0.5.0",
8686
"karma-sourcemap-loader": "^0.3.7",
8787
"karma-webpack": "^1.8.0",
88+
"mkdirp": "^0.5.1",
89+
"ncp": "^2.0.0",
8890
"reflect-metadata": "^0.1.8",
8991
"remap-istanbul": "^0.9.1",
9092
"rimraf": "2.6.1",

yarn.lock

Lines changed: 17 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -706,22 +706,7 @@ cheerio@^1.0.0-rc.2:
706706
lodash "^4.15.0"
707707
parse5 "^3.0.1"
708708

709-
chokidar@^1.4.1, chokidar@^1.4.3:
710-
version "1.6.1"
711-
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.6.1.tgz#2f4447ab5e96e50fb3d789fd90d4c72e0e4c70c2"
712-
dependencies:
713-
anymatch "^1.3.0"
714-
async-each "^1.0.0"
715-
glob-parent "^2.0.0"
716-
inherits "^2.0.1"
717-
is-binary-path "^1.0.0"
718-
is-glob "^2.0.0"
719-
path-is-absolute "^1.0.0"
720-
readdirp "^2.0.0"
721-
optionalDependencies:
722-
fsevents "^1.0.0"
723-
724-
chokidar@^1.7.0:
709+
chokidar@^1.4.1, chokidar@^1.4.3, chokidar@^1.7.0:
725710
version "1.7.0"
726711
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468"
727712
dependencies:
@@ -1227,13 +1212,13 @@ debug@2.3.3:
12271212
dependencies:
12281213
ms "0.7.2"
12291214

1230-
debug@2.6.1, debug@^2.2.0:
1215+
debug@2.6.1:
12311216
version "2.6.1"
12321217
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.1.tgz#79855090ba2c4e3115cc7d8769491d58f0491351"
12331218
dependencies:
12341219
ms "0.7.2"
12351220

1236-
debug@2.6.8:
1221+
debug@2.6.8, debug@^2.2.0:
12371222
version "2.6.8"
12381223
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
12391224
dependencies:
@@ -1931,18 +1916,7 @@ glob@^6.0.4:
19311916
once "^1.3.0"
19321917
path-is-absolute "^1.0.0"
19331918

1934-
glob@^7.0.0, glob@^7.0.5, glob@^7.1.1:
1935-
version "7.1.1"
1936-
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
1937-
dependencies:
1938-
fs.realpath "^1.0.0"
1939-
inflight "^1.0.4"
1940-
inherits "2"
1941-
minimatch "^3.0.2"
1942-
once "^1.3.0"
1943-
path-is-absolute "^1.0.0"
1944-
1945-
glob@^7.1.2:
1919+
glob@^7.0.0, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2:
19461920
version "7.1.2"
19471921
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
19481922
dependencies:
@@ -2039,17 +2013,7 @@ gulplog@^1.0.0:
20392013
dependencies:
20402014
glogg "^1.0.0"
20412015

2042-
handlebars@^4.0.1, handlebars@^4.0.2:
2043-
version "4.0.6"
2044-
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.6.tgz#2ce4484850537f9c97a8026d5399b935c4ed4ed7"
2045-
dependencies:
2046-
async "^1.4.0"
2047-
optimist "^0.6.1"
2048-
source-map "^0.4.4"
2049-
optionalDependencies:
2050-
uglify-js "^2.6"
2051-
2052-
handlebars@^4.0.10:
2016+
handlebars@^4.0.1, handlebars@^4.0.10, handlebars@^4.0.2:
20532017
version "4.0.10"
20542018
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f"
20552019
dependencies:
@@ -3026,23 +2990,23 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
30262990
version "1.0.1"
30272991
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
30282992

3029-
"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3:
3030-
version "3.0.3"
3031-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
2993+
"minimatch@2 || 3", minimatch@^3.0.2, minimatch@^3.0.4:
2994+
version "3.0.4"
2995+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
30322996
dependencies:
3033-
brace-expansion "^1.0.0"
2997+
brace-expansion "^1.1.7"
30342998

30352999
minimatch@2.x:
30363000
version "2.0.10"
30373001
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-2.0.10.tgz#8d087c39c6b38c001b97fca7ce6d0e1e80afbac7"
30383002
dependencies:
30393003
brace-expansion "^1.0.0"
30403004

3041-
minimatch@^3.0.4:
3042-
version "3.0.4"
3043-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
3005+
minimatch@^3.0.0, minimatch@^3.0.3:
3006+
version "3.0.3"
3007+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
30443008
dependencies:
3045-
brace-expansion "^1.1.7"
3009+
brace-expansion "^1.0.0"
30463010

30473011
minimist@0.0.8, minimist@~0.0.1:
30483012
version "0.0.8"
@@ -3100,6 +3064,10 @@ ncname@1.0.x:
31003064
dependencies:
31013065
xml-char-classes "^1.0.0"
31023066

3067+
ncp@^2.0.0:
3068+
version "2.0.0"
3069+
resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3"
3070+
31033071
negotiator@0.6.1:
31043072
version "0.6.1"
31053073
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"

0 commit comments

Comments
 (0)