@graphql-tools/code-file-loader 7.2.7 → 7.2.10
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/index.d.ts +1 -1
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare type CodeFileLoaderOptions = {
|
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
|
-
* Supported extensions include: `.ts`, `.tsx`, `.js`, `.jsx`, `.vue`
|
|
30
|
+
* Supported extensions include: `.ts`, `.tsx`, `.js`, `.jsx`, `.vue`, `.svelte`
|
|
31
31
|
*/
|
|
32
32
|
export declare class CodeFileLoader implements Loader<CodeFileLoaderOptions> {
|
|
33
33
|
private config;
|
package/index.js
CHANGED
|
@@ -175,7 +175,7 @@ function ensureFilepath(filepath) {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
const { readFile, access } = fs.promises;
|
|
178
|
-
const FILE_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.vue'];
|
|
178
|
+
const FILE_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.vue', '.svelte'];
|
|
179
179
|
function createGlobbyOptions(options) {
|
|
180
180
|
return { absolute: true, ...options, ignore: [] };
|
|
181
181
|
}
|
|
@@ -192,7 +192,7 @@ const buildIgnoreGlob = (path) => `!${path}`;
|
|
|
192
192
|
* });
|
|
193
193
|
* ```
|
|
194
194
|
*
|
|
195
|
-
* Supported extensions include: `.ts`, `.tsx`, `.js`, `.jsx`, `.vue`
|
|
195
|
+
* Supported extensions include: `.ts`, `.tsx`, `.js`, `.jsx`, `.vue`, `.svelte`
|
|
196
196
|
*/
|
|
197
197
|
class CodeFileLoader {
|
|
198
198
|
constructor(config) {
|
package/index.mjs
CHANGED
|
@@ -150,7 +150,7 @@ function ensureFilepath(filepath) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
const { readFile, access } = promises;
|
|
153
|
-
const FILE_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.vue'];
|
|
153
|
+
const FILE_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.vue', '.svelte'];
|
|
154
154
|
function createGlobbyOptions(options) {
|
|
155
155
|
return { absolute: true, ...options, ignore: [] };
|
|
156
156
|
}
|
|
@@ -167,7 +167,7 @@ const buildIgnoreGlob = (path) => `!${path}`;
|
|
|
167
167
|
* });
|
|
168
168
|
* ```
|
|
169
169
|
*
|
|
170
|
-
* Supported extensions include: `.ts`, `.tsx`, `.js`, `.jsx`, `.vue`
|
|
170
|
+
* Supported extensions include: `.ts`, `.tsx`, `.js`, `.jsx`, `.vue`, `.svelte`
|
|
171
171
|
*/
|
|
172
172
|
class CodeFileLoader {
|
|
173
173
|
constructor(config) {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/code-file-loader",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.10",
|
|
4
4
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-tools/graphql-tag-pluck": "7.
|
|
10
|
+
"@graphql-tools/graphql-tag-pluck": "7.2.2",
|
|
11
11
|
"@graphql-tools/utils": "8.6.5",
|
|
12
12
|
"globby": "^11.0.3",
|
|
13
13
|
"tslib": "~2.3.0",
|