Skip to content

Commit dea45b6

Browse files
authored
Merge pull request microsoft#683 from Microsoft/ianc/webpack4-plugins
[webpack plugins] Update plugins to support the new webpack 4 APIs.
2 parents c457650 + 1a3c83a commit dea45b6

28 files changed

Lines changed: 395 additions & 187 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/gulp-core-build-webpack",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/gulp-core-build-webpack",
10+
"email": "iclanton@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/loader-load-themed-styles",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/loader-load-themed-styles",
10+
"email": "iclanton@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/loader-raw-script",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/loader-raw-script",
10+
"email": "iclanton@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/loader-set-webpack-public-path",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/loader-set-webpack-public-path",
10+
"email": "iclanton@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/resolve-chunk-plugin",
5+
"comment": "Update the plugin to support Webpack 4.",
6+
"type": "major"
7+
}
8+
],
9+
"packageName": "@microsoft/resolve-chunk-plugin",
10+
"email": "iclanton@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/set-webpack-public-path-plugin",
5+
"comment": "Update the plugin to support Webpack 4.",
6+
"type": "major"
7+
}
8+
],
9+
"packageName": "@microsoft/set-webpack-public-path-plugin",
10+
"email": "iclanton@users.noreply.github.com"
11+
}

common/config/rush/common-versions.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"ajv": "5.2.2"
44
},
55
"allowedAlternativeVersions": {
6-
"jest-environment-jsdom": ["~21.2.1"]
6+
"jest-environment-jsdom": [
7+
"~21.2.1"
8+
],
9+
"@types/webpack": [
10+
"4.4.0"
11+
]
712
}
8-
}
13+
}

