[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9442":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":27,"discoverSource":28},9442,"pub","dart-lang\u002Fpub","dart-lang","The pub command line tool","https:\u002F\u002Fdart.dev\u002Ftools\u002Fpub\u002Fcmd",null,"Dart",1118,242,59,240,0,1,2,20.16,"BSD 3-Clause \"New\" or \"Revised\" License",false,"master",[],"2026-06-12 02:02:07","[![Build Status](https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fpub\u002Fworkflows\u002FDart%20CI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fpub\u002Factions\u002Fworkflows\u002Ftest.yaml?query=workflow%3A%22Dart+CI%22+branch%3Amaster)\n\nPub is the package manager for Dart.\n\n# Contributing to pub\n\nThanks for being interested in contributing to pub! Contributing to a new\nproject can be hard: there's a lot of new code and practices to learn. This\ndocument is intended to get you up and running as quickly as possible. For\nmore information, see the\n[pub tool documentation](https:\u002F\u002Fdart.dev\u002Ftools\u002Fpub\u002Fcmd).\n\nThe first step towards contributing is to contact the pub dev team and let us\nknow what you're working on, so we can be sure not to start working on the same\nthing at the same time. Open an [issue](http:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fpub\u002Fissues\u002Fnew)\nletting us know that you're interested in contributing and what you plan on working on.\nThis will also let us give you specific advice about where to start.\n\n## Organization\n\nPub isn't a package, but it's organized like one. It has four top-level\ndirectories:\n\n* `lib\u002F` contains the implementation of pub. Currently, it's all in `lib\u002Fsrc\u002F`,\n  since there are no libraries intended for public consumption.\n\n* `test\u002F` contains the tests for pub.\n\n* `bin\u002F` contains `pub.dart`, the entrypoint script that's run whenever a user\n  types \"pub\" on the command line or runs it in the Dart editor. This is usually\n  run through shell scripts in `sdk\u002Fbin` at the root of the Dart repository.\n\nIt's probably easiest to start diving into the codebase by looking at a\nparticular pub command. Each command is encapsulated in files in\n`lib\u002Fsrc\u002Fcommand\u002F`.\n\n## Running pub\n\nTo run pub from the Git repository, run:\n\n    dart bin\u002Fpub.dart\n\n## Testing pub\n\nBefore any change is made to pub, all tests should pass. To run a pub test, run:\n\n    dart tool\u002Ftest.dart test\u002Fpath\u002Fto_test.dart\n\nTo run all tests at once, run:\n\n    dart tool\u002Ftest.dart\n\nChanges to pub should be accompanied by one or more tests that exercise the new\nfunctionality. When adding a test, the best strategy is to find a similar test\nin `test\u002F` and follow the same patterns.\n\nPub tests come in two basic forms. The first, which is usually used to unit test\nclasses and libraries internal to pub, has many tests in a single file. This is\nused when each test will take a short time to run. For example,\n`test\u002Fversion_test.dart` contains unit tests for pub's Version class.\n\nThe other form, used by most pub tests, is usually used for integration tests of\nuser-visible pub commands. Each test has a file to itself, which is named after\nthe test description. This is used when tests can take a long time to run to\navoid having the tests time out when running on the build bots. For example,\n`tests\u002Fget\u002Fhosted\u002Fget_transitive_test.dart` tests the resolution of transitive\nhosted dependencies when using `dart pub get`\u002F`flutter pub get`.\n\n## Landing your patch\n\nAll patches to official Dart packages, including to pub, need to undergo code\nreview before they're submitted. The full process for putting up your patch for\nreview is [documented elsewhere][contributing].\n\n[contributing]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fsdk\u002Fblob\u002Fmain\u002FCONTRIBUTING.md\n","Pub是Dart语言的包管理工具，用于管理和发布Dart包。其核心功能包括依赖解析、下载、安装和更新等，支持命令行操作，能够帮助开发者高效地管理项目依赖。Pub采用Dart语言编写，具备良好的性能和稳定性，并且遵循BSD 3-Clause许可协议。适用于需要使用Dart语言进行开发的场景，无论是Web应用、移动应用还是服务器端开发，都可以利用Pub来简化包管理流程，提高开发效率。","2026-06-11 03:22:40","top_language"]