@lingui/conf 5.5.1 → 5.6.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/dist/index.d.cts CHANGED
@@ -113,23 +113,24 @@ type ExperimentalExtractorOptions = {
113
113
  */
114
114
  entries: string[];
115
115
  /**
116
- * Explicitly include some dependency for extraction.
117
- * For example, you can include all monorepo's packages as
118
- * ["@mycompany/"]
119
- */
120
- includeDeps?: string[];
121
- /**
122
- * By default all dependencies from package.json would be ecxluded from analyzing.
123
- * If something was not properly discovered you can add it here.
116
+ * List of package name patterns to include for extraction.
124
117
  *
125
- * Note: it automatically matches also sub imports
118
+ * For example, to include all packages from your monorepo:
126
119
  *
127
- * "next" would match "next" and "next/head"
120
+ * ["@mycompany"]
121
+ *
122
+ * By default, all imports that look like package imports are ignored.
123
+ * This means imports that do not start with `/`, `./`, `../`, or `#`
124
+ * (used for subpath imports). TypeScript path aliases are also ignored
125
+ * because they look like package imports.
126
+ *
127
+ * Add here the packages you want to include.
128
128
  */
129
- excludeDeps?: string[];
129
+ includeDeps?: string[];
130
130
  /**
131
- * svg, jpg and other files which might be imported in application should be exluded from analysis.
132
- * By default extractor provides a comprehensive list of extensions. If you feel like somthing is missing in this list please fill an issue on GitHub
131
+ * svg, jpg and other files which might be imported in application should be excluded from analysis.
132
+ * By default, extractor provides a comprehensive list of extensions. If you feel like something
133
+ * is missing in this list please fill an issue on GitHub
133
134
  *
134
135
  * NOTE: changing this param will override default list of extensions.
135
136
  */
package/dist/index.d.mts CHANGED
@@ -113,23 +113,24 @@ type ExperimentalExtractorOptions = {
113
113
  */
114
114
  entries: string[];
115
115
  /**
116
- * Explicitly include some dependency for extraction.
117
- * For example, you can include all monorepo's packages as
118
- * ["@mycompany/"]
119
- */
120
- includeDeps?: string[];
121
- /**
122
- * By default all dependencies from package.json would be ecxluded from analyzing.
123
- * If something was not properly discovered you can add it here.
116
+ * List of package name patterns to include for extraction.
124
117
  *
125
- * Note: it automatically matches also sub imports
118
+ * For example, to include all packages from your monorepo:
126
119
  *
127
- * "next" would match "next" and "next/head"
120
+ * ["@mycompany"]
121
+ *
122
+ * By default, all imports that look like package imports are ignored.
123
+ * This means imports that do not start with `/`, `./`, `../`, or `#`
124
+ * (used for subpath imports). TypeScript path aliases are also ignored
125
+ * because they look like package imports.
126
+ *
127
+ * Add here the packages you want to include.
128
128
  */
129
- excludeDeps?: string[];
129
+ includeDeps?: string[];
130
130
  /**
131
- * svg, jpg and other files which might be imported in application should be exluded from analysis.
132
- * By default extractor provides a comprehensive list of extensions. If you feel like somthing is missing in this list please fill an issue on GitHub
131
+ * svg, jpg and other files which might be imported in application should be excluded from analysis.
132
+ * By default, extractor provides a comprehensive list of extensions. If you feel like something
133
+ * is missing in this list please fill an issue on GitHub
133
134
  *
134
135
  * NOTE: changing this param will override default list of extensions.
135
136
  */
package/dist/index.d.ts CHANGED
@@ -113,23 +113,24 @@ type ExperimentalExtractorOptions = {
113
113
  */
114
114
  entries: string[];
115
115
  /**
116
- * Explicitly include some dependency for extraction.
117
- * For example, you can include all monorepo's packages as
118
- * ["@mycompany/"]
119
- */
120
- includeDeps?: string[];
121
- /**
122
- * By default all dependencies from package.json would be ecxluded from analyzing.
123
- * If something was not properly discovered you can add it here.
116
+ * List of package name patterns to include for extraction.
124
117
  *
125
- * Note: it automatically matches also sub imports
118
+ * For example, to include all packages from your monorepo:
126
119
  *
127
- * "next" would match "next" and "next/head"
120
+ * ["@mycompany"]
121
+ *
122
+ * By default, all imports that look like package imports are ignored.
123
+ * This means imports that do not start with `/`, `./`, `../`, or `#`
124
+ * (used for subpath imports). TypeScript path aliases are also ignored
125
+ * because they look like package imports.
126
+ *
127
+ * Add here the packages you want to include.
128
128
  */
129
- excludeDeps?: string[];
129
+ includeDeps?: string[];
130
130
  /**
131
- * svg, jpg and other files which might be imported in application should be exluded from analysis.
132
- * By default extractor provides a comprehensive list of extensions. If you feel like somthing is missing in this list please fill an issue on GitHub
131
+ * svg, jpg and other files which might be imported in application should be excluded from analysis.
132
+ * By default, extractor provides a comprehensive list of extensions. If you feel like something
133
+ * is missing in this list please fill an issue on GitHub
133
134
  *
134
135
  * NOTE: changing this param will override default list of extensions.
135
136
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingui/conf",
3
- "version": "5.5.1",
3
+ "version": "5.6.0",
4
4
  "sideEffects": false,
5
5
  "description": "Get lingui configuration from package.json",
6
6
  "keywords": [
@@ -45,5 +45,5 @@
45
45
  "@lingui/jest-mocks": "*",
46
46
  "unbuild": "^2.0.0"
47
47
  },
48
- "gitHead": "3bd1384568848e15e60fb40324e9e0476ca152e6"
48
+ "gitHead": "6a8e2a60cf936ba8dc7ae09442ba616e5e4e9e5d"
49
49
  }