@pushwoosh/frontend-builder-engine 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/pushwoosh-engine.js +5 -1
- package/package.json +1 -1
package/lib/pushwoosh-engine.js
CHANGED
|
@@ -31,6 +31,9 @@ const bin = (name, command = name) => {
|
|
|
31
31
|
|
|
32
32
|
const engineFile = (file) => path.join(__dirname, file);
|
|
33
33
|
|
|
34
|
+
// lib:check-types still sees these; only the published build leaves them out.
|
|
35
|
+
const LIB_TEST_FILES = ['./src/**/__tests__/**', './src/**/*.test.*', './src/**/*.spec.*'];
|
|
36
|
+
|
|
34
37
|
program
|
|
35
38
|
.version('1.0.0')
|
|
36
39
|
.description('Build lib')
|
|
@@ -43,7 +46,8 @@ program
|
|
|
43
46
|
const tsConfig = loadTsConfig({
|
|
44
47
|
compilerOptions: {
|
|
45
48
|
outDir: targetDir,
|
|
46
|
-
}
|
|
49
|
+
},
|
|
50
|
+
exclude: LIB_TEST_FILES,
|
|
47
51
|
});
|
|
48
52
|
await buildTs(curDir, tsConfig);
|
|
49
53
|
await buildStyledComponents(targetDir, targetDir);
|