@zohodesk/react-cli 1.1.14-kubernetes → 1.1.15-exp.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintignore +7 -7
- package/.eslintrc.js +180 -180
- package/.prettierrc +6 -6
- package/.vscode/settings.json +25 -0
- package/Changelog.md +1019 -1019
- package/README.md +1421 -1137
- package/bin/cli.js +458 -483
- package/docs/AutoPrefixer.md +27 -0
- package/docs/ComposeMinification.md +13 -0
- package/docs/CustomChunks.md +29 -26
- package/docs/DevServerPort.md +39 -39
- package/docs/DevStart.md +18 -18
- package/docs/HoverActive.md +12 -12
- package/docs/InstallNode.md +28 -28
- package/docs/MarkdownParser.md +18 -0
- package/docs/ReactLive.md +14 -0
- package/docs/SelectorWeight.md +9 -6
- package/docs/TODOS.md +10 -10
- package/docs/ValueReplacer.md +87 -60
- package/docs/VariableConversion.md +729 -724
- package/docs/patternFiltering.md +57 -0
- package/docs/warnings_while_install.txt +35 -35
- package/files/eslintrc.js +62 -62
- package/files/prettierrc.js +3 -3
- package/lib/common/buildEs.js +12 -0
- package/lib/common/runPreProcess.js +71 -0
- package/lib/common/splitChunks.js +65 -45
- package/lib/common/testPattern.js +9 -11
- package/lib/common/valueReplacer.js +1 -3
- package/lib/configs/resolvers.js +16 -5
- package/lib/configs/webpack.css.umd.config.js +7 -6
- package/lib/configs/webpack.dev.config.js +18 -5
- package/lib/configs/webpack.docs.config.js +19 -5
- package/lib/configs/webpack.impact.config.js +13 -4
- package/lib/configs/webpack.prod.config.js +18 -5
- package/lib/constants.js +3 -3
- package/lib/deprecationLogger.js +40 -0
- package/lib/loaderUtils/configsAssetsLoaders.js +33 -33
- package/lib/loaderUtils/getCSSLoaders.js +102 -49
- package/lib/loaderUtils/tests/windowsModification.test.js +10 -0
- package/lib/loaderUtils/windowsModification.js +6 -1
- package/lib/loaders/__test__/markdownLoader.spec.js +145 -0
- package/lib/loaders/composeLoader.js +298 -0
- package/lib/loaders/docsLoader.js +18 -7
- package/lib/loaders/markdownLoader.js +71 -0
- package/lib/loaders/reactLiveConvertor.js +105 -0
- package/lib/loaders/selectorMappingLoader.js +9 -9
- package/lib/loaders/workerLoader.js +9 -9
- package/lib/logger.js +27 -0
- package/lib/pluginUtils/getDevPlugins.js +30 -11
- package/lib/pluginUtils/getProdPlugins.js +37 -10
- package/lib/pluginUtils/getUMDCSSPlugins.js +1 -1
- package/lib/pluginUtils/getUMDComponentPlugins.js +1 -1
- package/lib/plugins/CustomAttributePlugin.js +82 -0
- package/lib/plugins/CustomAttributePlugin.md +35 -0
- package/lib/plugins/EFCPlugin.js +9 -9
- package/lib/plugins/EFCPlugin.md +6 -6
- package/lib/plugins/EFCTemplatePlugin.js +10 -12
- package/lib/plugins/EfcResourceCleanupPlugin.js +43 -0
- package/lib/plugins/I18NInjectIntoIndexPlugin.js +12 -13
- package/lib/plugins/I18nSplitPlugin/I18nDebugPlugin.js +2 -3
- package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
- package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
- package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +10 -15
- package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -95
- package/lib/plugins/I18nSplitPlugin/README.md +25 -25
- package/lib/plugins/I18nSplitPlugin/index.js +57 -57
- package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +8 -8
- package/lib/plugins/{UglifyCSSPlugin.js → MinifyPlugin.js} +3 -3
- package/lib/plugins/ReportGeneratePlugin.js +8 -6
- package/lib/plugins/ResourceHintsPlugin.js +30 -20
- package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +6 -6
- package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
- package/lib/plugins/SelectorPlugin.js +77 -37
- package/lib/plugins/ServiceWorkerPlugin.js +9 -9
- package/lib/plugins/StatsPlugin.js +82 -0
- package/lib/plugins/TPHashMappingPlugin.js +4 -4
- package/lib/plugins/UnusedFilesFindPlugin.js +7 -5
- package/lib/plugins/VariableConversionCollector.js +86 -147
- package/lib/plugins/index.js +7 -7
- package/lib/plugins/utils/classHandling.js +35 -0
- package/lib/plugins/utils/fileHandling.js +93 -0
- package/lib/plugins/utils/tests/fileHandling.test.js +30 -0
- package/lib/plugins/variableConvertorUtils.js +133 -0
- package/lib/postcss-plugins/AutoPrefixer.js +150 -0
- package/lib/postcss-plugins/EmptyPlugin.js +8 -0
- package/lib/postcss-plugins/ExcludePlugin.js +1 -1
- package/lib/postcss-plugins/IncludePlugin.js +23 -0
- package/lib/postcss-plugins/RTLSplitPlugin.js +14 -20
- package/lib/postcss-plugins/SelectorReplace.js +80 -0
- package/lib/postcss-plugins/ValueReplacer.js +8 -29
- package/lib/postcss-plugins/__test__/selectorReplace.test.js +28 -0
- package/lib/postcss-plugins/__test__/test1Input.css +38 -38
- package/lib/postcss-plugins/__test__/test1Output.css +38 -38
- package/lib/postcss-plugins/__test__/valueReplacer.spec.js +43 -0
- package/lib/postcss-plugins/hoverActivePlugin.js +3 -9
- package/lib/postcss-plugins/variableModificationPlugin/ErrorHandler.js +0 -1
- package/lib/postcss-plugins/variableModificationPlugin/index.js +94 -38
- package/lib/schemas/index.js +109 -18
- package/lib/servers/devBuild.js +13 -11
- package/lib/servers/getCliPath.js +3 -5
- package/lib/servers/httpsOptions.js +12 -13
- package/lib/servers/nowatchserver.js +62 -55
- package/lib/servers/requireLocalOrGlobal.js +61 -0
- package/lib/servers/server.js +53 -52
- package/lib/sh/pre-commit.sh +34 -34
- package/lib/sh/reportPublish.sh +45 -45
- package/lib/utils/buildstats.html +148 -148
- package/lib/utils/cssClassNameGenerate.js +70 -13
- package/lib/utils/deprecationSupport.js +134 -0
- package/lib/utils/getOptions.js +35 -28
- package/lib/utils/getServerURL.js +1 -9
- package/lib/utils/index.js +14 -12
- package/lib/utils/initPreCommitHook.js +5 -5
- package/lib/utils/log.js +11 -0
- package/lib/utils/object-manipulation.js +88 -0
- package/lib/utils/pullOrigin.js +3 -3
- package/lib/utils/reinstallDependencies.js +3 -3
- package/lib/utils/resultSchema.json +73 -73
- package/lib/utils/selectorReplacer.js +47 -0
- package/lib/utils/switchBranch.js +4 -2
- package/lib/utils/variableConverter.js +104 -0
- package/npm-shrinkwrap.json +14485 -0
- package/npm8.md +9 -9
- package/package.json +124 -121
- package/packages/client_build_tool/lib/allCommandsConfigs.js +25 -0
- package/packages/client_build_tool/lib/commands/build/commandExecutor.js +17 -0
- package/packages/client_build_tool/lib/commands/build/config.js +12 -0
- package/packages/client_build_tool/lib/commands/build/errorHander.js +10 -0
- package/packages/client_build_tool/lib/commands/build/optionsProcessor.js +45 -0
- package/packages/client_build_tool/lib/commands/buildEs/commandExecutor.js +33 -0
- package/packages/client_build_tool/lib/commands/buildEs/config.js +12 -0
- package/packages/client_build_tool/lib/commands/buildLib/commandExecutor.js +33 -0
- package/packages/client_build_tool/lib/commands/buildLib/config.js +12 -0
- package/packages/client_build_tool/lib/commands/mockserver/commandExecutor.js +43 -0
- package/packages/client_build_tool/lib/commands/mockserver/config.js +12 -0
- package/packages/client_build_tool/lib/commands/start/commandExecutor.js +12 -0
- package/packages/client_build_tool/lib/commands/start/config.js +12 -0
- package/packages/client_build_tool/lib/commands/start/deprecationHandler.js +10 -0
- package/packages/client_build_tool/lib/commands/start/errorHander.js +10 -0
- package/packages/client_build_tool/lib/commands/start/optionsProcessor.js +40 -0
- package/packages/client_build_tool/lib/commands/start/postProcessor.js +10 -0
- package/packages/client_build_tool/lib/commands/start/preProcessor.js +10 -0
- package/packages/client_build_tool/lib/commands/template/commandExecutor.js +32 -0
- package/packages/client_build_tool/lib/commands/template/config.js +12 -0
- package/packages/client_build_tool/lib/commands/version/commandExecutor.js +14 -0
- package/packages/client_build_tool/lib/commands/version/config.js +12 -0
- package/packages/client_build_tool/lib/commands/version/errorHander.js +10 -0
- package/packages/client_build_tool/lib/commandsRouter.js +76 -0
- package/packages/client_build_tool/lib/index.js +12 -0
- package/packages/client_build_tool/lib/logger.js +34 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/otherTestCases.test.js +234 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/passingDifferentDataTypesToSchema.test.js +103 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/passingEmptyObjects.test.js +41 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertArray.test.js +68 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertNumber.test.js +68 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertObject.test.js +141 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertString.test.js +68 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertUndefinedAndNull.test.js +132 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertArray.test.js +71 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertNumber.test.js +71 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertObject.test.js +73 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertString.test.js +71 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertUndefinedAndNull.test.js +138 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/index.js +34 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/isObject.js +10 -0
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/isValid.js +14 -0
- package/packages/client_build_tool/lib/schemas/cliArgsToObject.js +39 -0
- package/packages/client_build_tool/lib/schemas/defaultConfigValues.js +244 -0
- package/packages/client_build_tool/lib/schemas/defaultConfigValuesOnly.js +161 -0
- package/packages/client_build_tool/lib/schemas/deprecatedOptionsHandler.js +67 -0
- package/packages/client_build_tool/lib/schemas/getNpmVersion.js +22 -0
- package/packages/client_build_tool/lib/schemas/giveDefaultValue.js +18 -0
- package/packages/client_build_tool/lib/schemas/npmConfigToObject.js +35 -0
- package/packages/client_build_tool/lib/schemas/readOptions.js +54 -0
- package/packages/client_build_tool/lib/schemas/readOptionsForConfigFile.js +42 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Map.test.js +15 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/MathAndNumberMethod.test.js +30 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/ObjectAndModules.test.js +47 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Sets.test.js +18 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Symbol.test.js +25 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/arrowFunction.test.js +34 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/block-scoping.test.js +18 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/classes.test.js +55 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/defaultParameterValues.test.js +18 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/extraFeatures.test.js +82 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/forOf.test.js +20 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/promise.test.js +22 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/spreadOperator.test.js +20 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/spreadParams.test.js +24 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/stringAndArrayMethods.test.js +67 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/variables.test.js +21 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2016/array-includes.test.js +13 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2016/exponentationOperator.test.js +20 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/asyncAndawait.test.js +23 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-entries.test.js +24 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-getOwnproperties.test.js +24 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-values.test.js +24 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/stringMethods.test.js +20 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2018/asynchronous-iterator.test.js +19 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2018/object-rest-spread.test.js +24 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2018/promise-finally.test.js +26 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2018/regularExpressions.test.js +35 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/Json.stringify.test.js +21 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/arrayMethods.test.js +31 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/object-fromEntriesMethod.test.js +13 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/optionalCatchBinding.test.js +23 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/revisedFunctionToString.test.js +17 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/trim-startAndend-method.test.js +20 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/AssignmentOperator.test.js +27 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/Dynamic-Import.test.js +19 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/NullishOperator.test.js +15 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/bigInt.test.js +13 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/chainOperator.test.js +17 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/export-namespace-from.test.js +12 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/promiseAllSettledMathod.test.js +17 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/stringMatchMethod.test.js +13 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2021/NumericSeparator.test.js +23 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2021/logicalOperatorAssignments.test.js +25 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2021/promiseAny.test.js +16 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2021/stringReplaceMethod.test.js +16 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/Array-atMethod.test.js +13 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/ObjectKeyCheck.test.js +27 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/ObjecthasOwnMethod.test.js +19 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/RegexMatchIndices.test.js +20 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/String-atMethod.test.js +15 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/error.Cause.test.js +23 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/keysCheckinPrivateFields.test.js +27 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/privateMethodsAndFields.test.js +23 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/staticFieldsAndMethod.test.js +54 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/topLevelAwait.test.js +11 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/weakRef.test.js +17 -0
- package/packages/client_build_tool/lib/shared/babel/__test__/utilities.js +28 -0
- package/packages/client_build_tool/lib/shared/babel/babelWebConfig.js +49 -0
- package/packages/client_build_tool/lib/shared/babel/runBabelForJSFile.js +24 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/decidePublicPath.js +42 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/libAlias.js +31 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/modeUtils.js +31 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/nameTemplates.js +70 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/resourceBasedPublicPath.js +21 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/cssLoaders.js +16 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/AddManifestJson/addFilesToManifestJson.js +19 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/AddManifestJson/utilities.js +18 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/CdnChangePlugin.js +102 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/EFCTemplatePlugin.js +112 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ContributionGuide.md +11 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nFilesEmitPlugin.js +172 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nKeysIdentifer.js +76 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nRuntimeDealerPlugin.js +203 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nSplit.md +95 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/LocaleChunkAssetsStore.js +73 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ModulesI18nKeysStore.js +88 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/README.md +25 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/constants.js +29 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/createHash.js +24 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nLoadingRuntimeModule.js +76 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/index.js +39 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/iterateModulesInChunk.js +50 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/optionsHandler.js +68 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/pathCreator.js +23 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/readI18nValues.js +29 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateFileName.js +43 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateHashHelpers.js +77 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/classesAndObject.test.js +56 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/conditionalOperation.test.js +154 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/function.test.js +89 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/function2.test.js +71 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/loop.test.js +112 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/minifyBooleanValues.test.js +43 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/minimizeVariableNames.test.js +45 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/promise.test.js +53 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/removeCommentsAndEmptySpace.test.js +13 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/removeUnusedStrings.test.js +14 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/variableDeclaration.test.js +30 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/collectI18nKeys.js +66 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/getChunkModules.js +13 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/hashUtils.js +19 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/index.js +31 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/propertiesUtils.js +129 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/InitialHtmlPlugin.js +54 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/addFilesNamesToManifestJson.test.js +51 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/createInitialEntries.test.js +95 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/removeHashFromFileName.test.js +91 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/addFilesNamesToManifestJson.js +24 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createInitialEntries.js +17 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createManifestJson.js +35 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/findInitialFileNames.js +18 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/index.js +44 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/removeHashFromFileName.js +18 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RTLSplitPlugin.js +1 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ResourceHintsPlugin.js +165 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/OverwriteCssPathForRTL.js +62 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtlCssPlugin.js +84 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtrSplit.md +34 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/replaceCssDirTemplate.js +27 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/classHandling.js +20 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/index.js +78 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/selectorWeightPrefixAdder.js +51 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/windowsModification.js +16 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPlugin.js +110 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SourceMapPlugin/index.js +38 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/uglifyCss1.test.js +74 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/uglifycss.test.js +64 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/utilities.js +28 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/index.js.js +49 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/VariableConversionCollector/ErrorHandler.js +62 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/VariableConversionCollector/index.js +361 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/emitAsset.js +14 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/getInitialAssetsFuncTemplate.js +57 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/getInitialI18nAssetsArrayStr.js +87 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/classesAndObject.test.js +56 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/conditionalOperation.test.js +154 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/function.test.js +89 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/function2.test.js +71 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/loop.test.js +112 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/minifyBooleanValues.test.js +43 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/minimizeVariableNames.test.js +45 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/promise.test.js +53 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/removeCommentsAndEmptySpace.test.js +13 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/removeUnusedStrings.test.js +14 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/variableDeclaration.test.js +30 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/entryConfig.js +28 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/externals.js +13 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/getCSSLoaders.js +27 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/getSourceMapType.js +10 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/jsLoaders.js +17 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/assetLoaders.js +12 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/babelLoaderConfig.js +18 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/checkIsPatternsMatchFilename.js +52 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configHtmlTemplateLoader.js +18 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configPostCssLoader.js +37 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configWebWorkerLoader.js +21 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configsAssetsLoaders.js +138 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/cssClassNameGenerate.js +59 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/getCssLoaderOptions.js +21 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaders/workerLoader.js +133 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/optimizationConfig.js +43 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/outputConfig.js +28 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configBundleAnalyzer.js +40 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCSSMinifierPlugin.js +24 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCdnChangePlugin.js +27 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCopyPublicFolders.js +80 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configEFCTemplatePlugin.js +46 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configEnvVariables.js +27 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configHtmlWebpackPlugin.js +56 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configI18nSplitPlugin.js +41 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configIgnorePlugin.js +16 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configManifestJsonPlugin.js +32 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configMiniCSSExtractPlugin.js +23 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configProgressPlugin.js +24 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configResourceHintsPlugin.js +19 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configRtlCssPlugin.js +27 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configSelectorWeightPlugin.js +28 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configServiceWorkerPlugin.js +40 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configSourceMapPlugin.js +20 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configVariableConversionPlugin.js +25 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/plugins.js +48 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/resolvers.js +49 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/splitChunksConfig.js +128 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/statsConfig.js +21 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/utils/index.js +26 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/utils/updateArrayWithDefault.js +18 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/webpackBuild.js +27 -0
- package/packages/client_build_tool/lib/shared/bundler/webpack/webpackConfig.js +52 -0
- package/packages/client_build_tool/lib/shared/commands-utils/doBasicRequirementCheck.js +17 -0
- package/packages/client_build_tool/lib/shared/commands-utils/getCliPath.js +39 -0
- package/packages/client_build_tool/lib/shared/commands-utils/index.js +29 -0
- package/packages/client_build_tool/lib/shared/commands-utils/log.js +13 -0
- package/packages/client_build_tool/lib/shared/commands-utils/readArgsFormCommandLine.js +11 -0
- package/packages/client_build_tool/lib/shared/commands-utils/readOptionFormCommandLine.js +11 -0
- package/packages/client_build_tool/lib/shared/commands-utils/spawnSyncIO.js +38 -0
- package/packages/client_build_tool/lib/shared/constants.js +45 -0
- package/packages/client_build_tool/lib/shared/fileUtils/copyFile.js +38 -0
- package/packages/client_build_tool/lib/shared/fileUtils/directoryIterator.js +21 -0
- package/packages/client_build_tool/lib/shared/fileUtils/watchRun.js +100 -0
- package/packages/client_build_tool/lib/shared/postcss/__test__/ignoreTestCases.test.js +80 -0
- package/packages/client_build_tool/lib/shared/postcss/__test__/postcss-rtl-all-cases.test.js +119 -0
- package/packages/client_build_tool/lib/shared/postcss/__test__/postcssRtl.spec.js +34 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/EmptyPlugin.js +21 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/constants.js +10 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/handleIgnores.js +66 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/index.js +136 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/insertBefore.js +32 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/isPreviouslyProcessed.js +20 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/replaceUtils.js +20 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/separateHoveredSelectorAndNormalSelector.js +24 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/specialCases.js +43 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/typeCheckUtils.js +52 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/RTLSplitPlugin.js +139 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/SelectorReplace.js +90 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/ValueReplacer.js +57 -0
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/VariableModificationPlugin/index.js +343 -0
- package/packages/client_build_tool/lib/shared/postcss/filterPluginsAllowedForSpecficFile.js +55 -0
- package/packages/client_build_tool/lib/shared/postcss/getAllowedPostCssPlugins.js +30 -0
- package/packages/client_build_tool/lib/shared/postcss/getSpecificPostCssPlugin.js +58 -0
- package/packages/client_build_tool/lib/shared/postcss/runPostCssForCssFile.js +37 -0
- package/packages/client_build_tool/lib/shared/server/configWebpackDevMiddleware.js +41 -0
- package/packages/client_build_tool/lib/shared/server/corsHandling.js +21 -0
- package/packages/client_build_tool/lib/shared/server/getIp.js +30 -0
- package/packages/client_build_tool/lib/shared/server/getServerURL.js +29 -0
- package/packages/client_build_tool/lib/shared/server/httpsOptions.js +46 -0
- package/packages/client_build_tool/lib/shared/server/initExpressApp.js +19 -0
- package/packages/client_build_tool/lib/shared/server/initialHTMLHandling.js +99 -0
- package/packages/client_build_tool/lib/shared/server/mockApiHandler.js +60 -0
- package/packages/client_build_tool/lib/shared/server/mockServer.js +41 -0
- package/packages/client_build_tool/lib/shared/server/serveContextFiles.js +25 -0
- package/packages/client_build_tool/lib/shared/server/serverBywebpackDevMiddleware.js +36 -0
- package/packages/client_build_tool/lib/shared/server/startHttpServer.js +26 -0
- package/packages/client_build_tool/lib/shared/server/startHttpsServer.js +38 -0
- package/packages/client_build_tool/lib/shared/server/unwanted/addHttp2Server.js +41 -0
- package/packages/client_build_tool/lib/shared/server/unwanted/configWebpackDevMiddleware.js +44 -0
- package/packages/client_build_tool/lib/shared/server/unwanted/mockApiSupport.js +19 -0
- package/packages/client_build_tool/lib/shared/server/unwanted/websocketMockSetup.js +48 -0
- package/packages/client_build_tool/lib/shared/server/urlConcat.js +32 -0
- package/packages/client_build_tool/lib/shared/utils/requireLocalOrGlobal.js +81 -0
- package/packages/client_build_tool/lib/shared/utils/utils.js +1 -0
- package/packages/client_build_tool/lib/shared/utils/versionPrint.js +20 -0
- package/packages/client_build_tool/node_modules/history/CHANGES.md +395 -0
- package/packages/client_build_tool/node_modules/history/DOMUtils.js +3 -0
- package/packages/client_build_tool/node_modules/history/ExecutionEnvironment.js +3 -0
- package/packages/client_build_tool/node_modules/history/LICENSE +21 -0
- package/packages/client_build_tool/node_modules/history/LocationUtils.js +3 -0
- package/packages/client_build_tool/node_modules/history/PathUtils.js +3 -0
- package/packages/client_build_tool/node_modules/history/README.md +282 -0
- package/packages/client_build_tool/node_modules/history/cjs/history.js +933 -0
- package/packages/client_build_tool/node_modules/history/cjs/history.min.js +1 -0
- package/packages/client_build_tool/node_modules/history/createBrowserHistory.js +3 -0
- package/packages/client_build_tool/node_modules/history/createHashHistory.js +3 -0
- package/packages/client_build_tool/node_modules/history/createMemoryHistory.js +3 -0
- package/packages/client_build_tool/node_modules/history/createTransitionManager.js +3 -0
- package/packages/client_build_tool/node_modules/history/es/DOMUtils.js +7 -0
- package/packages/client_build_tool/node_modules/history/es/ExecutionEnvironment.js +7 -0
- package/packages/client_build_tool/node_modules/history/es/LocationUtils.js +7 -0
- package/packages/client_build_tool/node_modules/history/es/PathUtils.js +7 -0
- package/packages/client_build_tool/node_modules/history/es/createBrowserHistory.js +7 -0
- package/packages/client_build_tool/node_modules/history/es/createHashHistory.js +7 -0
- package/packages/client_build_tool/node_modules/history/es/createMemoryHistory.js +7 -0
- package/packages/client_build_tool/node_modules/history/es/createTransitionManager.js +7 -0
- package/packages/client_build_tool/node_modules/history/es/warnAboutDeprecatedESMImport.js +35 -0
- package/packages/client_build_tool/node_modules/history/esm/history.js +904 -0
- package/packages/client_build_tool/node_modules/history/index.js +7 -0
- package/packages/client_build_tool/node_modules/history/package.json +120 -0
- package/packages/client_build_tool/node_modules/history/umd/history.js +1059 -0
- package/packages/client_build_tool/node_modules/history/umd/history.min.js +1 -0
- package/packages/client_build_tool/node_modules/history/warnAboutDeprecatedCJSRequire.js +35 -0
- package/postpublish.js +8 -8
- package/result.json +1 -0
- package/templates/app/.eslintrc.js +140 -140
- package/templates/app/README.md +12 -12
- package/templates/app/app/index.html +24 -24
- package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
- package/templates/app/app/properties/i18nkeys.json +3 -3
- package/templates/app/docs/all.html +69 -69
- package/templates/app/mockapi/index.js +18 -18
- package/templates/app/package.json +37 -37
- package/templates/app/src/actions/SampleActions/index.js +37 -37
- package/templates/app/src/actions/index.js +65 -65
- package/templates/app/src/appUrls.js +19 -19
- package/templates/app/src/components/Alert/Alert.js +134 -134
- package/templates/app/src/components/Alert/Alert.module.css +79 -79
- package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
- package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
- package/templates/app/src/components/Sample/Sample.module.css +11 -11
- package/templates/app/src/components/Sample/SampleList.js +61 -61
- package/templates/app/src/components/Slider/Slider.css +41 -41
- package/templates/app/src/components/Slider/Slider.js +55 -55
- package/templates/app/src/containers/AlertContainer/index.js +15 -15
- package/templates/app/src/containers/AppContainer/index.js +96 -96
- package/templates/app/src/containers/AppContainer/index.module.css +27 -27
- package/templates/app/src/containers/CustomMatch/index.js +65 -65
- package/templates/app/src/containers/DevTools/index.js +10 -10
- package/templates/app/src/containers/Header/index.js +67 -67
- package/templates/app/src/containers/Header/index.module.css +43 -43
- package/templates/app/src/containers/Redirect/index.js +63 -63
- package/templates/app/src/containers/Redirector/index.js +47 -47
- package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
- package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
- package/templates/app/src/historyChange.js +5 -5
- package/templates/app/src/index.html +10 -10
- package/templates/app/src/index.js +24 -24
- package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
- package/templates/app/src/reducers/alertData.js +11 -11
- package/templates/app/src/reducers/index.js +6 -6
- package/templates/app/src/reducers/samples.js +19 -19
- package/templates/app/src/store/configureStore.dev.js +51 -51
- package/templates/app/src/store/configureStore.js +5 -5
- package/templates/app/src/store/configureStore.prod.js +26 -26
- package/templates/app/src/util/Common.js +5 -5
- package/templates/app/src/util/RequestAPI.js +132 -132
- package/templates/docs/all.html +250 -249
- package/templates/docs/component.html +179 -178
- package/templates/docs/components.html +222 -221
- package/templates/docs/css/b.min.css +6 -6
- package/templates/docs/css/component.css +42 -42
- package/templates/docs/css/componentTest.css +6 -6
- package/templates/docs/css/hopscotch.css +585 -585
- package/templates/docs/css/markdown.css +202 -0
- package/templates/docs/css/style.css +989 -1022
- package/templates/docs/impactReportTemplate.html +154 -154
- package/templates/docs/index.html +1665 -1501
- package/templates/docs/js/active-line.js +72 -72
- package/templates/docs/js/b.min.js +7 -7
- package/templates/docs/js/codemirror.js +9680 -9680
- package/templates/docs/js/designTokens.js +334 -334
- package/templates/docs/js/j.min.js +4 -4
- package/templates/docs/js/javascript.js +874 -874
- package/templates/docs/js/matchbrackets.js +145 -145
- package/unittest/index.html +37 -0
- package/lib/plugins/composeCommonPlugin.js +0 -30
- package/lib/postcss-plugins/variableModifier.js +0 -244
@@ -1,39 +1,39 @@
|
|
1
|
-
/*Hover_active:ignore*/
|
2
|
-
g,a:hover{
|
3
|
-
color : red
|
4
|
-
}
|
5
|
-
/*Hover:ignore*/
|
6
|
-
h:hover{
|
7
|
-
background : yellow
|
8
|
-
}
|
9
|
-
|
10
|
-
/* Hover_active:ignore */
|
11
|
-
g,d+e:hover{
|
12
|
-
color : black
|
13
|
-
}
|
14
|
-
|
15
|
-
g,d e:hover{
|
16
|
-
color : black
|
17
|
-
}
|
18
|
-
|
19
|
-
@media screen and (max-width:61.25em){
|
20
|
-
/* Hover_active:ignore */
|
21
|
-
a,b,a:hover, b:hover{
|
22
|
-
background-color : blue
|
23
|
-
}
|
24
|
-
a + b,a:hover + b:hover{
|
25
|
-
background-color : blue
|
26
|
-
}
|
27
|
-
a b:hover{
|
28
|
-
background-color : blue
|
29
|
-
}
|
30
|
-
|
31
|
-
.cc:hover {
|
32
|
-
color: red;
|
33
|
-
}
|
34
|
-
|
35
|
-
c:hover{
|
36
|
-
color : red
|
37
|
-
}
|
38
|
-
|
1
|
+
/*Hover_active:ignore*/
|
2
|
+
g,a:hover{
|
3
|
+
color : red
|
4
|
+
}
|
5
|
+
/*Hover:ignore*/
|
6
|
+
h:hover{
|
7
|
+
background : yellow
|
8
|
+
}
|
9
|
+
|
10
|
+
/* Hover_active:ignore */
|
11
|
+
g,d+e:hover{
|
12
|
+
color : black
|
13
|
+
}
|
14
|
+
|
15
|
+
g,d e:hover{
|
16
|
+
color : black
|
17
|
+
}
|
18
|
+
|
19
|
+
@media screen and (max-width:61.25em){
|
20
|
+
/* Hover_active:ignore */
|
21
|
+
a,b,a:hover, b:hover{
|
22
|
+
background-color : blue
|
23
|
+
}
|
24
|
+
a + b,a:hover + b:hover{
|
25
|
+
background-color : blue
|
26
|
+
}
|
27
|
+
a b:hover{
|
28
|
+
background-color : blue
|
29
|
+
}
|
30
|
+
|
31
|
+
.cc:hover {
|
32
|
+
color: red;
|
33
|
+
}
|
34
|
+
|
35
|
+
c:hover{
|
36
|
+
color : red
|
37
|
+
}
|
38
|
+
|
39
39
|
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _postcss = _interopRequireDefault(require("postcss"));
|
4
|
+
|
5
|
+
var _ValueReplacer = _interopRequireDefault(require("../ValueReplacer"));
|
6
|
+
|
7
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
8
|
+
|
9
|
+
/* eslint-disable no-use-before-define */
|
10
|
+
describe('postcss value replacer tests', () => {
|
11
|
+
it('is creating value replaced code', () => {
|
12
|
+
const cssInputStr = `.abc{ cursor : text }`;
|
13
|
+
const cssOutputStr = `.abc{ cursor : --textCursor }`;
|
14
|
+
const cssOptions = [{
|
15
|
+
props: ['font', 'font-family', 'cursor'],
|
16
|
+
values: {
|
17
|
+
'zdf-': 'zd-react-app-',
|
18
|
+
'^text$': '--textCursor'
|
19
|
+
}
|
20
|
+
}];
|
21
|
+
const result = runValueReplacerForCssString(cssInputStr, cssOptions);
|
22
|
+
expect(result.css).toEqual(cssOutputStr);
|
23
|
+
});
|
24
|
+
});
|
25
|
+
describe('postcss value replacer tests', () => {
|
26
|
+
it('is creating value replaced code', () => {
|
27
|
+
const cssInputStr = `.def{ cursor : var(--textBoxCursor) }`;
|
28
|
+
const cssOutputStr = `.def{ cursor : var(--textBoxCursor) }`;
|
29
|
+
const cssOptions = [{
|
30
|
+
props: ['font', 'font-family', 'cursor'],
|
31
|
+
values: {
|
32
|
+
'zdf-': 'zd-react-app-',
|
33
|
+
'^text$': '--textCursor'
|
34
|
+
}
|
35
|
+
}];
|
36
|
+
const result = runValueReplacerForCssString(cssInputStr, cssOptions);
|
37
|
+
expect(result.css).toEqual(cssOutputStr);
|
38
|
+
});
|
39
|
+
});
|
40
|
+
|
41
|
+
function runValueReplacerForCssString(cssInputStr, cssOptions) {
|
42
|
+
return (0, _postcss.default)([(0, _ValueReplacer.default)(cssOptions)]).process(cssInputStr);
|
43
|
+
}
|
@@ -4,9 +4,9 @@ var _postcss = _interopRequireDefault(require("postcss"));
|
|
4
4
|
|
5
5
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
6
6
|
|
7
|
-
/**
|
8
|
-
* we have give support for ignore(exclude) comments
|
9
|
-
* These are the comments' keyword
|
7
|
+
/**
|
8
|
+
* we have give support for ignore(exclude) comments
|
9
|
+
* These are the comments' keyword
|
10
10
|
*/
|
11
11
|
const hoverIgnoreQuery = 'Hover:ignore',
|
12
12
|
activeIgnoreQuery = 'Active:ignore',
|
@@ -158,7 +158,6 @@ module.exports = _postcss.default.plugin('postcss-mobile-hover', mediaQueryHover
|
|
158
158
|
|
159
159
|
function mediaCommaQuery(rule, index) {
|
160
160
|
if (rule.parent.params !== undefined && !rule.parent.params.includes('hover')) {
|
161
|
-
//console.log(hovMed, actMed);
|
162
161
|
let newSelector = '';
|
163
162
|
const {
|
164
163
|
hovMed,
|
@@ -232,7 +231,6 @@ module.exports = _postcss.default.plugin('postcss-mobile-hover', mediaQueryHover
|
|
232
231
|
}
|
233
232
|
|
234
233
|
function commaQuery(rule, index) {
|
235
|
-
//console.log("comma" , rule.selector.split('\n'));
|
236
234
|
let newSelector = '';
|
237
235
|
const hovQueries = [];
|
238
236
|
rule.selector.split(/\s*,\s*/).forEach(_subrule => {
|
@@ -288,13 +286,10 @@ module.exports = _postcss.default.plugin('postcss-mobile-hover', mediaQueryHover
|
|
288
286
|
});
|
289
287
|
rootOriginal.walkRules(/:hover/i, (rule, index) => {
|
290
288
|
// media hover query with ',' ' ' '+'
|
291
|
-
// console.log("media query" , rule.selector)
|
292
289
|
if (rule.parent.type === 'atrule' && rule.selector.includes(',')) {
|
293
|
-
//console.log("media comma", rule.selector)
|
294
290
|
mediaCommaQuery(rule, index);
|
295
291
|
} else {
|
296
292
|
// plus, space and other media queries
|
297
|
-
//console.log("media", rule.selector)
|
298
293
|
mediaQuery(rule, index);
|
299
294
|
} // usual hover query
|
300
295
|
|
@@ -311,7 +306,6 @@ module.exports = _postcss.default.plugin('postcss-mobile-hover', mediaQueryHover
|
|
311
306
|
if (rule.selector.includes(',')) {
|
312
307
|
commaQuery(rule, index);
|
313
308
|
} else if (rule.selector.match(/ +|\++/g)) {
|
314
|
-
//console.log("plus or space" , rule.selector);
|
315
309
|
if (rule.selector.includes('hover')) {
|
316
310
|
hoverRules.push({
|
317
311
|
rule,
|
@@ -10,8 +10,6 @@ const {
|
|
10
10
|
ErrorHandler
|
11
11
|
} = require('./ErrorHandler');
|
12
12
|
|
13
|
-
const errors = [];
|
14
|
-
const errorTable = [];
|
15
13
|
const errHandler = new ErrorHandler();
|
16
14
|
const convertableProps = {
|
17
15
|
'font-size': true,
|
@@ -94,7 +92,13 @@ function pxToCalc(value) {
|
|
94
92
|
return arr.join(' ');
|
95
93
|
}
|
96
94
|
|
97
|
-
const singleConvertor = (
|
95
|
+
const singleConvertor = ({
|
96
|
+
value,
|
97
|
+
changeVal,
|
98
|
+
details,
|
99
|
+
range,
|
100
|
+
allowed
|
101
|
+
}) => {
|
98
102
|
const {
|
99
103
|
path,
|
100
104
|
filename,
|
@@ -108,7 +112,15 @@ const singleConvertor = (value, changeVal, details, range) => {
|
|
108
112
|
}
|
109
113
|
}
|
110
114
|
|
115
|
+
if (allowed && allowed.includes(decl.value) && decl.value.toString() !== '0') {
|
116
|
+
return decl.value;
|
117
|
+
}
|
118
|
+
|
111
119
|
if (getNumericValue(value) >= range.start && getNumericValue(value) <= range.end || getNumericValue(value) === 0) {
|
120
|
+
if (value.trim() === '0px') {
|
121
|
+
return '0';
|
122
|
+
}
|
123
|
+
|
112
124
|
let retVal = value.replace(/(\d+)px/gi, changeVal.replace('$$', '$1'));
|
113
125
|
|
114
126
|
if (/^-var/.test(retVal)) {
|
@@ -121,7 +133,7 @@ const singleConvertor = (value, changeVal, details, range) => {
|
|
121
133
|
// console.log(value, 'not within range')
|
122
134
|
|
123
135
|
|
124
|
-
|
136
|
+
const errObj = {
|
125
137
|
decl,
|
126
138
|
type: 'RANGE_ERROR',
|
127
139
|
filename,
|
@@ -129,24 +141,8 @@ const singleConvertor = (value, changeVal, details, range) => {
|
|
129
141
|
path: path
|
130
142
|
};
|
131
143
|
errHandler.errorTable.push(errObj);
|
132
|
-
errHandler.errorFunction(errObj);
|
133
|
-
|
134
|
-
// decl,
|
135
|
-
// type: 'RANGE_ERROR',
|
136
|
-
// filename,
|
137
|
-
// message: `value (${value}) (${typeof value}) not within range (${
|
138
|
-
// range.start
|
139
|
-
// },${range.end})\r`,
|
140
|
-
// path: path
|
141
|
-
// },
|
142
|
-
// 'RANGE_ERROR'
|
143
|
-
// );
|
144
|
-
// }
|
145
|
-
// addError(` prop: ${decl.prop} ,\n value : ${decl.value} ,\n filename : ${filename} ,\n filepath : ${path} ,\n line : ${decl.source.start.line} ,\n message : value (${value}) not within range (${range.start},${range.end})\r`)
|
146
|
-
// return value;
|
147
|
-
// } else {
|
148
|
-
// console.log('++++++++++++++++++++++rect val!', value);
|
149
|
-
// }
|
144
|
+
errHandler.errorFunction(errObj);
|
145
|
+
return;
|
150
146
|
};
|
151
147
|
|
152
148
|
module.exports = {
|
@@ -179,6 +175,7 @@ module.exports = {
|
|
179
175
|
});
|
180
176
|
const valRegex = new RegExp(regValStr, 'gi');
|
181
177
|
return rootOriginal => {
|
178
|
+
// console.log(rootOriginal.source.input.from, 'passed through variable Plugin');
|
182
179
|
rootOriginal.walkRules(rule => {
|
183
180
|
// rule.nodes[-1] = {}
|
184
181
|
// need map, forEach fine less memory
|
@@ -189,10 +186,11 @@ module.exports = {
|
|
189
186
|
const fromPath = rootOriginal.source.input.from; // this will be problem for linux and mac use require('path').sep
|
190
187
|
// split not need use slice and lastIndexOf less memory
|
191
188
|
|
192
|
-
const filename = fromPath.split(path.sep).pop();
|
189
|
+
const filename = fromPath.split(path.sep).pop(); // if(filename.includes('AddFormResponsive.module.css'){
|
190
|
+
// }
|
193
191
|
|
194
192
|
if (prevNode && prevNode.type === 'comment' && prevNode.text.toLowerCase().includes(commentStr)) {
|
195
|
-
|
193
|
+
const errObj = {
|
196
194
|
decl,
|
197
195
|
type: 'DECLARATION_IGNORED',
|
198
196
|
filename,
|
@@ -205,8 +203,7 @@ module.exports = {
|
|
205
203
|
}
|
206
204
|
|
207
205
|
if (settingsObject[decl.prop] && !decl.value.includes('var(--')) {
|
208
|
-
const settings = settingsObject[decl.prop];
|
209
|
-
|
206
|
+
const settings = settingsObject[decl.prop];
|
210
207
|
const {
|
211
208
|
allowed,
|
212
209
|
range
|
@@ -217,6 +214,9 @@ module.exports = {
|
|
217
214
|
.replace(/\d+/gi, '').replace('var(--zd_size)', 'px').replace('var(--zd_font_size)', 'px').replace('rect(', '').replace(')', '').replace('px,', 'px').replace(',', '').split(' ').filter(x => x !== ''); // unit = unit.replace(unit, unit.replace('-',''))
|
218
215
|
// console.log('unit : ');
|
219
216
|
// console.log(unit);
|
217
|
+
// if (decl.prop === 'height') {
|
218
|
+
// console.log(decl.prop, unit, 'case 1');
|
219
|
+
// }
|
220
220
|
|
221
221
|
unit.forEach((val, index) => {
|
222
222
|
allowed.forEach(alwdVal => {
|
@@ -236,26 +236,54 @@ module.exports = {
|
|
236
236
|
unitErrorVal = val;
|
237
237
|
}
|
238
238
|
}
|
239
|
-
}); //
|
239
|
+
}); // if (decl.prop === 'height') {
|
240
|
+
// console.log(decl.prop, unitErrorVal, unitError, unit, 'case 2');
|
241
|
+
// }
|
242
|
+
// console.log(allowed, replacements, range)
|
240
243
|
|
241
244
|
if (!unitError) {
|
242
|
-
|
243
|
-
|
245
|
+
let calcValue = false;
|
246
|
+
|
247
|
+
if (decl.value.includes('calc')) {
|
248
|
+
decl.value = pxToCalc(decl.value);
|
249
|
+
calcValue = true;
|
250
|
+
} // use variable decl.value.split(' ')
|
251
|
+
|
252
|
+
|
253
|
+
if (range && !calcValue) {
|
244
254
|
// console.log('multiple :', decl.value)
|
255
|
+
const tempVal = decl.value; // if (decl.prop === 'height') {
|
256
|
+
// console.log(decl.prop, tempVal, decl.value, allowed, 'case 3');
|
257
|
+
// }
|
258
|
+
// if (decl.prop === 'height') {
|
259
|
+
// console.log('allowed!', decl.prop, decl.value, allowed);
|
260
|
+
// }
|
261
|
+
|
245
262
|
let newVal = '';
|
246
|
-
decl.value.split(' ')
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
263
|
+
let splitValues = decl.value.split(' ');
|
264
|
+
splitValues = splitValues.filter(val => val.trim() !== '');
|
265
|
+
splitValues = splitValues.map(val => val.replace(/\r|\t|\n/gi, ''));
|
266
|
+
splitValues.forEach(singleVal => {
|
267
|
+
newVal += `${singleConvertor({
|
268
|
+
value: singleVal,
|
269
|
+
changeVal: settings.replacements.px,
|
270
|
+
details: {
|
271
|
+
decl,
|
272
|
+
filename,
|
273
|
+
path: fromPath
|
274
|
+
},
|
275
|
+
range,
|
276
|
+
allowed
|
277
|
+
})} `;
|
252
278
|
});
|
253
|
-
decl.value = newVal;
|
279
|
+
decl.value = newVal; // if (decl.prop === 'height') {
|
280
|
+
// console.log(decl.prop, tempVal, newVal, 'case 4');
|
281
|
+
// }
|
254
282
|
}
|
255
283
|
} else {
|
256
284
|
if (!decl.value.includes('calc')) {
|
257
285
|
// addError(` prop: ${decl.prop} ,\n value : ${decl.value} ,\n filename : ${filename} ,\n filepath : ${path} ,\n line : ${decl.source.start.line} ,\n unit : ${unitErrorVal} ,\n message : ${unitErrorVal} (Unit) Not Allowed \r`);
|
258
|
-
|
286
|
+
const errObj = {
|
259
287
|
decl,
|
260
288
|
filename,
|
261
289
|
unitErrorVal: unitErrorVal,
|
@@ -285,8 +313,36 @@ module.exports = {
|
|
285
313
|
}
|
286
314
|
}
|
287
315
|
} else {
|
316
|
+
if (settingsObject[decl.prop] && decl.value && decl.value.includes('px') && decl.value.includes('var(--')) {
|
317
|
+
const valArr = decl.value.split(' ');
|
318
|
+
const settings = settingsObject[decl.prop];
|
319
|
+
const {
|
320
|
+
range,
|
321
|
+
allowed
|
322
|
+
} = settings;
|
323
|
+
const convertedVals = valArr.map(val => {
|
324
|
+
if (val.includes('px')) {
|
325
|
+
const convertedVal = singleConvertor({
|
326
|
+
value: val,
|
327
|
+
changeVal: settings.replacements.px,
|
328
|
+
details: {
|
329
|
+
decl,
|
330
|
+
filename,
|
331
|
+
path: fromPath
|
332
|
+
},
|
333
|
+
range,
|
334
|
+
allowed
|
335
|
+
});
|
336
|
+
return convertedVal ? convertedVal : val;
|
337
|
+
}
|
338
|
+
|
339
|
+
return val;
|
340
|
+
});
|
341
|
+
decl.value = convertedVals.join(' ');
|
342
|
+
}
|
343
|
+
|
288
344
|
if (decl.prop && decl.value && !decl.prop.includes('--') && valRegex.test(decl.value) && (settingsObject[decl.prop] || convertableProps[decl.prop]) && decl.value.includes('var') && !decl.value.includes('calc')) {
|
289
|
-
|
345
|
+
const errObj = {
|
290
346
|
decl,
|
291
347
|
type: 'VARIABLE_PRESENT',
|
292
348
|
filename,
|
package/lib/schemas/index.js
CHANGED
@@ -15,7 +15,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
15
15
|
|
16
16
|
// TODO move deprecated options to separate file and manage seperately
|
17
17
|
var _default = {
|
18
|
-
cliRootPath: null,
|
19
18
|
unstableDepsInverse: {
|
20
19
|
value: false,
|
21
20
|
cli: 'unstable_deps_inverse'
|
@@ -36,6 +35,9 @@ var _default = {
|
|
36
35
|
cli: 'stop_nodemon'
|
37
36
|
}
|
38
37
|
},
|
38
|
+
resourceHints: {
|
39
|
+
allowPrefetchingMultipleChunks: false
|
40
|
+
},
|
39
41
|
i18n: {
|
40
42
|
chunkSplitEnable: {
|
41
43
|
value: false,
|
@@ -63,7 +65,39 @@ var _default = {
|
|
63
65
|
// ],
|
64
66
|
templateLabel: '{{--dir}}',
|
65
67
|
disableMiniFiySelector: false,
|
66
|
-
dirVarName: 'document.dir'
|
68
|
+
dirVarName: 'document.dir',
|
69
|
+
selectorReplace: {
|
70
|
+
before: [],
|
71
|
+
after: []
|
72
|
+
},
|
73
|
+
plugins: null,
|
74
|
+
// @type {Boolean | Array}
|
75
|
+
postCssPluginOrder: null,
|
76
|
+
patterns: {
|
77
|
+
valueReplacer: [],
|
78
|
+
selectorReplace: [],
|
79
|
+
hoverActive: [],
|
80
|
+
combinerMediaQuery: [],
|
81
|
+
hasRTL: [],
|
82
|
+
cssVariableReplacement: [],
|
83
|
+
selectorWeight: [],
|
84
|
+
cssUniqueness: [],
|
85
|
+
composeMinification: []
|
86
|
+
},
|
87
|
+
exclude: {
|
88
|
+
rtl: [],
|
89
|
+
hoverActive: [],
|
90
|
+
combinerMediaQuery: [],
|
91
|
+
cssVariableReplacement: [],
|
92
|
+
selectorWeight: [],
|
93
|
+
hasRTL: []
|
94
|
+
},
|
95
|
+
cssVariableReplacementConfig: '',
|
96
|
+
selectorWeightConfig: {
|
97
|
+
defaultSelector: '',
|
98
|
+
customFileDetails: '',
|
99
|
+
excludeStrings: []
|
100
|
+
}
|
67
101
|
},
|
68
102
|
efc: {
|
69
103
|
hasEFC: {
|
@@ -92,9 +126,10 @@ var _default = {
|
|
92
126
|
},
|
93
127
|
app: {
|
94
128
|
moduleResolvePath: {
|
95
|
-
value: '',
|
129
|
+
value: '@zohodesk/client_packages_group',
|
96
130
|
cli: 'module_resolve_path'
|
97
131
|
},
|
132
|
+
customClassNamePrefix: [],
|
98
133
|
// this option only for impact testing
|
99
134
|
devCssFileBountry: {
|
100
135
|
value: '',
|
@@ -124,6 +159,13 @@ var _default = {
|
|
124
159
|
filenames: [],
|
125
160
|
packages: []
|
126
161
|
},
|
162
|
+
customAttributes: {
|
163
|
+
enable: false,
|
164
|
+
attributes: null,
|
165
|
+
jsAttributes: null,
|
166
|
+
cssAttributes: null,
|
167
|
+
i18nAttributes: null
|
168
|
+
},
|
127
169
|
server: {
|
128
170
|
host: {
|
129
171
|
value: (0, _os.hostname)(),
|
@@ -221,19 +263,27 @@ var _default = {
|
|
221
263
|
value: true,
|
222
264
|
cli: 'enable_smaphook'
|
223
265
|
},
|
224
|
-
plugins:
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
266
|
+
plugins: null,
|
267
|
+
postCssPluginOrder: null,
|
268
|
+
patterns: {
|
269
|
+
valueReplacer: [],
|
270
|
+
selectorReplace: [],
|
271
|
+
hoverActive: [],
|
272
|
+
combinerMediaQuery: [],
|
273
|
+
hasRTL: [],
|
274
|
+
cssVariableReplacement: [],
|
275
|
+
selectorWeight: [],
|
276
|
+
cssUniqueness: [],
|
277
|
+
composeMinification: [],
|
278
|
+
autoPrefixer: []
|
230
279
|
},
|
231
280
|
exclude: {
|
232
281
|
rtl: [],
|
233
282
|
hoverActive: [],
|
234
283
|
combinerMediaQuery: [],
|
235
284
|
cssVariableReplacement: [],
|
236
|
-
selectorWeight: []
|
285
|
+
selectorWeight: [],
|
286
|
+
hasRTL: []
|
237
287
|
},
|
238
288
|
cssVariableReplacementConfig: '',
|
239
289
|
selectorWeightConfig: {
|
@@ -241,6 +291,12 @@ var _default = {
|
|
241
291
|
customFileDetails: '',
|
242
292
|
excludeStrings: []
|
243
293
|
},
|
294
|
+
prefixConfig: {
|
295
|
+
include: [],
|
296
|
+
exclude: [],
|
297
|
+
replacements: null,
|
298
|
+
browsers: null
|
299
|
+
},
|
244
300
|
seperateCssModules: {
|
245
301
|
value: false,
|
246
302
|
cli: 'sep_cssmodules'
|
@@ -272,6 +328,7 @@ var _default = {
|
|
272
328
|
inject: true
|
273
329
|
},
|
274
330
|
removePropTypes: false,
|
331
|
+
customChunksBaseConfig: null,
|
275
332
|
customChunks: [{
|
276
333
|
name: 'styles',
|
277
334
|
pattern: '\\.css$'
|
@@ -287,9 +344,11 @@ var _default = {
|
|
287
344
|
sourcemap: {
|
288
345
|
cli: 'source_map',
|
289
346
|
value: 'cheap-eval-source-map'
|
290
|
-
}
|
347
|
+
},
|
348
|
+
externals: null
|
291
349
|
},
|
292
350
|
docs: {
|
351
|
+
externals: null,
|
293
352
|
server: {
|
294
353
|
iphost: (0, _getIp.default)(),
|
295
354
|
host: (0, _os.hostname)(),
|
@@ -307,6 +366,7 @@ var _default = {
|
|
307
366
|
hover: 'all and (min--moz-device-pixel-ratio:0) and (hover: hover), (hover: hover)',
|
308
367
|
none: '(hover: none)'
|
309
368
|
},
|
369
|
+
customClassNamePrefix: [],
|
310
370
|
componentFolder: 'src',
|
311
371
|
cssUniqueness: {
|
312
372
|
value: true,
|
@@ -317,20 +377,36 @@ var _default = {
|
|
317
377
|
disableES5Transpile: false,
|
318
378
|
// TODO: Deprecated
|
319
379
|
hasRTL: false,
|
380
|
+
enableReactLive: {
|
381
|
+
value: true,
|
382
|
+
cli: 'react_live'
|
383
|
+
},
|
384
|
+
enableMDParser: {
|
385
|
+
value: true,
|
386
|
+
cli: 'markdown_parser'
|
387
|
+
},
|
320
388
|
rtlExclude: [],
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
389
|
+
selectorReplace: null,
|
390
|
+
plugins: null,
|
391
|
+
postCssPluginOrder: null,
|
392
|
+
patterns: {
|
393
|
+
valueReplacer: [],
|
394
|
+
selectorReplace: [],
|
395
|
+
hoverActive: [],
|
396
|
+
combinerMediaQuery: [],
|
397
|
+
hasRTL: [],
|
398
|
+
cssVariableReplacement: [],
|
399
|
+
selectorWeight: [],
|
400
|
+
cssUniqueness: [],
|
401
|
+
autoPrefixer: []
|
327
402
|
},
|
328
403
|
exclude: {
|
329
404
|
rtl: [],
|
330
405
|
hoverActive: [],
|
331
406
|
combinerMediaQuery: [],
|
332
407
|
cssVariableReplacement: [],
|
333
|
-
selectorWeight: []
|
408
|
+
selectorWeight: [],
|
409
|
+
hasRTL: []
|
334
410
|
},
|
335
411
|
cssVariableReplacementConfig: '',
|
336
412
|
selectorWeightConfig: {
|
@@ -338,6 +414,12 @@ var _default = {
|
|
338
414
|
customFileDetails: '',
|
339
415
|
excludeStrings: []
|
340
416
|
},
|
417
|
+
prefixConfig: {
|
418
|
+
include: [],
|
419
|
+
exclude: [],
|
420
|
+
replacements: null,
|
421
|
+
browsers: null
|
422
|
+
},
|
341
423
|
cssHashSelectors: {
|
342
424
|
filenames: [],
|
343
425
|
packages: []
|
@@ -657,6 +739,15 @@ var _default = {
|
|
657
739
|
cli: 'module_mode'
|
658
740
|
},
|
659
741
|
disableES5Transpile: true
|
742
|
+
},
|
743
|
+
stats: {
|
744
|
+
enable: {
|
745
|
+
value: false,
|
746
|
+
cli: 'enable_stats'
|
747
|
+
},
|
748
|
+
fileName: null,
|
749
|
+
options: null,
|
750
|
+
excludeKeys: null
|
660
751
|
}
|
661
752
|
};
|
662
753
|
exports.default = _default;
|