common/config/rush/shrinkwrap.yaml

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,11 @@ dependencies:
6767
'@types/serve-static': 1.13.1
6868
'@types/sinon': 1.16.34
6969
'@types/source-map': 0.5.0
70-
'@types/tapable': 0.2.4
70+
'@types/tapable': 1.0.2
7171
'@types/tar': 4.0.0
7272
'@types/through2': 2.0.32
7373
'@types/uglify-js': 2.6.29
7474
'@types/vinyl': 1.2.30
75-
'@types/webpack': 3.8.11
7675
'@types/webpack-env': 1.13.0
7776
'@types/yargs': 0.0.34
7877
'@types/z-schema': 3.16.31
@@ -522,7 +521,7 @@ packages:
522521
/@types/loader-utils/1.1.3:
523522
dependencies:
524523
'@types/node': 8.5.8
525-
'@types/webpack': 3.8.11
524+
'@types/webpack': 4.4.0
526525
dev: false
527526
resolution:
528527
integrity: sha512-euKGFr2oCB3ASBwG39CYJMR3N9T0nanVqXdiH7Zu/Nqddt6SmFRxytq/i2w9LQYNQekEtGBz+pE3qG6fQTNvRg==
@@ -615,10 +614,14 @@ packages:
615614
dev: false
616615
resolution:
617616
integrity: sha1-3TS72OMv5OdPLj2KwH+KpbRaR6w=
618-
/@types/tapable/0.2.4:
617+
/@types/tapable/0.2.5:
618+
dev: false
619+
resolution:
620+
integrity: sha512-dEoVvo/I9QFomyhY+4Q6Qk+I+dhG59TYceZgC6Q0mCifVPErx6Y83PNTKGDS5e9h9Eti6q0S2mm16BU6iQK+3w==
621+
/@types/tapable/1.0.2:
619622
dev: false
620623
resolution:
621-
integrity: sha512-pclMAvhPnXJcJu1ZZ8bQthuUcdDWzDuxDdbSf6l1U6s4fP6EBiZpPsOZYqFOrbqDV97sXGFSsb6AUpiLfv4xIA==
624+
integrity: sha512-42zEJkBpNfMEAvWR5WlwtTH22oDzcMjFsL9gDGExwF8X8WvAiw7Vwop7hPw03QT8TKfec83LwbHj6SvpqM4ELQ==
622625
/@types/tar/4.0.0:
623626
dependencies:
624627
'@types/node': 8.5.8
@@ -650,12 +653,21 @@ packages:
650653
/@types/webpack/3.8.11:
651654
dependencies:
652655
'@types/node': 8.5.8
653-
'@types/tapable': 0.2.4
656+
'@types/tapable': 0.2.5
654657
'@types/uglify-js': 2.6.29
655658
source-map: 0.6.1
656659
dev: false
657660
resolution:
658661
integrity: sha512-6a+XQjFMAJekCE7IxkDavoX8cGCEmTE+MrKeUK4CL0Q7SL9w4c5TdrYrUEzcJx3GX3I0fTIC79x0C07Pi5VmlA==
662+
/@types/webpack/4.4.0:
663+
dependencies:
664+
'@types/node': 8.5.8
665+
'@types/tapable': 1.0.2
666+
'@types/uglify-js': 2.6.29
667+
source-map: 0.6.1
668+
dev: false
669+
resolution:
670+
integrity: sha512-G7TXt4IRP7NTQO8R8QyDN7YwkQzlxjiKhA+z7W5FvkGbK7kIdOUtW2e7AE2w33Q10uphyG+vr8pfRy7wBWLmsA==
659671
/@types/yargs/0.0.34:
660672
dev: false
661673
resolution:
@@ -10188,7 +10200,6 @@ packages:
1018810200
'@types/orchestrator': 0.0.30
1018910201
'@types/q': 0.0.32
1019010202
'@types/source-map': 0.5.0
10191-
'@types/tapable': 0.2.4
1019210203
'@types/uglify-js': 2.6.29
1019310204
'@types/webpack': 3.8.11
1019410205
colors: 1.2.5
@@ -10198,7 +10209,7 @@ packages:
1019810209
dev: false
1019910210
name: '@rush-temp/gulp-core-build-webpack'
1020010211
resolution:
10201-
integrity: sha512-wrJo5sTNsJW+2U7nZ08YXok9dYn1c89QtVNuckgGSGul9P6ttBA7ZGOHDM0ONqO7HUTxdPlnDM/ZjH6WjUw7wA==
10212+
integrity: sha512-/rO8tpjYHpkP3hNBUgKa6lG/6eADrlrsqadXPwqZ3fW8OSF03Tdg1WBHAHS+doojAfXUZFowHu9CYUHy0gPXFA==
1020210213
tarball: 'file:projects/gulp-core-build-webpack.tgz'
1020310214
version: 0.0.0
1020410215
'file:projects/gulp-core-build.tgz':
@@ -10271,15 +10282,14 @@ packages:
1027110282
'@types/loader-utils': 1.1.3
1027210283
'@types/mocha': 2.2.38
1027310284
'@types/node': 8.5.8
10274-
'@types/tapable': 0.2.4
10275-
'@types/webpack': 3.8.11
10285+
'@types/webpack': 4.4.0
1027610286
chai: 3.5.0
1027710287
gulp: 3.9.1
1027810288
loader-utils: 1.1.0
1027910289
dev: false
1028010290
name: '@rush-temp/loader-load-themed-styles'
1028110291
resolution:
10282-
integrity: sha512-HfSqnohCbHEIA47Qdc7PosbWj+xL5pazt6fiUNEK7Ah6WKE+KI/rPxFtwd6CClfvQnmMZH0jWwPdXs8ZbTKSlg==
10292+
integrity: sha512-wYU/mKRiF+m2tXgI2SoX3So0xLzQ/1fzNl/pnMYbjEeiM/xh3PTlHzBY/FpAmB2C4u7KpReQD/4iSWDv6+WihQ==
1028310293
tarball: 'file:projects/loader-load-themed-styles.tgz'
1028410294
version: 0.0.0
1028510295
'file:projects/loader-raw-script.tgz':
@@ -10359,15 +10369,14 @@ packages:
1035910369
'file:projects/resolve-chunk-plugin.tgz':
1036010370
dependencies:
1036110371
'@types/mocha': 2.2.38
10362-
'@types/tapable': 0.2.4
10363-
'@types/webpack': 3.8.11
10372+
'@types/webpack': 4.4.0
1036410373
chai: 3.5.0
1036510374
gulp: 3.9.1
1036610375
mocha: 3.4.2
1036710376
dev: false
1036810377
name: '@rush-temp/resolve-chunk-plugin'
1036910378
resolution:
10370-
integrity: sha512-V/wo3hdYQtf4EEKOaWRJfMvT1vivGuFUjLAcqHETV2Vk7e+mcqo9ZRV0HvG+/+hP2bHbPNJZB77INL3DQ6U4Pw==
10379+
integrity: sha512-jNM0fnFsRmx4mYTD+BdZxe316UCtTZ0m3QTiuMMmvJP5wP9Pp1GNG8If+e/FcdNxFdnDldIUnlEvdReGwUXmFw==
1037110380
tarball: 'file:projects/resolve-chunk-plugin.tgz'
1037210381
version: 0.0.0
1037310382
'file:projects/rush-lib.tgz':
@@ -10470,9 +10479,9 @@ packages:
1047010479
'@types/lodash': 4.14.74
1047110480
'@types/mocha': 2.2.38
1047210481
'@types/node': 8.5.8
10473-
'@types/tapable': 0.2.4
10482+
'@types/tapable': 1.0.2
1047410483
'@types/uglify-js': 2.6.29
10475-
'@types/webpack': 3.8.11
10484+
'@types/webpack': 4.4.0
1047610485
chai: 3.5.0
1047710486
gulp: 3.9.1
1047810487
lodash: 4.15.0
@@ -10481,7 +10490,7 @@ packages:
1048110490
dev: false
1048210491
name: '@rush-temp/set-webpack-public-path-plugin'
1048310492
resolution:
10484-
integrity: sha512-NBGkwa+Ff9tX3n5QbFB/0SBpocOU8Sx+1IofnlYuJvGfv9z+cOoBvOL78ZUMIPSDHs2SuQezayVm7fyxf/NkjQ==
10493+
integrity: sha512-FW2ios7f80Ths2NhTQqdcO4y6pjGlj/mWy5ThAaM8gMeE7psFhM7mQvErQBKhmqFgWPRQaaBiCEV488u7xdoOQ==
1048510494
tarball: 'file:projects/set-webpack-public-path-plugin.tgz'
1048610495
version: 0.0.0
1048710496
'file:projects/stream-collator.tgz':
@@ -10611,12 +10620,11 @@ specifiers:
1061110620
'@types/serve-static': 1.13.1
1061210621
'@types/sinon': 1.16.34
1061310622
'@types/source-map': 0.5.0
10614-
'@types/tapable': 0.2.4
10623+
'@types/tapable': 1.0.2
1061510624
'@types/tar': 4.0.0
1061610625
'@types/through2': 2.0.32
1061710626
'@types/uglify-js': 2.6.29
1061810627
'@types/vinyl': 1.2.30
10619-
'@types/webpack': 3.8.11
1062010628
'@types/webpack-env': 1.13.0
1062110629
'@types/yargs': 0.0.34
1062210630
'@types/z-schema': 3.16.31

core-build/gulp-core-build-webpack/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"@types/orchestrator": "0.0.30",
2727
"@types/q": "0.0.32",
2828
"@types/source-map": "0.5.0",
29-
"@types/tapable": "0.2.4",
3029
"@types/uglify-js": "2.6.29",
3130
"@types/webpack": "3.8.11"
3231
}

webpack/loader-load-themed-styles/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"@types/mocha": "2.2.38",
1818
"@types/node": "8.5.8",
1919
"@types/loader-utils": "1.1.3",
20-
"@types/tapable": "0.2.4",
21-
"@types/webpack": "3.8.11",
20+
"@types/webpack": "4.4.0",
2221
"chai": "~3.5.0",
2322
"gulp": "~3.9.1",
2423
"@microsoft/node-library-build": "4.3.41"

0 commit comments

Comments
 (0)