create-packer 1.34.9 → 1.35.0
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.
- package/README.md +4 -4
- package/package.json +1 -1
- package/template/web-app/react-rspack/.env +2 -0
- package/template/web-app/react-rspack/.env.development +2 -0
- package/template/web-app/react-rspack/.eslintrc +120 -0
- package/template/web-app/react-rspack/README.md +14 -0
- package/template/web-app/react-rspack/domain/router/router.tsx +28 -0
- package/template/web-app/react-rspack/env.d.ts +17 -0
- package/template/web-app/react-rspack/index.html +12 -0
- package/template/web-app/react-rspack/package.json +83 -0
- package/template/web-app/react-rspack/public/rsbuild-logo.svg +1 -0
- package/template/web-app/react-rspack/rsbuild.config.ts +78 -0
- package/template/web-app/react-rspack/shared/service/home.ts +8 -0
- package/template/web-app/react-rspack/shared/service/request.ts +5 -0
- package/template/web-app/react-rspack/tsconfig.node.json +14 -0
- package/template/web-app/react-vite/.editorconfig +14 -0
- package/template/web-app/react-vite/.eslintignore +4 -0
- package/template/web-app/react-vite/.gitignore +28 -0
- package/template/web-app/react-vite/.husky/commit-msg +4 -0
- package/template/web-app/react-vite/.husky/pre-commit +4 -0
- package/template/web-app/react-vite/.prettierignore +6 -0
- package/template/web-app/react-vite/.prettierrc +12 -0
- package/template/web-app/react-vite/.stylelintignore +4 -0
- package/template/web-app/react-vite/.stylelintrc +24 -0
- package/template/web-app/react-vite/.vscode/extensions.json +8 -0
- package/template/web-app/react-vite/.vscode/settings.json +18 -0
- package/template/web-app/react-vite/commitlint.config.cjs +1 -0
- package/template/web-app/react-vite/domain/app/app.model.ts +7 -0
- package/template/web-app/react-vite/domain/app/app.styled.ts +3 -0
- package/template/web-app/react-vite/domain/app/components/app-context.tsx +17 -0
- package/template/web-app/react-vite/domain/app/components/app.tsx +24 -0
- package/template/web-app/react-vite/domain/app/components/index.ts +1 -0
- package/template/web-app/react-vite/domain/app/index.ts +2 -0
- package/template/web-app/react-vite/domain/router/home/ids.ts +3 -0
- package/template/web-app/react-vite/domain/router/home/index.ts +2 -0
- package/template/web-app/react-vite/domain/router/home/routes.tsx +13 -0
- package/template/web-app/react-vite/domain/router/ids.ts +6 -0
- package/template/web-app/react-vite/domain/router/index.ts +3 -0
- package/template/web-app/react-vite/domain/router/router.types.ts +3 -0
- package/template/web-app/react-vite/main.tsx +4 -0
- package/template/web-app/react-vite/pages/home/home.styled.ts +7 -0
- package/template/web-app/react-vite/pages/home/home.tsx +10 -0
- package/template/web-app/react-vite/pages/home/index.ts +1 -0
- package/template/web-app/react-vite/pages/index.tsx +18 -0
- package/template/web-app/react-vite/pages/not-found.tsx +3 -0
- package/template/web-app/react-vite/postcss.config.cjs +7 -0
- package/template/web-app/react-vite/scripts/createChunks.ts +26 -0
- package/template/web-app/react-vite/scripts/index.ts +1 -0
- package/template/web-app/react-vite/shared/assets/react.svg +1 -0
- package/template/web-app/react-vite/shared/components/index.ts +0 -0
- package/template/web-app/react-vite/shared/constant/index.ts +0 -0
- package/template/web-app/react-vite/shared/hooks/defineRouter/defineRouter.types.ts +33 -0
- package/template/web-app/react-vite/shared/hooks/defineRouter/deineRouter.tsx +160 -0
- package/template/web-app/react-vite/shared/hooks/defineRouter/index.ts +2 -0
- package/template/web-app/react-vite/shared/hooks/index.ts +6 -0
- package/template/web-app/react-vite/shared/hooks/useInterval.ts +26 -0
- package/template/web-app/react-vite/shared/hooks/useLoadingAction.ts +27 -0
- package/template/web-app/react-vite/shared/hooks/useLowPriorityState.ts +26 -0
- package/template/web-app/react-vite/shared/hooks/useSyncState.ts +15 -0
- package/template/web-app/react-vite/shared/hooks/useVisible.ts +27 -0
- package/template/web-app/react-vite/shared/service/api.ts +1 -0
- package/template/web-app/react-vite/shared/service/index.ts +3 -0
- package/template/web-app/react-vite/shared/theme/index.ts +1 -0
- package/template/web-app/react-vite/shared/theme/theme.styled.ts +56 -0
- package/template/web-app/react-vite/shared/tools/componentInstance.tsx +80 -0
- package/template/web-app/react-vite/shared/tools/index.ts +1 -0
- package/template/web-app/react-vite/shared/types/index.ts +1 -0
- package/template/web-app/react-vite/shared/types/utils.ts +2 -0
- package/template/web-app/react-vite/tsconfig.json +44 -0
- package/template/web-app/react-webpack/webpack.config.mjs +4 -5
- package/template/lib/react/node_modules/.bin/acorn +0 -17
- package/template/lib/react/node_modules/.bin/acorn.CMD +0 -12
- package/template/lib/react/node_modules/.bin/acorn.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/browserslist +0 -17
- package/template/lib/react/node_modules/.bin/browserslist.CMD +0 -12
- package/template/lib/react/node_modules/.bin/browserslist.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/esbuild +0 -17
- package/template/lib/react/node_modules/.bin/esbuild.CMD +0 -12
- package/template/lib/react/node_modules/.bin/esbuild.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/prettier +0 -17
- package/template/lib/react/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/react/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/sb +0 -17
- package/template/lib/react/node_modules/.bin/sb.CMD +0 -12
- package/template/lib/react/node_modules/.bin/sb.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/storybook +0 -17
- package/template/lib/react/node_modules/.bin/storybook.CMD +0 -12
- package/template/lib/react/node_modules/.bin/storybook.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/stylelint +0 -17
- package/template/lib/react/node_modules/.bin/stylelint.CMD +0 -12
- package/template/lib/react/node_modules/.bin/stylelint.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/tsc +0 -17
- package/template/lib/react/node_modules/.bin/tsc.CMD +0 -12
- package/template/lib/react/node_modules/.bin/tsc.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/tsserver +0 -17
- package/template/lib/react/node_modules/.bin/tsserver.CMD +0 -12
- package/template/lib/react/node_modules/.bin/tsserver.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/vite +0 -17
- package/template/lib/react/node_modules/.bin/vite.CMD +0 -12
- package/template/lib/react/node_modules/.bin/vite.ps1 +0 -41
- package/template/lib/react/node_modules/eslint/LICENSE +0 -19
- package/template/lib/react/node_modules/eslint/README.md +0 -304
- package/template/lib/react/node_modules/eslint/bin/eslint.js +0 -173
- package/template/lib/react/node_modules/eslint/conf/config-schema.js +0 -93
- package/template/lib/react/node_modules/eslint/conf/default-cli-options.js +0 -32
- package/template/lib/react/node_modules/eslint/conf/globals.js +0 -154
- package/template/lib/react/node_modules/eslint/conf/replacements.json +0 -22
- package/template/lib/react/node_modules/eslint/conf/rule-type-list.json +0 -28
- package/template/lib/react/node_modules/eslint/lib/api.js +0 -26
- package/template/lib/react/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
- package/template/lib/react/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
- package/template/lib/react/node_modules/eslint/lib/cli-engine/hash.js +0 -35
- package/template/lib/react/node_modules/eslint/lib/cli-engine/index.js +0 -7
- package/template/lib/react/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
- package/template/lib/react/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
- package/template/lib/react/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
- package/template/lib/react/node_modules/eslint/lib/cli.js +0 -471
- package/template/lib/react/node_modules/eslint/lib/config/default-config.js +0 -67
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-array.js +0 -274
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-schema.js +0 -583
- package/template/lib/react/node_modules/eslint/lib/config/rule-validator.js +0 -158
- package/template/lib/react/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -902
- package/template/lib/react/node_modules/eslint/lib/eslint/eslint.js +0 -700
- package/template/lib/react/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1142
- package/template/lib/react/node_modules/eslint/lib/eslint/index.js +0 -9
- package/template/lib/react/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
- package/template/lib/react/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
- package/template/lib/react/node_modules/eslint/lib/linter/index.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/linter/interpolate.js +0 -28
- package/template/lib/react/node_modules/eslint/lib/linter/linter.js +0 -2119
- package/template/lib/react/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
- package/template/lib/react/node_modules/eslint/lib/linter/report-translator.js +0 -369
- package/template/lib/react/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
- package/template/lib/react/node_modules/eslint/lib/linter/rules.js +0 -80
- package/template/lib/react/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
- package/template/lib/react/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
- package/template/lib/react/node_modules/eslint/lib/linter/timing.js +0 -161
- package/template/lib/react/node_modules/eslint/lib/options.js +0 -398
- package/template/lib/react/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1122
- package/template/lib/react/node_modules/eslint/lib/rule-tester/index.js +0 -5
- package/template/lib/react/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
- package/template/lib/react/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
- package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
- package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
- package/template/lib/react/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
- package/template/lib/react/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
- package/template/lib/react/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
- package/template/lib/react/node_modules/eslint/lib/rules/block-spacing.js +0 -174
- package/template/lib/react/node_modules/eslint/lib/rules/brace-style.js +0 -197
- package/template/lib/react/node_modules/eslint/lib/rules/callback-return.js +0 -187
- package/template/lib/react/node_modules/eslint/lib/rules/camelcase.js +0 -399
- package/template/lib/react/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
- package/template/lib/react/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
- package/template/lib/react/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
- package/template/lib/react/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
- package/template/lib/react/node_modules/eslint/lib/rules/comma-style.js +0 -314
- package/template/lib/react/node_modules/eslint/lib/rules/complexity.js +0 -165
- package/template/lib/react/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
- package/template/lib/react/node_modules/eslint/lib/rules/consistent-return.js +0 -210
- package/template/lib/react/node_modules/eslint/lib/rules/consistent-this.js +0 -153
- package/template/lib/react/node_modules/eslint/lib/rules/constructor-super.js +0 -446
- package/template/lib/react/node_modules/eslint/lib/rules/curly.js +0 -486
- package/template/lib/react/node_modules/eslint/lib/rules/default-case-last.js +0 -44
- package/template/lib/react/node_modules/eslint/lib/rules/default-case.js +0 -97
- package/template/lib/react/node_modules/eslint/lib/rules/default-param-last.js +0 -62
- package/template/lib/react/node_modules/eslint/lib/rules/dot-location.js +0 -108
- package/template/lib/react/node_modules/eslint/lib/rules/dot-notation.js +0 -176
- package/template/lib/react/node_modules/eslint/lib/rules/eol-last.js +0 -115
- package/template/lib/react/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
- package/template/lib/react/node_modules/eslint/lib/rules/for-direction.js +0 -140
- package/template/lib/react/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
- package/template/lib/react/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
- package/template/lib/react/node_modules/eslint/lib/rules/func-names.js +0 -191
- package/template/lib/react/node_modules/eslint/lib/rules/func-style.js +0 -98
- package/template/lib/react/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
- package/template/lib/react/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
- package/template/lib/react/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
- package/template/lib/react/node_modules/eslint/lib/rules/getter-return.js +0 -204
- package/template/lib/react/node_modules/eslint/lib/rules/global-require.js +0 -90
- package/template/lib/react/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
- package/template/lib/react/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
- package/template/lib/react/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
- package/template/lib/react/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
- package/template/lib/react/node_modules/eslint/lib/rules/id-denylist.js +0 -228
- package/template/lib/react/node_modules/eslint/lib/rules/id-length.js +0 -177
- package/template/lib/react/node_modules/eslint/lib/rules/id-match.js +0 -299
- package/template/lib/react/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
- package/template/lib/react/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
- package/template/lib/react/node_modules/eslint/lib/rules/indent.js +0 -1803
- package/template/lib/react/node_modules/eslint/lib/rules/index.js +0 -306
- package/template/lib/react/node_modules/eslint/lib/rules/init-declarations.js +0 -139
- package/template/lib/react/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
- package/template/lib/react/node_modules/eslint/lib/rules/key-spacing.js +0 -687
- package/template/lib/react/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
- package/template/lib/react/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
- package/template/lib/react/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
- package/template/lib/react/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
- package/template/lib/react/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
- package/template/lib/react/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
- package/template/lib/react/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
- package/template/lib/react/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
- package/template/lib/react/node_modules/eslint/lib/rules/max-depth.js +0 -156
- package/template/lib/react/node_modules/eslint/lib/rules/max-len.js +0 -440
- package/template/lib/react/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
- package/template/lib/react/node_modules/eslint/lib/rules/max-lines.js +0 -193
- package/template/lib/react/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
- package/template/lib/react/node_modules/eslint/lib/rules/max-params.js +0 -102
- package/template/lib/react/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
- package/template/lib/react/node_modules/eslint/lib/rules/max-statements.js +0 -184
- package/template/lib/react/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
- package/template/lib/react/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
- package/template/lib/react/node_modules/eslint/lib/rules/new-cap.js +0 -276
- package/template/lib/react/node_modules/eslint/lib/rules/new-parens.js +0 -93
- package/template/lib/react/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
- package/template/lib/react/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
- package/template/lib/react/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
- package/template/lib/react/node_modules/eslint/lib/rules/no-alert.js +0 -138
- package/template/lib/react/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
- package/template/lib/react/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
- package/template/lib/react/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
- package/template/lib/react/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
- package/template/lib/react/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
- package/template/lib/react/node_modules/eslint/lib/rules/no-caller.js +0 -46
- package/template/lib/react/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
- package/template/lib/react/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
- package/template/lib/react/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
- package/template/lib/react/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
- package/template/lib/react/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
- package/template/lib/react/node_modules/eslint/lib/rules/no-console.js +0 -207
- package/template/lib/react/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
- package/template/lib/react/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
- package/template/lib/react/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
- package/template/lib/react/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
- package/template/lib/react/node_modules/eslint/lib/rules/no-continue.js +0 -39
- package/template/lib/react/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
- package/template/lib/react/node_modules/eslint/lib/rules/no-debugger.js +0 -43
- package/template/lib/react/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
- package/template/lib/react/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
- package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
- package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
- package/template/lib/react/node_modules/eslint/lib/rules/no-else-return.js +0 -405
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty.js +0 -103
- package/template/lib/react/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
- package/template/lib/react/node_modules/eslint/lib/rules/no-eval.js +0 -286
- package/template/lib/react/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
- package/template/lib/react/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
- package/template/lib/react/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
- package/template/lib/react/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
- package/template/lib/react/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
- package/template/lib/react/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
- package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
- package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
- package/template/lib/react/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
- package/template/lib/react/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
- package/template/lib/react/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
- package/template/lib/react/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
- package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
- package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
- package/template/lib/react/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
- package/template/lib/react/node_modules/eslint/lib/rules/no-iterator.js +0 -52
- package/template/lib/react/node_modules/eslint/lib/rules/no-label-var.js +0 -80
- package/template/lib/react/node_modules/eslint/lib/rules/no-labels.js +0 -149
- package/template/lib/react/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
- package/template/lib/react/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
- package/template/lib/react/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
- package/template/lib/react/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
- package/template/lib/react/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
- package/template/lib/react/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
- package/template/lib/react/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
- package/template/lib/react/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
- package/template/lib/react/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
- package/template/lib/react/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
- package/template/lib/react/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-func.js +0 -87
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-object.js +0 -67
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-require.js +0 -50
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/rules/no-new.js +0 -43
- package/template/lib/react/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
- package/template/lib/react/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
- package/template/lib/react/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
- package/template/lib/react/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
- package/template/lib/react/node_modules/eslint/lib/rules/no-octal.js +0 -45
- package/template/lib/react/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
- package/template/lib/react/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
- package/template/lib/react/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
- package/template/lib/react/node_modules/eslint/lib/rules/no-process-env.js +0 -51
- package/template/lib/react/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
- package/template/lib/react/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
- package/template/lib/react/node_modules/eslint/lib/rules/no-proto.js +0 -48
- package/template/lib/react/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
- package/template/lib/react/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
- package/template/lib/react/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
- package/template/lib/react/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
- package/template/lib/react/node_modules/eslint/lib/rules/no-return-await.js +0 -135
- package/template/lib/react/node_modules/eslint/lib/rules/no-script-url.js +0 -61
- package/template/lib/react/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
- package/template/lib/react/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/rules/no-sequences.js +0 -138
- package/template/lib/react/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
- package/template/lib/react/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
- package/template/lib/react/node_modules/eslint/lib/rules/no-shadow.js +0 -336
- package/template/lib/react/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
- package/template/lib/react/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
- package/template/lib/react/node_modules/eslint/lib/rules/no-sync.js +0 -64
- package/template/lib/react/node_modules/eslint/lib/rules/no-tabs.js +0 -81
- package/template/lib/react/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
- package/template/lib/react/node_modules/eslint/lib/rules/no-ternary.js +0 -41
- package/template/lib/react/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
- package/template/lib/react/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
- package/template/lib/react/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
- package/template/lib/react/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
- package/template/lib/react/node_modules/eslint/lib/rules/no-undef.js +0 -79
- package/template/lib/react/node_modules/eslint/lib/rules/no-undefined.js +0 -86
- package/template/lib/react/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
- package/template/lib/react/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
- package/template/lib/react/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
- package/template/lib/react/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
- package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
- package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
- package/template/lib/react/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
- package/template/lib/react/node_modules/eslint/lib/rules/no-var.js +0 -334
- package/template/lib/react/node_modules/eslint/lib/rules/no-void.js +0 -64
- package/template/lib/react/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
- package/template/lib/react/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
- package/template/lib/react/node_modules/eslint/lib/rules/no-with.js +0 -39
- package/template/lib/react/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
- package/template/lib/react/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
- package/template/lib/react/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
- package/template/lib/react/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
- package/template/lib/react/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
- package/template/lib/react/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
- package/template/lib/react/node_modules/eslint/lib/rules/one-var.js +0 -567
- package/template/lib/react/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
- package/template/lib/react/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
- package/template/lib/react/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
- package/template/lib/react/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-const.js +0 -501
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-template.js +0 -275
- package/template/lib/react/node_modules/eslint/lib/rules/quote-props.js +0 -310
- package/template/lib/react/node_modules/eslint/lib/rules/quotes.js +0 -350
- package/template/lib/react/node_modules/eslint/lib/rules/radix.js +0 -198
- package/template/lib/react/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
- package/template/lib/react/node_modules/eslint/lib/rules/require-await.js +0 -113
- package/template/lib/react/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
- package/template/lib/react/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
- package/template/lib/react/node_modules/eslint/lib/rules/require-yield.js +0 -77
- package/template/lib/react/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
- package/template/lib/react/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
- package/template/lib/react/node_modules/eslint/lib/rules/semi-style.js +0 -158
- package/template/lib/react/node_modules/eslint/lib/rules/semi.js +0 -438
- package/template/lib/react/node_modules/eslint/lib/rules/sort-imports.js +0 -241
- package/template/lib/react/node_modules/eslint/lib/rules/sort-keys.js +0 -230
- package/template/lib/react/node_modules/eslint/lib/rules/sort-vars.js +0 -104
- package/template/lib/react/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
- package/template/lib/react/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
- package/template/lib/react/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
- package/template/lib/react/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
- package/template/lib/react/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
- package/template/lib/react/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
- package/template/lib/react/node_modules/eslint/lib/rules/strict.js +0 -277
- package/template/lib/react/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
- package/template/lib/react/node_modules/eslint/lib/rules/symbol-description.js +0 -73
- package/template/lib/react/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
- package/template/lib/react/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
- package/template/lib/react/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
- package/template/lib/react/node_modules/eslint/lib/rules/use-isnan.js +0 -141
- package/template/lib/react/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
- package/template/lib/react/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
- package/template/lib/react/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
- package/template/lib/react/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
- package/template/lib/react/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
- package/template/lib/react/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
- package/template/lib/react/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
- package/template/lib/react/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
- package/template/lib/react/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
- package/template/lib/react/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
- package/template/lib/react/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
- package/template/lib/react/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
- package/template/lib/react/node_modules/eslint/lib/rules/yoda.js +0 -353
- package/template/lib/react/node_modules/eslint/lib/shared/ajv.js +0 -34
- package/template/lib/react/node_modules/eslint/lib/shared/ast-utils.js +0 -29
- package/template/lib/react/node_modules/eslint/lib/shared/config-validator.js +0 -347
- package/template/lib/react/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
- package/template/lib/react/node_modules/eslint/lib/shared/directives.js +0 -15
- package/template/lib/react/node_modules/eslint/lib/shared/logging.js +0 -30
- package/template/lib/react/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
- package/template/lib/react/node_modules/eslint/lib/shared/runtime-info.js +0 -167
- package/template/lib/react/node_modules/eslint/lib/shared/severity.js +0 -49
- package/template/lib/react/node_modules/eslint/lib/shared/string-utils.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/shared/traverser.js +0 -195
- package/template/lib/react/node_modules/eslint/lib/shared/types.js +0 -216
- package/template/lib/react/node_modules/eslint/lib/source-code/index.js +0 -5
- package/template/lib/react/node_modules/eslint/lib/source-code/source-code.js +0 -1055
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
- package/template/lib/react/node_modules/eslint/lib/unsupported-api.js +0 -30
- package/template/lib/react/node_modules/eslint/messages/all-files-ignored.js +0 -16
- package/template/lib/react/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
- package/template/lib/react/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
- package/template/lib/react/node_modules/eslint/messages/extend-config-missing.js +0 -13
- package/template/lib/react/node_modules/eslint/messages/failed-to-read-json.js +0 -11
- package/template/lib/react/node_modules/eslint/messages/file-not-found.js +0 -10
- package/template/lib/react/node_modules/eslint/messages/invalid-rule-options.js +0 -17
- package/template/lib/react/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
- package/template/lib/react/node_modules/eslint/messages/no-config-found.js +0 -15
- package/template/lib/react/node_modules/eslint/messages/plugin-conflict.js +0 -22
- package/template/lib/react/node_modules/eslint/messages/plugin-invalid.js +0 -16
- package/template/lib/react/node_modules/eslint/messages/plugin-missing.js +0 -19
- package/template/lib/react/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
- package/template/lib/react/node_modules/eslint/messages/shared.js +0 -18
- package/template/lib/react/node_modules/eslint/messages/whitespace-found.js +0 -11
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml +0 -17
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.CMD +0 -12
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +0 -41
- package/template/lib/react/node_modules/eslint/package.json +0 -179
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/LICENSE +0 -5
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/README.md +0 -232
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.cjs +0 -278
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +0 -20
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +0 -251
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js +0 -252
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js.map +0 -1
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/package.json +0 -108
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/shim.d.ts +0 -4
- package/template/lib/react/node_modules/eslint-plugin-import/CHANGELOG.md +0 -1925
- package/template/lib/react/node_modules/eslint-plugin-import/CONTRIBUTING.md +0 -84
- package/template/lib/react/node_modules/eslint-plugin-import/LICENSE +0 -22
- package/template/lib/react/node_modules/eslint-plugin-import/README.md +0 -500
- package/template/lib/react/node_modules/eslint-plugin-import/RELEASE.md +0 -54
- package/template/lib/react/node_modules/eslint-plugin-import/SECURITY.md +0 -11
- package/template/lib/react/node_modules/eslint-plugin-import/config/electron.js +0 -8
- package/template/lib/react/node_modules/eslint-plugin-import/config/errors.js +0 -14
- package/template/lib/react/node_modules/eslint-plugin-import/config/react-native.js +0 -13
- package/template/lib/react/node_modules/eslint-plugin-import/config/react.js +0 -18
- package/template/lib/react/node_modules/eslint-plugin-import/config/recommended.js +0 -28
- package/template/lib/react/node_modules/eslint-plugin-import/config/stage-0.js +0 -12
- package/template/lib/react/node_modules/eslint-plugin-import/config/typescript.js +0 -34
- package/template/lib/react/node_modules/eslint-plugin-import/config/warnings.js +0 -12
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +0 -91
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/default.md +0 -72
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +0 -92
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/export.md +0 -37
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/exports-last.md +0 -51
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/extensions.md +0 -174
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/first.md +0 -75
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/group-exports.md +0 -118
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/imports-first.md +0 -9
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +0 -70
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/named.md +0 -102
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/namespace.md +0 -106
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +0 -167
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +0 -54
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-amd.md +0 -37
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +0 -83
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +0 -96
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +0 -111
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +0 -65
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +0 -62
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +0 -109
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +0 -25
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +0 -49
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +0 -139
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +0 -81
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +0 -136
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +0 -54
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +0 -52
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +0 -53
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +0 -36
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +0 -79
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +0 -44
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +0 -42
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +0 -70
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +0 -123
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +0 -198
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +0 -32
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +0 -60
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +0 -110
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +0 -125
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +0 -85
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +0 -39
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/order.md +0 -365
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +0 -185
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +0 -57
- package/template/lib/react/node_modules/eslint-plugin-import/lib/ExportMap.js +0 -856
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/importType.js +0 -129
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/packagePath.js +0 -22
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/staticRequire.js +0 -11
- package/template/lib/react/node_modules/eslint-plugin-import/lib/docsUrl.js +0 -8
- package/template/lib/react/node_modules/eslint-plugin-import/lib/importDeclaration.js +0 -5
- package/template/lib/react/node_modules/eslint-plugin-import/lib/index.js +0 -71
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +0 -221
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/default.js +0 -40
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +0 -120
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/export.js +0 -250
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/exports-last.js +0 -40
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/extensions.js +0 -193
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/first.js +0 -144
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/group-exports.js +0 -155
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/imports-first.js +0 -16
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +0 -60
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/named.js +0 -143
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/namespace.js +0 -218
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +0 -237
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +0 -40
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-amd.js +0 -47
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +0 -103
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +0 -141
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +0 -158
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +0 -43
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +0 -138
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +0 -354
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +0 -77
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +0 -105
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +0 -301
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +0 -85
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +0 -144
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +0 -59
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +0 -96
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +0 -45
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +0 -31
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +0 -39
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +0 -175
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +0 -44
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +0 -71
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +0 -48
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +0 -245
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +0 -39
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +0 -79
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +0 -60
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +0 -945
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +0 -147
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +0 -26
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/order.js +0 -785
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +0 -116
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +0 -38
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/LICENSE +0 -22
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/README.md +0 -21
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/index.js +0 -41
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver +0 -17
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-import/package.json +0 -124
- package/template/lib/react/node_modules/eslint-plugin-prettier/LICENSE.md +0 -24
- package/template/lib/react/node_modules/eslint-plugin-prettier/README.md +0 -202
- package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +0 -5
- package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +0 -254
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +0 -17
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +0 -17
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-prettier/package.json +0 -101
- package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.d.ts +0 -5
- package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.js +0 -17
- package/template/lib/react/node_modules/eslint-plugin-prettier/worker.js +0 -181
- package/template/lib/react/node_modules/eslint-plugin-react/LICENSE +0 -22
- package/template/lib/react/node_modules/eslint-plugin-react/README.md +0 -420
- package/template/lib/react/node_modules/eslint-plugin-react/configs/all.js +0 -39
- package/template/lib/react/node_modules/eslint-plugin-react/configs/jsx-runtime.js +0 -18
- package/template/lib/react/node_modules/eslint-plugin-react/configs/recommended.js +0 -34
- package/template/lib/react/node_modules/eslint-plugin-react/index.js +0 -31
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js +0 -400
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/button-has-type.js +0 -163
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js +0 -108
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js +0 -280
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/display-name.js +0 -283
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js +0 -134
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js +0 -121
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js +0 -114
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js +0 -134
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js +0 -293
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js +0 -284
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js +0 -203
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js +0 -142
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/index.js +0 -106
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js +0 -159
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js +0 -116
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js +0 -308
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js +0 -73
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js +0 -414
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js +0 -184
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js +0 -430
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js +0 -110
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js +0 -110
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js +0 -80
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js +0 -209
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js +0 -171
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js +0 -213
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js +0 -441
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-key.js +0 -293
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js +0 -162
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js +0 -154
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js +0 -168
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js +0 -208
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js +0 -64
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js +0 -225
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js +0 -76
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js +0 -186
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js +0 -195
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js +0 -97
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js +0 -283
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js +0 -115
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js +0 -257
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js +0 -233
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js +0 -163
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js +0 -134
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js +0 -141
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js +0 -188
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js +0 -530
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js +0 -96
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js +0 -323
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-react.js +0 -46
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-vars.js +0 -60
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js +0 -260
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js +0 -187
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js +0 -125
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js +0 -288
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js +0 -144
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js +0 -119
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js +0 -155
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger.js +0 -74
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js +0 -258
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js +0 -10
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js +0 -10
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js +0 -154
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js +0 -50
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js +0 -639
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js +0 -55
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js +0 -80
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-namespace.js +0 -61
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js +0 -103
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js +0 -87
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js +0 -81
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-set-state.js +0 -88
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js +0 -119
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js +0 -46
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-typos.js +0 -257
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js +0 -133
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js +0 -609
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unsafe.js +0 -153
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unstable-nested-components.js +0 -491
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js +0 -257
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js +0 -173
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-state.js +0 -522
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-will-update-set-state.js +0 -14
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-es6-class.js +0 -57
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js +0 -161
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-read-only-props.js +0 -116
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-stateless-function.js +0 -390
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prop-types.js +0 -201
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/react-in-jsx-scope.js +0 -56
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-default-props.js +0 -193
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-optimization.js +0 -239
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-render-return.js +0 -104
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/self-closing-comp.js +0 -103
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-comp.js +0 -446
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-default-props.js +0 -174
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-prop-types.js +0 -266
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/state-in-constructor.js +0 -67
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/static-property-placement.js +0 -187
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/style-prop-object.js +0 -137
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/void-dom-elements-no-children.js +0 -165
- package/template/lib/react/node_modules/eslint-plugin-react/lib/types.d.ts +0 -28
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/Components.js +0 -946
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/annotations.js +0 -32
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/ast.js +0 -461
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/componentUtil.js +0 -182
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/defaultProps.js +0 -268
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/docsUrl.js +0 -7
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/error.js +0 -14
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js +0 -16
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateContext.js +0 -53
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateElement.js +0 -33
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isDestructuredFromPragmaImport.js +0 -79
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isFirstLetterCapitalized.js +0 -16
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/jsx.js +0 -196
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/lifecycleMethods.js +0 -30
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/linkComponents.js +0 -49
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/log.js +0 -14
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js +0 -119
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/message.js +0 -8
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/pragma.js +0 -72
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypes.js +0 -1248
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypesSort.js +0 -211
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propWrapper.js +0 -61
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/props.js +0 -103
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/report.js +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/usedPropTypes.js +0 -569
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/variable.js +0 -94
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/version.js +0 -161
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve +0 -17
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver +0 -17
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-react/package.json +0 -106
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/LICENSE +0 -21
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/README.md +0 -75
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js +0 -2458
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js +0 -63
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/index.js +0 -9
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/package.json +0 -39
- package/template/lib/react/node_modules/prettier/LICENSE +0 -4857
- package/template/lib/react/node_modules/prettier/README.md +0 -109
- package/template/lib/react/node_modules/prettier/bin/prettier.cjs +0 -68
- package/template/lib/react/node_modules/prettier/doc.d.ts +0 -243
- package/template/lib/react/node_modules/prettier/doc.js +0 -1328
- package/template/lib/react/node_modules/prettier/doc.mjs +0 -1300
- package/template/lib/react/node_modules/prettier/index.cjs +0 -648
- package/template/lib/react/node_modules/prettier/index.d.ts +0 -940
- package/template/lib/react/node_modules/prettier/index.mjs +0 -24255
- package/template/lib/react/node_modules/prettier/internal/cli.mjs +0 -7089
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier +0 -17
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/react/node_modules/prettier/package.json +0 -198
- package/template/lib/react/node_modules/prettier/plugins/acorn.d.ts +0 -6
- package/template/lib/react/node_modules/prettier/plugins/acorn.js +0 -13
- package/template/lib/react/node_modules/prettier/plugins/acorn.mjs +0 -13
- package/template/lib/react/node_modules/prettier/plugins/angular.d.ts +0 -8
- package/template/lib/react/node_modules/prettier/plugins/angular.js +0 -1
- package/template/lib/react/node_modules/prettier/plugins/angular.mjs +0 -1
- package/template/lib/react/node_modules/prettier/plugins/babel.d.ts +0 -18
- package/template/lib/react/node_modules/prettier/plugins/babel.js +0 -16
- package/template/lib/react/node_modules/prettier/plugins/babel.mjs +0 -16
- package/template/lib/react/node_modules/prettier/plugins/estree.d.ts +0 -1
- package/template/lib/react/node_modules/prettier/plugins/estree.js +0 -36
- package/template/lib/react/node_modules/prettier/plugins/estree.mjs +0 -36
- package/template/lib/react/node_modules/prettier/plugins/flow.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/flow.js +0 -21
- package/template/lib/react/node_modules/prettier/plugins/flow.mjs +0 -21
- package/template/lib/react/node_modules/prettier/plugins/glimmer.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/glimmer.js +0 -30
- package/template/lib/react/node_modules/prettier/plugins/glimmer.mjs +0 -30
- package/template/lib/react/node_modules/prettier/plugins/graphql.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/graphql.js +0 -29
- package/template/lib/react/node_modules/prettier/plugins/graphql.mjs +0 -29
- package/template/lib/react/node_modules/prettier/plugins/html.d.ts +0 -8
- package/template/lib/react/node_modules/prettier/plugins/html.js +0 -19
- package/template/lib/react/node_modules/prettier/plugins/html.mjs +0 -19
- package/template/lib/react/node_modules/prettier/plugins/markdown.d.ts +0 -7
- package/template/lib/react/node_modules/prettier/plugins/markdown.js +0 -59
- package/template/lib/react/node_modules/prettier/plugins/markdown.mjs +0 -59
- package/template/lib/react/node_modules/prettier/plugins/meriyah.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/meriyah.js +0 -5
- package/template/lib/react/node_modules/prettier/plugins/meriyah.mjs +0 -5
- package/template/lib/react/node_modules/prettier/plugins/postcss.d.ts +0 -7
- package/template/lib/react/node_modules/prettier/plugins/postcss.js +0 -49
- package/template/lib/react/node_modules/prettier/plugins/postcss.mjs +0 -49
- package/template/lib/react/node_modules/prettier/plugins/typescript.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/typescript.js +0 -25
- package/template/lib/react/node_modules/prettier/plugins/typescript.mjs +0 -25
- package/template/lib/react/node_modules/prettier/plugins/yaml.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/yaml.js +0 -161
- package/template/lib/react/node_modules/prettier/plugins/yaml.mjs +0 -161
- package/template/lib/react/node_modules/prettier/standalone.d.ts +0 -33
- package/template/lib/react/node_modules/prettier/standalone.js +0 -34
- package/template/lib/react/node_modules/prettier/standalone.mjs +0 -34
- package/template/lib/react/node_modules/prop-types/LICENSE +0 -21
- package/template/lib/react/node_modules/prop-types/README.md +0 -302
- package/template/lib/react/node_modules/prop-types/checkPropTypes.js +0 -103
- package/template/lib/react/node_modules/prop-types/factory.js +0 -19
- package/template/lib/react/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
- package/template/lib/react/node_modules/prop-types/factoryWithTypeCheckers.js +0 -610
- package/template/lib/react/node_modules/prop-types/index.js +0 -19
- package/template/lib/react/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
- package/template/lib/react/node_modules/prop-types/lib/has.js +0 -1
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify +0 -17
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.CMD +0 -12
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.ps1 +0 -41
- package/template/lib/react/node_modules/prop-types/package.json +0 -60
- package/template/lib/react/node_modules/prop-types/prop-types.js +0 -1315
- package/template/lib/react/node_modules/prop-types/prop-types.min.js +0 -1
- package/template/lib/react/node_modules/react/LICENSE +0 -21
- package/template/lib/react/node_modules/react/README.md +0 -37
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1296
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -10
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -10
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1314
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -11
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -11
- package/template/lib/react/node_modules/react/cjs/react.development.js +0 -2739
- package/template/lib/react/node_modules/react/cjs/react.production.min.js +0 -26
- package/template/lib/react/node_modules/react/cjs/react.shared-subset.development.js +0 -20
- package/template/lib/react/node_modules/react/cjs/react.shared-subset.production.min.js +0 -10
- package/template/lib/react/node_modules/react/index.js +0 -7
- package/template/lib/react/node_modules/react/jsx-dev-runtime.js +0 -7
- package/template/lib/react/node_modules/react/jsx-runtime.js +0 -7
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify +0 -17
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.CMD +0 -12
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.ps1 +0 -41
- package/template/lib/react/node_modules/react/package.json +0 -47
- package/template/lib/react/node_modules/react/react.shared-subset.js +0 -7
- package/template/lib/react/node_modules/react/umd/react.development.js +0 -3342
- package/template/lib/react/node_modules/react/umd/react.production.min.js +0 -31
- package/template/lib/react/node_modules/react/umd/react.profiling.min.js +0 -31
- package/template/lib/react/node_modules/react-dom/LICENSE +0 -21
- package/template/lib/react/node_modules/react-dom/README.md +0 -60
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -7018
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -93
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +0 -7078
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +0 -101
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -7003
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -96
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -7059
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -102
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -1741
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -40
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.development.js +0 -29868
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.production.min.js +0 -323
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -367
- package/template/lib/react/node_modules/react-dom/client.js +0 -25
- package/template/lib/react/node_modules/react-dom/index.js +0 -38
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify +0 -17
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.CMD +0 -12
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.ps1 +0 -41
- package/template/lib/react/node_modules/react-dom/package.json +0 -62
- package/template/lib/react/node_modules/react-dom/profiling.js +0 -38
- package/template/lib/react/node_modules/react-dom/server.browser.js +0 -17
- package/template/lib/react/node_modules/react-dom/server.js +0 -3
- package/template/lib/react/node_modules/react-dom/server.node.js +0 -17
- package/template/lib/react/node_modules/react-dom/test-utils.js +0 -7
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +0 -7015
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +0 -75
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -7000
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -76
- package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -1737
- package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -33
- package/template/lib/react/node_modules/react-dom/umd/react-dom.development.js +0 -29869
- package/template/lib/react/node_modules/react-dom/umd/react-dom.production.min.js +0 -267
- package/template/lib/react/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -285
- package/template/lib/react/node_modules/stylelint-config-standard-scss/LICENSE +0 -21
- package/template/lib/react/node_modules/stylelint-config-standard-scss/README.md +0 -50
- package/template/lib/react/node_modules/stylelint-config-standard-scss/index.js +0 -67
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +0 -17
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +0 -12
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +0 -41
- package/template/lib/react/node_modules/stylelint-config-standard-scss/package.json +0 -58
- package/template/lib/ts/node_modules/.bin/acorn +0 -17
- package/template/lib/ts/node_modules/.bin/acorn.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/acorn.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/prettier +0 -17
- package/template/lib/ts/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/stylelint +0 -17
- package/template/lib/ts/node_modules/.bin/stylelint.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/stylelint.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/tsc +0 -17
- package/template/lib/ts/node_modules/.bin/tsc.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/tsc.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/tsserver +0 -17
- package/template/lib/ts/node_modules/.bin/tsserver.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/tsserver.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/vitest +0 -17
- package/template/lib/ts/node_modules/.bin/vitest.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/vitest.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint/LICENSE +0 -19
- package/template/lib/ts/node_modules/eslint/README.md +0 -304
- package/template/lib/ts/node_modules/eslint/bin/eslint.js +0 -173
- package/template/lib/ts/node_modules/eslint/conf/config-schema.js +0 -93
- package/template/lib/ts/node_modules/eslint/conf/default-cli-options.js +0 -32
- package/template/lib/ts/node_modules/eslint/conf/globals.js +0 -154
- package/template/lib/ts/node_modules/eslint/conf/replacements.json +0 -22
- package/template/lib/ts/node_modules/eslint/conf/rule-type-list.json +0 -28
- package/template/lib/ts/node_modules/eslint/lib/api.js +0 -26
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/hash.js +0 -35
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/index.js +0 -7
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
- package/template/lib/ts/node_modules/eslint/lib/cli.js +0 -471
- package/template/lib/ts/node_modules/eslint/lib/config/default-config.js +0 -67
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-array.js +0 -274
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-schema.js +0 -583
- package/template/lib/ts/node_modules/eslint/lib/config/rule-validator.js +0 -158
- package/template/lib/ts/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -902
- package/template/lib/ts/node_modules/eslint/lib/eslint/eslint.js +0 -700
- package/template/lib/ts/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1142
- package/template/lib/ts/node_modules/eslint/lib/eslint/index.js +0 -9
- package/template/lib/ts/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
- package/template/lib/ts/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
- package/template/lib/ts/node_modules/eslint/lib/linter/index.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/linter/interpolate.js +0 -28
- package/template/lib/ts/node_modules/eslint/lib/linter/linter.js +0 -2119
- package/template/lib/ts/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
- package/template/lib/ts/node_modules/eslint/lib/linter/report-translator.js +0 -369
- package/template/lib/ts/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
- package/template/lib/ts/node_modules/eslint/lib/linter/rules.js +0 -80
- package/template/lib/ts/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
- package/template/lib/ts/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
- package/template/lib/ts/node_modules/eslint/lib/linter/timing.js +0 -161
- package/template/lib/ts/node_modules/eslint/lib/options.js +0 -398
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1122
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/index.js +0 -5
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
- package/template/lib/ts/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
- package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
- package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
- package/template/lib/ts/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
- package/template/lib/ts/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
- package/template/lib/ts/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
- package/template/lib/ts/node_modules/eslint/lib/rules/block-spacing.js +0 -174
- package/template/lib/ts/node_modules/eslint/lib/rules/brace-style.js +0 -197
- package/template/lib/ts/node_modules/eslint/lib/rules/callback-return.js +0 -187
- package/template/lib/ts/node_modules/eslint/lib/rules/camelcase.js +0 -399
- package/template/lib/ts/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
- package/template/lib/ts/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-style.js +0 -314
- package/template/lib/ts/node_modules/eslint/lib/rules/complexity.js +0 -165
- package/template/lib/ts/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
- package/template/lib/ts/node_modules/eslint/lib/rules/consistent-return.js +0 -210
- package/template/lib/ts/node_modules/eslint/lib/rules/consistent-this.js +0 -153
- package/template/lib/ts/node_modules/eslint/lib/rules/constructor-super.js +0 -446
- package/template/lib/ts/node_modules/eslint/lib/rules/curly.js +0 -486
- package/template/lib/ts/node_modules/eslint/lib/rules/default-case-last.js +0 -44
- package/template/lib/ts/node_modules/eslint/lib/rules/default-case.js +0 -97
- package/template/lib/ts/node_modules/eslint/lib/rules/default-param-last.js +0 -62
- package/template/lib/ts/node_modules/eslint/lib/rules/dot-location.js +0 -108
- package/template/lib/ts/node_modules/eslint/lib/rules/dot-notation.js +0 -176
- package/template/lib/ts/node_modules/eslint/lib/rules/eol-last.js +0 -115
- package/template/lib/ts/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
- package/template/lib/ts/node_modules/eslint/lib/rules/for-direction.js +0 -140
- package/template/lib/ts/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
- package/template/lib/ts/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
- package/template/lib/ts/node_modules/eslint/lib/rules/func-names.js +0 -191
- package/template/lib/ts/node_modules/eslint/lib/rules/func-style.js +0 -98
- package/template/lib/ts/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
- package/template/lib/ts/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
- package/template/lib/ts/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
- package/template/lib/ts/node_modules/eslint/lib/rules/getter-return.js +0 -204
- package/template/lib/ts/node_modules/eslint/lib/rules/global-require.js +0 -90
- package/template/lib/ts/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
- package/template/lib/ts/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
- package/template/lib/ts/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
- package/template/lib/ts/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
- package/template/lib/ts/node_modules/eslint/lib/rules/id-denylist.js +0 -228
- package/template/lib/ts/node_modules/eslint/lib/rules/id-length.js +0 -177
- package/template/lib/ts/node_modules/eslint/lib/rules/id-match.js +0 -299
- package/template/lib/ts/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
- package/template/lib/ts/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
- package/template/lib/ts/node_modules/eslint/lib/rules/indent.js +0 -1803
- package/template/lib/ts/node_modules/eslint/lib/rules/index.js +0 -306
- package/template/lib/ts/node_modules/eslint/lib/rules/init-declarations.js +0 -139
- package/template/lib/ts/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
- package/template/lib/ts/node_modules/eslint/lib/rules/key-spacing.js +0 -687
- package/template/lib/ts/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
- package/template/lib/ts/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
- package/template/lib/ts/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
- package/template/lib/ts/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
- package/template/lib/ts/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
- package/template/lib/ts/node_modules/eslint/lib/rules/max-depth.js +0 -156
- package/template/lib/ts/node_modules/eslint/lib/rules/max-len.js +0 -440
- package/template/lib/ts/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
- package/template/lib/ts/node_modules/eslint/lib/rules/max-lines.js +0 -193
- package/template/lib/ts/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
- package/template/lib/ts/node_modules/eslint/lib/rules/max-params.js +0 -102
- package/template/lib/ts/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
- package/template/lib/ts/node_modules/eslint/lib/rules/max-statements.js +0 -184
- package/template/lib/ts/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
- package/template/lib/ts/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
- package/template/lib/ts/node_modules/eslint/lib/rules/new-cap.js +0 -276
- package/template/lib/ts/node_modules/eslint/lib/rules/new-parens.js +0 -93
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
- package/template/lib/ts/node_modules/eslint/lib/rules/no-alert.js +0 -138
- package/template/lib/ts/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
- package/template/lib/ts/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
- package/template/lib/ts/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
- package/template/lib/ts/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
- package/template/lib/ts/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
- package/template/lib/ts/node_modules/eslint/lib/rules/no-caller.js +0 -46
- package/template/lib/ts/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
- package/template/lib/ts/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
- package/template/lib/ts/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
- package/template/lib/ts/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
- package/template/lib/ts/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
- package/template/lib/ts/node_modules/eslint/lib/rules/no-console.js +0 -207
- package/template/lib/ts/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
- package/template/lib/ts/node_modules/eslint/lib/rules/no-continue.js +0 -39
- package/template/lib/ts/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
- package/template/lib/ts/node_modules/eslint/lib/rules/no-debugger.js +0 -43
- package/template/lib/ts/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
- package/template/lib/ts/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
- package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
- package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
- package/template/lib/ts/node_modules/eslint/lib/rules/no-else-return.js +0 -405
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty.js +0 -103
- package/template/lib/ts/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
- package/template/lib/ts/node_modules/eslint/lib/rules/no-eval.js +0 -286
- package/template/lib/ts/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
- package/template/lib/ts/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
- package/template/lib/ts/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
- package/template/lib/ts/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
- package/template/lib/ts/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
- package/template/lib/ts/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
- package/template/lib/ts/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
- package/template/lib/ts/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
- package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
- package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
- package/template/lib/ts/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
- package/template/lib/ts/node_modules/eslint/lib/rules/no-iterator.js +0 -52
- package/template/lib/ts/node_modules/eslint/lib/rules/no-label-var.js +0 -80
- package/template/lib/ts/node_modules/eslint/lib/rules/no-labels.js +0 -149
- package/template/lib/ts/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
- package/template/lib/ts/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
- package/template/lib/ts/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
- package/template/lib/ts/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
- package/template/lib/ts/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
- package/template/lib/ts/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
- package/template/lib/ts/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
- package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
- package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
- package/template/lib/ts/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-func.js +0 -87
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-object.js +0 -67
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-require.js +0 -50
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new.js +0 -43
- package/template/lib/ts/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
- package/template/lib/ts/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
- package/template/lib/ts/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
- package/template/lib/ts/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
- package/template/lib/ts/node_modules/eslint/lib/rules/no-octal.js +0 -45
- package/template/lib/ts/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
- package/template/lib/ts/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
- package/template/lib/ts/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
- package/template/lib/ts/node_modules/eslint/lib/rules/no-process-env.js +0 -51
- package/template/lib/ts/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
- package/template/lib/ts/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
- package/template/lib/ts/node_modules/eslint/lib/rules/no-proto.js +0 -48
- package/template/lib/ts/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
- package/template/lib/ts/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
- package/template/lib/ts/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
- package/template/lib/ts/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
- package/template/lib/ts/node_modules/eslint/lib/rules/no-return-await.js +0 -135
- package/template/lib/ts/node_modules/eslint/lib/rules/no-script-url.js +0 -61
- package/template/lib/ts/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
- package/template/lib/ts/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sequences.js +0 -138
- package/template/lib/ts/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
- package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
- package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow.js +0 -336
- package/template/lib/ts/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sync.js +0 -64
- package/template/lib/ts/node_modules/eslint/lib/rules/no-tabs.js +0 -81
- package/template/lib/ts/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
- package/template/lib/ts/node_modules/eslint/lib/rules/no-ternary.js +0 -41
- package/template/lib/ts/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
- package/template/lib/ts/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
- package/template/lib/ts/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undef.js +0 -79
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undefined.js +0 -86
- package/template/lib/ts/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
- package/template/lib/ts/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
- package/template/lib/ts/node_modules/eslint/lib/rules/no-var.js +0 -334
- package/template/lib/ts/node_modules/eslint/lib/rules/no-void.js +0 -64
- package/template/lib/ts/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
- package/template/lib/ts/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
- package/template/lib/ts/node_modules/eslint/lib/rules/no-with.js +0 -39
- package/template/lib/ts/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
- package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
- package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
- package/template/lib/ts/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
- package/template/lib/ts/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
- package/template/lib/ts/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
- package/template/lib/ts/node_modules/eslint/lib/rules/one-var.js +0 -567
- package/template/lib/ts/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
- package/template/lib/ts/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
- package/template/lib/ts/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
- package/template/lib/ts/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-const.js +0 -501
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-template.js +0 -275
- package/template/lib/ts/node_modules/eslint/lib/rules/quote-props.js +0 -310
- package/template/lib/ts/node_modules/eslint/lib/rules/quotes.js +0 -350
- package/template/lib/ts/node_modules/eslint/lib/rules/radix.js +0 -198
- package/template/lib/ts/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
- package/template/lib/ts/node_modules/eslint/lib/rules/require-await.js +0 -113
- package/template/lib/ts/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
- package/template/lib/ts/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
- package/template/lib/ts/node_modules/eslint/lib/rules/require-yield.js +0 -77
- package/template/lib/ts/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
- package/template/lib/ts/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
- package/template/lib/ts/node_modules/eslint/lib/rules/semi-style.js +0 -158
- package/template/lib/ts/node_modules/eslint/lib/rules/semi.js +0 -438
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-imports.js +0 -241
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-keys.js +0 -230
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-vars.js +0 -104
- package/template/lib/ts/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
- package/template/lib/ts/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
- package/template/lib/ts/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
- package/template/lib/ts/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
- package/template/lib/ts/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
- package/template/lib/ts/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
- package/template/lib/ts/node_modules/eslint/lib/rules/strict.js +0 -277
- package/template/lib/ts/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
- package/template/lib/ts/node_modules/eslint/lib/rules/symbol-description.js +0 -73
- package/template/lib/ts/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
- package/template/lib/ts/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
- package/template/lib/ts/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
- package/template/lib/ts/node_modules/eslint/lib/rules/use-isnan.js +0 -141
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
- package/template/lib/ts/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
- package/template/lib/ts/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
- package/template/lib/ts/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
- package/template/lib/ts/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
- package/template/lib/ts/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
- package/template/lib/ts/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
- package/template/lib/ts/node_modules/eslint/lib/rules/yoda.js +0 -353
- package/template/lib/ts/node_modules/eslint/lib/shared/ajv.js +0 -34
- package/template/lib/ts/node_modules/eslint/lib/shared/ast-utils.js +0 -29
- package/template/lib/ts/node_modules/eslint/lib/shared/config-validator.js +0 -347
- package/template/lib/ts/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
- package/template/lib/ts/node_modules/eslint/lib/shared/directives.js +0 -15
- package/template/lib/ts/node_modules/eslint/lib/shared/logging.js +0 -30
- package/template/lib/ts/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
- package/template/lib/ts/node_modules/eslint/lib/shared/runtime-info.js +0 -167
- package/template/lib/ts/node_modules/eslint/lib/shared/severity.js +0 -49
- package/template/lib/ts/node_modules/eslint/lib/shared/string-utils.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/shared/traverser.js +0 -195
- package/template/lib/ts/node_modules/eslint/lib/shared/types.js +0 -216
- package/template/lib/ts/node_modules/eslint/lib/source-code/index.js +0 -5
- package/template/lib/ts/node_modules/eslint/lib/source-code/source-code.js +0 -1055
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
- package/template/lib/ts/node_modules/eslint/lib/unsupported-api.js +0 -30
- package/template/lib/ts/node_modules/eslint/messages/all-files-ignored.js +0 -16
- package/template/lib/ts/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
- package/template/lib/ts/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
- package/template/lib/ts/node_modules/eslint/messages/extend-config-missing.js +0 -13
- package/template/lib/ts/node_modules/eslint/messages/failed-to-read-json.js +0 -11
- package/template/lib/ts/node_modules/eslint/messages/file-not-found.js +0 -10
- package/template/lib/ts/node_modules/eslint/messages/invalid-rule-options.js +0 -17
- package/template/lib/ts/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
- package/template/lib/ts/node_modules/eslint/messages/no-config-found.js +0 -15
- package/template/lib/ts/node_modules/eslint/messages/plugin-conflict.js +0 -22
- package/template/lib/ts/node_modules/eslint/messages/plugin-invalid.js +0 -16
- package/template/lib/ts/node_modules/eslint/messages/plugin-missing.js +0 -19
- package/template/lib/ts/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
- package/template/lib/ts/node_modules/eslint/messages/shared.js +0 -18
- package/template/lib/ts/node_modules/eslint/messages/whitespace-found.js +0 -11
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml +0 -17
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.CMD +0 -12
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint/package.json +0 -179
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/LICENSE +0 -5
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/README.md +0 -232
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.cjs +0 -278
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +0 -20
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +0 -251
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js +0 -252
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js.map +0 -1
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/package.json +0 -108
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/shim.d.ts +0 -4
- package/template/lib/ts/node_modules/eslint-plugin-import/CHANGELOG.md +0 -1925
- package/template/lib/ts/node_modules/eslint-plugin-import/CONTRIBUTING.md +0 -84
- package/template/lib/ts/node_modules/eslint-plugin-import/LICENSE +0 -22
- package/template/lib/ts/node_modules/eslint-plugin-import/README.md +0 -500
- package/template/lib/ts/node_modules/eslint-plugin-import/RELEASE.md +0 -54
- package/template/lib/ts/node_modules/eslint-plugin-import/SECURITY.md +0 -11
- package/template/lib/ts/node_modules/eslint-plugin-import/config/electron.js +0 -8
- package/template/lib/ts/node_modules/eslint-plugin-import/config/errors.js +0 -14
- package/template/lib/ts/node_modules/eslint-plugin-import/config/react-native.js +0 -13
- package/template/lib/ts/node_modules/eslint-plugin-import/config/react.js +0 -18
- package/template/lib/ts/node_modules/eslint-plugin-import/config/recommended.js +0 -28
- package/template/lib/ts/node_modules/eslint-plugin-import/config/stage-0.js +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-import/config/typescript.js +0 -34
- package/template/lib/ts/node_modules/eslint-plugin-import/config/warnings.js +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +0 -91
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/default.md +0 -72
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +0 -92
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/export.md +0 -37
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/exports-last.md +0 -51
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/extensions.md +0 -174
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/first.md +0 -75
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/group-exports.md +0 -118
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/imports-first.md +0 -9
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +0 -70
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/named.md +0 -102
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/namespace.md +0 -106
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +0 -167
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +0 -54
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-amd.md +0 -37
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +0 -83
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +0 -96
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +0 -111
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +0 -65
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +0 -62
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +0 -109
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +0 -25
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +0 -49
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +0 -139
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +0 -81
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +0 -136
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +0 -54
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +0 -52
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +0 -53
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +0 -36
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +0 -79
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +0 -44
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +0 -42
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +0 -70
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +0 -123
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +0 -198
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +0 -32
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +0 -60
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +0 -110
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +0 -125
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +0 -85
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +0 -39
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/order.md +0 -365
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +0 -185
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +0 -57
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/ExportMap.js +0 -856
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/importType.js +0 -129
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/packagePath.js +0 -22
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/staticRequire.js +0 -11
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/docsUrl.js +0 -8
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/importDeclaration.js +0 -5
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/index.js +0 -71
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +0 -221
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/default.js +0 -40
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +0 -120
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/export.js +0 -250
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/exports-last.js +0 -40
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/extensions.js +0 -193
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/first.js +0 -144
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/group-exports.js +0 -155
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/imports-first.js +0 -16
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +0 -60
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/named.js +0 -143
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/namespace.js +0 -218
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +0 -237
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +0 -40
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-amd.js +0 -47
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +0 -103
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +0 -141
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +0 -158
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +0 -43
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +0 -138
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +0 -354
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +0 -77
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +0 -105
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +0 -301
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +0 -85
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +0 -144
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +0 -59
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +0 -96
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +0 -45
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +0 -31
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +0 -39
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +0 -175
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +0 -44
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +0 -71
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +0 -48
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +0 -245
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +0 -39
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +0 -79
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +0 -60
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +0 -945
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +0 -147
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +0 -26
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/order.js +0 -785
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +0 -116
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +0 -38
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/LICENSE +0 -22
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/README.md +0 -21
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/index.js +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-import/package.json +0 -124
- package/template/lib/ts/node_modules/eslint-plugin-prettier/LICENSE.md +0 -24
- package/template/lib/ts/node_modules/eslint-plugin-prettier/README.md +0 -202
- package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +0 -5
- package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +0 -254
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-prettier/package.json +0 -101
- package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.d.ts +0 -5
- package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.js +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-prettier/worker.js +0 -181
- package/template/lib/ts/node_modules/prettier/LICENSE +0 -4857
- package/template/lib/ts/node_modules/prettier/README.md +0 -109
- package/template/lib/ts/node_modules/prettier/bin/prettier.cjs +0 -68
- package/template/lib/ts/node_modules/prettier/doc.d.ts +0 -243
- package/template/lib/ts/node_modules/prettier/doc.js +0 -1328
- package/template/lib/ts/node_modules/prettier/doc.mjs +0 -1300
- package/template/lib/ts/node_modules/prettier/index.cjs +0 -648
- package/template/lib/ts/node_modules/prettier/index.d.ts +0 -940
- package/template/lib/ts/node_modules/prettier/index.mjs +0 -24255
- package/template/lib/ts/node_modules/prettier/internal/cli.mjs +0 -7089
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier +0 -17
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/ts/node_modules/prettier/package.json +0 -198
- package/template/lib/ts/node_modules/prettier/plugins/acorn.d.ts +0 -6
- package/template/lib/ts/node_modules/prettier/plugins/acorn.js +0 -13
- package/template/lib/ts/node_modules/prettier/plugins/acorn.mjs +0 -13
- package/template/lib/ts/node_modules/prettier/plugins/angular.d.ts +0 -8
- package/template/lib/ts/node_modules/prettier/plugins/angular.js +0 -1
- package/template/lib/ts/node_modules/prettier/plugins/angular.mjs +0 -1
- package/template/lib/ts/node_modules/prettier/plugins/babel.d.ts +0 -18
- package/template/lib/ts/node_modules/prettier/plugins/babel.js +0 -16
- package/template/lib/ts/node_modules/prettier/plugins/babel.mjs +0 -16
- package/template/lib/ts/node_modules/prettier/plugins/estree.d.ts +0 -1
- package/template/lib/ts/node_modules/prettier/plugins/estree.js +0 -36
- package/template/lib/ts/node_modules/prettier/plugins/estree.mjs +0 -36
- package/template/lib/ts/node_modules/prettier/plugins/flow.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/flow.js +0 -21
- package/template/lib/ts/node_modules/prettier/plugins/flow.mjs +0 -21
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.js +0 -30
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.mjs +0 -30
- package/template/lib/ts/node_modules/prettier/plugins/graphql.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/graphql.js +0 -29
- package/template/lib/ts/node_modules/prettier/plugins/graphql.mjs +0 -29
- package/template/lib/ts/node_modules/prettier/plugins/html.d.ts +0 -8
- package/template/lib/ts/node_modules/prettier/plugins/html.js +0 -19
- package/template/lib/ts/node_modules/prettier/plugins/html.mjs +0 -19
- package/template/lib/ts/node_modules/prettier/plugins/markdown.d.ts +0 -7
- package/template/lib/ts/node_modules/prettier/plugins/markdown.js +0 -59
- package/template/lib/ts/node_modules/prettier/plugins/markdown.mjs +0 -59
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.js +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.mjs +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/postcss.d.ts +0 -7
- package/template/lib/ts/node_modules/prettier/plugins/postcss.js +0 -49
- package/template/lib/ts/node_modules/prettier/plugins/postcss.mjs +0 -49
- package/template/lib/ts/node_modules/prettier/plugins/typescript.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/typescript.js +0 -25
- package/template/lib/ts/node_modules/prettier/plugins/typescript.mjs +0 -25
- package/template/lib/ts/node_modules/prettier/plugins/yaml.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/yaml.js +0 -161
- package/template/lib/ts/node_modules/prettier/plugins/yaml.mjs +0 -161
- package/template/lib/ts/node_modules/prettier/standalone.d.ts +0 -33
- package/template/lib/ts/node_modules/prettier/standalone.js +0 -34
- package/template/lib/ts/node_modules/prettier/standalone.mjs +0 -34
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/LICENSE +0 -21
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/README.md +0 -50
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/index.js +0 -67
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +0 -17
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +0 -12
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +0 -41
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/package.json +0 -58
- /package/template/web-app/{react → react-rspack}/.editorconfig +0 -0
- /package/template/web-app/{react → react-rspack}/.eslintignore +0 -0
- /package/template/web-app/{react → react-rspack}/.gitignore +0 -0
- /package/template/web-app/{react → react-rspack}/.husky/commit-msg +0 -0
- /package/template/web-app/{react → react-rspack}/.husky/pre-commit +0 -0
- /package/template/web-app/{react → react-rspack}/.prettierignore +0 -0
- /package/template/web-app/{react → react-rspack}/.prettierrc +0 -0
- /package/template/web-app/{react → react-rspack}/.stylelintignore +0 -0
- /package/template/web-app/{react → react-rspack}/.stylelintrc +0 -0
- /package/template/web-app/{react → react-rspack}/.vscode/extensions.json +0 -0
- /package/template/web-app/{react → react-rspack}/.vscode/settings.json +0 -0
- /package/template/web-app/{react → react-rspack}/commitlint.config.cjs +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/app.model.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/app.styled.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/components/app-context.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/components/app.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/components/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/home/ids.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/home/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/home/routes.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/ids.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/router.types.ts +0 -0
- /package/template/web-app/{react → react-rspack}/main.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/pages/home/home.styled.ts +0 -0
- /package/template/web-app/{react → react-rspack}/pages/home/home.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/pages/home/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/pages/index.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/pages/not-found.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/postcss.config.cjs +0 -0
- /package/template/web-app/{react → react-rspack}/scripts/createChunks.ts +0 -0
- /package/template/web-app/{react → react-rspack}/scripts/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/assets/react.svg +0 -0
- /package/template/web-app/{react → react-rspack}/shared/components/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/constant/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/defineRouter.types.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/deineRouter.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useInterval.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useLoadingAction.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useLowPriorityState.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useSyncState.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useVisible.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/service/api.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/service/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/theme/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/theme/theme.styled.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/tools/componentInstance.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/shared/tools/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/types/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/types/utils.ts +0 -0
- /package/template/web-app/{react → react-rspack}/tsconfig.json +0 -0
- /package/template/web-app/{react → react-vite}/.env +0 -0
- /package/template/web-app/{react → react-vite}/.env.development +0 -0
- /package/template/web-app/{react → react-vite}/.eslintrc +0 -0
- /package/template/web-app/{react → react-vite}/README.md +0 -0
- /package/template/web-app/{react → react-vite}/domain/router/router.tsx +0 -0
- /package/template/web-app/{react → react-vite}/index.html +0 -0
- /package/template/web-app/{react → react-vite}/mockUtils.ts +0 -0
- /package/template/web-app/{react → react-vite}/package.json +0 -0
- /package/template/web-app/{react → react-vite}/pages/home/home.mock.ts +0 -0
- /package/template/web-app/{react → react-vite}/public/vite.svg +0 -0
- /package/template/web-app/{react → react-vite}/shared/service/home.ts +0 -0
- /package/template/web-app/{react → react-vite}/shared/service/request.ts +0 -0
- /package/template/web-app/{react → react-vite}/tsconfig.node.json +0 -0
- /package/template/web-app/{react → react-vite}/vite-env.d.ts +0 -0
- /package/template/web-app/{react → react-vite}/vite.config.ts +0 -0
|
@@ -1,1328 +0,0 @@
|
|
|
1
|
-
(function (factory) {
|
|
2
|
-
function interopModuleDefault() {
|
|
3
|
-
var module = factory();
|
|
4
|
-
return module.default || module;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
if (typeof exports === "object" && typeof module === "object") {
|
|
8
|
-
module.exports = interopModuleDefault();
|
|
9
|
-
} else if (typeof define === "function" && define.amd) {
|
|
10
|
-
define(interopModuleDefault);
|
|
11
|
-
} else {
|
|
12
|
-
var root =
|
|
13
|
-
typeof globalThis !== "undefined"
|
|
14
|
-
? globalThis
|
|
15
|
-
: typeof global !== "undefined"
|
|
16
|
-
? global
|
|
17
|
-
: typeof self !== "undefined"
|
|
18
|
-
? self
|
|
19
|
-
: this || {};
|
|
20
|
-
root.doc = interopModuleDefault();
|
|
21
|
-
}
|
|
22
|
-
})(function () {
|
|
23
|
-
"use strict";
|
|
24
|
-
var __defProp = Object.defineProperty;
|
|
25
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
26
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
27
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
28
|
-
var __export = (target, all) => {
|
|
29
|
-
for (var name in all)
|
|
30
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
31
|
-
};
|
|
32
|
-
var __copyProps = (to, from, except, desc) => {
|
|
33
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
34
|
-
for (let key of __getOwnPropNames(from))
|
|
35
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
36
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
37
|
-
}
|
|
38
|
-
return to;
|
|
39
|
-
};
|
|
40
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
41
|
-
|
|
42
|
-
// src/document/public.js
|
|
43
|
-
var public_exports = {};
|
|
44
|
-
__export(public_exports, {
|
|
45
|
-
builders: () => builders,
|
|
46
|
-
printer: () => printer,
|
|
47
|
-
utils: () => utils
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
// src/document/constants.js
|
|
51
|
-
var DOC_TYPE_STRING = "string";
|
|
52
|
-
var DOC_TYPE_ARRAY = "array";
|
|
53
|
-
var DOC_TYPE_CURSOR = "cursor";
|
|
54
|
-
var DOC_TYPE_INDENT = "indent";
|
|
55
|
-
var DOC_TYPE_ALIGN = "align";
|
|
56
|
-
var DOC_TYPE_TRIM = "trim";
|
|
57
|
-
var DOC_TYPE_GROUP = "group";
|
|
58
|
-
var DOC_TYPE_FILL = "fill";
|
|
59
|
-
var DOC_TYPE_IF_BREAK = "if-break";
|
|
60
|
-
var DOC_TYPE_INDENT_IF_BREAK = "indent-if-break";
|
|
61
|
-
var DOC_TYPE_LINE_SUFFIX = "line-suffix";
|
|
62
|
-
var DOC_TYPE_LINE_SUFFIX_BOUNDARY = "line-suffix-boundary";
|
|
63
|
-
var DOC_TYPE_LINE = "line";
|
|
64
|
-
var DOC_TYPE_LABEL = "label";
|
|
65
|
-
var DOC_TYPE_BREAK_PARENT = "break-parent";
|
|
66
|
-
var VALID_OBJECT_DOC_TYPES = /* @__PURE__ */ new Set([
|
|
67
|
-
DOC_TYPE_CURSOR,
|
|
68
|
-
DOC_TYPE_INDENT,
|
|
69
|
-
DOC_TYPE_ALIGN,
|
|
70
|
-
DOC_TYPE_TRIM,
|
|
71
|
-
DOC_TYPE_GROUP,
|
|
72
|
-
DOC_TYPE_FILL,
|
|
73
|
-
DOC_TYPE_IF_BREAK,
|
|
74
|
-
DOC_TYPE_INDENT_IF_BREAK,
|
|
75
|
-
DOC_TYPE_LINE_SUFFIX,
|
|
76
|
-
DOC_TYPE_LINE_SUFFIX_BOUNDARY,
|
|
77
|
-
DOC_TYPE_LINE,
|
|
78
|
-
DOC_TYPE_LABEL,
|
|
79
|
-
DOC_TYPE_BREAK_PARENT
|
|
80
|
-
]);
|
|
81
|
-
|
|
82
|
-
// src/document/utils/get-doc-type.js
|
|
83
|
-
function getDocType(doc) {
|
|
84
|
-
if (typeof doc === "string") {
|
|
85
|
-
return DOC_TYPE_STRING;
|
|
86
|
-
}
|
|
87
|
-
if (Array.isArray(doc)) {
|
|
88
|
-
return DOC_TYPE_ARRAY;
|
|
89
|
-
}
|
|
90
|
-
if (!doc) {
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
const { type } = doc;
|
|
94
|
-
if (VALID_OBJECT_DOC_TYPES.has(type)) {
|
|
95
|
-
return type;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
var get_doc_type_default = getDocType;
|
|
99
|
-
|
|
100
|
-
// src/document/invalid-doc-error.js
|
|
101
|
-
var disjunctionListFormat = (list) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(list);
|
|
102
|
-
function getDocErrorMessage(doc) {
|
|
103
|
-
const type = doc === null ? "null" : typeof doc;
|
|
104
|
-
if (type !== "string" && type !== "object") {
|
|
105
|
-
return `Unexpected doc '${type}',
|
|
106
|
-
Expected it to be 'string' or 'object'.`;
|
|
107
|
-
}
|
|
108
|
-
if (get_doc_type_default(doc)) {
|
|
109
|
-
throw new Error("doc is valid.");
|
|
110
|
-
}
|
|
111
|
-
const objectType = Object.prototype.toString.call(doc);
|
|
112
|
-
if (objectType !== "[object Object]") {
|
|
113
|
-
return `Unexpected doc '${objectType}'.`;
|
|
114
|
-
}
|
|
115
|
-
const EXPECTED_TYPE_VALUES = disjunctionListFormat(
|
|
116
|
-
[...VALID_OBJECT_DOC_TYPES].map((type2) => `'${type2}'`)
|
|
117
|
-
);
|
|
118
|
-
return `Unexpected doc.type '${doc.type}'.
|
|
119
|
-
Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
120
|
-
}
|
|
121
|
-
var InvalidDocError = class extends Error {
|
|
122
|
-
name = "InvalidDocError";
|
|
123
|
-
constructor(doc) {
|
|
124
|
-
super(getDocErrorMessage(doc));
|
|
125
|
-
this.doc = doc;
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
var invalid_doc_error_default = InvalidDocError;
|
|
129
|
-
|
|
130
|
-
// src/document/utils/traverse-doc.js
|
|
131
|
-
var traverseDocOnExitStackMarker = {};
|
|
132
|
-
function traverseDoc(doc, onEnter, onExit, shouldTraverseConditionalGroups) {
|
|
133
|
-
const docsStack = [doc];
|
|
134
|
-
while (docsStack.length > 0) {
|
|
135
|
-
const doc2 = docsStack.pop();
|
|
136
|
-
if (doc2 === traverseDocOnExitStackMarker) {
|
|
137
|
-
onExit(docsStack.pop());
|
|
138
|
-
continue;
|
|
139
|
-
}
|
|
140
|
-
if (onExit) {
|
|
141
|
-
docsStack.push(doc2, traverseDocOnExitStackMarker);
|
|
142
|
-
}
|
|
143
|
-
const docType = get_doc_type_default(doc2);
|
|
144
|
-
if (!docType) {
|
|
145
|
-
throw new invalid_doc_error_default(doc2);
|
|
146
|
-
}
|
|
147
|
-
if ((onEnter == null ? void 0 : onEnter(doc2)) === false) {
|
|
148
|
-
continue;
|
|
149
|
-
}
|
|
150
|
-
switch (docType) {
|
|
151
|
-
case DOC_TYPE_ARRAY:
|
|
152
|
-
case DOC_TYPE_FILL: {
|
|
153
|
-
const parts = docType === DOC_TYPE_ARRAY ? doc2 : doc2.parts;
|
|
154
|
-
for (let ic = parts.length, i = ic - 1; i >= 0; --i) {
|
|
155
|
-
docsStack.push(parts[i]);
|
|
156
|
-
}
|
|
157
|
-
break;
|
|
158
|
-
}
|
|
159
|
-
case DOC_TYPE_IF_BREAK:
|
|
160
|
-
docsStack.push(doc2.flatContents, doc2.breakContents);
|
|
161
|
-
break;
|
|
162
|
-
case DOC_TYPE_GROUP:
|
|
163
|
-
if (shouldTraverseConditionalGroups && doc2.expandedStates) {
|
|
164
|
-
for (let ic = doc2.expandedStates.length, i = ic - 1; i >= 0; --i) {
|
|
165
|
-
docsStack.push(doc2.expandedStates[i]);
|
|
166
|
-
}
|
|
167
|
-
} else {
|
|
168
|
-
docsStack.push(doc2.contents);
|
|
169
|
-
}
|
|
170
|
-
break;
|
|
171
|
-
case DOC_TYPE_ALIGN:
|
|
172
|
-
case DOC_TYPE_INDENT:
|
|
173
|
-
case DOC_TYPE_INDENT_IF_BREAK:
|
|
174
|
-
case DOC_TYPE_LABEL:
|
|
175
|
-
case DOC_TYPE_LINE_SUFFIX:
|
|
176
|
-
docsStack.push(doc2.contents);
|
|
177
|
-
break;
|
|
178
|
-
case DOC_TYPE_STRING:
|
|
179
|
-
case DOC_TYPE_CURSOR:
|
|
180
|
-
case DOC_TYPE_TRIM:
|
|
181
|
-
case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
|
|
182
|
-
case DOC_TYPE_LINE:
|
|
183
|
-
case DOC_TYPE_BREAK_PARENT:
|
|
184
|
-
break;
|
|
185
|
-
default:
|
|
186
|
-
throw new invalid_doc_error_default(doc2);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
var traverse_doc_default = traverseDoc;
|
|
191
|
-
|
|
192
|
-
// src/document/utils/assert-doc.js
|
|
193
|
-
var noop = () => {
|
|
194
|
-
};
|
|
195
|
-
var assertDoc = true ? noop : function(doc) {
|
|
196
|
-
traverse_doc_default(doc, (doc2) => {
|
|
197
|
-
if (checked.has(doc2)) {
|
|
198
|
-
return false;
|
|
199
|
-
}
|
|
200
|
-
if (typeof doc2 !== "string") {
|
|
201
|
-
checked.add(doc2);
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
|
-
};
|
|
205
|
-
var assertDocArray = true ? noop : function(docs, optional = false) {
|
|
206
|
-
if (optional && !docs) {
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
|
-
if (!Array.isArray(docs)) {
|
|
210
|
-
throw new TypeError("Unexpected doc array.");
|
|
211
|
-
}
|
|
212
|
-
for (const doc of docs) {
|
|
213
|
-
assertDoc(doc);
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
|
|
217
|
-
// src/document/builders.js
|
|
218
|
-
function indent(contents) {
|
|
219
|
-
assertDoc(contents);
|
|
220
|
-
return { type: DOC_TYPE_INDENT, contents };
|
|
221
|
-
}
|
|
222
|
-
function align(widthOrString, contents) {
|
|
223
|
-
assertDoc(contents);
|
|
224
|
-
return { type: DOC_TYPE_ALIGN, contents, n: widthOrString };
|
|
225
|
-
}
|
|
226
|
-
function group(contents, opts = {}) {
|
|
227
|
-
assertDoc(contents);
|
|
228
|
-
assertDocArray(
|
|
229
|
-
opts.expandedStates,
|
|
230
|
-
/* optional */
|
|
231
|
-
true
|
|
232
|
-
);
|
|
233
|
-
return {
|
|
234
|
-
type: DOC_TYPE_GROUP,
|
|
235
|
-
id: opts.id,
|
|
236
|
-
contents,
|
|
237
|
-
break: Boolean(opts.shouldBreak),
|
|
238
|
-
expandedStates: opts.expandedStates
|
|
239
|
-
};
|
|
240
|
-
}
|
|
241
|
-
function dedentToRoot(contents) {
|
|
242
|
-
return align(Number.NEGATIVE_INFINITY, contents);
|
|
243
|
-
}
|
|
244
|
-
function markAsRoot(contents) {
|
|
245
|
-
return align({ type: "root" }, contents);
|
|
246
|
-
}
|
|
247
|
-
function dedent(contents) {
|
|
248
|
-
return align(-1, contents);
|
|
249
|
-
}
|
|
250
|
-
function conditionalGroup(states, opts) {
|
|
251
|
-
return group(states[0], { ...opts, expandedStates: states });
|
|
252
|
-
}
|
|
253
|
-
function fill(parts) {
|
|
254
|
-
assertDocArray(parts);
|
|
255
|
-
return { type: DOC_TYPE_FILL, parts };
|
|
256
|
-
}
|
|
257
|
-
function ifBreak(breakContents, flatContents = "", opts = {}) {
|
|
258
|
-
assertDoc(breakContents);
|
|
259
|
-
if (flatContents !== "") {
|
|
260
|
-
assertDoc(flatContents);
|
|
261
|
-
}
|
|
262
|
-
return {
|
|
263
|
-
type: DOC_TYPE_IF_BREAK,
|
|
264
|
-
breakContents,
|
|
265
|
-
flatContents,
|
|
266
|
-
groupId: opts.groupId
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
function indentIfBreak(contents, opts) {
|
|
270
|
-
assertDoc(contents);
|
|
271
|
-
return {
|
|
272
|
-
type: DOC_TYPE_INDENT_IF_BREAK,
|
|
273
|
-
contents,
|
|
274
|
-
groupId: opts.groupId,
|
|
275
|
-
negate: opts.negate
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
function lineSuffix(contents) {
|
|
279
|
-
assertDoc(contents);
|
|
280
|
-
return { type: DOC_TYPE_LINE_SUFFIX, contents };
|
|
281
|
-
}
|
|
282
|
-
var lineSuffixBoundary = { type: DOC_TYPE_LINE_SUFFIX_BOUNDARY };
|
|
283
|
-
var breakParent = { type: DOC_TYPE_BREAK_PARENT };
|
|
284
|
-
var trim = { type: DOC_TYPE_TRIM };
|
|
285
|
-
var hardlineWithoutBreakParent = { type: DOC_TYPE_LINE, hard: true };
|
|
286
|
-
var literallineWithoutBreakParent = {
|
|
287
|
-
type: DOC_TYPE_LINE,
|
|
288
|
-
hard: true,
|
|
289
|
-
literal: true
|
|
290
|
-
};
|
|
291
|
-
var line = { type: DOC_TYPE_LINE };
|
|
292
|
-
var softline = { type: DOC_TYPE_LINE, soft: true };
|
|
293
|
-
var hardline = [hardlineWithoutBreakParent, breakParent];
|
|
294
|
-
var literalline = [literallineWithoutBreakParent, breakParent];
|
|
295
|
-
var cursor = { type: DOC_TYPE_CURSOR };
|
|
296
|
-
function join(separator, docs) {
|
|
297
|
-
assertDoc(separator);
|
|
298
|
-
assertDocArray(docs);
|
|
299
|
-
const parts = [];
|
|
300
|
-
for (let i = 0; i < docs.length; i++) {
|
|
301
|
-
if (i !== 0) {
|
|
302
|
-
parts.push(separator);
|
|
303
|
-
}
|
|
304
|
-
parts.push(docs[i]);
|
|
305
|
-
}
|
|
306
|
-
return parts;
|
|
307
|
-
}
|
|
308
|
-
function addAlignmentToDoc(doc, size, tabWidth) {
|
|
309
|
-
assertDoc(doc);
|
|
310
|
-
let aligned = doc;
|
|
311
|
-
if (size > 0) {
|
|
312
|
-
for (let i = 0; i < Math.floor(size / tabWidth); ++i) {
|
|
313
|
-
aligned = indent(aligned);
|
|
314
|
-
}
|
|
315
|
-
aligned = align(size % tabWidth, aligned);
|
|
316
|
-
aligned = align(Number.NEGATIVE_INFINITY, aligned);
|
|
317
|
-
}
|
|
318
|
-
return aligned;
|
|
319
|
-
}
|
|
320
|
-
function label(label2, contents) {
|
|
321
|
-
assertDoc(contents);
|
|
322
|
-
return label2 ? { type: DOC_TYPE_LABEL, label: label2, contents } : contents;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
// scripts/build/shims/at.js
|
|
326
|
-
var at = (isOptionalObject, object, index) => {
|
|
327
|
-
if (isOptionalObject && (object === void 0 || object === null)) {
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
if (Array.isArray(object) || typeof object === "string") {
|
|
331
|
-
return object[index < 0 ? object.length + index : index];
|
|
332
|
-
}
|
|
333
|
-
return object.at(index);
|
|
334
|
-
};
|
|
335
|
-
var at_default = at;
|
|
336
|
-
|
|
337
|
-
// scripts/build/shims/string-replace-all.js
|
|
338
|
-
var stringReplaceAll = (isOptionalObject, original, pattern, replacement) => {
|
|
339
|
-
if (isOptionalObject && (original === void 0 || original === null)) {
|
|
340
|
-
return;
|
|
341
|
-
}
|
|
342
|
-
if (original.replaceAll) {
|
|
343
|
-
return original.replaceAll(pattern, replacement);
|
|
344
|
-
}
|
|
345
|
-
if (pattern.global) {
|
|
346
|
-
return original.replace(pattern, replacement);
|
|
347
|
-
}
|
|
348
|
-
return original.split(pattern).join(replacement);
|
|
349
|
-
};
|
|
350
|
-
var string_replace_all_default = stringReplaceAll;
|
|
351
|
-
|
|
352
|
-
// src/common/end-of-line.js
|
|
353
|
-
function convertEndOfLineToChars(value) {
|
|
354
|
-
switch (value) {
|
|
355
|
-
case "cr":
|
|
356
|
-
return "\r";
|
|
357
|
-
case "crlf":
|
|
358
|
-
return "\r\n";
|
|
359
|
-
default:
|
|
360
|
-
return "\n";
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
// node_modules/emoji-regex/index.mjs
|
|
365
|
-
var emoji_regex_default = () => {
|
|
366
|
-
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
// node_modules/get-east-asian-width/lookup.js
|
|
370
|
-
function isFullWidth(x) {
|
|
371
|
-
return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
|
|
372
|
-
}
|
|
373
|
-
function isWide(x) {
|
|
374
|
-
return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
// node_modules/get-east-asian-width/index.js
|
|
378
|
-
var _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint));
|
|
379
|
-
|
|
380
|
-
// src/utils/get-string-width.js
|
|
381
|
-
var notAsciiRegex = /[^\x20-\x7F]/;
|
|
382
|
-
function getStringWidth(text) {
|
|
383
|
-
if (!text) {
|
|
384
|
-
return 0;
|
|
385
|
-
}
|
|
386
|
-
if (!notAsciiRegex.test(text)) {
|
|
387
|
-
return text.length;
|
|
388
|
-
}
|
|
389
|
-
text = text.replace(emoji_regex_default(), " ");
|
|
390
|
-
let width = 0;
|
|
391
|
-
for (const character of text) {
|
|
392
|
-
const codePoint = character.codePointAt(0);
|
|
393
|
-
if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
|
|
394
|
-
continue;
|
|
395
|
-
}
|
|
396
|
-
if (codePoint >= 768 && codePoint <= 879) {
|
|
397
|
-
continue;
|
|
398
|
-
}
|
|
399
|
-
width += _isNarrowWidth(codePoint) ? 1 : 2;
|
|
400
|
-
}
|
|
401
|
-
return width;
|
|
402
|
-
}
|
|
403
|
-
var get_string_width_default = getStringWidth;
|
|
404
|
-
|
|
405
|
-
// src/document/utils.js
|
|
406
|
-
var getDocParts = (doc) => {
|
|
407
|
-
if (Array.isArray(doc)) {
|
|
408
|
-
return doc;
|
|
409
|
-
}
|
|
410
|
-
if (doc.type !== DOC_TYPE_FILL) {
|
|
411
|
-
throw new Error(`Expect doc to be 'array' or '${DOC_TYPE_FILL}'.`);
|
|
412
|
-
}
|
|
413
|
-
return doc.parts;
|
|
414
|
-
};
|
|
415
|
-
function mapDoc(doc, cb) {
|
|
416
|
-
if (typeof doc === "string") {
|
|
417
|
-
return cb(doc);
|
|
418
|
-
}
|
|
419
|
-
const mapped = /* @__PURE__ */ new Map();
|
|
420
|
-
return rec(doc);
|
|
421
|
-
function rec(doc2) {
|
|
422
|
-
if (mapped.has(doc2)) {
|
|
423
|
-
return mapped.get(doc2);
|
|
424
|
-
}
|
|
425
|
-
const result = process2(doc2);
|
|
426
|
-
mapped.set(doc2, result);
|
|
427
|
-
return result;
|
|
428
|
-
}
|
|
429
|
-
function process2(doc2) {
|
|
430
|
-
switch (get_doc_type_default(doc2)) {
|
|
431
|
-
case DOC_TYPE_ARRAY:
|
|
432
|
-
return cb(doc2.map(rec));
|
|
433
|
-
case DOC_TYPE_FILL:
|
|
434
|
-
return cb({
|
|
435
|
-
...doc2,
|
|
436
|
-
parts: doc2.parts.map(rec)
|
|
437
|
-
});
|
|
438
|
-
case DOC_TYPE_IF_BREAK:
|
|
439
|
-
return cb({
|
|
440
|
-
...doc2,
|
|
441
|
-
breakContents: rec(doc2.breakContents),
|
|
442
|
-
flatContents: rec(doc2.flatContents)
|
|
443
|
-
});
|
|
444
|
-
case DOC_TYPE_GROUP: {
|
|
445
|
-
let {
|
|
446
|
-
expandedStates,
|
|
447
|
-
contents
|
|
448
|
-
} = doc2;
|
|
449
|
-
if (expandedStates) {
|
|
450
|
-
expandedStates = expandedStates.map(rec);
|
|
451
|
-
contents = expandedStates[0];
|
|
452
|
-
} else {
|
|
453
|
-
contents = rec(contents);
|
|
454
|
-
}
|
|
455
|
-
return cb({
|
|
456
|
-
...doc2,
|
|
457
|
-
contents,
|
|
458
|
-
expandedStates
|
|
459
|
-
});
|
|
460
|
-
}
|
|
461
|
-
case DOC_TYPE_ALIGN:
|
|
462
|
-
case DOC_TYPE_INDENT:
|
|
463
|
-
case DOC_TYPE_INDENT_IF_BREAK:
|
|
464
|
-
case DOC_TYPE_LABEL:
|
|
465
|
-
case DOC_TYPE_LINE_SUFFIX:
|
|
466
|
-
return cb({
|
|
467
|
-
...doc2,
|
|
468
|
-
contents: rec(doc2.contents)
|
|
469
|
-
});
|
|
470
|
-
case DOC_TYPE_STRING:
|
|
471
|
-
case DOC_TYPE_CURSOR:
|
|
472
|
-
case DOC_TYPE_TRIM:
|
|
473
|
-
case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
|
|
474
|
-
case DOC_TYPE_LINE:
|
|
475
|
-
case DOC_TYPE_BREAK_PARENT:
|
|
476
|
-
return cb(doc2);
|
|
477
|
-
default:
|
|
478
|
-
throw new invalid_doc_error_default(doc2);
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
function findInDoc(doc, fn, defaultValue) {
|
|
483
|
-
let result = defaultValue;
|
|
484
|
-
let shouldSkipFurtherProcessing = false;
|
|
485
|
-
function findInDocOnEnterFn(doc2) {
|
|
486
|
-
if (shouldSkipFurtherProcessing) {
|
|
487
|
-
return false;
|
|
488
|
-
}
|
|
489
|
-
const maybeResult = fn(doc2);
|
|
490
|
-
if (maybeResult !== void 0) {
|
|
491
|
-
shouldSkipFurtherProcessing = true;
|
|
492
|
-
result = maybeResult;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
traverse_doc_default(doc, findInDocOnEnterFn);
|
|
496
|
-
return result;
|
|
497
|
-
}
|
|
498
|
-
function willBreakFn(doc) {
|
|
499
|
-
if (doc.type === DOC_TYPE_GROUP && doc.break) {
|
|
500
|
-
return true;
|
|
501
|
-
}
|
|
502
|
-
if (doc.type === DOC_TYPE_LINE && doc.hard) {
|
|
503
|
-
return true;
|
|
504
|
-
}
|
|
505
|
-
if (doc.type === DOC_TYPE_BREAK_PARENT) {
|
|
506
|
-
return true;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
function willBreak(doc) {
|
|
510
|
-
return findInDoc(doc, willBreakFn, false);
|
|
511
|
-
}
|
|
512
|
-
function breakParentGroup(groupStack) {
|
|
513
|
-
if (groupStack.length > 0) {
|
|
514
|
-
const parentGroup = at_default(
|
|
515
|
-
/* isOptionalObject*/
|
|
516
|
-
false,
|
|
517
|
-
groupStack,
|
|
518
|
-
-1
|
|
519
|
-
);
|
|
520
|
-
if (!parentGroup.expandedStates && !parentGroup.break) {
|
|
521
|
-
parentGroup.break = "propagated";
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
return null;
|
|
525
|
-
}
|
|
526
|
-
function propagateBreaks(doc) {
|
|
527
|
-
const alreadyVisitedSet = /* @__PURE__ */ new Set();
|
|
528
|
-
const groupStack = [];
|
|
529
|
-
function propagateBreaksOnEnterFn(doc2) {
|
|
530
|
-
if (doc2.type === DOC_TYPE_BREAK_PARENT) {
|
|
531
|
-
breakParentGroup(groupStack);
|
|
532
|
-
}
|
|
533
|
-
if (doc2.type === DOC_TYPE_GROUP) {
|
|
534
|
-
groupStack.push(doc2);
|
|
535
|
-
if (alreadyVisitedSet.has(doc2)) {
|
|
536
|
-
return false;
|
|
537
|
-
}
|
|
538
|
-
alreadyVisitedSet.add(doc2);
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
function propagateBreaksOnExitFn(doc2) {
|
|
542
|
-
if (doc2.type === DOC_TYPE_GROUP) {
|
|
543
|
-
const group2 = groupStack.pop();
|
|
544
|
-
if (group2.break) {
|
|
545
|
-
breakParentGroup(groupStack);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
traverse_doc_default(
|
|
550
|
-
doc,
|
|
551
|
-
propagateBreaksOnEnterFn,
|
|
552
|
-
propagateBreaksOnExitFn,
|
|
553
|
-
/* shouldTraverseConditionalGroups */
|
|
554
|
-
true
|
|
555
|
-
);
|
|
556
|
-
}
|
|
557
|
-
function removeLinesFn(doc) {
|
|
558
|
-
if (doc.type === DOC_TYPE_LINE && !doc.hard) {
|
|
559
|
-
return doc.soft ? "" : " ";
|
|
560
|
-
}
|
|
561
|
-
if (doc.type === DOC_TYPE_IF_BREAK) {
|
|
562
|
-
return doc.flatContents;
|
|
563
|
-
}
|
|
564
|
-
return doc;
|
|
565
|
-
}
|
|
566
|
-
function removeLines(doc) {
|
|
567
|
-
return mapDoc(doc, removeLinesFn);
|
|
568
|
-
}
|
|
569
|
-
function stripTrailingHardlineFromParts(parts) {
|
|
570
|
-
parts = [...parts];
|
|
571
|
-
while (parts.length >= 2 && at_default(
|
|
572
|
-
/* isOptionalObject*/
|
|
573
|
-
false,
|
|
574
|
-
parts,
|
|
575
|
-
-2
|
|
576
|
-
).type === DOC_TYPE_LINE && at_default(
|
|
577
|
-
/* isOptionalObject*/
|
|
578
|
-
false,
|
|
579
|
-
parts,
|
|
580
|
-
-1
|
|
581
|
-
).type === DOC_TYPE_BREAK_PARENT) {
|
|
582
|
-
parts.length -= 2;
|
|
583
|
-
}
|
|
584
|
-
if (parts.length > 0) {
|
|
585
|
-
const lastPart = stripTrailingHardlineFromDoc(at_default(
|
|
586
|
-
/* isOptionalObject*/
|
|
587
|
-
false,
|
|
588
|
-
parts,
|
|
589
|
-
-1
|
|
590
|
-
));
|
|
591
|
-
parts[parts.length - 1] = lastPart;
|
|
592
|
-
}
|
|
593
|
-
return parts;
|
|
594
|
-
}
|
|
595
|
-
function stripTrailingHardlineFromDoc(doc) {
|
|
596
|
-
switch (get_doc_type_default(doc)) {
|
|
597
|
-
case DOC_TYPE_ALIGN:
|
|
598
|
-
case DOC_TYPE_INDENT:
|
|
599
|
-
case DOC_TYPE_INDENT_IF_BREAK:
|
|
600
|
-
case DOC_TYPE_GROUP:
|
|
601
|
-
case DOC_TYPE_LINE_SUFFIX:
|
|
602
|
-
case DOC_TYPE_LABEL: {
|
|
603
|
-
const contents = stripTrailingHardlineFromDoc(doc.contents);
|
|
604
|
-
return {
|
|
605
|
-
...doc,
|
|
606
|
-
contents
|
|
607
|
-
};
|
|
608
|
-
}
|
|
609
|
-
case DOC_TYPE_IF_BREAK:
|
|
610
|
-
return {
|
|
611
|
-
...doc,
|
|
612
|
-
breakContents: stripTrailingHardlineFromDoc(doc.breakContents),
|
|
613
|
-
flatContents: stripTrailingHardlineFromDoc(doc.flatContents)
|
|
614
|
-
};
|
|
615
|
-
case DOC_TYPE_FILL:
|
|
616
|
-
return {
|
|
617
|
-
...doc,
|
|
618
|
-
parts: stripTrailingHardlineFromParts(doc.parts)
|
|
619
|
-
};
|
|
620
|
-
case DOC_TYPE_ARRAY:
|
|
621
|
-
return stripTrailingHardlineFromParts(doc);
|
|
622
|
-
case DOC_TYPE_STRING:
|
|
623
|
-
return doc.replace(/[\n\r]*$/, "");
|
|
624
|
-
case DOC_TYPE_CURSOR:
|
|
625
|
-
case DOC_TYPE_TRIM:
|
|
626
|
-
case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
|
|
627
|
-
case DOC_TYPE_LINE:
|
|
628
|
-
case DOC_TYPE_BREAK_PARENT:
|
|
629
|
-
break;
|
|
630
|
-
default:
|
|
631
|
-
throw new invalid_doc_error_default(doc);
|
|
632
|
-
}
|
|
633
|
-
return doc;
|
|
634
|
-
}
|
|
635
|
-
function stripTrailingHardline(doc) {
|
|
636
|
-
return stripTrailingHardlineFromDoc(cleanDoc(doc));
|
|
637
|
-
}
|
|
638
|
-
function cleanDocFn(doc) {
|
|
639
|
-
switch (get_doc_type_default(doc)) {
|
|
640
|
-
case DOC_TYPE_FILL:
|
|
641
|
-
if (doc.parts.every((part) => part === "")) {
|
|
642
|
-
return "";
|
|
643
|
-
}
|
|
644
|
-
break;
|
|
645
|
-
case DOC_TYPE_GROUP:
|
|
646
|
-
if (!doc.contents && !doc.id && !doc.break && !doc.expandedStates) {
|
|
647
|
-
return "";
|
|
648
|
-
}
|
|
649
|
-
if (doc.contents.type === DOC_TYPE_GROUP && doc.contents.id === doc.id && doc.contents.break === doc.break && doc.contents.expandedStates === doc.expandedStates) {
|
|
650
|
-
return doc.contents;
|
|
651
|
-
}
|
|
652
|
-
break;
|
|
653
|
-
case DOC_TYPE_ALIGN:
|
|
654
|
-
case DOC_TYPE_INDENT:
|
|
655
|
-
case DOC_TYPE_INDENT_IF_BREAK:
|
|
656
|
-
case DOC_TYPE_LINE_SUFFIX:
|
|
657
|
-
if (!doc.contents) {
|
|
658
|
-
return "";
|
|
659
|
-
}
|
|
660
|
-
break;
|
|
661
|
-
case DOC_TYPE_IF_BREAK:
|
|
662
|
-
if (!doc.flatContents && !doc.breakContents) {
|
|
663
|
-
return "";
|
|
664
|
-
}
|
|
665
|
-
break;
|
|
666
|
-
case DOC_TYPE_ARRAY: {
|
|
667
|
-
const parts = [];
|
|
668
|
-
for (const part of doc) {
|
|
669
|
-
if (!part) {
|
|
670
|
-
continue;
|
|
671
|
-
}
|
|
672
|
-
const [currentPart, ...restParts] = Array.isArray(part) ? part : [part];
|
|
673
|
-
if (typeof currentPart === "string" && typeof at_default(
|
|
674
|
-
/* isOptionalObject*/
|
|
675
|
-
false,
|
|
676
|
-
parts,
|
|
677
|
-
-1
|
|
678
|
-
) === "string") {
|
|
679
|
-
parts[parts.length - 1] += currentPart;
|
|
680
|
-
} else {
|
|
681
|
-
parts.push(currentPart);
|
|
682
|
-
}
|
|
683
|
-
parts.push(...restParts);
|
|
684
|
-
}
|
|
685
|
-
if (parts.length === 0) {
|
|
686
|
-
return "";
|
|
687
|
-
}
|
|
688
|
-
if (parts.length === 1) {
|
|
689
|
-
return parts[0];
|
|
690
|
-
}
|
|
691
|
-
return parts;
|
|
692
|
-
}
|
|
693
|
-
case DOC_TYPE_STRING:
|
|
694
|
-
case DOC_TYPE_CURSOR:
|
|
695
|
-
case DOC_TYPE_TRIM:
|
|
696
|
-
case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
|
|
697
|
-
case DOC_TYPE_LINE:
|
|
698
|
-
case DOC_TYPE_LABEL:
|
|
699
|
-
case DOC_TYPE_BREAK_PARENT:
|
|
700
|
-
break;
|
|
701
|
-
default:
|
|
702
|
-
throw new invalid_doc_error_default(doc);
|
|
703
|
-
}
|
|
704
|
-
return doc;
|
|
705
|
-
}
|
|
706
|
-
function cleanDoc(doc) {
|
|
707
|
-
return mapDoc(doc, (currentDoc) => cleanDocFn(currentDoc));
|
|
708
|
-
}
|
|
709
|
-
function replaceEndOfLine(doc, replacement = literalline) {
|
|
710
|
-
return mapDoc(doc, (currentDoc) => typeof currentDoc === "string" ? join(replacement, currentDoc.split("\n")) : currentDoc);
|
|
711
|
-
}
|
|
712
|
-
function canBreakFn(doc) {
|
|
713
|
-
if (doc.type === DOC_TYPE_LINE) {
|
|
714
|
-
return true;
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
function canBreak(doc) {
|
|
718
|
-
return findInDoc(doc, canBreakFn, false);
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
// src/document/printer.js
|
|
722
|
-
var MODE_BREAK = Symbol("MODE_BREAK");
|
|
723
|
-
var MODE_FLAT = Symbol("MODE_FLAT");
|
|
724
|
-
var CURSOR_PLACEHOLDER = Symbol("cursor");
|
|
725
|
-
function rootIndent() {
|
|
726
|
-
return {
|
|
727
|
-
value: "",
|
|
728
|
-
length: 0,
|
|
729
|
-
queue: []
|
|
730
|
-
};
|
|
731
|
-
}
|
|
732
|
-
function makeIndent(ind, options) {
|
|
733
|
-
return generateInd(ind, {
|
|
734
|
-
type: "indent"
|
|
735
|
-
}, options);
|
|
736
|
-
}
|
|
737
|
-
function makeAlign(indent2, widthOrDoc, options) {
|
|
738
|
-
if (widthOrDoc === Number.NEGATIVE_INFINITY) {
|
|
739
|
-
return indent2.root || rootIndent();
|
|
740
|
-
}
|
|
741
|
-
if (widthOrDoc < 0) {
|
|
742
|
-
return generateInd(indent2, {
|
|
743
|
-
type: "dedent"
|
|
744
|
-
}, options);
|
|
745
|
-
}
|
|
746
|
-
if (!widthOrDoc) {
|
|
747
|
-
return indent2;
|
|
748
|
-
}
|
|
749
|
-
if (widthOrDoc.type === "root") {
|
|
750
|
-
return {
|
|
751
|
-
...indent2,
|
|
752
|
-
root: indent2
|
|
753
|
-
};
|
|
754
|
-
}
|
|
755
|
-
const alignType = typeof widthOrDoc === "string" ? "stringAlign" : "numberAlign";
|
|
756
|
-
return generateInd(indent2, {
|
|
757
|
-
type: alignType,
|
|
758
|
-
n: widthOrDoc
|
|
759
|
-
}, options);
|
|
760
|
-
}
|
|
761
|
-
function generateInd(ind, newPart, options) {
|
|
762
|
-
const queue = newPart.type === "dedent" ? ind.queue.slice(0, -1) : [...ind.queue, newPart];
|
|
763
|
-
let value = "";
|
|
764
|
-
let length = 0;
|
|
765
|
-
let lastTabs = 0;
|
|
766
|
-
let lastSpaces = 0;
|
|
767
|
-
for (const part of queue) {
|
|
768
|
-
switch (part.type) {
|
|
769
|
-
case "indent":
|
|
770
|
-
flush();
|
|
771
|
-
if (options.useTabs) {
|
|
772
|
-
addTabs(1);
|
|
773
|
-
} else {
|
|
774
|
-
addSpaces(options.tabWidth);
|
|
775
|
-
}
|
|
776
|
-
break;
|
|
777
|
-
case "stringAlign":
|
|
778
|
-
flush();
|
|
779
|
-
value += part.n;
|
|
780
|
-
length += part.n.length;
|
|
781
|
-
break;
|
|
782
|
-
case "numberAlign":
|
|
783
|
-
lastTabs += 1;
|
|
784
|
-
lastSpaces += part.n;
|
|
785
|
-
break;
|
|
786
|
-
default:
|
|
787
|
-
throw new Error(`Unexpected type '${part.type}'`);
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
flushSpaces();
|
|
791
|
-
return {
|
|
792
|
-
...ind,
|
|
793
|
-
value,
|
|
794
|
-
length,
|
|
795
|
-
queue
|
|
796
|
-
};
|
|
797
|
-
function addTabs(count) {
|
|
798
|
-
value += " ".repeat(count);
|
|
799
|
-
length += options.tabWidth * count;
|
|
800
|
-
}
|
|
801
|
-
function addSpaces(count) {
|
|
802
|
-
value += " ".repeat(count);
|
|
803
|
-
length += count;
|
|
804
|
-
}
|
|
805
|
-
function flush() {
|
|
806
|
-
if (options.useTabs) {
|
|
807
|
-
flushTabs();
|
|
808
|
-
} else {
|
|
809
|
-
flushSpaces();
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
function flushTabs() {
|
|
813
|
-
if (lastTabs > 0) {
|
|
814
|
-
addTabs(lastTabs);
|
|
815
|
-
}
|
|
816
|
-
resetLast();
|
|
817
|
-
}
|
|
818
|
-
function flushSpaces() {
|
|
819
|
-
if (lastSpaces > 0) {
|
|
820
|
-
addSpaces(lastSpaces);
|
|
821
|
-
}
|
|
822
|
-
resetLast();
|
|
823
|
-
}
|
|
824
|
-
function resetLast() {
|
|
825
|
-
lastTabs = 0;
|
|
826
|
-
lastSpaces = 0;
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
function trim2(out) {
|
|
830
|
-
let trimCount = 0;
|
|
831
|
-
let cursorCount = 0;
|
|
832
|
-
let outIndex = out.length;
|
|
833
|
-
outer:
|
|
834
|
-
while (outIndex--) {
|
|
835
|
-
const last = out[outIndex];
|
|
836
|
-
if (last === CURSOR_PLACEHOLDER) {
|
|
837
|
-
cursorCount++;
|
|
838
|
-
continue;
|
|
839
|
-
}
|
|
840
|
-
if (false) {
|
|
841
|
-
throw new Error(`Unexpected value in trim: '${typeof last}'`);
|
|
842
|
-
}
|
|
843
|
-
for (let charIndex = last.length - 1; charIndex >= 0; charIndex--) {
|
|
844
|
-
const char = last[charIndex];
|
|
845
|
-
if (char === " " || char === " ") {
|
|
846
|
-
trimCount++;
|
|
847
|
-
} else {
|
|
848
|
-
out[outIndex] = last.slice(0, charIndex + 1);
|
|
849
|
-
break outer;
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
if (trimCount > 0 || cursorCount > 0) {
|
|
854
|
-
out.length = outIndex + 1;
|
|
855
|
-
while (cursorCount-- > 0) {
|
|
856
|
-
out.push(CURSOR_PLACEHOLDER);
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
return trimCount;
|
|
860
|
-
}
|
|
861
|
-
function fits(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFlat) {
|
|
862
|
-
if (width === Number.POSITIVE_INFINITY) {
|
|
863
|
-
return true;
|
|
864
|
-
}
|
|
865
|
-
let restIdx = restCommands.length;
|
|
866
|
-
const cmds = [next];
|
|
867
|
-
const out = [];
|
|
868
|
-
while (width >= 0) {
|
|
869
|
-
if (cmds.length === 0) {
|
|
870
|
-
if (restIdx === 0) {
|
|
871
|
-
return true;
|
|
872
|
-
}
|
|
873
|
-
cmds.push(restCommands[--restIdx]);
|
|
874
|
-
continue;
|
|
875
|
-
}
|
|
876
|
-
const {
|
|
877
|
-
mode,
|
|
878
|
-
doc
|
|
879
|
-
} = cmds.pop();
|
|
880
|
-
switch (get_doc_type_default(doc)) {
|
|
881
|
-
case DOC_TYPE_STRING:
|
|
882
|
-
out.push(doc);
|
|
883
|
-
width -= get_string_width_default(doc);
|
|
884
|
-
break;
|
|
885
|
-
case DOC_TYPE_ARRAY:
|
|
886
|
-
case DOC_TYPE_FILL: {
|
|
887
|
-
const parts = getDocParts(doc);
|
|
888
|
-
for (let i = parts.length - 1; i >= 0; i--) {
|
|
889
|
-
cmds.push({
|
|
890
|
-
mode,
|
|
891
|
-
doc: parts[i]
|
|
892
|
-
});
|
|
893
|
-
}
|
|
894
|
-
break;
|
|
895
|
-
}
|
|
896
|
-
case DOC_TYPE_INDENT:
|
|
897
|
-
case DOC_TYPE_ALIGN:
|
|
898
|
-
case DOC_TYPE_INDENT_IF_BREAK:
|
|
899
|
-
case DOC_TYPE_LABEL:
|
|
900
|
-
cmds.push({
|
|
901
|
-
mode,
|
|
902
|
-
doc: doc.contents
|
|
903
|
-
});
|
|
904
|
-
break;
|
|
905
|
-
case DOC_TYPE_TRIM:
|
|
906
|
-
width += trim2(out);
|
|
907
|
-
break;
|
|
908
|
-
case DOC_TYPE_GROUP: {
|
|
909
|
-
if (mustBeFlat && doc.break) {
|
|
910
|
-
return false;
|
|
911
|
-
}
|
|
912
|
-
const groupMode = doc.break ? MODE_BREAK : mode;
|
|
913
|
-
const contents = doc.expandedStates && groupMode === MODE_BREAK ? at_default(
|
|
914
|
-
/* isOptionalObject*/
|
|
915
|
-
false,
|
|
916
|
-
doc.expandedStates,
|
|
917
|
-
-1
|
|
918
|
-
) : doc.contents;
|
|
919
|
-
cmds.push({
|
|
920
|
-
mode: groupMode,
|
|
921
|
-
doc: contents
|
|
922
|
-
});
|
|
923
|
-
break;
|
|
924
|
-
}
|
|
925
|
-
case DOC_TYPE_IF_BREAK: {
|
|
926
|
-
const groupMode = doc.groupId ? groupModeMap[doc.groupId] || MODE_FLAT : mode;
|
|
927
|
-
const contents = groupMode === MODE_BREAK ? doc.breakContents : doc.flatContents;
|
|
928
|
-
if (contents) {
|
|
929
|
-
cmds.push({
|
|
930
|
-
mode,
|
|
931
|
-
doc: contents
|
|
932
|
-
});
|
|
933
|
-
}
|
|
934
|
-
break;
|
|
935
|
-
}
|
|
936
|
-
case DOC_TYPE_LINE:
|
|
937
|
-
if (mode === MODE_BREAK || doc.hard) {
|
|
938
|
-
return true;
|
|
939
|
-
}
|
|
940
|
-
if (!doc.soft) {
|
|
941
|
-
out.push(" ");
|
|
942
|
-
width--;
|
|
943
|
-
}
|
|
944
|
-
break;
|
|
945
|
-
case DOC_TYPE_LINE_SUFFIX:
|
|
946
|
-
hasLineSuffix = true;
|
|
947
|
-
break;
|
|
948
|
-
case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
|
|
949
|
-
if (hasLineSuffix) {
|
|
950
|
-
return false;
|
|
951
|
-
}
|
|
952
|
-
break;
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
return false;
|
|
956
|
-
}
|
|
957
|
-
function printDocToString(doc, options) {
|
|
958
|
-
const groupModeMap = {};
|
|
959
|
-
const width = options.printWidth;
|
|
960
|
-
const newLine = convertEndOfLineToChars(options.endOfLine);
|
|
961
|
-
let pos = 0;
|
|
962
|
-
const cmds = [{
|
|
963
|
-
ind: rootIndent(),
|
|
964
|
-
mode: MODE_BREAK,
|
|
965
|
-
doc
|
|
966
|
-
}];
|
|
967
|
-
const out = [];
|
|
968
|
-
let shouldRemeasure = false;
|
|
969
|
-
const lineSuffix2 = [];
|
|
970
|
-
let printedCursorCount = 0;
|
|
971
|
-
propagateBreaks(doc);
|
|
972
|
-
while (cmds.length > 0) {
|
|
973
|
-
const {
|
|
974
|
-
ind,
|
|
975
|
-
mode,
|
|
976
|
-
doc: doc2
|
|
977
|
-
} = cmds.pop();
|
|
978
|
-
switch (get_doc_type_default(doc2)) {
|
|
979
|
-
case DOC_TYPE_STRING: {
|
|
980
|
-
const formatted = newLine !== "\n" ? string_replace_all_default(
|
|
981
|
-
/* isOptionalObject*/
|
|
982
|
-
false,
|
|
983
|
-
doc2,
|
|
984
|
-
"\n",
|
|
985
|
-
newLine
|
|
986
|
-
) : doc2;
|
|
987
|
-
out.push(formatted);
|
|
988
|
-
if (cmds.length > 0) {
|
|
989
|
-
pos += get_string_width_default(formatted);
|
|
990
|
-
}
|
|
991
|
-
break;
|
|
992
|
-
}
|
|
993
|
-
case DOC_TYPE_ARRAY:
|
|
994
|
-
for (let i = doc2.length - 1; i >= 0; i--) {
|
|
995
|
-
cmds.push({
|
|
996
|
-
ind,
|
|
997
|
-
mode,
|
|
998
|
-
doc: doc2[i]
|
|
999
|
-
});
|
|
1000
|
-
}
|
|
1001
|
-
break;
|
|
1002
|
-
case DOC_TYPE_CURSOR:
|
|
1003
|
-
if (printedCursorCount >= 2) {
|
|
1004
|
-
throw new Error("There are too many 'cursor' in doc.");
|
|
1005
|
-
}
|
|
1006
|
-
out.push(CURSOR_PLACEHOLDER);
|
|
1007
|
-
printedCursorCount++;
|
|
1008
|
-
break;
|
|
1009
|
-
case DOC_TYPE_INDENT:
|
|
1010
|
-
cmds.push({
|
|
1011
|
-
ind: makeIndent(ind, options),
|
|
1012
|
-
mode,
|
|
1013
|
-
doc: doc2.contents
|
|
1014
|
-
});
|
|
1015
|
-
break;
|
|
1016
|
-
case DOC_TYPE_ALIGN:
|
|
1017
|
-
cmds.push({
|
|
1018
|
-
ind: makeAlign(ind, doc2.n, options),
|
|
1019
|
-
mode,
|
|
1020
|
-
doc: doc2.contents
|
|
1021
|
-
});
|
|
1022
|
-
break;
|
|
1023
|
-
case DOC_TYPE_TRIM:
|
|
1024
|
-
pos -= trim2(out);
|
|
1025
|
-
break;
|
|
1026
|
-
case DOC_TYPE_GROUP:
|
|
1027
|
-
switch (mode) {
|
|
1028
|
-
case MODE_FLAT:
|
|
1029
|
-
if (!shouldRemeasure) {
|
|
1030
|
-
cmds.push({
|
|
1031
|
-
ind,
|
|
1032
|
-
mode: doc2.break ? MODE_BREAK : MODE_FLAT,
|
|
1033
|
-
doc: doc2.contents
|
|
1034
|
-
});
|
|
1035
|
-
break;
|
|
1036
|
-
}
|
|
1037
|
-
case MODE_BREAK: {
|
|
1038
|
-
shouldRemeasure = false;
|
|
1039
|
-
const next = {
|
|
1040
|
-
ind,
|
|
1041
|
-
mode: MODE_FLAT,
|
|
1042
|
-
doc: doc2.contents
|
|
1043
|
-
};
|
|
1044
|
-
const rem = width - pos;
|
|
1045
|
-
const hasLineSuffix = lineSuffix2.length > 0;
|
|
1046
|
-
if (!doc2.break && fits(next, cmds, rem, hasLineSuffix, groupModeMap)) {
|
|
1047
|
-
cmds.push(next);
|
|
1048
|
-
} else {
|
|
1049
|
-
if (doc2.expandedStates) {
|
|
1050
|
-
const mostExpanded = at_default(
|
|
1051
|
-
/* isOptionalObject*/
|
|
1052
|
-
false,
|
|
1053
|
-
doc2.expandedStates,
|
|
1054
|
-
-1
|
|
1055
|
-
);
|
|
1056
|
-
if (doc2.break) {
|
|
1057
|
-
cmds.push({
|
|
1058
|
-
ind,
|
|
1059
|
-
mode: MODE_BREAK,
|
|
1060
|
-
doc: mostExpanded
|
|
1061
|
-
});
|
|
1062
|
-
break;
|
|
1063
|
-
} else {
|
|
1064
|
-
for (let i = 1; i < doc2.expandedStates.length + 1; i++) {
|
|
1065
|
-
if (i >= doc2.expandedStates.length) {
|
|
1066
|
-
cmds.push({
|
|
1067
|
-
ind,
|
|
1068
|
-
mode: MODE_BREAK,
|
|
1069
|
-
doc: mostExpanded
|
|
1070
|
-
});
|
|
1071
|
-
break;
|
|
1072
|
-
} else {
|
|
1073
|
-
const state = doc2.expandedStates[i];
|
|
1074
|
-
const cmd = {
|
|
1075
|
-
ind,
|
|
1076
|
-
mode: MODE_FLAT,
|
|
1077
|
-
doc: state
|
|
1078
|
-
};
|
|
1079
|
-
if (fits(cmd, cmds, rem, hasLineSuffix, groupModeMap)) {
|
|
1080
|
-
cmds.push(cmd);
|
|
1081
|
-
break;
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
} else {
|
|
1087
|
-
cmds.push({
|
|
1088
|
-
ind,
|
|
1089
|
-
mode: MODE_BREAK,
|
|
1090
|
-
doc: doc2.contents
|
|
1091
|
-
});
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
break;
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
if (doc2.id) {
|
|
1098
|
-
groupModeMap[doc2.id] = at_default(
|
|
1099
|
-
/* isOptionalObject*/
|
|
1100
|
-
false,
|
|
1101
|
-
cmds,
|
|
1102
|
-
-1
|
|
1103
|
-
).mode;
|
|
1104
|
-
}
|
|
1105
|
-
break;
|
|
1106
|
-
case DOC_TYPE_FILL: {
|
|
1107
|
-
const rem = width - pos;
|
|
1108
|
-
const {
|
|
1109
|
-
parts
|
|
1110
|
-
} = doc2;
|
|
1111
|
-
if (parts.length === 0) {
|
|
1112
|
-
break;
|
|
1113
|
-
}
|
|
1114
|
-
const [content, whitespace] = parts;
|
|
1115
|
-
const contentFlatCmd = {
|
|
1116
|
-
ind,
|
|
1117
|
-
mode: MODE_FLAT,
|
|
1118
|
-
doc: content
|
|
1119
|
-
};
|
|
1120
|
-
const contentBreakCmd = {
|
|
1121
|
-
ind,
|
|
1122
|
-
mode: MODE_BREAK,
|
|
1123
|
-
doc: content
|
|
1124
|
-
};
|
|
1125
|
-
const contentFits = fits(contentFlatCmd, [], rem, lineSuffix2.length > 0, groupModeMap, true);
|
|
1126
|
-
if (parts.length === 1) {
|
|
1127
|
-
if (contentFits) {
|
|
1128
|
-
cmds.push(contentFlatCmd);
|
|
1129
|
-
} else {
|
|
1130
|
-
cmds.push(contentBreakCmd);
|
|
1131
|
-
}
|
|
1132
|
-
break;
|
|
1133
|
-
}
|
|
1134
|
-
const whitespaceFlatCmd = {
|
|
1135
|
-
ind,
|
|
1136
|
-
mode: MODE_FLAT,
|
|
1137
|
-
doc: whitespace
|
|
1138
|
-
};
|
|
1139
|
-
const whitespaceBreakCmd = {
|
|
1140
|
-
ind,
|
|
1141
|
-
mode: MODE_BREAK,
|
|
1142
|
-
doc: whitespace
|
|
1143
|
-
};
|
|
1144
|
-
if (parts.length === 2) {
|
|
1145
|
-
if (contentFits) {
|
|
1146
|
-
cmds.push(whitespaceFlatCmd, contentFlatCmd);
|
|
1147
|
-
} else {
|
|
1148
|
-
cmds.push(whitespaceBreakCmd, contentBreakCmd);
|
|
1149
|
-
}
|
|
1150
|
-
break;
|
|
1151
|
-
}
|
|
1152
|
-
parts.splice(0, 2);
|
|
1153
|
-
const remainingCmd = {
|
|
1154
|
-
ind,
|
|
1155
|
-
mode,
|
|
1156
|
-
doc: fill(parts)
|
|
1157
|
-
};
|
|
1158
|
-
const secondContent = parts[0];
|
|
1159
|
-
const firstAndSecondContentFlatCmd = {
|
|
1160
|
-
ind,
|
|
1161
|
-
mode: MODE_FLAT,
|
|
1162
|
-
doc: [content, whitespace, secondContent]
|
|
1163
|
-
};
|
|
1164
|
-
const firstAndSecondContentFits = fits(firstAndSecondContentFlatCmd, [], rem, lineSuffix2.length > 0, groupModeMap, true);
|
|
1165
|
-
if (firstAndSecondContentFits) {
|
|
1166
|
-
cmds.push(remainingCmd, whitespaceFlatCmd, contentFlatCmd);
|
|
1167
|
-
} else if (contentFits) {
|
|
1168
|
-
cmds.push(remainingCmd, whitespaceBreakCmd, contentFlatCmd);
|
|
1169
|
-
} else {
|
|
1170
|
-
cmds.push(remainingCmd, whitespaceBreakCmd, contentBreakCmd);
|
|
1171
|
-
}
|
|
1172
|
-
break;
|
|
1173
|
-
}
|
|
1174
|
-
case DOC_TYPE_IF_BREAK:
|
|
1175
|
-
case DOC_TYPE_INDENT_IF_BREAK: {
|
|
1176
|
-
const groupMode = doc2.groupId ? groupModeMap[doc2.groupId] : mode;
|
|
1177
|
-
if (groupMode === MODE_BREAK) {
|
|
1178
|
-
const breakContents = doc2.type === DOC_TYPE_IF_BREAK ? doc2.breakContents : doc2.negate ? doc2.contents : indent(doc2.contents);
|
|
1179
|
-
if (breakContents) {
|
|
1180
|
-
cmds.push({
|
|
1181
|
-
ind,
|
|
1182
|
-
mode,
|
|
1183
|
-
doc: breakContents
|
|
1184
|
-
});
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
if (groupMode === MODE_FLAT) {
|
|
1188
|
-
const flatContents = doc2.type === DOC_TYPE_IF_BREAK ? doc2.flatContents : doc2.negate ? indent(doc2.contents) : doc2.contents;
|
|
1189
|
-
if (flatContents) {
|
|
1190
|
-
cmds.push({
|
|
1191
|
-
ind,
|
|
1192
|
-
mode,
|
|
1193
|
-
doc: flatContents
|
|
1194
|
-
});
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
break;
|
|
1198
|
-
}
|
|
1199
|
-
case DOC_TYPE_LINE_SUFFIX:
|
|
1200
|
-
lineSuffix2.push({
|
|
1201
|
-
ind,
|
|
1202
|
-
mode,
|
|
1203
|
-
doc: doc2.contents
|
|
1204
|
-
});
|
|
1205
|
-
break;
|
|
1206
|
-
case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
|
|
1207
|
-
if (lineSuffix2.length > 0) {
|
|
1208
|
-
cmds.push({
|
|
1209
|
-
ind,
|
|
1210
|
-
mode,
|
|
1211
|
-
doc: hardlineWithoutBreakParent
|
|
1212
|
-
});
|
|
1213
|
-
}
|
|
1214
|
-
break;
|
|
1215
|
-
case DOC_TYPE_LINE:
|
|
1216
|
-
switch (mode) {
|
|
1217
|
-
case MODE_FLAT:
|
|
1218
|
-
if (!doc2.hard) {
|
|
1219
|
-
if (!doc2.soft) {
|
|
1220
|
-
out.push(" ");
|
|
1221
|
-
pos += 1;
|
|
1222
|
-
}
|
|
1223
|
-
break;
|
|
1224
|
-
} else {
|
|
1225
|
-
shouldRemeasure = true;
|
|
1226
|
-
}
|
|
1227
|
-
case MODE_BREAK:
|
|
1228
|
-
if (lineSuffix2.length > 0) {
|
|
1229
|
-
cmds.push({
|
|
1230
|
-
ind,
|
|
1231
|
-
mode,
|
|
1232
|
-
doc: doc2
|
|
1233
|
-
}, ...lineSuffix2.reverse());
|
|
1234
|
-
lineSuffix2.length = 0;
|
|
1235
|
-
break;
|
|
1236
|
-
}
|
|
1237
|
-
if (doc2.literal) {
|
|
1238
|
-
if (ind.root) {
|
|
1239
|
-
out.push(newLine, ind.root.value);
|
|
1240
|
-
pos = ind.root.length;
|
|
1241
|
-
} else {
|
|
1242
|
-
out.push(newLine);
|
|
1243
|
-
pos = 0;
|
|
1244
|
-
}
|
|
1245
|
-
} else {
|
|
1246
|
-
pos -= trim2(out);
|
|
1247
|
-
out.push(newLine + ind.value);
|
|
1248
|
-
pos = ind.length;
|
|
1249
|
-
}
|
|
1250
|
-
break;
|
|
1251
|
-
}
|
|
1252
|
-
break;
|
|
1253
|
-
case DOC_TYPE_LABEL:
|
|
1254
|
-
cmds.push({
|
|
1255
|
-
ind,
|
|
1256
|
-
mode,
|
|
1257
|
-
doc: doc2.contents
|
|
1258
|
-
});
|
|
1259
|
-
break;
|
|
1260
|
-
case DOC_TYPE_BREAK_PARENT:
|
|
1261
|
-
break;
|
|
1262
|
-
default:
|
|
1263
|
-
throw new invalid_doc_error_default(doc2);
|
|
1264
|
-
}
|
|
1265
|
-
if (cmds.length === 0 && lineSuffix2.length > 0) {
|
|
1266
|
-
cmds.push(...lineSuffix2.reverse());
|
|
1267
|
-
lineSuffix2.length = 0;
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
const cursorPlaceholderIndex = out.indexOf(CURSOR_PLACEHOLDER);
|
|
1271
|
-
if (cursorPlaceholderIndex !== -1) {
|
|
1272
|
-
const otherCursorPlaceholderIndex = out.indexOf(CURSOR_PLACEHOLDER, cursorPlaceholderIndex + 1);
|
|
1273
|
-
const beforeCursor = out.slice(0, cursorPlaceholderIndex).join("");
|
|
1274
|
-
const aroundCursor = out.slice(cursorPlaceholderIndex + 1, otherCursorPlaceholderIndex).join("");
|
|
1275
|
-
const afterCursor = out.slice(otherCursorPlaceholderIndex + 1).join("");
|
|
1276
|
-
return {
|
|
1277
|
-
formatted: beforeCursor + aroundCursor + afterCursor,
|
|
1278
|
-
cursorNodeStart: beforeCursor.length,
|
|
1279
|
-
cursorNodeText: aroundCursor
|
|
1280
|
-
};
|
|
1281
|
-
}
|
|
1282
|
-
return {
|
|
1283
|
-
formatted: out.join("")
|
|
1284
|
-
};
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
|
-
// src/document/public.js
|
|
1288
|
-
var builders = {
|
|
1289
|
-
join,
|
|
1290
|
-
line,
|
|
1291
|
-
softline,
|
|
1292
|
-
hardline,
|
|
1293
|
-
literalline,
|
|
1294
|
-
group,
|
|
1295
|
-
conditionalGroup,
|
|
1296
|
-
fill,
|
|
1297
|
-
lineSuffix,
|
|
1298
|
-
lineSuffixBoundary,
|
|
1299
|
-
cursor,
|
|
1300
|
-
breakParent,
|
|
1301
|
-
ifBreak,
|
|
1302
|
-
trim,
|
|
1303
|
-
indent,
|
|
1304
|
-
indentIfBreak,
|
|
1305
|
-
align,
|
|
1306
|
-
addAlignmentToDoc,
|
|
1307
|
-
markAsRoot,
|
|
1308
|
-
dedentToRoot,
|
|
1309
|
-
dedent,
|
|
1310
|
-
hardlineWithoutBreakParent,
|
|
1311
|
-
literallineWithoutBreakParent,
|
|
1312
|
-
label,
|
|
1313
|
-
// TODO: Remove this in v4
|
|
1314
|
-
concat: (parts) => parts
|
|
1315
|
-
};
|
|
1316
|
-
var printer = { printDocToString };
|
|
1317
|
-
var utils = {
|
|
1318
|
-
willBreak,
|
|
1319
|
-
traverseDoc: traverse_doc_default,
|
|
1320
|
-
findInDoc,
|
|
1321
|
-
mapDoc,
|
|
1322
|
-
removeLines,
|
|
1323
|
-
stripTrailingHardline,
|
|
1324
|
-
replaceEndOfLine,
|
|
1325
|
-
canBreak
|
|
1326
|
-
};
|
|
1327
|
-
return __toCommonJS(public_exports);
|
|
1328
|
-
});
|