AsyncTalk
AsyncTalk
AsyncTalk
EP05 比黑洞更深的是什么 - 关于 JS 的包管理
58 minutes Posted Dec 16, 2021 at 11:34 am.
开场简介01:52 JavaScript 包管理历史07:48 包管理是用来解决什么问题的10:47 版本管理13:50 包管理器的百家争鸣17:53 .lock 文件即版本号的设计24:12 how to patch a package27:00 发个包吧28:40 package.json 的字段有哪些37:57 type: module41:10 npm scripts45:30 npm link & tag & publish51:41 总结以及开发一个新包应该有哪些注意事项� 勘误Rust 是有不同的构建依赖类型的:https://doc.rust-lang.org/cargo/reference/manifest.html� 相关链接AMD: https://github.com/amdjs/amdjs-api/blob/master/AMD.mdUMD: https://dontkry.com/posts/code/browserify-and-the-universal-module-definition.htmlCMD(commonjs): https://nodejs.org/api/modules.htmlES Module: https://tc39.es/ecma262/#sec-modulesIIFE(自执行函数): https://developer.mozilla.org/en-US/docs/Glossary/IIFErequire.js: https://requirejs.org/bower: https://bower.io/tree-shaking(摇树): https://webpack.js.org/guides/tree-shaking/yeoman: https://yeoman.io/yarn: https://yarnpkg.com/pnpm: https://pnpm.io/patch-package: https://github.com/ds300/patch-packageio.js: https://github.com/nodejs/iojs.orglerna: https://github.com/lerna/lerna包管理处理的依赖问题是比较复杂的,没能找到合适的文章,可以先从这里看起: https://en.wikipedia.org/wiki/Dependency_hell� 扩展阅读lerna 放弃维护:https://github.com/lerna/lerna/issues/2703#issuecomment-777089520BGM by Otologic
0:00
58:32
Download MP3
Show notes
️ 本期三位主播围绕 "包管理" 聊了些 js 的包管理历史,版本管理,如何发包等问题。联系我们: [email protected]�‍�‍� 主播AnnatarHe: https://annatarhe.comTinko: https://space.bilibili.com/290664Sleaf: https://twitter.com/Sleaf_⏰  Timeline00:00 开场简介01:52 JavaScript 包管理历史07:48 包管理是用来解决什么问题的10:47 版本管理13:50 包管理器的百家争鸣17:53 .lock 文件即版本号的设计24:12 how to patch a package27:00 发个包吧28:40 package.json 的字段有哪些37:57 type: module41:10 npm scripts45:30 npm link & tag & publish51:41 总结以及开发一个新包应该有哪些注意事项� 勘误Rust 是有不同的构建依赖类型的:https://doc.rust-lang.org/cargo/reference/manifest.html� 相关链接AMD: https://github.com/amdjs/amdjs-api/blob/master/AMD.mdUMD: https://dontkry.com/posts/code/browserify-and-the-universal-module-definition.htmlCMD(commonjs): https://nodejs.org/api/modules.htmlES Module: https://tc39.es/ecma262/#sec-modulesIIFE(自执行函数): https://developer.mozilla.org/en-US/docs/Glossary/IIFErequire.js: https://requirejs.org/bower: https://bower.io/tree-shaking(摇树): https://webpack.js.org/guides/tree-shaking/yeoman: https://yeoman.io/yarn: https://yarnpkg.com/pnpm: https://pnpm.io/patch-package: https://github.com/ds300/patch-packageio.js: https://github.com/nodejs/iojs.orglerna: https://github.com/lerna/lerna包管理处理的依赖问题是比较复杂的,没能找到合适的文章,可以先从这里看起: https://en.wikipedia.org/wiki/Dependency_hell� 扩展阅读lerna 放弃维护:https://github.com/lerna/lerna/issues/2703#issuecomment-777089520BGM by Otologic