@teambit/harmony.content.cli-reference 2.0.1300 → 2.0.1302

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.
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 2.2.90'
2
+ description: 'Bit command synopses. Bit version: 2.2.92'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -3734,82 +3734,6 @@
3734
3734
  }
3735
3735
  ]
3736
3736
  },
3737
- {
3738
- "name": "test [pattern-or-test-file...]",
3739
- "alias": "at",
3740
- "options": [
3741
- [
3742
- "w",
3743
- "watch",
3744
- "start the tester in watch mode."
3745
- ],
3746
- [
3747
- "d",
3748
- "debug",
3749
- "start the tester in debug mode."
3750
- ],
3751
- [
3752
- "a",
3753
- "all",
3754
- "DEPRECATED. (use --unmodified)"
3755
- ],
3756
- [
3757
- "u",
3758
- "unmodified",
3759
- "test all components, not only new and modified"
3760
- ],
3761
- [
3762
- "",
3763
- "junit <filepath>",
3764
- "write tests results as JUnit XML format into the specified file path"
3765
- ],
3766
- [
3767
- "",
3768
- "coverage",
3769
- "show code coverage data"
3770
- ],
3771
- [
3772
- "e",
3773
- "env <id>",
3774
- "test only components assigned the given env"
3775
- ],
3776
- [
3777
- "",
3778
- "update-snapshot",
3779
- "if supported by the tester, re-record every snapshot that fails during the test run"
3780
- ],
3781
- [
3782
- "s",
3783
- "scope <scope-name>",
3784
- "DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
3785
- ],
3786
- [
3787
- "j",
3788
- "json",
3789
- "return the results in json format"
3790
- ],
3791
- [
3792
- "",
3793
- "verbose",
3794
- "list the component ids that have no tests (default collapses them into a count)"
3795
- ],
3796
- [
3797
- "",
3798
- "summary",
3799
- "suppress tester output, print only the final pass/fail headline (or summary object with --json)"
3800
- ]
3801
- ],
3802
- "description": "run component tests",
3803
- "extendedDescription": "executes tests using the testing framework configured by each component's environment (Jest, Mocha, etc.).\nby default only runs tests for new and modified components. use --unmodified to test all components.\nto run specific test files only, pass their paths instead of a component pattern, e.g. \"bit test path/to/comp/my-comp.spec.ts\".\nsupports watch mode, coverage reporting, and debug mode for development workflows.",
3804
- "group": "testing",
3805
- "private": false,
3806
- "arguments": [
3807
- {
3808
- "name": "pattern-or-test-file...",
3809
- "description": "one of two modes (multiple values are supported, separated by spaces):\n1) component pattern: component name, component id, component pattern, or relative directory path. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n2) test-file path: a path to a test file, to run only this file, e.g. \"bit test path/to/comp/my-comp.spec.ts\".\nnote that a directory path selects the component in that directory and runs all its tests, while a test-file path runs only that file"
3810
- }
3811
- ]
3812
- },
3813
3737
  {
3814
3738
  "name": "diff [component-pattern] [version] [to-version]",
3815
3739
  "alias": "",
@@ -6089,6 +6013,82 @@
6089
6013
  }
6090
6014
  ]
6091
6015
  },
