@w5s/dev 1.2.0 → 1.3.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.ts CHANGED
@@ -1,4 +1,3 @@
1
- export * from './constant.js';
2
1
  export * from './eslint.js';
3
2
  export * from './project.js';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./constant.js"), exports);
18
17
  __exportStar(require("./eslint.js"), exports);
19
18
  __exportStar(require("./project.js"), exports);
20
19
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,8CAA4B;AAC5B,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,+CAA6B"}
package/dist/project.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export declare namespace Project {
2
+ type Extension = `.${string}`;
2
3
  /**
3
4
  * Supported ECMA version
4
5
  *
@@ -8,5 +9,50 @@ export declare namespace Project {
8
9
  * ```
9
10
  */
10
11
  function ecmaVersion(): 2022;
12
+ /**
13
+ * Supported file extensions
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * Project.sourceExtensions() // ['.ts', '.js', ...]
18
+ * ```
19
+ */
20
+ function sourceExtensions(): readonly `.${string}`[];
21
+ /**
22
+ * Resource file extensions
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * Project.resourceExtensions() // ['.css', '.sass', ...]
27
+ * ```
28
+ */
29
+ function resourceExtensions(): readonly `.${string}`[];
30
+ /**
31
+ * Files and folders to always ignore
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * IGNORED // ['node_modules/', 'build/', ...]
36
+ * ```
37
+ */
38
+ function ignored(): readonly string[];
39
+ /**
40
+ * Return a RegExp that will match any list of extensions
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * Project.extensionsToMatcher(['.js', '.ts']) // RegExp = /(\.js|\.ts)$/
45
+ * ```
46
+ */
47
+ function extensionsToMatcher(extensions: readonly Extension[]): RegExp;
48
+ /**
49
+ * Return a glob matcher that will match any list of extensions
50
+ *
51
+ * @example
52
+ * ```ts
53
+ * Project.extensionsToGlob(['.js', '.ts']) // '*.+(js|ts)'
54
+ * ```
55
+ */
56
+ function extensionsToGlob(extensions: readonly Extension[]): string;
11
57
  }
12
58
  //# sourceMappingURL=project.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":"AAAA,yBAAiB,OAAO,CAAC;IACvB;;;;;;;OAOG;IACH,SAAgB,WAAW,SAE1B;CACF"}
