Skip to content

Commit 2483b40

Browse files
authored
chore(repo): correct READMEs, minimatch to picomatch (#1260)
* fix(babel): correct minimatch to picomatch * fix(buble): correct minimatch to picomatch * fix(commonjs): correct minimatch to picomatch * fix(dsv): correct minimatch to picomatch * fix(dynamic-import): correct minimatch to picomatch * docs(graphql): correct minimatch to picomatch * fix(image): correct minimatch to picomatch * fix(inject): correct minimatch to picomatch * fix(replace): correct minimatch to picomatch * fix(strip): correct minimatch to picomatch * fix(sucrase): correct minimatch to picomatch * docs(typescript): correct minimatch to picomatch * fix(url): correct minimatch to picomatch * fix(yaml): correct minimatch to picomatch
1 parent fa682dc commit 2483b40

File tree

23 files changed

+47
-47
lines changed

23 files changed

+47
-47
lines changed

packages/babel/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ All options are as per the [Babel documentation](https://babeljs.io/docs/en/opti
8484

8585
Type: `String | RegExp | Array[...String|RegExp]`<br>
8686

87-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. When relying on Babel configuration files you can only exclude additional files with this option, you cannot override what you have configured for Babel itself.
87+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. When relying on Babel configuration files you can only exclude additional files with this option, you cannot override what you have configured for Babel itself.
8888

8989
### `include`
9090

9191
Type: `String | RegExp | Array[...String|RegExp]`<br>
9292

93-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. When relying on Babel configuration files you cannot include files already excluded there.
93+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. When relying on Babel configuration files you cannot include files already excluded there.
9494

9595
### `filter`
9696

packages/babel/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import * as babelCore from '@babel/core';
55
export interface RollupBabelInputPluginOptions
66
extends Omit<babelCore.TransformOptions, 'include' | 'exclude'> {
77
/**
8-
* A minimatch pattern, or array of patterns, which specifies the files in the build the plugin should operate on. When relying on Babel configuration files you cannot include files already excluded there.
8+
* A picomatch pattern, or array of patterns, which specifies the files in the build the plugin should operate on. When relying on Babel configuration files you cannot include files already excluded there.
99
* @default undefined;
1010
*/
1111
include?: FilterPattern;
1212
/**
13-
* A minimatch pattern, or array of patterns, which specifies the files in the build the plugin should ignore. When relaying on Babel configuration files you can only exclude additional files with this option, you cannot override what you have configured for Babel itself.
13+
* A picomatch pattern, or array of patterns, which specifies the files in the build the plugin should ignore. When relaying on Babel configuration files you can only exclude additional files with this option, you cannot override what you have configured for Babel itself.
1414
* @default undefined;
1515
*/
1616
exclude?: FilterPattern;

packages/buble/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ Specifies additional [transform options](https://buble.surge.sh/guide/) for the
5656
Type: `String` | `Array[...String]`<br>
5757
Default: `null`
5858

59-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.
59+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.
6060

6161
### `include`
6262

6363
Type: `String` | `Array[...String]`<br>
6464
Default: `null`
6565

66-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
66+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
6767

6868
## Meta
6969

packages/buble/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Plugin } from 'rollup';
44

55
export interface RollupBubleOptions extends TransformOptions {
66
/**
7-
* A minimatch pattern, or array of patterns, of files that should be
7+
* A picomatch pattern, or array of patterns, of files that should be
88
* processed by this plugin (if omitted, all files are included by default)
99
*/
1010
include?: FilterPattern;

packages/commonjs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ The default value of `"auto"` will only wrap CommonJS files when they are part o
5959

6060
`false` will entirely prevent wrapping and hoist all files. This may still work depending on the nature of cyclic dependencies but will often cause problems.
6161

62-
You can also provide a [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, to only specify a subset of files which should be wrapped in functions for proper `require` semantics.
62+
You can also provide a [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, to only specify a subset of files which should be wrapped in functions for proper `require` semantics.
6363

64-
`"debug"` works like `"auto"` but after bundling, it will display a warning containing a list of ids that have been wrapped which can be used as minimatch pattern for fine-tuning or to avoid the potential race conditions mentioned for `"auto"`.
64+
`"debug"` works like `"auto"` but after bundling, it will display a warning containing a list of ids that have been wrapped which can be used as picomatch pattern for fine-tuning or to avoid the potential race conditions mentioned for `"auto"`.
6565

6666
### `dynamicRequireTargets`
6767

@@ -104,14 +104,14 @@ To avoid long paths when using the `dynamicRequireTargets` option, you can use t
104104
Type: `string | string[]`<br>
105105
Default: `null`
106106

107-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default, all files with extensions other than those in `extensions` or `".cjs"` are ignored, but you can exclude additional files. See also the `include` option.
107+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default, all files with extensions other than those in `extensions` or `".cjs"` are ignored, but you can exclude additional files. See also the `include` option.
108108

109109
### `include`
110110

111111
Type: `string | string[]`<br>
112112
Default: `null`
113113

114-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default, all files with extension `".cjs"` or those in `extensions` are included, but you can narrow this list by only including specific files. These files will be analyzed and transpiled if either the analysis does not find ES module specific statements or `transformMixedEsModules` is `true`.
114+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default, all files with extension `".cjs"` or those in `extensions` are included, but you can narrow this list by only including specific files. These files will be analyzed and transpiled if either the analysis does not find ES module specific statements or `transformMixedEsModules` is `true`.
115115

116116
### `extensions`
117117

packages/commonjs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type DefaultIsModuleExportsOption = boolean | 'auto';
66

77
interface RollupCommonJSOptions {
88
/**
9-
* A minimatch pattern, or array of patterns, which specifies the files in
9+
* A picomatch pattern, or array of patterns, which specifies the files in
1010
* the build the plugin should operate on. By default, all files with
1111
* extension `".cjs"` or those in `extensions` are included, but you can
1212
* narrow this list by only including specific files. These files will be
@@ -16,7 +16,7 @@ interface RollupCommonJSOptions {
1616
*/
1717
include?: FilterPattern;
1818
/**
19-
* A minimatch pattern, or array of patterns, which specifies the files in
19+
* A picomatch pattern, or array of patterns, which specifies the files in
2020
* the build the plugin should _ignore_. By default, all files with
2121
* extensions other than those in `extensions` or `".cjs"` are ignored, but you
2222
* can exclude additional files. See also the `include` option.
@@ -88,13 +88,13 @@ interface RollupCommonJSOptions {
8888
* work depending on the nature of cyclic dependencies but will often cause
8989
* problems.
9090
*
91-
* You can also provide a minimatch pattern, or array of patterns, to only
91+
* You can also provide a picomatch pattern, or array of patterns, to only
9292
* specify a subset of files which should be wrapped in functions for proper
9393
* `require` semantics.
9494
*
9595
* `"debug"` works like `"auto"` but after bundling, it will display a warning
9696
* containing a list of ids that have been wrapped which can be used as
97-
* minimatch pattern for fine-tuning.
97+
* picomatch pattern for fine-tuning.
9898
* @default "auto"
9999
*/
100100
strictRequires?: boolean | FilterPattern;

packages/dsv/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import { Plugin } from 'rollup';
44

55
interface RollupDsvOptions {
66
/**
7-
* A minimatch pattern, or array of patterns, which specifies the files in the build the plugin
7+
* A picomatch pattern, or array of patterns, which specifies the files in the build the plugin
88
* should operate on.
99
* By default all files are targeted.
1010
*/
1111
include?: FilterPattern;
1212
/**
13-
* A minimatch pattern, or array of patterns, which specifies the files in the build the plugin
13+
* A picomatch pattern, or array of patterns, which specifies the files in the build the plugin
1414
* should _ignore_.
1515
* By default no files are ignored.
1616
*/

packages/dynamic-import-vars/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { Plugin } from 'rollup';
33

44
interface RollupDynamicImportVariablesOptions {
55
/**
6-
* A minimatch pattern, or array of patterns, which specifies the files in the build the plugin
6+
* A picomatch pattern, or array of patterns, which specifies the files in the build the plugin
77
* should operate on.
88
* By default all files are targeted.
99
*/
1010
include?: FilterPattern;
1111
/**
12-
* A minimatch pattern, or array of patterns, which specifies the files in the build the plugin
12+
* A picomatch pattern, or array of patterns, which specifies the files in the build the plugin
1313
* should _ignore_.
1414
* By default no files are ignored.
1515
*/

packages/graphql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ query AllHeroes {
8686
Type: `String` | `Array[...String]`<br>
8787
Default: `null`
8888

89-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.
89+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.
9090

9191
### `include`
9292

9393
Type: `String` | `Array[...String]`<br>
9494
Default: `null`
9595

96-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
96+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
9797

9898
## Meta
9999

packages/image/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ document.body.appendChild(logo);
7575
Type: `String` | `Array[...String]`<br>
7676
Default: `null`
7777

78-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.
78+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.
7979

8080
### `include`
8181

8282
Type: `String` | `Array[...String]`<br>
8383
Default: `null`
8484

85-
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
85+
A [picomatch pattern](https://github.com/micromatch/picomatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
8686

8787
## Meta
8888

0 commit comments

Comments
 (0)