Skip to content

Commit

Permalink
[core] Add the download tracker package (#33899)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Aug 15, 2022
1 parent 86d0027 commit afe281d
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"deduplicate": "node scripts/deduplicate.js",
"benchmark:browser": "yarn workspace benchmark browser",
"build:codesandbox": "lerna run --parallel --scope \"@mui/*\" build",
"release:version": "lerna version --no-changelog --no-push --no-git-tag-version",
"release:version": "lerna version --no-changelog --no-push --no-git-tag-version --force-publish=@mui/core-internal-download-tracker",
"release:build": "lerna run --parallel --scope \"@mui/*\" build",
"release:changelog": "node scripts/releaseChangelog",
"release:publish": "lerna publish from-package --dist-tag latest --contents build",
Expand Down
5 changes: 5 additions & 0 deletions packages/mui-core-internal-download-tracker/README.md
@@ -0,0 +1,5 @@
# @mui/core-internal-download-tracker

This package does not contain any code.
It is used solely to track number of downloads of @mui/material and @mui/joy (the only packages that depend on it) and help us determine the number of users of @mui/base.
Counting downloads is done by npm (as for every other package).
1 change: 1 addition & 0 deletions packages/mui-core-internal-download-tracker/index.js
@@ -0,0 +1 @@
export default null;
25 changes: 25 additions & 0 deletions packages/mui-core-internal-download-tracker/package.json
@@ -0,0 +1,25 @@
{
"name": "@mui/core-internal-download-tracker",
"version": "5.10.0",
"private": false,
"author": "MUI Team",
"description": "Internal package to track number of downloads of our design system libraries",
"main": "./index.js",
"repository": {
"type": "git",
"url": "https://github.com/mui/material-ui.git",
"directory": "packages/mui-core-internal-download-tracker"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/mui/material-ui/issues"
},
"homepage": "https://mui.com/",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui"
},
"scripts": {
"release": "npm publish ."
}
}
1 change: 1 addition & 0 deletions packages/mui-joy/package.json
Expand Up @@ -58,6 +58,7 @@
"dependencies": {
"@babel/runtime": "^7.17.2",
"@mui/base": "5.0.0-alpha.92",
"@mui/core-internal-download-tracker": "5.10.0",
"@mui/system": "^5.10.0",
"@mui/types": "^7.1.5",
"@mui/utils": "^5.9.3",
Expand Down
1 change: 1 addition & 0 deletions packages/mui-material/package.json
Expand Up @@ -62,6 +62,7 @@
"dependencies": {
"@babel/runtime": "^7.17.2",
"@mui/base": "5.0.0-alpha.92",
"@mui/core-internal-download-tracker": "5.10.0",
"@mui/system": "^5.10.0",
"@mui/types": "^7.1.5",
"@mui/utils": "^5.9.3",
Expand Down

0 comments on commit afe281d

Please sign in to comment.