6016
+ {
6017
+ "name": "test [pattern-or-test-file...]",
6018
+ "alias": "at",
6019
+ "options": [
6020
+ [
6021
+ "w",
6022
+ "watch",
6023
+ "start the tester in watch mode."
6024
+ ],
6025
+ [
6026
+ "d",
6027
+ "debug",
6028
+ "start the tester in debug mode."
6029
+ ],
6030
+ [
6031
+ "a",
6032
+ "all",
6033
+ "DEPRECATED. (use --unmodified)"
6034
+ ],
6035
+ [
6036
+ "u",
6037
+ "unmodified",
6038
+ "test all components, not only new and modified"
6039
+ ],
6040
+ [
6041
+ "",
6042
+ "junit <filepath>",
6043
+ "write tests results as JUnit XML format into the specified file path"
6044
+ ],
6045
+ [
6046
+ "",
6047
+ "coverage",
6048
+ "show code coverage data"
6049
+ ],
6050
+ [
6051
+ "e",
6052
+ "env <id>",
6053
+ "test only components assigned the given env"
6054
+ ],
6055
+ [
6056
+ "",
6057
+ "update-snapshot",
6058
+ "if supported by the tester, re-record every snapshot that fails during the test run"
6059
+ ],
6060
+ [
6061
+ "s",
6062
+ "scope <scope-name>",
6063
+ "DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
6064
+ ],
6065
+ [
6066
+ "j",
6067
+ "json",
6068
+ "return the results in json format"
6069
+ ],
6070
+ [
6071
+ "",
6072
+ "verbose",
6073
+ "list the component ids that have no tests (default collapses them into a count)"
6074
+ ],
6075
+ [
6076
+ "",
6077
+ "summary",
6078
+ "suppress tester output, print only the final pass/fail headline (or summary object with --json)"
6079
+ ]
6080
+ ],
6081
+ "description": "run component tests",
6082
+ "extendedDescription": "executes tests using the testing framework configured by each component's environment (Jest, Mocha, etc.).\nby default only runs tests for new and modified components. use --unmodified to test all components.\nto run specific test files only, pass their paths instead of a component pattern, e.g. \"bit test path/to/comp/my-comp.spec.ts\".\nsupports watch mode, coverage reporting, and debug mode for development workflows.",
6083
+ "group": "testing",
6084
+ "private": false,
6085
+ "arguments": [
6086
+ {
6087
+ "name": "pattern-or-test-file...",
6088
+ "description": "one of two modes (multiple values are supported, separated by spaces):\n1) component pattern: component name, component id, component pattern, or relative directory path. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n2) test-file path: a path to a test file, to run only this file, e.g. \"bit test path/to/comp/my-comp.spec.ts\".\nnote that a directory path selects the component in that directory and runs all its tests, while a test-file path runs only that file"
6089
+ }
6090
+ ]
6091
+ },
6092
6092
  {
6093
6093
  "name": "aspect <sub-command>",
6094
6094
  "alias": "",
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 2.2.90'
2
+ description: 'Bit command synopses. Bit version: 2.2.92'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -3734,82 +3734,6 @@
3734
3734
  }
3735
3735
  ]
3736
3736
  },
3737
- {
3738
- "name": "test [pattern-or-test-file...]",
3739
- "alias": "at",
3740
- "options": [
3741
- [
3742
- "w",
3743
- "watch",
3744
- "start the tester in watch mode."
3745
- ],
3746
- [
3747
- "d",
3748
- "debug",
3749
- "start the tester in debug mode."
3750
- ],
3751
- [
3752
- "a",
3753
- "all",
3754
- "DEPRECATED. (use --unmodified)"
3755
- ],
3756
- [
3757
- "u",
3758
- "unmodified",
3759
- "test all components, not only new and modified"
3760
- ],
3761
- [
3762
- "",
3763
- "junit <filepath>",
3764
- "write tests results as JUnit XML format into the specified file path"
3765
- ],
3766
- [
3767
- "",
3768
- "coverage",
3769
- "show code coverage data"
3770
- ],
3771
- [
3772
- "e",
3773
- "env <id>",
3774
- "test only components assigned the given env"
3775
- ],
3776
- [
3777
- "",
3778
- "update-snapshot",
3779
- "if supported by the tester, re-record every snapshot that fails during the test run"
3780
- ],
3781
- [
3782
- "s",
3783
- "scope <scope-name>",
3784
- "DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
3785
- ],
3786
- [
3787
- "j",
3788
- "json",
3789
- "return the results in json format"
3790
- ],
3791
- [
3792
- "",
3793
- "verbose",
3794
- "list the component ids that have no tests (default collapses them into a count)"
3795
- ],
3796
- [
3797
- "",
3798
- "summary",
3799
- "suppress tester output, print only the final pass/fail headline (or summary object with --json)"
3800
- ]
3801
- ],
3802
- "description": "run component tests",
3803
- "extendedDescription": "executes tests using the testing framework configured by each component's environment (Jest, Mocha, etc.).\nby default only runs tests for new and modified components. use --unmodified to test all components.\nto run specific test files only, pass their paths instead of a component pattern, e.g. \"bit test path/to/comp/my-comp.spec.ts\".\nsupports watch mode, coverage reporting, and debug mode for development workflows.",
3804
- "group": "testing",
3805
- "private": false,
3806
- "arguments": [
3807
- {
3808
- "name": "pattern-or-test-file...",
3809
- "description": "one of two modes (multiple values are supported, separated by spaces):\n1) component pattern: component name, component id, component pattern, or relative directory path. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n2) test-file path: a path to a test file, to run only this file, e.g. \"bit test path/to/comp/my-comp.spec.ts\".\nnote that a directory path selects the component in that directory and runs all its tests, while a test-file path runs only that file"
3810
- }
3811
- ]
3812
- },
3813
3737
  {
3814
3738
  "name": "diff [component-pattern] [version] [to-version]",
3815
3739
  "alias": "",
@@ -6089,6 +6013,82 @@
6089
6013
  }
