AEP05 比黑洞更深的是什么 - 关于 JS 的包管理

EP05 比黑洞更深的是什么 - 关于 JS 的包管理

AsyncTalk·2021 年 12 月 16 日·59 分钟
在喜马拉雅播放
创作者写的节目说明

️ 本期三位主播围绕 "包管理" 聊了些 js 的包管理历史,版本管理,如何发包等问题。

联系我们: [email protected]


�‍�‍� 主播

AnnatarHe: https://annatarhe.com

Tinko: https://space.bilibili.com/290664

Sleaf: https://twitter.com/Sleaf_


⏰  Timeline

开场简介

JavaScript 包管理历史

包管理是用来解决什么问题的

版本管理

包管理器的百家争鸣

.lock 文件即版本号的设计

how to patch a package

发个包吧

package.json 的字段有哪些

type: module

npm scripts

npm link & tag & publish

总结以及开发一个新包应该有哪些注意事项


� 勘误

Rust 是有不同的构建依赖类型的:https://doc.rust-lang.org/cargo/reference/manifest.html


� 相关链接

AMD: https://github.com/amdjs/amdjs-api/blob/master/AMD.md

UMD: https://dontkry.com/posts/code/browserify-and-the-universal-module-definition.html

CMD(commonjs): https://nodejs.org/api/modules.html

ES Module: https://tc39.es/ecma262/#sec-modules

IIFE(自执行函数): https://developer.mozilla.org/en-US/docs/Glossary/IIFE

require.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-package

io.js: https://github.com/nodejs/iojs.org

lerna: https://github.com/lerna/lerna

包管理处理的依赖问题是比较复杂的,没能找到合适的文章,可以先从这里看起: https://en.wikipedia.org/wiki/Dependency_hell


� 扩展阅读

lerna 放弃维护:https://github.com/lerna/lerna/issues/2703#issuecomment-777089520


BGM by Otologic

说明里标出的时间点,点一下跳过去

AsyncTalk · 更多单集

看全部 82 期 →

AsyncTalk

AEP05 比黑洞更深的是什么 - 关于 JS 的包管理

AsyncTalk · 2021 年 12 月 16 日 · 59 分钟

EP05 比黑洞更深的是什么 - 关于 JS 的包管理

在喜马拉雅播放
创作者写的节目说明

️ 本期三位主播围绕 "包管理" 聊了些 js 的包管理历史,版本管理,如何发包等问题。

联系我们: [email protected]


�‍�‍� 主播

AnnatarHe: https://annatarhe.com

Tinko: https://space.bilibili.com/290664

Sleaf: https://twitter.com/Sleaf_


⏰  Timeline

开场简介

JavaScript 包管理历史

包管理是用来解决什么问题的

版本管理

包管理器的百家争鸣

.lock 文件即版本号的设计

how to patch a package

发个包吧

package.json 的字段有哪些

type: module

npm scripts

npm link & tag & publish

总结以及开发一个新包应该有哪些注意事项


� 勘误

Rust 是有不同的构建依赖类型的:https://doc.rust-lang.org/cargo/reference/manifest.html


� 相关链接

AMD: https://github.com/amdjs/amdjs-api/blob/master/AMD.md

UMD: https://dontkry.com/posts/code/browserify-and-the-universal-module-definition.html

CMD(commonjs): https://nodejs.org/api/modules.html

ES Module: https://tc39.es/ecma262/#sec-modules

IIFE(自执行函数): https://developer.mozilla.org/en-US/docs/Glossary/IIFE

require.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-package

io.js: https://github.com/nodejs/iojs.org

lerna: https://github.com/lerna/lerna

包管理处理的依赖问题是比较复杂的,没能找到合适的文章,可以先从这里看起: https://en.wikipedia.org/wiki/Dependency_hell


� 扩展阅读

lerna 放弃维护:https://github.com/lerna/lerna/issues/2703#issuecomment-777089520


BGM by Otologic

说明里标出的时间点,点一下跳过去

AAsyncTalk

AsyncTalk

面向开发者的技术播客,聚焦 AI 与软件工程交叉领域,围绕具体产品、开源项目与技术事件做一手实践分享与原理拆解。

已收录 82 期 · 最近更新 11 月 2 日

在哪里听

http://www.ximalaya.com/album/53875103.xml复制

内容版权归创作者,声湃按创作者开放的 RSS 收录。了解收录与 RSS →

更多单集 全部 82 期 →

A

Haiku 5.5:AI抢饭碗加速

10 月 26 日 · 6 分钟

A

MCP 0728:让 MCP 再次伟大

10 月 16 日 · 12 分钟