@outputai/core 0.8.1 → 0.8.2-next.42a0ddf.0
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/package.json
CHANGED
|
@@ -252,7 +252,7 @@ export const hashSourceCode = async rootDir => {
|
|
|
252
252
|
try {
|
|
253
253
|
const { hash } = await hashElement( rootDir, {
|
|
254
254
|
folders: {
|
|
255
|
-
exclude: [ '.*', 'node_modules', 'test_coverage', 'vendor', 'test', 'logs', '
|
|
255
|
+
exclude: [ '.*', 'node_modules', 'test_coverage', 'vendor', 'test', 'logs', 'temp' ],
|
|
256
256
|
ignoreRootName: true
|
|
257
257
|
},
|
|
258
258
|
files: {
|
|
@@ -574,7 +574,7 @@ describe( 'hashSourceCode', () => {
|
|
|
574
574
|
|
|
575
575
|
// The cruft tree is identical source plus large excluded artifacts that
|
|
576
576
|
// boot must not walk: local trace dumps under logs/ and build output under dist/.
|
|
577
|
-
for ( const excluded of [ 'logs', 'logs/runs', '
|
|
577
|
+
for ( const excluded of [ 'logs', 'logs/runs', 'node_modules' ] ) {
|
|
578
578
|
const dir = join( withCruft, excluded );
|
|
579
579
|
mkdirSync( dir, { recursive: true } );
|
|
580
580
|
writeFileSync( join( dir, 'dump.json' ), JSON.stringify( { blob: 'x'.repeat( 50_000 ) } ) );
|