6090
6014
  ]
6091
6015
  },
6016
+ {
6017
+ "name": "test [pattern-or-test-file...]",
6018
+ "alias": "at",
6019
+ "options": [
6020
+ [
6021
+ "w",
6022
+ "watch",
6023
+ "start the tester in watch mode."
6024
+ ],
6025
+ [
6026
+ "d",
6027
+ "debug",
6028
+ "start the tester in debug mode."
6029
+ ],
6030
+ [
6031
+ "a",
6032
+ "all",
6033
+ "DEPRECATED. (use --unmodified)"
6034
+ ],
6035
+ [
6036
+ "u",
6037
+ "unmodified",
6038
+ "test all components, not only new and modified"
6039
+ ],
6040
+ [
6041
+ "",
6042
+ "junit <filepath>",
6043
+ "write tests results as JUnit XML format into the specified file path"
6044
+ ],
6045
+ [
6046
+ "",
6047
+ "coverage",
6048
+ "show code coverage data"
6049
+ ],
6050
+ [
6051
+ "e",
6052
+ "env <id>",
6053
+ "test only components assigned the given env"
6054
+ ],
6055
+ [
6056
+ "",
6057
+ "update-snapshot",
6058
+ "if supported by the tester, re-record every snapshot that fails during the test run"
6059
+ ],
6060
+ [
6061
+ "s",
6062
+ "scope <scope-name>",
6063
+ "DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
6064
+ ],
6065
+ [
6066
+ "j",
6067
+ "json",
6068
+ "return the results in json format"
6069
+ ],
6070
+ [
6071
+ "",
6072
+ "verbose",
6073
+ "list the component ids that have no tests (default collapses them into a count)"
6074
+ ],
6075
+ [
6076
+ "",
6077
+ "summary",
6078
+ "suppress tester output, print only the final pass/fail headline (or summary object with --json)"
6079
+ ]
6080
+ ],
6081
+ "description": "run component tests",
6082
+ "extendedDescription": "executes tests using the testing framework configured by each component's environment (Jest, Mocha, etc.).\nby default only runs tests for new and modified components. use --unmodified to test all components.\nto run specific test files only, pass their paths instead of a component pattern, e.g. \"bit test path/to/comp/my-comp.spec.ts\".\nsupports watch mode, coverage reporting, and debug mode for development workflows.",
6083
+ "group": "testing",
6084
+ "private": false,
6085
+ "arguments": [
6086
+ {
6087
+ "name": "pattern-or-test-file...",
6088
+ "description": "one of two modes (multiple values are supported, separated by spaces):\n1) component pattern: component name, component id, component pattern, or relative directory path. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n2) test-file path: a path to a test file, to run only this file, e.g. \"bit test path/to/comp/my-comp.spec.ts\".\nnote that a directory path selects the component in that directory and runs all its tests, while a test-file path runs only that file"
6089
+ }
6090
+ ]
6091
+ },
6092
6092
  {
6093
6093
  "name": "aspect <sub-command>",
6094
6094
  "alias": "",