Commit b109fa1
refactor, move code from @teambit/legacy into existing or new components (teambit#9359)
## Proposed Changes
- move legacy constants.ts to teambit.legacy/constants
- move legacy logger to teambit.legacy/logger
- move src/error into a new component teambit.legacy/cli/error
- move src/scope/component-ops/auto-tag.ts to workspace aspect
- move src/scope/component-ops/export-scope-components.ts to export
aspect
- move src/cli/* to cli aspect
- move src/global-config/config.ts and
src/api/consumer/lib/global-config.ts to teambit.legacy/global-config
- move src/consumer/config to teambit.legacy/consumer-config
- move legacy scope/actions into teambit.scope/remote-actions
- move get-flattened-dependencies.ts and message-per-component.ts to
snapping aspect
- move src/scope/network to a new component teambit.scope/network
- move legacy scope/models and scope/objects into teambit.scope/objects
- move snapDistance and getDivergeData and traverse-versions into
teambit.component/snap-distance
- move src/scope into teambit.legacy/scope
- move src/consumer to teambit.legacy/consumer
---------
Co-authored-by: Gilad Shoham <[email protected]>1 parent cb816f6 commit b109fa1
File tree
742 files changed
+2233
-2004
lines changed- .circleci
- bin
- components
- legacy
- analytics
- bit-map
- exceptions
- cli
- error
- prompts/schemas
- component-diff
- component-list
- constants
- consumer-component
- dependencies
- exceptions
- consumer-config
- exceptions
- consumer
- dir-structure
- exceptions
- dependency-graph
- e2e-helper
- fixtures
- components/custom-dev-files
- extensions
- babel-env
- custom-jest-resolve-env
- config
- custom-react-env
- jest
- typescript
- webpack
- dev-files-env
- dummy-extension-without-logs
- dummy-extension
- env-add-dependencies
- extension-add-config/simple-config
- extension-add-dependencies
- extension-provider-error
- invalid-jest-config-env
- config
- mdx-based-env
- multi-jest-testers-env
- config
- multiple-compilers-env
- ts
- node-based-env
- node-env-1
- node-env-2
- node-env-dev-dep
- node-env
- non-requireable-aspect
- react-based-env
- react-create-template
- png
- scopes
- workspace-with-tsconfig-issue
- my-scope
- buttons/js-button
- envs/my-react-env
- config
- global-config
- logger
- scope-api/lib
- scope
- component-ops
- exceptions
- graph
- lanes
- objects-fetcher
- repositories
- modules
- component-package-name
- find-scope-path
- scope/remotes
- exceptions
- remote-resolver
- semantics/doc-parser
- jsdoc
- react
- e2e
- commands
- doctor
- flows
- functionalities
- harmony
- dependencies
- lanes
- performance
- typescript
- fixtures
- scopes
- cloud
- cloud
- modules/get-cloud-user
- community/community
- compilation/compiler
- component
- apply
- checkout
- component-compare
- component-log
- component-writer
- component
- show/legacy-show
- dev-files
- forking
- graph
- isolator
- lister
- merging
- merge-version
- mover
- refactoring
- remove
- snap-distance
- fixtures
- snapping
- sources
- stash
- status
- tracker
- exceptions
- compositions/compositions
- defender
- eslint
- formatter
- jest
- linter
- multi-tester
- prettier
- tester
- dependencies
- dependencies
- dependencies-loader
- files-dependency-builder
- types
- dependency-resolver
- dependencies
- component-dependency
- policy/variant-policy
- registry
- pnpm
- docs/docs
- generator/generator
- git/modules
- git-executable
- ignore-file-reader
- harmony
- api-server
- aspect-loader
- aspect
- bit
- cache
- cli-reference
- cli
- config
- doctor
- core-diagnoses
- express/middlewares
- global-config
- host-initializer
- logger
- modules
- concurrency
- feature-toggle
- get-basic-log
- in-memory-cache
- testing/load-aspect
- lanes
- diff
- lanes
- merge-lanes
- modules/create-lane
- pipelines/builder
- artifact
- exceptions
- pkg/pkg
- package-dependency
- preview/preview
- scope
- export
- importer
- network
- exceptions
- fs
- http
- objects
- fixtures
- models
- objects
- remote-actions
- scope
- debug-commands
- routes
- run-action
- sign
- update-dependencies
- version-history
- semantics/schema
- toolbox/fs/link-or-symlink
- typescript/typescript/cmds
- ui-foundation/ui
- workspace
- clear-cache
- config-merger
- eject
- install
- modules
- fs-cache
- node-modules-linker
- workspace-locator
- testing/mock-workspace
- watcher
- workspace-config-files
- workspace
- commands
- component-config-file
- envs-subcommands
- scope-subcommands
- workspace-component
- scripts
- src
- consumer
- component
- config
- global-config
- remotes
- scope
- component-ops
- exceptions
- network
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
742 files changed
+2233
-2004
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
306 | 314 | | |
307 | 315 | | |
308 | 316 | | |
| |||
457 | 465 | | |
458 | 466 | | |
459 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
460 | 517 | | |
461 | 518 | | |
462 | 519 | | |
| |||
534 | 591 | | |
535 | 592 | | |
536 | 593 | | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
537 | 608 | | |
538 | 609 | | |
539 | 610 | | |
| |||
702 | 773 | | |
703 | 774 | | |
704 | 775 | | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | 776 | | |
713 | 777 | | |
714 | 778 | | |
| |||
891 | 955 | | |
892 | 956 | | |
893 | 957 | | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | 958 | | |
902 | 959 | | |
903 | 960 | | |
| |||
1045 | 1102 | | |
1046 | 1103 | | |
1047 | 1104 | | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
1048 | 1112 | | |
1049 | 1113 | | |
1050 | 1114 | | |
| |||
1213 | 1277 | | |
1214 | 1278 | | |
1215 | 1279 | | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
1216 | 1294 | | |
1217 | 1295 | | |
1218 | 1296 | | |
| |||
1241 | 1319 | | |
1242 | 1320 | | |
1243 | 1321 | | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
1244 | 1336 | | |
1245 | 1337 | | |
1246 | 1338 | | |
| |||
1395 | 1487 | | |
1396 | 1488 | | |
1397 | 1489 | | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
1398 | 1506 | | |
1399 | 1507 | | |
1400 | 1508 | | |
| |||
1563 | 1671 | | |
1564 | 1672 | | |
1565 | 1673 | | |
1566 | | - | |
1567 | | - | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
1571 | | - | |
1572 | | - | |
1573 | 1674 | | |
1574 | 1675 | | |
1575 | 1676 | | |
| |||
1605 | 1706 | | |
1606 | 1707 | | |
1607 | 1708 | | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
1608 | 1723 | | |
1609 | 1724 | | |
1610 | 1725 | | |
| |||
1682 | 1797 | | |
1683 | 1798 | | |
1684 | 1799 | | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
1685 | 1863 | | |
1686 | 1864 | | |
1687 | 1865 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | 385 | | |
406 | 386 | | |
407 | 387 | | |
| |||
519 | 499 | | |
520 | 500 | | |
521 | 501 | | |
522 | | - | |
| 502 | + | |
523 | 503 | | |
524 | 504 | | |
525 | 505 | | |
526 | | - | |
| 506 | + | |
527 | 507 | | |
528 | 508 | | |
529 | 509 | | |
| |||
555 | 535 | | |
556 | 536 | | |
557 | 537 | | |
558 | | - | |
| 538 | + | |
559 | 539 | | |
560 | 540 | | |
561 | 541 | | |
562 | 542 | | |
563 | | - | |
| 543 | + | |
564 | 544 | | |
565 | 545 | | |
566 | 546 | | |
567 | | - | |
| 547 | + | |
568 | 548 | | |
569 | 549 | | |
570 | 550 | | |
| |||
586 | 566 | | |
587 | 567 | | |
588 | 568 | | |
589 | | - | |
| 569 | + | |
590 | 570 | | |
591 | 571 | | |
592 | 572 | | |
| |||
1249 | 1229 | | |
1250 | 1230 | | |
1251 | 1231 | | |
1252 | | - | |
1253 | | - | |
1254 | | - | |
1255 | 1232 | | |
1256 | 1233 | | |
1257 | 1234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments