Skip to content

Commit 3b077c0

Browse files
devversionAndrewKushnir
authored andcommitted
build: update dev-infra package to latest version with full ESM (angular#46437)
Updates `angular/dev-infra` to the latest version which is now full ESM. PR Close angular#46437
1 parent 0e3c2b2 commit 3b077c0

File tree

5 files changed

+112
-101
lines changed

5 files changed

+112
-101
lines changed

aio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
"stemmer": "^2.0.0",
176176
"timezone-mock": "^1.1.3",
177177
"tree-kill": "^1.1.0",
178-
"ts-node": "^10.8.0",
178+
"ts-node": "^10.8.1",
179179
"tsec": "^0.2.2",
180180
"tslint": "~6.1.3",
181181
"typescript": "~4.7.2",

aio/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12232,10 +12232,10 @@ trough@^1.0.0:
1223212232
resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406"
1223312233
integrity sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==
1223412234

12235-
ts-node@^10.8.0:
12236-
version "10.8.0"
12237-
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.8.0.tgz#3ceb5ac3e67ae8025c1950626aafbdecb55d82ce"
12238-
integrity sha512-/fNd5Qh+zTt8Vt1KbYZjRHCE9sI5i7nqfD/dzBBRDeVXZXS6kToW6R7tTU6Nd4XavFs0mAVCg29Q//ML7WsZYA==
12235+
ts-node@^10.8.1:
12236+
version "10.8.1"
12237+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.8.1.tgz#ea2bd3459011b52699d7e88daa55a45a1af4f066"
12238+
integrity sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g==
1223912239
dependencies:
1224012240
"@cspotcode/source-map-support" "^0.8.0"
1224112241
"@tsconfig/node10" "^1.0.7"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
},
179179
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
180180
"devDependencies": {
181-
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#fb0ce9d4c7f9a15e0351dc30f771993d757dc870",
181+
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#f2ca0a57e8ede868dc51c3b80a0d3ca56d5fdf65",
182182
"@bazel/bazelisk": "^1.7.5",
183183
"@bazel/buildifier": "^5.0.0",
184184
"@bazel/ibazel": "^0.16.0",
@@ -208,7 +208,7 @@
208208
"sauce-connect": "https://saucelabs.com/downloads/sc-4.7.1-linux.tar.gz",
209209
"semver": "^7.3.5",
210210
"send": "^0.18.0",
211-
"ts-node": "^10.0.0",
211+
"ts-node": "^10.8.1",
212212
"tsec": "0.2.2",
213213
"tslint-eslint-rules": "5.4.0",
214214
"tslint-no-toplevel-property-access": "0.0.2",

tools/postinstall-patches.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -177,21 +177,4 @@ rm('-rf', [
177177
'node_modules/rxjs/Subscription.*',
178178
]);
179179

180-
181-
log('\n# patch: dev-infra snapshotting');
182-
// more info in https://github.com/angular/dev-infra/pull/449
183-
['node_modules/@angular/dev-infra-private/ng-dev/bundles/cli.js',
184-
'node_modules/@angular/dev-infra-private/ng-dev/bundles/cli.js.map',
185-
].forEach(filePath => {
186-
const contents = readFileSync(filePath, 'utf8');
187-
const newContents = contents.replace('*[0-9]*.[0-9]*.[0-9]*', '?[0-9]*.[0-9]*.[0-9]*');
188-
if (contents !== newContents) {
189-
writeFileSync(filePath, newContents, 'utf8');
190-
log(`Release tag matcher for snapshots replaced in ${filePath}`);
191-
} else {
192-
log(`Release tag matcher for snapshots were already replaced in ${filePath}`);
193-
}
194-
});
195-
196-
197180
log('===== finished running the postinstall-patches.js script =====');

0 commit comments

Comments
 (0)