Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

release.md 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. npm run build
  2. npm run doc
  3. npm i
  4. git clone --depth=10 --branch=master git@github.com:lodash-archive/lodash-cli.git ./node_modules/lodash-cli
  5. mkdir -p ./node_modules/lodash-cli/node_modules/lodash; cd $_; cp ../../../../lodash.js ./lodash.js; cp ../../../../package.json ./package.json
  6. cd ../../; npm i --production; cd ../../
  7. node ./node_modules/lodash-cli/bin/lodash core exports=node -o ./npm-package/core.js
  8. node ./node_modules/lodash-cli/bin/lodash modularize exports=node -o ./npm-package
  9. cp lodash.js npm-package/lodash.js
  10. cp dist/lodash.min.js npm-package/lodash.min.js
  11. cp LICENSE npm-package/LICENSE
  12. 1. Clone two repos
  13. Bump lodash version in package.json, readme, package=locak, lodash.js
  14. npm run build
  15. npm run doc
  16. 2. update mappings in ldoash-cli
  17. 3. copy ldoash into lodash-cli node modules and package json.
  18. node ./node_modules/lodash-cli/bin/lodash core exports=node -o ./npm-package/core.js
  19. node ./node_modules/lodash-cli/bin/lodash modularize exports=node -o ./npm-package
  20. 1. Clone the two repositories:
  21. ```sh
  22. $ git clone https://github.com/lodash/lodash.git
  23. $ git clone https://github.com/bnjmnt4n/lodash-cli.git
  24. ```
  25. 2. Update lodash-cli to accomdate changes in lodash source. This can typically involve adding new function dependency mappings in lib/mappings.js. Sometimes, additional changes might be needed for more involved functions.
  26. 3. In the lodash repository, update references to the lodash version in README.md, lodash.js, package.jsona nd package-lock.json
  27. 4. Run:
  28. ```sh
  29. npm run build
  30. npm run doc
  31. node ../lodash-cli/bin/lodash core -o ./dist/lodash.core.js
  32. ```
  33. 5. Add a commit and tag the release
  34. mkdir ../lodash-temp
  35. cp lodash.js dist/lodash.min.js dist/lodash.core.js dist/lodash.core.min.js ../lodash-temp/
  36. node ../lodash-cli/bin/lodash modularize exports=node -o .
  37. cp ../lodash-temp/lodash.core.js core.js
  38. cp ../lodash-temp/lodash.core.min.js core.min.js
  39. cp ../lodash-temp/lodash.js lodash.js
  40. cp ../lodash-temp/lodash.min.js lodash.min.js
  41. ❯ node ../lodash-cli/bin/lodash modularize exports=es -o .