Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate to monosize 0.6.2 #31395

Merged
merged 3 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions monosize.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// @ts-check
import fs from 'node:fs';
import path from 'node:path';
import webpackBundler from 'monosize-bundler-webpack';
import createAzureStorage from 'monosize-storage-azure';

Expand All @@ -11,6 +13,13 @@ const config = {
bundler: webpackBundler(config => {
return config;
}),
reportResolvers: {
packageName: async packageRoot => {
const packageJson = await fs.promises.readFile(path.join(packageRoot, 'package.json'), 'utf-8');
const json = JSON.parse(packageJson);
return json.name.replace('@fluentui/', '');
},
},
};

export default config;
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@
"lodash": "4.17.21",
"markdown-table": "2.0.0",
"memfs": "3.2.2",
"monosize": "0.5.0",
"monosize-storage-azure": "0.0.10",
"monosize-bundler-webpack": "0.1.0",
"monosize": "0.6.2",
"monosize-storage-azure": "0.0.14",
"monosize-bundler-webpack": "0.1.4",
"node-plop": "0.25.0",
"nx": "17.3.2",
"p-queue": "6.6.2",
Expand Down Expand Up @@ -343,7 +343,7 @@
"webpack-dev-server": "4.15.1",
"webpack-hot-middleware": "2.26.1",
"webpack-merge": "5.10.0",
"workspace-tools": "0.29.1",
"workspace-tools": "0.27.0",
"yargs": "13.3.2",
"yargs-parser": "13.1.2",
"yargs-unparser": "2.0.0"
Expand Down
43 changes: 15 additions & 28 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17524,33 +17524,33 @@ [email protected]:
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.33.0.tgz#842e244f3750a2482f8a29c676b5684e75ff34af"
integrity sha512-VcRWPSLIUEgQJQIE0pVT8FcGBIgFoxz7jtqctE+IiCxWugD0DwgyQBcZBhdSrdMC84eumoqMZsGl2GTreOzwqw==

[email protected].0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/monosize-bundler-webpack/-/monosize-bundler-webpack-0.1.0.tgz#f70e04453397a9fe1959bc9bd302e76a5871fbf1"
integrity sha512-iZvgekCCQEcTVWYdLSPwotmHL5oO9cSr9dgDuCYafhfZKwNfFKxfFRraSUffNQlYBc2eH2ZiU1hhcauA30fbnA==
[email protected].4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/monosize-bundler-webpack/-/monosize-bundler-webpack-0.1.4.tgz#c9f730c7237c26153b45f40c04940de0af3e1f4c"
integrity sha512-lYQ2Cg+J4KH7SjHnMRPKSg6CUASQ3BMiLVB5jhSvS79Rz3LmEsy0VFrbasjHFG05VErI9j/JvpLLxS+zHyS2kQ==
dependencies:
monosize "^0.5.0"
monosize "^0.6.2"
picocolors "^1.0.0"
terser "^5.16.0"
terser-webpack-plugin "^5.3.1"
tslib "^2.4.1"
webpack "^5.76.0"

[email protected].10:
version "0.0.10"
resolved "https://registry.yarnpkg.com/monosize-storage-azure/-/monosize-storage-azure-0.0.10.tgz#e90390af2c9709f35cdfe51a0218f8effd1c824c"
integrity sha512-asvaHsx4TSmdyh1rvxm6uWa91Suml9Vorfpc0YUGUsOj7KXOg3vxObxrTvKPiBSSWEbQ/Nb1XXJCzt4s8CaX1w==
[email protected].14:
version "0.0.14"
resolved "https://registry.yarnpkg.com/monosize-storage-azure/-/monosize-storage-azure-0.0.14.tgz#f3b5810f885063f0d7fa86ca17625ce22546433f"
integrity sha512-hFaIo1ZoB4ZIlbRyPJ4CeXDEwGF/FVaG6j1rlgWuwilYavYAm9q/y0GprAFp6uRN8kQxi8WS6OiZCna/YIYHJA==
dependencies:
"@azure/data-tables" "^13.0.0"
monosize "^0.5.0"
monosize "^0.6.2"
node-fetch "^3.3.0"
picocolors "^1.0.0"
tslib "^2.4.1"

monosize@0.5.0, monosize@^0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/monosize/-/monosize-0.5.0.tgz#06de5a1f77338877a336627418b5b45458718498"
integrity sha512-+1Z3UyGP/t65Hft9wcDIlgGNuH7xB3ExKjxZ97qaGz//ujLPE2/SkeQcF4LxegBFjQnU4vm9g1pnb4Acc8b4Rg==
monosize@0.6.2, monosize@^0.6.2:
version "0.6.2"
resolved "https://registry.yarnpkg.com/monosize/-/monosize-0.6.2.tgz#0b192dd9ac12ab5833c65cdb4ca4e1c05cfaddb1"
integrity sha512-bTP2FnY0/G527uUmZ7GF5Gz7awSSVTPn7laHd6higpjZMv7f7IGtWgoNuhtaj/E92ZL1S3zm8+cb4TUgHxJdNQ==
dependencies:
acorn "^8.11.3"
ci-info "^3.7.0"
Expand All @@ -17561,7 +17561,6 @@ [email protected], monosize@^0.5.0:
picocolors "^1.0.0"
pretty-bytes "^6.0.0"
tslib "^2.4.1"
workspace-tools "^0.29.1"
yargs "^17.6.2"

moo-color@^1.0.2:
Expand Down Expand Up @@ -24450,19 +24449,7 @@ worker-rpc@^0.1.0:
dependencies:
microevent.ts "~0.1.1"

[email protected], workspace-tools@^0.29.1:
version "0.29.1"
resolved "https://registry.yarnpkg.com/workspace-tools/-/workspace-tools-0.29.1.tgz#ff38f7484961cd87a342a8fd14eacd31d1645f56"
integrity sha512-BVPROxNszGmyaUD2ErLWP4BpCiIkG1P//CnziOvHd27o1TeBm+7T1HKlYu89T4XGAjgPL/NP+tZ4j6aBvG/p/A==
dependencies:
"@yarnpkg/lockfile" "^1.1.0"
git-url-parse "^13.0.0"
globby "^11.0.0"
jju "^1.4.0"
js-yaml "^4.1.0"
micromatch "^4.0.0"

workspace-tools@^0.27.0:
[email protected], workspace-tools@^0.27.0:
version "0.27.0"
resolved "https://registry.yarnpkg.com/workspace-tools/-/workspace-tools-0.27.0.tgz#11e8f1ec2cb4c80d1cefcf92da2d0154dc001aa8"
integrity sha512-5mtE5Vy0Se4brAUJXKfXNtaS9jcUcH+IGF4LNU1xJr4bW1o5bK2gV0pykodB+n6V84nRtaD/4I/9w98aujm7LA==
Expand Down
Loading