@teambit/react 0.0.518 → 0.0.519

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,10 +130,11 @@ function _default() {
130
130
  manifest[file.name] = file.path;
131
131
  return manifest;
132
132
  }, seed);
133
- const entrypointFiles = entrypoints.main.filter(fileName => !fileName.endsWith('.map'));
133
+ const entrypointFiles = entrypoints.main.filter(fileName => !fileName.endsWith('.map')); // @ts-ignore - https://github.com/shellscape/webpack-manifest-plugin/issues/276
134
+
134
135
  return {
135
- files: JSON.stringify(manifestFiles),
136
- entrypoints: JSON.stringify(entrypointFiles)
136
+ files: manifestFiles,
137
+ entrypoints: entrypointFiles
137
138
  };
138
139
  }
139
140
  }), // Generate a service worker script that will precache, and keep up to date,
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack.config.base.prod.ts"],"names":["optimization","minimize","minimizer","TerserPlugin","terserOptions","parse","ecma","compress","warnings","comparisons","inline","mangle","safari10","output","comments","ascii_only","CssMinimizerPlugin","minimizerOptions","preset","minifyFontValues","removeQuotes","splitChunks","chunks","runtimeChunk","name","entrypoint","plugins","WebpackManifestPlugin","fileName","publicPath","generate","seed","files","entrypoints","manifestFiles","reduce","manifest","file","path","entrypointFiles","main","filter","endsWith","JSON","stringify","WorkboxWebpackPlugin","GenerateSW","clientsClaim","exclude","navigateFallback","navigateFallbackDenylist","RegExp","Boolean","performance"],"mappings":";;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AACA;AACA;AACe,oBAA2B;AACxC,SAAO;AACLA,IAAAA,YAAY,EAAE;AACZC,MAAAA,QAAQ,EAAE,IADE;AAEZC,MAAAA,SAAS,EAAE,CACT;AACA,WAAIC,8BAAJ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CAAa,CAACC,QAAD,EAAWC,IAAX,KAAoB;AACrDD,UAAAA,QAAQ,CAACC,IAAI,CAACb,IAAN,CAAR,GAAsBa,IAAI,CAACC,IAA3B;AACA,iBAAOF,QAAP;AACD,SAHqB,EAGnBL,IAHmB,CAAtB;AAIA,cAAMQ,eAAe,GAAGN,WAAW,CAACO,IAAZ,CAAiBC,MAAjB,CAAyBb,QAAD,IAAc,CAACA,QAAQ,CAACc,QAAT,CAAkB,MAAlB,CAAvC,CAAxB;AAEA,eAAO;AACLV,UAAAA,KAAK,EAAEW,IAAI,CAACC,SAAL,CAAeV,aAAf,CADF;AAELD,UAAAA,WAAW,EAAEU,IAAI,CAACC,SAAL,CAAeL,eAAf;AAFR,SAAP;AAID;AAduB,KAA1B,CANO,EAsBP;AACA;AACA,SAAIM,gCAAqBC,UAAzB,EAAoC;AAClCC,MAAAA,YAAY,EAAE,IADoB;AAElCC,MAAAA,OAAO,EAAE,CAAC,QAAD,EAAW,uBAAX,CAFyB;AAGlC;AACAC,MAAAA,gBAAgB,EAAE,mBAJgB;AAKlCC,MAAAA,wBAAwB,EAAE,CACxB;AACA,UAAIC,MAAJ,CAAW,KAAX,CAFwB,EAGxB;AACA;AACA;AACA;AACA,UAAIA,MAAJ,CAAW,kBAAX,CAPwB;AALQ,KAApC,CAxBO,EAuCPV,MAvCO,CAuCAW,OAvCA,CAnEJ;AA2GL;AACA;AACAC,IAAAA,WAAW,EAAE;AA7GR,GAAP;AA+GD","sourcesContent":["import WorkboxWebpackPlugin from 'workbox-webpack-plugin';\nimport CssMinimizerPlugin from 'css-minimizer-webpack-plugin';\nimport TerserPlugin from 'terser-webpack-plugin';\nimport { Configuration } from 'webpack';\nimport { WebpackManifestPlugin } from 'webpack-manifest-plugin';\n\n// This is the production and development configuration.\n// It is focused on developer experience, fast rebuilds, and a minimal bundle.\n// eslint-disable-next-line complexity\nexport default function (): Configuration {\n return {\n optimization: {\n minimize: true,\n minimizer: [\n // This is only used in production mode\n new TerserPlugin({\n terserOptions: {\n parse: {\n // We want terser to parse ecma 8 code. However, we don't want it\n // to apply any minification steps that turns valid ecma 5 code\n // into invalid ecma 5 code. This is why the 'compress' and 'output'\n // sections only apply transformations that are ecma 5 safe\n // https://github.com/facebook/create-react-app/pull/4234\n ecma: 8,\n },\n compress: {\n ecma: 5,\n warnings: false,\n // Disabled because of an issue with Uglify breaking seemingly valid code:\n // https://github.com/facebook/create-react-app/issues/2376\n // Pending further investigation:\n // https://github.com/mishoo/UglifyJS2/issues/2011\n comparisons: false,\n // Disabled because of an issue with Terser breaking valid code:\n // https://github.com/facebook/create-react-app/issues/5250\n // Pending further investigation:\n // https://github.com/terser-js/terser/issues/120\n inline: 2,\n },\n mangle: {\n safari10: true,\n },\n output: {\n ecma: 5,\n comments: false,\n // Turned on because emoji and regex is not minified properly using default\n // https://github.com/facebook/create-react-app/issues/2488\n ascii_only: true,\n },\n },\n }),\n new CssMinimizerPlugin({\n minimizerOptions: {\n preset: [\n 'default',\n {\n minifyFontValues: { removeQuotes: false },\n },\n ],\n },\n }),\n ],\n // Automatically split vendor and commons\n // https://twitter.com/wSokra/status/969633336732905474\n // https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366\n splitChunks: {\n chunks: 'all',\n // name: false,\n },\n // Keep the runtime chunk separated to enable long term caching\n // https://twitter.com/wSokra/status/969679223278505985\n // https://github.com/facebook/create-react-app/issues/5358\n runtimeChunk: {\n name: (entrypoint) => `runtime-${entrypoint.name}`,\n },\n },\n\n plugins: [\n // Generate an asset manifest file with the following content:\n // - \"files\" key: Mapping of all asset filenames to their corresponding\n // output file so that tools can pick it up without having to parse\n // `index.html`\n // can be used to reconstruct the HTML if necessary\n new WebpackManifestPlugin({\n fileName: 'asset-manifest.json',\n publicPath: 'public',\n generate: (seed, files, entrypoints) => {\n const manifestFiles = files.reduce((manifest, file) => {\n manifest[file.name] = file.path;\n return manifest;\n }, seed);\n const entrypointFiles = entrypoints.main.filter((fileName) => !fileName.endsWith('.map'));\n\n return {\n files: JSON.stringify(manifestFiles),\n entrypoints: JSON.stringify(entrypointFiles),\n };\n },\n }),\n // Generate a service worker script that will precache, and keep up to date,\n // the HTML & assets that are part of the webpack build.\n new WorkboxWebpackPlugin.GenerateSW({\n clientsClaim: true,\n exclude: [/\\.map$/, /asset-manifest\\.json$/],\n // importWorkboxFrom: 'cdn',\n navigateFallback: 'public/index.html',\n navigateFallbackDenylist: [\n // Exclude URLs starting with /_, as they're likely an API call\n new RegExp('^/_'),\n // Exclude any URLs whose last part seems to be a file extension\n // as they're likely a resource and not a SPA route.\n // URLs containing a \"?\" character won't be blacklisted as they're likely\n // a route with query params (e.g. auth callbacks).\n new RegExp('/[^/?]+\\\\.[^/]+$'),\n ],\n }),\n ].filter(Boolean),\n // Turn off performance processing because we utilize\n // our own hints via the FileSizeReporter\n performance: false,\n };\n}\n"]}
1
+ {"version":3,"sources":["webpack.config.base.prod.ts"],"names":["optimization","minimize","minimizer","TerserPlugin","terserOptions","parse","ecma","compress","warnings","comparisons","inline","mangle","safari10","output","comments","ascii_only","CssMinimizerPlugin","minimizerOptions","preset","minifyFontValues","removeQuotes","splitChunks","chunks","runtimeChunk","name","entrypoint","plugins","WebpackManifestPlugin","fileName","publicPath","generate","seed","files","entrypoints","manifestFiles","reduce","manifest","file","path","entrypointFiles","main","filter","endsWith","WorkboxWebpackPlugin","GenerateSW","clientsClaim","exclude","navigateFallback","navigateFallbackDenylist","RegExp","Boolean","performance"],"mappings":";;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AACA;AACA;AACe,oBAA2B;AACxC,SAAO;AACLA,IAAAA,YAAY,EAAE;AACZC,MAAAA,QAAQ,EAAE,IADE;AAEZC,MAAA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AAMC,aAAa,GAAGF,KAAK,CAACG,MAAN,CAAa,CAACC,QAAD,EAAWC,IAAX,KAAoB;AACrDD,UAAAA,QAAQ,CAACC,IAAI,CAACb,IAAN,CAAR,GAAsBa,IAAI,CAACC,IAA3B;AACA,iBAAOF,QAAP;AACD,SAHqB,EAGnBL,IAHmB,CAAtB;AAIA,cAAMQ,eAAe,GAAGN,WAAW,CAACO,IAAZ,CAAiBC,MAAjB,CAAyBb,QAAD,IAAc,CAACA,QAAQ,CAACc,QAAT,CAAkB,MAAlB,CAAvC,CAAxB,CALsC,CAOtC;;AACA,eAAO;AACLV,UAAAA,KAAK,EAAEE,aADF;AAELD,UAAAA,WAAW,EAAEM;AAFR,SAAP;AAID;AAfuB,KAA1B,CANO,EAuBP;AACA;AACA,SAAII,gCAAqBC,UAAzB,EAAoC;AAClCC,MAAAA,YAAY,EAAE,IADoB;AAElCC,MAAAA,OAAO,EAAE,CAAC,QAAD,EAAW,uBAAX,CAFyB;AAGlC;AACAC,MAAAA,gBAAgB,EAAE,mBAJgB;AAKlCC,MAAAA,wBAAwB,EAAE,CACxB;AACA,UAAIC,MAAJ,CAAW,KAAX,CAFwB,EAGxB;AACA;AACA;AACA;AACA,UAAIA,MAAJ,CAAW,kBAAX,CAPwB;AALQ,KAApC,CAzBO,EAwCPR,MAxCO,CAwCAS,OAxCA,CAnEJ;AA4GL;AACA;AACAC,IAAAA,WAAW,EAAE;AA9GR,GAAP;AAgHD","sourcesContent":["import WorkboxWebpackPlugin from 'workbox-webpack-plugin';\nimport CssMinimizerPlugin from 'css-minimizer-webpack-plugin';\nimport TerserPlugin from 'terser-webpack-plugin';\nimport { Configuration } from 'webpack';\nimport { WebpackManifestPlugin } from 'webpack-manifest-plugin';\n\n// This is the production and development configuration.\n// It is focused on developer experience, fast rebuilds, and a minimal bundle.\n// eslint-disable-next-line complexity\nexport default function (): Configuration {\n return {\n optimization: {\n minimize: true,\n minimizer: [\n // This is only used in production mode\n new TerserPlugin({\n terserOptions: {\n parse: {\n // We want terser to parse ecma 8 code. However, we don't want it\n // to apply any minification steps that turns valid ecma 5 code\n // into invalid ecma 5 code. This is why the 'compress' and 'output'\n // sections only apply transformations that are ecma 5 safe\n // https://github.com/facebook/create-react-app/pull/4234\n ecma: 8,\n },\n compress: {\n ecma: 5,\n warnings: false,\n // Disabled because of an issue with Uglify breaking seemingly valid code:\n // https://github.com/facebook/create-react-app/issues/2376\n // Pending further investigation:\n // https://github.com/mishoo/UglifyJS2/issues/2011\n comparisons: false,\n // Disabled because of an issue with Terser breaking valid code:\n // https://github.com/facebook/create-react-app/issues/5250\n // Pending further investigation:\n // https://github.com/terser-js/terser/issues/120\n inline: 2,\n },\n mangle: {\n safari10: true,\n },\n output: {\n ecma: 5,\n comments: false,\n // Turned on because emoji and regex is not minified properly using default\n // https://github.com/facebook/create-react-app/issues/2488\n ascii_only: true,\n },\n },\n }),\n new CssMinimizerPlugin({\n minimizerOptions: {\n preset: [\n 'default',\n {\n minifyFontValues: { removeQuotes: false },\n },\n ],\n },\n }),\n ],\n // Automatically split vendor and commons\n // https://twitter.com/wSokra/status/969633336732905474\n // https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366\n splitChunks: {\n chunks: 'all',\n // name: false,\n },\n // Keep the runtime chunk separated to enable long term caching\n // https://twitter.com/wSokra/status/969679223278505985\n // https://github.com/facebook/create-react-app/issues/5358\n runtimeChunk: {\n name: (entrypoint) => `runtime-${entrypoint.name}`,\n },\n },\n\n plugins: [\n // Generate an asset manifest file with the following content:\n // - \"files\" key: Mapping of all asset filenames to their corresponding\n // output file so that tools can pick it up without having to parse\n // `index.html`\n // can be used to reconstruct the HTML if necessary\n new WebpackManifestPlugin({\n fileName: 'asset-manifest.json',\n publicPath: 'public',\n generate: (seed, files, entrypoints) => {\n const manifestFiles = files.reduce((manifest, file) => {\n manifest[file.name] = file.path;\n return manifest;\n }, seed);\n const entrypointFiles = entrypoints.main.filter((fileName) => !fileName.endsWith('.map'));\n\n // @ts-ignore - https://github.com/shellscape/webpack-manifest-plugin/issues/276\n return {\n files: manifestFiles,\n entrypoints: entrypointFiles,\n } as Record<string, string>;\n },\n }),\n // Generate a service worker script that will precache, and keep up to date,\n // the HTML & assets that are part of the webpack build.\n new WorkboxWebpackPlugin.GenerateSW({\n clientsClaim: true,\n exclude: [/\\.map$/, /asset-manifest\\.json$/],\n // importWorkboxFrom: 'cdn',\n navigateFallback: 'public/index.html',\n navigateFallbackDenylist: [\n // Exclude URLs starting with /_, as they're likely an API call\n new RegExp('^/_'),\n // Exclude any URLs whose last part seems to be a file extension\n // as they're likely a resource and not a SPA route.\n // URLs containing a \"?\" character won't be blacklisted as they're likely\n // a route with query params (e.g. auth callbacks).\n new RegExp('/[^/?]+\\\\.[^/]+$'),\n ],\n }),\n ].filter(Boolean),\n // Turn off performance processing because we utilize\n // our own hints via the FileSizeReporter\n performance: false,\n };\n}\n"]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/react",
3
- "version": "0.0.518",
3
+ "version": "0.0.519",
4
4
  "homepage": "https://bit.dev/teambit/react/react",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.react",
8
8
  "name": "react",
9
- "version": "0.0.518"
9
+ "version": "0.0.519"
10
10
  },
