Skip to content

Commit d079ac0

Browse files
authored
fix: allow reflection/src to be in published content (#1135)
Closes #1133
1 parent 3a7d7b6 commit d079ac0

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ examples
44

55
# sources are inlined
66
src
7+
!build/ngtsc/reflection/src
78

89
# Development scripts
910
scripts

scripts/test-examples.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ const execa = require('execa');
66
const logger = require('./logger');
77
const { exampleAppsToRun, rootDir } = require('./paths');
88

9-
const jestArgs = process.argv.slice(3);
10-
119
const executeTest = (projectPath) => {
1210
// we change current directory
1311
process.chdir(projectPath);
@@ -38,14 +36,8 @@ const executeTest = (projectPath) => {
3836
});
3937

4038
// then we can run the tests
41-
const cmdLine = ['yarn', 'test'];
42-
const cmdESMLine = ['yarn', 'test-esm'];
43-
if (jestArgs.length) {
44-
cmdLine.push('--');
45-
cmdESMLine.push('--');
46-
cmdLine.push(...jestArgs);
47-
cmdESMLine.push(...jestArgs);
48-
}
39+
const cmdLine = ['yarn', 'test', '--no-cache'];
40+
const cmdESMLine = ['yarn', 'test-esm', '--no-cache'];
4941

5042
logger.log('starting the CommonJS tests using:', ...cmdLine);
5143
logger.log();

0 commit comments

Comments
 (0)