Skip to content

Commit b0ca5d4

Browse files
committed
[Git Commit]: at 2018-09-29 22:42:46-05:00
1 parent 424676d commit b0ca5d4

File tree

7 files changed

+7436
-1476
lines changed

7 files changed

+7436
-1476
lines changed

.build/postinstall.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
const fs = require('fs');
7+
const path = require('path');
8+
const cp = require('child_process');
9+
const npm = process.platform === 'win32' ? 'npm.cmd' : 'npm';
10+
11+
function npmInstall(location) {
12+
const result = cp.spawnSync(npm, ['install'], {
13+
cwd: location,
14+
stdio: 'inherit'
15+
});
16+
17+
if (result.error || result.status !== 0) {
18+
process.exit(1);
19+
}
20+
}
21+
22+
23+
const cwd = process.cwd();
24+
for (const element of fs.readdirSync(cwd)) {
25+
const fullpath = path.join(cwd, element, 'package.json');
26+
if (fs.existsSync(fullpath)) {
27+
npmInstall(path.join(cwd, element));
28+
}
29+
}

.gitignore

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,85 @@
1717
npm-debug.log
1818
Thumbs.db
1919
*/node_modules/
20-
*/out/
20+
*/out/
21+
22+
# TypeScript https://github.com/Microsoft/TypeScript/blob/master/.gitignore
23+
node_modules/
24+
.node_modules/
25+
built/*
26+
tests/cases/rwc/*
27+
tests/cases/test262/*
28+
tests/cases/perf/*
29+
!tests/cases/webharness/compilerToString.js
30+
test-args.txt
31+
~*.docx
32+
\#*\#
33+
.\#*
34+
tests/baselines/local/*
35+
tests/baselines/local.old/*
36+
tests/services/baselines/local/*
37+
tests/baselines/prototyping/local/*
38+
tests/baselines/rwc/*
39+
tests/baselines/test262/*
40+
tests/baselines/reference/projectOutput/*
41+
tests/baselines/local/projectOutput/*
42+
tests/baselines/reference/testresults.tap
43+
tests/services/baselines/prototyping/local/*
44+
tests/services/browser/typescriptServices.js
45+
src/harness/*.js
46+
src/compiler/diagnosticInformationMap.generated.ts
47+
src/compiler/diagnosticMessages.generated.json
48+
src/parser/diagnosticInformationMap.generated.ts
49+
src/parser/diagnosticMessages.generated.json
50+
rwc-report.html
51+
*.swp
52+
build.json
53+
*.actual
54+
tests/webTestServer.js
55+
tests/webTestServer.js.map
56+
tests/webhost/*.d.ts
57+
tests/webhost/webtsc.js
58+
tests/cases/**/*.js
59+
tests/cases/**/*.js.map
60+
*.config
61+
scripts/debug.bat
62+
scripts/run.bat
63+
scripts/word2md.js
64+
scripts/buildProtocol.js
65+
scripts/ior.js
66+
scripts/authors.js
67+
scripts/configurePrerelease.js
68+
scripts/open-user-pr.js
69+
scripts/processDiagnosticMessages.d.ts
70+
scripts/processDiagnosticMessages.js
71+
scripts/produceLKG.js
72+
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js
73+
scripts/generateLocalizedDiagnosticMessages.js
74+
scripts/*.js.map
75+
scripts/typings/
76+
coverage/
77+
internal/
78+
**/.DS_Store
79+
.settings
80+
**/.vs
81+
**/.vscode
82+
!**/.vscode/tasks.json
83+
!tests/cases/projects/projectOption/**/node_modules
84+
!tests/cases/projects/NodeModulesSearch/**/*
85+
!tests/baselines/reference/project/nodeModules*/**/*
86+
.idea
87+
yarn.lock
88+
yarn-error.log
89+
.parallelperf.*
90+
tests/cases/user/*/package-lock.json
91+
tests/cases/user/*/node_modules/
92+
tests/cases/user/*/**/*.js
93+
tests/cases/user/*/**/*.js.map
94+
tests/cases/user/*/**/*.d.ts
95+
!tests/cases/user/zone.js/
96+
!tests/cases/user/bignumber.js/
97+
!tests/cases/user/discord.js/
98+
tests/baselines/reference/dt
99+
.failed-tests
100+
TEST-results.xml
101+
package-lock.json

0 commit comments

Comments
 (0)