Skip to content

Ignore .bob when publishing#975

Merged
nomiddlename merged 1 commit intolog4js-node:masterfrom
cesine:patch-1
Jan 29, 2020
Merged

Ignore .bob when publishing#975
nomiddlename merged 1 commit intolog4js-node:masterfrom
cesine:patch-1

Conversation

@cesine
Copy link
Contributor

@cesine cesine commented Dec 3, 2019

We noticed that .bob was in our production container

du -k node_modules/* | awk '$1 > 2000' | sort -nr 
2648	node_modules/log4js/.bob
2632	node_modules/log4js/.bob/complexity
2624	node_modules/log4js/.bob/complexity/plato

Since .bob is in the .gitignore and only referenced in the tests

t.equal(rehydratedEvent.context.user, "bob");
we figured you might want to add it to the .npmignore

We noticed that .bob was in our production container 

```
du -k node_modules/* | awk '$1 > 2000' | sort -nr 
2648	node_modules/log4js/.bob
2632	node_modules/log4js/.bob/complexity
2624	node_modules/log4js/.bob/complexity/plato
```

Since .bob is in the .gitignore and only referenced in the tests https://github.com/log4js-node/log4js-node/blob/5545f2a932e012177e553bfda90d8b3fba80b332/test/tap/LoggingEvent-test.js#L19 we figured you might want to add it to the .npmignore
@codecov
Copy link

codecov bot commented Dec 3, 2019

Codecov Report

Merging #975 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #975   +/-   ##
=======================================
  Coverage   98.61%   98.61%           
=======================================
  Files          25       25           
  Lines        1012     1012           
=======================================
  Hits          998      998           
  Misses         14       14

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f420386...e60d908. Read the comment docs.

@nomiddlename nomiddlename merged commit 7366f5b into log4js-node:master Jan 29, 2020
@nomiddlename
Copy link
Collaborator

Wow. Thanks for picking that up - bob was a build tool we used back in the early days of this project (maybe 8 years ago).

@nomiddlename nomiddlename added this to the 6.1.1 milestone Jan 29, 2020
@nomiddlename
Copy link
Collaborator

Published to npm in log4js@6.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants