@openapi-qraft/plugin 2.15.0-beta.7 → 2.15.0-beta.8
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/CHANGELOG.md +10 -0
- package/dist/lib/createServicePathMatch.js +2 -2
- package/dist/lib/createServicePathMatch.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/package.json +8 -8
- package/src/lib/createServicePathMatch.ts +2 -2
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import picomatch from 'picomatch';
|
|
2
2
|
/**
|
|
3
3
|
* Create a function to match service paths
|
|
4
4
|
* @param servicesGlob
|
|
@@ -15,7 +15,7 @@ export const createServicePathMatch = (servicesGlob) => {
|
|
|
15
15
|
ignore: [],
|
|
16
16
|
});
|
|
17
17
|
return function isServicePatchMatch(path) {
|
|
18
|
-
return
|
|
18
|
+
return picomatch.isMatch(path, servicePathGlobs.match, {
|
|
19
19
|
ignore: servicePathGlobs.ignore,
|
|
20
20
|
});
|
|
21
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createServicePathMatch.js","sourceRoot":"","sources":["../../src/lib/createServicePathMatch.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"createServicePathMatch.js","sourceRoot":"","sources":["../../src/lib/createServicePathMatch.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,YAAsB,EAAE,EAAE;IAC/D,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAG1C,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;QACZ,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;YAAE,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;;YACpD,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1B,OAAO,GAAG,CAAC;IACb,CAAC,EACD;QACE,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX,CACF,CAAC;IAEF,OAAO,SAAS,mBAAmB,CAAC,IAAY;QAC9C,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,CAAC,KAAK,EAAE;YACrD,MAAM,EAAE,gBAAgB,CAAC,MAAM;SAChC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const packageVersion = "2.15.0-beta.
|
|
1
|
+
export declare const packageVersion = "2.15.0-beta.8";
|
|
2
2
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openapi-qraft/plugin",
|
|
3
|
-
"version": "2.15.0-beta.
|
|
3
|
+
"version": "2.15.0-beta.8",
|
|
4
4
|
"packageManager": "yarn@4.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@qraft/plugin": "1.0.0-beta.
|
|
36
|
+
"@qraft/plugin": "1.0.0-beta.7",
|
|
37
37
|
"@redocly/openapi-core": "^1.34.11",
|
|
38
38
|
"ansi-colors": "^4.1.3",
|
|
39
39
|
"camelcase": "^8.0.0",
|
|
40
40
|
"commander": "^14.0.3",
|
|
41
|
-
"micromatch": "^4.0.8",
|
|
42
41
|
"openapi-typescript": "^7.13.0",
|
|
43
|
-
"ora": "^9.3.0"
|
|
42
|
+
"ora": "^9.3.0",
|
|
43
|
+
"picomatch": "^4.0.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@openapi-qraft/eslint-config": "1.1.0-beta.0",
|
|
47
47
|
"@openapi-qraft/test-fixtures": "1.2.0-beta.1",
|
|
48
|
-
"@types/
|
|
49
|
-
"@types/
|
|
48
|
+
"@types/node": "^22.19.17",
|
|
49
|
+
"@types/picomatch": "^4.0.3",
|
|
50
50
|
"@vitest/coverage-v8": "^4.1.2",
|
|
51
|
-
"eslint": "^10.
|
|
51
|
+
"eslint": "^10.2.0",
|
|
52
52
|
"memfs": "^4.57.1",
|
|
53
53
|
"rimraf": "^6.1.3",
|
|
54
54
|
"typescript": "^5.9.3",
|
|
55
|
-
"vitest": "^4.1.
|
|
55
|
+
"vitest": "^4.1.4"
|
|
56
56
|
},
|
|
57
57
|
"files": [
|
|
58
58
|
"dist",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import picomatch from 'picomatch';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Create a function to match service paths
|
|
@@ -20,7 +20,7 @@ export const createServicePathMatch = (servicesGlob: string[]) => {
|
|
|
20
20
|
);
|
|
21
21
|
|
|
22
22
|
return function isServicePatchMatch(path: string) {
|
|
23
|
-
return
|
|
23
|
+
return picomatch.isMatch(path, servicePathGlobs.match, {
|
|
24
24
|
ignore: servicePathGlobs.ignore,
|
|
25
25
|
});
|
|
26
26
|
};
|
package/src/packageVersion.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file was generated automatically
|
|
2
|
-
export const packageVersion = '2.15.0-beta.
|
|
2
|
+
export const packageVersion = '2.15.0-beta.8';
|