11
11
  "dependencies": {
12
12
  "react-error-boundary": "^3.0.0",
@@ -78,40 +78,40 @@
78
78
  "@teambit/react.instructions.react.adding-compositions": "0.0.5",
79
79
  "@teambit/react.instructions.react.adding-tests": "0.0.5",
80
80
  "@teambit/design.ui.pages.standalone-not-found-page": "0.0.353",
81
- "@teambit/preview": "0.0.518",
81
+ "@teambit/preview": "0.0.519",
82
82
  "@teambit/react.ui.error-fallback": "0.0.67",
83
83
  "@teambit/react.ui.loader-fallback": "0.0.46",
84
84
  "@teambit/compositions.ui.hooks.use-composition": "0.0.121",
85
85
  "@teambit/design.ui.input.option-button": "0.0.25",
86
86
  "@teambit/design.ui.tooltip": "0.0.351",
87
- "@teambit/application": "0.0.160",
88
- "@teambit/bundler": "0.0.518",
89
- "@teambit/builder": "0.0.518",
90
- "@teambit/isolator": "0.0.518",
87
+ "@teambit/application": "0.0.161",
88
+ "@teambit/bundler": "0.0.519",
89
+ "@teambit/builder": "0.0.519",
90
+ "@teambit/isolator": "0.0.519",
91
91
  "@teambit/toolbox.network.get-port": "0.0.71",
92
- "@teambit/compiler": "0.0.518",
92
+ "@teambit/compiler": "0.0.519",
93
93
  "@teambit/component.modules.component-url": "0.0.76",
94
- "@teambit/component": "0.0.518",
95
- "@teambit/envs": "0.0.518",
96
- "@teambit/eslint": "0.0.518",
97
- "@teambit/formatter": "0.0.69",
98
- "@teambit/jest": "0.0.518",
99
- "@teambit/linter": "0.0.518",
100
- "@teambit/pkg": "0.0.518",
101
- "@teambit/prettier": "0.0.69",
94
+ "@teambit/component": "0.0.519",
95
+ "@teambit/envs": "0.0.519",
96
+ "@teambit/eslint": "0.0.519",
97
+ "@teambit/formatter": "0.0.70",
98
+ "@teambit/jest": "0.0.519",
99
+ "@teambit/linter": "0.0.519",
100
+ "@teambit/pkg": "0.0.519",
101
+ "@teambit/prettier": "0.0.70",
102
102
  "@teambit/react.babel.bit-react-transformer": "0.0.449",
103
- "@teambit/schema": "0.0.518",
104
- "@teambit/tester": "0.0.518",
105
- "@teambit/typescript": "0.0.518",
106
- "@teambit/webpack": "0.0.518",
107
- "@teambit/workspace": "0.0.518",
103
+ "@teambit/schema": "0.0.519",
104
+ "@teambit/tester": "0.0.519",
105
+ "@teambit/typescript": "0.0.519",
106
+ "@teambit/webpack": "0.0.519",
107
+ "@teambit/workspace": "0.0.519",
108
108
  "@teambit/cli": "0.0.379",
109
- "@teambit/dependency-resolver": "0.0.518",
110
- "@teambit/generator": "0.0.518",
111
- "@teambit/graphql": "0.0.518",
109
+ "@teambit/dependency-resolver": "0.0.519",
110
+ "@teambit/generator": "0.0.519",
111
+ "@teambit/graphql": "0.0.519",
112
112
  "@teambit/react.ui.highlighter-provider": "0.0.129",
113
- "@teambit/compositions": "0.0.518",
114
- "@teambit/ui": "0.0.518",
113
+ "@teambit/compositions": "0.0.519",
114
+ "@teambit/ui": "0.0.519",
115
115
  "@teambit/react.eslint-config-bit-react": "0.0.444",
116
116
  "@teambit/mdx.modules.mdx-loader": "0.0.444",
117
117
  "@teambit/webpack.modules.generate-style-loaders": "0.0.61",
@@ -91,10 +91,11 @@ export default function (): Configuration {
91
91
  }, seed);
92
92
  const entrypointFiles = entrypoints.main.filter((fileName) => !fileName.endsWith('.map'));
93
93
 
94
+ // @ts-ignore - https://github.com/shellscape/webpack-manifest-plugin/issues/276
94
95
  return {
95
- files: JSON.stringify(manifestFiles),
96
- entrypoints: JSON.stringify(entrypointFiles),
97
- };
96
+ files: manifestFiles,
97
+ entrypoints: entrypointFiles,
98
+ } as Record<string, string>;
98
99
  },
99
100
  }),
100
101
  // Generate a service worker script that will precache, and keep up to date,