#
## Company X questions
What third party libraries or software are contained within the product? How are these licensed?
1. Run `npx license-checker --production --json > licenses.json`
2. Make a file called `printThem.js` and put this in it:
```js
const lic = require('./licenses.json')
const result = Object.entries(lic)
.reduce(
(acc, [name, detail]) => { // accumulator
const { licenses } = detail
if (!acc[licenses]) acc[licenses] = []
acc[licenses].push(name)
return acc
},
{}
)
Object.entries(result).forEach(([license, moduleNames]) => {
console.log(license, moduleNames.length)
console.log(moduleNames)
console.log('-----')
})
```
3. run this code `node printThem.js
- desktop
- ui
- pataka
- mobile
- root folder
Tools:
- electron-builder: https://www.electron.build/
- debugging:
- vuex devtools
- node debug
- console.log
- tape (unit tests)
- spectron (future integration testing)
- gitlab CI, github actions (automated testing on pull requests)
- husky (checks dependancies before commits)
- standard (linting)
Deploying:
- host on github, provide link to that in docs webs
## Rust learning time
Keen to do a block of learning (instead of part time)
Try a week
Mix to pick a week in future
This will be paid learning
## Concurrent dev pataka
ahau
## ssb-hyper-blobs replication
Ahau < ----- > Pataka
|
|
v
DHT bootstrap servers (hyper/DAT people)
|
v
DHT
driveAddress 123123skdsapfdhlsajhfsahdfkjhsadlkjfhsakjdfhlkjsahfdjshdlkjfhsadf
blobId q2123123-123210-ssadasd1-123132qe
readKey 123123skdsapfdhlsajhfsahdfkjhsadlkjfhsakjdfhlkjsahfdjshdlkjfhsadf