Skip to content

Commit afe281d

Browse files
authored
[core] Add the download tracker package (#33899)
1 parent 86d0027 commit afe281d

6 files changed

Lines changed: 34 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"deduplicate": "node scripts/deduplicate.js",
88
"benchmark:browser": "yarn workspace benchmark browser",
99
"build:codesandbox": "lerna run --parallel --scope \"@mui/*\" build",
10-
"release:version": "lerna version --no-changelog --no-push --no-git-tag-version",
10+
"release:version": "lerna version --no-changelog --no-push --no-git-tag-version --force-publish=@mui/core-internal-download-tracker",
1111
"release:build": "lerna run --parallel --scope \"@mui/*\" build",
1212
"release:changelog": "node scripts/releaseChangelog",
1313
"release:publish": "lerna publish from-package --dist-tag latest --contents build",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# @mui/core-internal-download-tracker
2+
3+
This package does not contain any code.
4+
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.
5+
Counting downloads is done by npm (as for every other package).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default null;
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "@mui/core-internal-download-tracker",
3+
"version": "5.10.0",
4+
"private": false,
5+
"author": "MUI Team",
6+
"description": "Internal package to track number of downloads of our design system libraries",
7+
"main": "./index.js",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/mui/material-ui.git",
11+
"directory": "packages/mui-core-internal-download-tracker"
12+
},
13+
"license": "MIT",
14+
"bugs": {
15+
"url": "https://github.com/mui/material-ui/issues"
16+
},
17+
"homepage": "https://mui.com/",
18+
"funding": {
19+
"type": "opencollective",
20+
"url": "https://opencollective.com/mui"
21+
},
22+
"scripts": {
23+
"release": "npm publish ."
24+
}
25+
}

packages/mui-joy/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"dependencies": {
5959
"@babel/runtime": "^7.17.2",
6060
"@mui/base": "5.0.0-alpha.92",
61+
"@mui/core-internal-download-tracker": "5.10.0",
6162
"@mui/system": "^5.10.0",
6263
"@mui/types": "^7.1.5",
6364
"@mui/utils": "^5.9.3",

packages/mui-material/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"dependencies": {
6363
"@babel/runtime": "^7.17.2",
6464
"@mui/base": "5.0.0-alpha.92",
65+
"@mui/core-internal-download-tracker": "5.10.0",
6566
"@mui/system": "^5.10.0",
6667
"@mui/types": "^7.1.5",
6768
"@mui/utils": "^5.9.3",

0 commit comments

Comments
 (0)