1
+ {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":"AAIA,yBAAiB,OAAO,CAAC;IACvB,KAAY,SAAS,GAAG,IAAI,MAAM,EAAE,CAAC;IAErC;;;;;;;OAOG;IACH,SAAgB,WAAW,SAE1B;IAaD;;;;;;;OAOG;IACH,SAAgB,gBAAgB,4BAE/B;IAkBD;;;;;;;OAOG;IACH,SAAgB,kBAAkB,4BAEjC;IAeD;;;;;;;OAOG;IACH,SAAgB,OAAO,sBAEtB;IAED;;;;;;;OAOG;IACH,SAAgB,mBAAmB,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,GAAG,MAAM,CAE5E;IAED;;;;;;;OAOG;IACH,SAAgB,gBAAgB,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,GAAG,MAAM,CAEzE;CACF"}
package/dist/project.js CHANGED
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Project = void 0;
4
+ function escapeRegExp(value) {
5
+ return value.replaceAll(/[$()*+.?[\\\]^{|}]/g, '\\$&'); // $& means the whole matched string
6
+ }
4
7
  var Project;
5
8
  (function (Project) {
6
9
  /**
@@ -15,5 +18,102 @@ var Project;
15
18
  return 2022;
16
19
  }
17
20
  Project.ecmaVersion = ecmaVersion;
21
+ const SOURCE_EXTENSIONS = Object.freeze([
22
+ '.ts',
23
+ '.tsx',
24
+ '.cts',
25
+ '.mts',
26
+ '.js',
27
+ '.jsx',
28
+ '.cjs',
29
+ '.mjs',
30
+ ]);
31
+ /**
32
+ * Supported file extensions
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * Project.sourceExtensions() // ['.ts', '.js', ...]
37
+ * ```
38
+ */
39
+ function sourceExtensions() {
40
+ return SOURCE_EXTENSIONS;
41
+ }
42
+ Project.sourceExtensions = sourceExtensions;
43
+ const RESOURCE_EXTENSIONS = Object.freeze([
44
+ '.css',
45
+ '.sass',
46
+ '.scss',
47
+ '.less',
48
+ '.gif',
49
+ '.png',
50
+ '.jpg',
51
+ '.jpeg',
52
+ '.svg',
53
+ '.gql',
54
+ '.graphql',
55
+ '.yml',
56
+ '.yaml',
57
+ ]);
58
+ /**
59
+ * Resource file extensions
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * Project.resourceExtensions() // ['.css', '.sass', ...]
64
+ * ```
65
+ */
66
+ function resourceExtensions() {
67
+ return RESOURCE_EXTENSIONS;
68
+ }
69
+ Project.resourceExtensions = resourceExtensions;
70
+ const IGNORED = Object.freeze([
71
+ 'node_modules/',
72
+ 'build/',
73
+ 'cjs/',
74
+ 'coverage/',
75
+ 'dist/',
76
+ 'dts/',
77
+ 'esm/',
78
+ 'lib/',
79
+ 'mjs/',
80
+ 'umd/',
81
+ ]);
82
+ /**
83
+ * Files and folders to always ignore
84
+ *
85
+ * @example
86
+ * ```ts
87
+ * IGNORED // ['node_modules/', 'build/', ...]
88
+ * ```
89
+ */
90
+ function ignored() {
91
+ return IGNORED;
92
+ }
93
+ Project.ignored = ignored;
94
+ /**
95
+ * Return a RegExp that will match any list of extensions
96
+ *
97
+ * @example
98
+ * ```ts
99
+ * Project.extensionsToMatcher(['.js', '.ts']) // RegExp = /(\.js|\.ts)$/
100
+ * ```
101
+ */
102
+ function extensionsToMatcher(extensions) {
103
+ return new RegExp(`(${extensions.map(escapeRegExp).join('|')})$`);
104
+ }
105
+ Project.extensionsToMatcher = extensionsToMatcher;
106
+ /**
107
+ * Return a glob matcher that will match any list of extensions
108
+ *
109
+ * @example
110
+ * ```ts
111
+ * Project.extensionsToGlob(['.js', '.ts']) // '*.+(js|ts)'
112
+ * ```
113
+ */
114
+ function extensionsToGlob(extensions) {
115
+ return `*.+(${extensions.map((_) => _.replace(/^\./, '')).join('|')})`;
116
+ }
117
+ Project.extensionsToGlob = extensionsToGlob;
18
118
  })(Project || (exports.Project = Project = {}));
19
119
  //# sourceMappingURL=project.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":";;;AAAA,IAAiB,OAAO,CAYvB;AAZD,WAAiB,OAAO;IACtB;;;;;;;OAOG;IACH,SAAgB,WAAW;QACzB,OAAO,IAAa,CAAC;IACvB,CAAC;IAFe,mBAAW,cAE1B,CAAA;AACH,CAAC,EAZgB,OAAO,uBAAP,OAAO,QAYvB"}
1
+ {"version":3,"file":"project.js","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":";;;AAAA,SAAS,YAAY,CAAC,KAAa;IACjC,OAAO,KAAK,CAAC,UAAU,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,CAAC,oCAAoC;AAC9F,CAAC;AAED,IAAiB,OAAO,CAkHvB;AAlHD,WAAiB,OAAO;IAGtB;;;;;;;OAOG;IACH,SAAgB,WAAW;QACzB,OAAO,IAAa,CAAC;IACvB,CAAC;IAFe,mBAAW,cAE1B,CAAA;IAED,MAAM,iBAAiB,GAAyB,MAAM,CAAC,MAAM,CAAC;QAC5D,KAAK;QACL,MAAM;QACN,MAAM;QACN,MAAM;QACN,KAAK;QACL,MAAM;QACN,MAAM;QACN,MAAM;KACP,CAAC,CAAC;IAEH;;;;;;;OAOG;IACH,SAAgB,gBAAgB;QAC9B,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAFe,wBAAgB,mBAE/B,CAAA;IAED,MAAM,mBAAmB,GAAyB,MAAM,CAAC,MAAM,CAAC;QAC9D,MAAM;QACN,OAAO;QACP,OAAO;QACP,OAAO;QACP,MAAM;QACN,MAAM;QACN,MAAM;QACN,OAAO;QACP,MAAM;QACN,MAAM;QACN,UAAU;QACV,MAAM;QACN,OAAO;KACR,CAAC,CAAC;IAEH;;;;;;;OAOG;IACH,SAAgB,kBAAkB;QAChC,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAFe,0BAAkB,qBAEjC,CAAA;IAED,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,eAAe;QACf,QAAQ;QACR,MAAM;QACN,WAAW;QACX,OAAO;QACP,MAAM;QACN,MAAM;QACN,MAAM;QACN,MAAM;QACN,MAAM;KACP,CAAC,CAAC;IAEH;;;;;;;OAOG;IACH,SAAgB,OAAO;QACrB,OAAO,OAAO,CAAC;IACjB,CAAC;IAFe,eAAO,UAEtB,CAAA;IAED;;;;;;;OAOG;IACH,SAAgB,mBAAmB,CAAC,UAAgC;QAClE,OAAO,IAAI,MAAM,CAAC,IAAI,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC;IAFe,2BAAmB,sBAElC,CAAA;IAED;;;;;;;OAOG;IACH,SAAgB,gBAAgB,CAAC,UAAgC;QAC/D,OAAO,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;IACzE,CAAC;IAFe,wBAAgB,mBAE/B,CAAA;AACH,CAAC,EAlHgB,OAAO,uBAAP,OAAO,QAkHvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/dev",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Shared development constants and functions",
5
5
  "keywords": [
6
6
  "config",
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "d3b4d1bae7d8b5b8f066ac5fc8ac196d282396bf"
63
+ "gitHead": "a10793f9e40481a6e84451e57851a3af630ce953"
64
64
  }
package/src/index.ts CHANGED
@@ -1,3 +1,2 @@
1
- export * from './constant.js';
2
1
  export * from './eslint.js';
3
2
  export * from './project.js';
package/src/project.ts CHANGED
@@ -1,4 +1,10 @@
1
+ function escapeRegExp(value: string) {
2
+ return value.replaceAll(/[$()*+.?[\\\]^{|}]/g, '\\$&'); // $& means the whole matched string
3
+ }
4
+
1
5
  export namespace Project {
6
+ export type Extension = `.${string}`;
7
+
2
8
  /**
3
9
  * Supported ECMA version
4
10
  *
@@ -10,4 +16,104 @@ export namespace Project {
10
16
  export function ecmaVersion() {
11
17
  return 2022 as const;
12
18
  }
19
+
20
+ const SOURCE_EXTENSIONS: readonly Extension[] = Object.freeze([
21
+ '.ts',
22
+ '.tsx',
23
+ '.cts',
24
+ '.mts',
25
+ '.js',
26
+ '.jsx',
27
+ '.cjs',
28
+ '.mjs',
29
+ ]);
30
+
31
+ /**
32
+ * Supported file extensions
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * Project.sourceExtensions() // ['.ts', '.js', ...]
37
+ * ```
38
+ */
39
+ export function sourceExtensions() {
40
+ return SOURCE_EXTENSIONS;
41
+ }
42
+
43
+ const RESOURCE_EXTENSIONS: readonly Extension[] = Object.freeze([
44
+ '.css',
45
+ '.sass',
46
+ '.scss',
47
+ '.less',
48
+ '.gif',
49
+ '.png',
50
+ '.jpg',
51
+ '.jpeg',
52
+ '.svg',
53
+ '.gql',
54
+ '.graphql',
55
+ '.yml',
56
+ '.yaml',
57
+ ]);
58
+
59
+ /**
60
+ * Resource file extensions
61
+ *
62
+ * @example
63
+ * ```ts
64
+ * Project.resourceExtensions() // ['.css', '.sass', ...]
65
+ * ```
66
+ */
67
+ export function resourceExtensions() {
68
+ return RESOURCE_EXTENSIONS;
69
+ }
70
+
71
+ const IGNORED = Object.freeze([
72
+ 'node_modules/',
73
+ 'build/',
74
+ 'cjs/',
75
+ 'coverage/',
76
+ 'dist/',
77
+ 'dts/',
78
+ 'esm/',
79
+ 'lib/',
80
+ 'mjs/',
81
+ 'umd/',
82
+ ]);
83
+
84
+ /**
85
+ * Files and folders to always ignore
86
+ *
87
+ * @example
88
+ * ```ts
89
+ * IGNORED // ['node_modules/', 'build/', ...]
90
+ * ```
91
+ */
92
+ export function ignored() {
93
+ return IGNORED;
94
+ }
95
+
96
+ /**
97
+ * Return a RegExp that will match any list of extensions
98
+ *
99
+ * @example
100
+ * ```ts
101
+ * Project.extensionsToMatcher(['.js', '.ts']) // RegExp = /(\.js|\.ts)$/
102
+ * ```
103
+ */
104
+ export function extensionsToMatcher(extensions: readonly Extension[]): RegExp {
105
+ return new RegExp(`(${extensions.map(escapeRegExp).join('|')})$`);
106
+ }
107
+
108
+ /**
109
+ * Return a glob matcher that will match any list of extensions
110
+ *
111
+ * @example
112
+ * ```ts
113
+ * Project.extensionsToGlob(['.js', '.ts']) // '*.+(js|ts)'
114
+ * ```
115
+ */
116
+ export function extensionsToGlob(extensions: readonly Extension[]): string {
117
+ return `*.+(${extensions.map((_) => _.replace(/^\./, '')).join('|')})`;
118
+ }
13
119
  }
@@ -1,38 +0,0 @@
1
- /**
2
- * Files and folders to always ignore
3
- *
4
- * @example
5
- * ```ts
6
- * IGNORE_LIST // ['node_modules/', 'build/', ...]
7
- * ```
8
- */
9
- export declare const IGNORE_LIST: string[];
10
- /**
11
- * Supported file extensions
12
- *
13
- * @example
14
- * ```ts
15
- * EXTENSIONS // ['.ts', '.js', ...]
16
- * ```
17
- */
18
- export declare const EXTENSIONS: string[];
19
- /**
20
- * Supported file extensions without starting dots
21
- *
22
- * @example
23
- * ```ts
24
- * EXTENSIONS_WITHOUT_DOT // ['ts', 'js', ...]
25
- * ```
26
- */
27
- export declare const EXTENSIONS_WITHOUT_DOT: string[];
28
- /**
29
- * List of globs to find config related files
30
- *
31
- * @example
32
- * ```ts
33
- * CONFIG_GLOB_LIST // ['**\/.*.{js,cjs}', '**\/*.config.{js,cjs}']
34
- * ```
35
- */
36
- export declare const CONFIG_GLOB_LIST: string[];
37
- export declare const EXTENSIONS_RESOURCES_REGEX = "\\.(css|sass|scss|less|gif|png|jpg|jpeg|svg|gql|graphql|yml|yaml)$";
38
- //# sourceMappingURL=constant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../src/constant.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,UAWvB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,UAAiE,CAAC;AAEzF;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,UAAwC,CAAC;AAE5E;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,UAA6C,CAAC;AAE3E,eAAO,MAAM,0BAA0B,uEAAuE,CAAC"}
package/dist/constant.js DELETED
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EXTENSIONS_RESOURCES_REGEX = exports.CONFIG_GLOB_LIST = exports.EXTENSIONS_WITHOUT_DOT = exports.EXTENSIONS = exports.IGNORE_LIST = void 0;
4
- /**
5
- * Files and folders to always ignore
6
- *
7
- * @example
8
- * ```ts
9
- * IGNORE_LIST // ['node_modules/', 'build/', ...]
10
- * ```
11
- */
12
- exports.IGNORE_LIST = [
13
- 'node_modules/',
14
- 'build/',
15
- 'cjs/',
16
- 'coverage/',
17
- 'dist/',
18
- 'dts/',
19
- 'esm/',
20
- 'lib/',
21
- 'mjs/',
22
- 'umd/',
23
- ];
24
- /**
25
- * Supported file extensions
26
- *
27
- * @example
28
- * ```ts
29
- * EXTENSIONS // ['.ts', '.js', ...]
30
- * ```
31
- */
32
- exports.EXTENSIONS = ['.ts', '.tsx', '.cts', '.mts', '.js', '.jsx', '.cjs', '.mjs'];
33
- /**
34
- * Supported file extensions without starting dots
35
- *
36
- * @example
37
- * ```ts
38
- * EXTENSIONS_WITHOUT_DOT // ['ts', 'js', ...]
39
- * ```
40
- */
41
- exports.EXTENSIONS_WITHOUT_DOT = exports.EXTENSIONS.map((ext) => ext.slice(1));
42
- /**
43
- * List of globs to find config related files
44
- *
45
- * @example
46
- * ```ts
47
- * CONFIG_GLOB_LIST // ['**\/.*.{js,cjs}', '**\/*.config.{js,cjs}']
48
- * ```
49
- */
50
- exports.CONFIG_GLOB_LIST = ['**/.*.{js,cjs}', '**/*.config.{js,cjs}'];
51
- exports.EXTENSIONS_RESOURCES_REGEX = '\\.(css|sass|scss|less|gif|png|jpg|jpeg|svg|gql|graphql|yml|yaml)$';
52
- //# sourceMappingURL=constant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constant.js","sourceRoot":"","sources":["../src/constant.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACU,QAAA,WAAW,GAAG;IACzB,eAAe;IACf,QAAQ;IACR,MAAM;IACN,WAAW;IACX,OAAO;IACP,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;CACP,CAAC;AAEF;;;;;;;GAOG;AACU,QAAA,UAAU,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEzF;;;;;;;GAOG;AACU,QAAA,sBAAsB,GAAG,kBAAU,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5E;;;;;;;GAOG;AACU,QAAA,gBAAgB,GAAG,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC;AAE9D,QAAA,0BAA0B,GAAG,oEAAoE,CAAC"}
package/src/constant.ts DELETED
@@ -1,52 +0,0 @@
1
- /**
2
- * Files and folders to always ignore
3
- *
4
- * @example
5
- * ```ts
6
- * IGNORE_LIST // ['node_modules/', 'build/', ...]
7
- * ```
8
- */
9
- export const IGNORE_LIST = [
10
- 'node_modules/',
11
- 'build/',
12
- 'cjs/',
13
- 'coverage/',
14
- 'dist/',
15
- 'dts/',
16
- 'esm/',
17
- 'lib/',
18
- 'mjs/',
19
- 'umd/',
20
- ];
21
-
22
- /**
23
- * Supported file extensions
24
- *
25
- * @example
26
- * ```ts
27
- * EXTENSIONS // ['.ts', '.js', ...]
28
- * ```
29
- */
30
- export const EXTENSIONS = ['.ts', '.tsx', '.cts', '.mts', '.js', '.jsx', '.cjs', '.mjs'];
31
-
32
- /**
33
- * Supported file extensions without starting dots
34
- *
35
- * @example
36
- * ```ts
37
- * EXTENSIONS_WITHOUT_DOT // ['ts', 'js', ...]
38
- * ```
39
- */
40
- export const EXTENSIONS_WITHOUT_DOT = EXTENSIONS.map((ext) => ext.slice(1));
41
-
42
- /**
43
- * List of globs to find config related files
44
- *
45
- * @example
46
- * ```ts
47
- * CONFIG_GLOB_LIST // ['**\/.*.{js,cjs}', '**\/*.config.{js,cjs}']
48
- * ```
49
- */
50
- export const CONFIG_GLOB_LIST = ['**/.*.{js,cjs}', '**/*.config.{js,cjs}'];
51
-
52
- export const EXTENSIONS_RESOURCES_REGEX = '\\.(css|sass|scss|less|gif|png|jpg|jpeg|svg|gql|graphql|yml|yaml)$';