File tree 7 files changed +34
-3
lines changed
7 files changed +34
-3
lines changed Original file line number Diff line number Diff line change
1
+ . *
2
+ *
3
+ ! index.js
Original file line number Diff line number Diff line change
1
+ package-lock = false
Original file line number Diff line number Diff line change
1
+ # oooooo <a href =" https://www.npmjs.com/package/@(._.)/oooooo " ><img src =" https://img.shields.io/npm/v/@(._.)/oooooo.svg " ></a > [ ![ ] ( https://img.shields.io/badge/source--000000.svg?logo=github&style=social )] ( https://github.com/omrilotan/mono/tree/master/packages/oooooo )
2
+
3
+ An empty package meant for testing purposes
Original file line number Diff line number Diff line change
1
+ module . exports = null ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " @(._.)/oooooo" ,
3
+ "version" : " 3.3.3" ,
4
+ "description" : " An empty package meant for testing purposes" ,
5
+ "author" : " omrilotan" ,
6
+ "license" : " MIT" ,
7
+ "repository" : {
8
+ "type" : " git" ,
9
+ "url" : " git+https://github.com/omrilotan/mono.git"
10
+ },
11
+ "homepage" : " https://omrilotan.com/mono/oooooo/" ,
12
+ "main" : " index.js" ,
13
+ "scripts" : {
14
+ "test" : " cd ../../; npm t oooooo; cd -"
15
+ },
16
+ "private" : true
17
+ }
Original file line number Diff line number Diff line change
1
+ const oooooo = require ( './' ) ;
2
+
3
+ describe ( 'oooooo' , ( ) => {
4
+ it ( 'Should be null' , ( ) => expect ( oooooo ) . to . be . null ) ;
5
+ } ) ;
Original file line number Diff line number Diff line change @@ -11,16 +11,17 @@ const phrase = require('../packages/paraphrase/double');
11
11
( await fs . readdir ( 'packages' ) )
12
12
. forEach (
13
13
item => {
14
- if ( item . startsWith ( '.' ) ) { return }
14
+ if ( item . startsWith ( '.' ) ) { return ; }
15
15
16
+ const pkg = require ( `../packages/${ item } /package.json` ) ;
16
17
const {
17
18
name,
18
19
description,
19
20
version,
20
21
browser,
21
- } = require ( `../packages/ ${ item } /package.json` ) ;
22
+ } = pkg ;
22
23
23
- if ( version . includes ( 'alpha' ) || version . includes ( 'beta' ) ) {
24
+ if ( pkg . private || version . includes ( 'alpha' ) || version . includes ( 'beta' ) ) {
24
25
return ;
25
26
}
26
27
You can’t perform that action at this time.
0 commit comments