Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omega Organism #9

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Omega Organism #9

wants to merge 3 commits into from

Conversation

brekk
Copy link
Owner

@brekk brekk commented Jan 3, 2024

Let's improve superorganism!

  • - Let's eschew usage of nps
  • - It should be compatible with package-scripts.cjs / CommonJS files.
  • - It should support some means of templating / reusable config across multiple workspaces
  • - Perhaps a stretch goal: It should support eschewing our current hackjob of sync:scripts

@brekk brekk linked an issue Jan 3, 2024 that may be closed by this pull request
@brekk brekk added ✨ enhancement New feature or request 🛠️ workspace:tools This is related to Tools labels Jan 3, 2024
Copy link

github-actions bot commented Feb 6, 2024

🦠 Monoculture

Coverage summary

Legend: (Statements / Branches / Functions / Lines)

Report
------------------------------|---------|----------|---------|---------|----------------------------
File                          | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s          
------------------------------|---------|----------|---------|---------|----------------------------
All files                     |   71.32 |    85.79 |   66.81 |   71.32 |                            
 packages/bloodline           |    85.3 |    81.81 |   63.15 |    85.3 |                            
  api.js                      |   90.71 |      100 |       0 |   90.71 | 10-22                      
  constants.js                |     100 |      100 |     100 |     100 |                            
  cyclic.js                   |    40.9 |      100 |       0 |    40.9 | 5-6,11-21                  
  executables.js              |     100 |       75 |     100 |     100 | 40                         
  failure.js                  |     100 |      100 |       0 |     100 |                            
  log.js                      |     100 |      100 |     100 |     100 |                            
  tree.js                     |    98.3 |       92 |     100 |    98.3 | 60-61,84-85                
  visualization.js            |   57.32 |       25 |      25 |   57.32 | 27-31,35-37,43-94,150-156  
 packages/climate             |   97.98 |    98.24 |     100 |   97.98 |                            
  builder.js                  |   96.87 |    96.77 |     100 |   96.87 | 128-133                    
  climate.js                  |     100 |      100 |     100 |     100 |                            
  help.js                     |     100 |      100 |     100 |     100 |                            
  log.js                      |     100 |      100 |     100 |     100 |                            
  parser.js                   |     100 |      100 |     100 |     100 |                            
 packages/climate-json        |     100 |      100 |     100 |     100 |                            
  climate-json.js             |     100 |      100 |     100 |     100 |                            
 packages/climate-toml        |     100 |      100 |     100 |     100 |                            
  climate-toml.js             |     100 |      100 |     100 |     100 |                            
 packages/climate-yaml        |     100 |      100 |     100 |     100 |                            
  climate-yaml.js             |     100 |      100 |     100 |     100 |                            
 packages/clox                |   82.84 |     80.2 |   85.36 |   82.84 |                            
  clox.js                     |   82.84 |     80.2 |   85.36 |   82.84 | ...440,469,490-491,493-494 
 packages/doctor-general      |   65.72 |    91.11 |   39.13 |   65.72 |                            
  comment.js                  |   59.94 |    85.71 |   36.36 |   59.94 | ...307-336,340-347,351-352 
  constants.js                |     100 |      100 |     100 |     100 |                            
  doctor-general.js           |     100 |      100 |     100 |     100 |                            
  drgen.js                    |   28.76 |      100 |       0 |   28.76 | 22-73                      
  file.js                     |     100 |      100 |     100 |     100 |                            
  log.js                      |     100 |      100 |     100 |     100 |                            
  parse.js                    |   99.08 |      100 |     100 |   99.08 | 99                         
  reader.js                   |   25.75 |      100 |       0 |   25.75 | 9-22,27-38,43-65           
  stats.js                    |      60 |      100 |       0 |      60 | 15-16,18-25                
  text.js                     |   91.54 |      100 |      50 |   91.54 | 64-69                      
  writer.js                   |   35.71 |      100 |       0 |   35.71 | 6-14                       
 packages/doctor-general-jest |   68.22 |      100 |       0 |   68.22 |                            
  index.js                    |      60 |      100 |       0 |      60 | 11-18                      
  log.js                      |     100 |      100 |     100 |     100 |                            
  renderer-jest.js            |   66.66 |      100 |       0 |   66.66 | 36-50,56-66                
 packages/doctor-general-mdx  |   45.09 |        0 |       0 |   45.09 |                            
  comment-documentation.js    |   40.59 |      100 |       0 |   40.59 | ...40-44,47-51,58-69,71-99 
  index.js                    |   73.33 |      100 |       0 |   73.33 | 14-18,22,25,28             
  log.js                      |       0 |        0 |       0 |       0 | 1-10                       
  next-meta-files.js          |   37.87 |      100 |       0 |   37.87 | 25-65                      
  renderer-markdown.js        |   48.66 |      100 |       0 |   48.66 | ...79,84-95,99-123,127-149 
 packages/file-system         |   89.15 |    75.55 |      56 |   89.15 |                            
  dig-up.js                   |       0 |        0 |       0 |       0 | 1-17                       
  file-system.js              |       0 |        0 |       0 |       0 | 1-4                        
  fs.js                       |   97.04 |    84.37 |   66.66 |   97.04 | ...514-520,529-533,536-537 
  future.js                   |       0 |        0 |       0 |       0 | 1-18                       
  interpret.js                |      70 |    66.66 |      60 |      70 | 3,8,11,28-36               
  log.js                      |       0 |        0 |       0 |       0 | 1-2                        
  path.js                     |     100 |      100 |     100 |     100 |                            
  test-helpers.js             |     100 |      100 |     100 |     100 |                            
 packages/inherent            |     100 |      100 |     100 |     100 |                            
  inherent.js                 |     100 |      100 |     100 |     100 |                            
 packages/kiddo               |     100 |      100 |     100 |     100 |                            
  kiddo.js                    |     100 |      100 |     100 |     100 |                            
 packages/knot                |     100 |      100 |     100 |     100 |                            
  constants.js                |     100 |      100 |     100 |     100 |                            
  knot.js                     |     100 |      100 |     100 |     100 |                            
 packages/monocle             |     100 |      100 |     100 |     100 |                            
  config.js                   |     100 |      100 |     100 |     100 |                            
  hash.js                     |     100 |      100 |     100 |     100 |                            
  index.js                    |     100 |      100 |     100 |     100 |                            
  log.js                      |     100 |      100 |     100 |     100 |                            
  reader.js                   |     100 |      100 |     100 |     100 |                            
 packages/monorail            |   95.34 |    93.47 |   85.71 |   95.34 |                            
  helpers.js                  |     100 |      100 |     100 |     100 |                            
  log.js                      |     100 |      100 |     100 |     100 |                            
  runner.js                   |     100 |     90.9 |     100 |     100 | 35                         
  sort.js                     |   97.14 |       90 |     100 |   97.14 | 13                         
  validate.js                 |   75.32 |    66.66 |      25 |   75.32 | 34-36,38-40,64-76          
 packages/robot-tourist       |   99.08 |      100 |   95.65 |   99.08 |                            
  config.js                   |   93.42 |      100 |       0 |   93.42 | 9-13                       
  constants.js                |     100 |      100 |     100 |     100 |                            
  core.js                     |     100 |      100 |     100 |     100 |                            
  regex.js                    |     100 |      100 |     100 |     100 |                            
  reporter.js                 |     100 |      100 |     100 |     100 |                            
  source-matcher.js           |     100 |      100 |     100 |     100 |                            
  stats.js                    |     100 |      100 |     100 |     100 |                            
  string.js                   |     100 |      100 |     100 |     100 |                            
  tuple.js                    |     100 |      100 |     100 |     100 |                            
 tools/digested               |    97.8 |       80 |     100 |    97.8 |                            
  config.js                   |     100 |      100 |     100 |     100 |                            
  link.js                     |     100 |      100 |     100 |     100 |                            
  log.js                      |     100 |      100 |     100 |     100 |                            
  markdown.js                 |   98.24 |       75 |     100 |   98.24 | 43                         
  summary.js                  |   96.42 |    68.42 |     100 |   96.42 | 34-36,42,51-52,178         
 tools/doctor-general-cli     |       0 |        0 |       0 |       0 |                            
  cli.js                      |       0 |        0 |       0 |       0 | 1-42                       
  config.js                   |       0 |        0 |       0 |       0 | 1-55                       
  constants.js                |       0 |        0 |       0 |       0 | 1                          
  executable.js               |       0 |        0 |       0 |       0 | 1-5                        
  log.js                      |       0 |        0 |       0 |       0 | 1-8                        
 tools/gitparty/src           |    2.35 |    23.07 |    9.09 |    2.35 |                            
  alias.js                    |       0 |        0 |       0 |       0 | 1-26                       
  cli.js                      |       0 |        0 |       0 |       0 | 1-5                        
  config.js                   |       0 |        0 |       0 |       0 | 1-102                      
  errors.js                   |       0 |        0 |       0 |       0 | 1-11                       
  filters.js                  |       0 |        0 |       0 |       0 | 1-65                       
  git.js                      |     100 |       75 |      50 |     100 | 10                         
  legend.js                   |       0 |        0 |       0 |       0 | 1-12                       
  log.js                      |       0 |        0 |       0 |       0 | 1-8                        
  per-commit.js               |       0 |        0 |       0 |       0 | 1-35                       
  runner.js                   |       0 |        0 |       0 |       0 | 1-359                      
 tools/superorganism/src      |   17.47 |    61.53 |      40 |   17.47 |                            
  cli.js                      |       0 |        0 |       0 |       0 | 1-5                        
  config.js                   |       0 |        0 |       0 |       0 | 1-43                       
  helpers.js                  |       0 |        0 |       0 |       0 | 1                          
  log.js                      |       0 |        0 |       0 |       0 | 1-4                        
  recursive.js                |   96.42 |      100 |      80 |   96.42 | 23-24                      
  runner.js                   |       0 |        0 |       0 |       0 | 1-200                      
 tools/treacle/src            |     100 |      100 |     100 |     100 |                            
  index.js                    |     100 |      100 |     100 |     100 |                            
------------------------------|---------|----------|---------|---------|----------------------------

=============================== Coverage summary ===============================
Statements   : 71.32% ( 4440/6225 )
Branches     : 85.79% ( 447/521 )
Functions    : 66.81% ( 151/226 )
Lines        : 71.32% ( 4440/6225 )
================================================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request 🛠️ workspace:tools This is related to Tools
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Replace nps with an ESM-compatible tool
1 participant