@podman-desktop/api-mocks-vitest 1.30.5
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/LICENSE +202 -0
- package/README.md +44 -0
- package/dist/@podman-desktop/api.d.ts +19 -0
- package/dist/@podman-desktop/api.d.ts.map +1 -0
- package/dist/@podman-desktop/api.js +233 -0
- package/dist/@podman-desktop/api.js.map +1 -0
- package/dist/plugin.d.ts +31 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/plugin.js +36 -0
- package/dist/plugin.js.map +1 -0
- package/dist/product.json +242 -0
- package/dist/vitest-generate-api-global-setup.d.ts +19 -0
- package/dist/vitest-generate-api-global-setup.d.ts.map +1 -0
- package/dist/vitest-generate-api-global-setup.js +115 -0
- package/dist/vitest-generate-api-global-setup.js.map +1 -0
- package/package.json +49 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**********************************************************************
|
|
2
|
+
* Copyright (C) 2026 Red Hat, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
17
|
+
***********************************************************************/
|
|
18
|
+
export default function setup(): Promise<void>;
|
|
19
|
+
//# sourceMappingURL=vitest-generate-api-global-setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitest-generate-api-global-setup.d.ts","sourceRoot":"","sources":["../src/vitest-generate-api-global-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;yEAgByE;AAmFzE,wBAA8B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAuCnD"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**********************************************************************
|
|
2
|
+
* Copyright (C) 2026 Red Hat, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
17
|
+
***********************************************************************/
|
|
18
|
+
import fs from 'node:fs/promises';
|
|
19
|
+
import path from 'node:path';
|
|
20
|
+
import { fileURLToPath } from 'node:url';
|
|
21
|
+
import Mustache from 'mustache';
|
|
22
|
+
import typescript from 'typescript';
|
|
23
|
+
async function extractNamespacesAndClassesFromAPI(filePath) {
|
|
24
|
+
const fileContent = await fs.readFile(filePath, 'utf-8');
|
|
25
|
+
const sourceFile = typescript.createSourceFile(filePath, fileContent, typescript.ScriptTarget.Latest, true);
|
|
26
|
+
const namespaces = {};
|
|
27
|
+
const classes = {};
|
|
28
|
+
const visit = (node) => {
|
|
29
|
+
if (typescript.isModuleDeclaration(node) && node.name.text) {
|
|
30
|
+
if (node.name.text === '@podman-desktop/api') {
|
|
31
|
+
typescript.forEachChild(node, visit);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const namespaceName = node.name.text;
|
|
35
|
+
const functions = [];
|
|
36
|
+
if (node.body && typescript.isModuleBlock(node.body)) {
|
|
37
|
+
for (const statement of node.body.statements) {
|
|
38
|
+
if (typescript.isFunctionDeclaration(statement) && statement.name) {
|
|
39
|
+
functions.push(statement.name.text);
|
|
40
|
+
}
|
|
41
|
+
else if (typescript.isVariableStatement(statement)) {
|
|
42
|
+
for (const declaration of statement.declarationList.declarations) {
|
|
43
|
+
if (typescript.isIdentifier(declaration.name)) {
|
|
44
|
+
functions.push(declaration.name.text);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
if (functions.length > 0) {
|
|
51
|
+
// Deduplicate to handle function overloads
|
|
52
|
+
namespaces[namespaceName] = Array.from(new Set(functions));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
if (typescript.isClassDeclaration(node) && node.name) {
|
|
56
|
+
const modifiers = typescript.getModifiers(node);
|
|
57
|
+
const isExported = modifiers?.some(m => m.kind === typescript.SyntaxKind.ExportKeyword);
|
|
58
|
+
if (isExported) {
|
|
59
|
+
const className = node.name.text;
|
|
60
|
+
const methods = [];
|
|
61
|
+
for (const member of node.members) {
|
|
62
|
+
if (typescript.isMethodDeclaration(member) && member.name && typescript.isIdentifier(member.name)) {
|
|
63
|
+
methods.push(member.name.text);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
// Deduplicate to handle method overloads
|
|
67
|
+
classes[className] = Array.from(new Set(methods));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
typescript.forEachChild(node, visit);
|
|
71
|
+
};
|
|
72
|
+
visit(sourceFile);
|
|
73
|
+
return { namespaces, classes };
|
|
74
|
+
}
|
|
75
|
+
function toTemplateData(data) {
|
|
76
|
+
const namespaces = Object.entries(data.namespaces).map(([name, functions]) => ({ name, functions }));
|
|
77
|
+
const classes = Object.entries(data.classes).map(([name, methods]) => ({ name, methods }));
|
|
78
|
+
return { namespaces, classes };
|
|
79
|
+
}
|
|
80
|
+
export default async function setup() {
|
|
81
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
82
|
+
const __dirname = path.dirname(__filename);
|
|
83
|
+
const packageRoot = path.resolve(__dirname, '..');
|
|
84
|
+
const repoRoot = path.resolve(packageRoot, '..', '..');
|
|
85
|
+
const extensionApiTypePath = path.join(repoRoot, 'packages', 'extension-api', 'src', 'extension-api.d.ts');
|
|
86
|
+
const podmanDesktopApiMocksDir = path.join(packageRoot, 'src', '@podman-desktop');
|
|
87
|
+
const apiGeneratedFile = path.join(podmanDesktopApiMocksDir, 'api.ts');
|
|
88
|
+
const templatePath = path.join(packageRoot, 'src', 'api.mustache');
|
|
89
|
+
const productJsonPath = path.join(repoRoot, 'product.json');
|
|
90
|
+
const packageProductJsonPath = path.join(packageRoot, 'src', 'product.json');
|
|
91
|
+
// skip if api.ts is already newer (from template or extension-api.d.ts file)
|
|
92
|
+
const extensionApiPathStats = await fs.stat(extensionApiTypePath);
|
|
93
|
+
const templatePathStats = await fs.stat(templatePath);
|
|
94
|
+
const productJsonPathStats = await fs.stat(productJsonPath);
|
|
95
|
+
try {
|
|
96
|
+
const outputStats = await fs.stat(apiGeneratedFile);
|
|
97
|
+
await fs.stat(packageProductJsonPath);
|
|
98
|
+
const newestInputMtime = Math.max(extensionApiPathStats.mtimeMs, templatePathStats.mtimeMs, productJsonPathStats.mtimeMs);
|
|
99
|
+
if (outputStats.mtimeMs >= newestInputMtime) {
|
|
100
|
+
console.debug(' 🚀 packages/api-mocks-vitest/src/@podman-desktop/api.ts up-to-date; skipping regeneration');
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
catch {
|
|
105
|
+
console.debug(' ⚙️ packages/api-mocks-vitest/src/@podman-desktop/api.ts does not exist yet; generating it now…');
|
|
106
|
+
}
|
|
107
|
+
const data = await extractNamespacesAndClassesFromAPI(extensionApiTypePath);
|
|
108
|
+
const template = await fs.readFile(templatePath, 'utf-8');
|
|
109
|
+
const content = Mustache.render(template, toTemplateData(data));
|
|
110
|
+
await fs.mkdir(podmanDesktopApiMocksDir, { recursive: true });
|
|
111
|
+
await fs.copyFile(productJsonPath, packageProductJsonPath);
|
|
112
|
+
await fs.writeFile(apiGeneratedFile, content, 'utf-8');
|
|
113
|
+
console.debug(' ✅ packages/api-mocks-vitest/src/@podman-desktop/api.ts has been generated.');
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=vitest-generate-api-global-setup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitest-generate-api-global-setup.js","sourceRoot":"","sources":["../src/vitest-generate-api-global-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;yEAgByE;AAEzE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,UAAU,MAAM,YAAY,CAAC;AAKpC,KAAK,UAAU,kCAAkC,CAC/C,QAAgB;IAEhB,MAAM,WAAW,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACzD,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,QAAQ,EAAE,WAAW,EAAE,UAAU,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAE5G,MAAM,UAAU,GAAe,EAAE,CAAC;IAClC,MAAM,OAAO,GAAY,EAAE,CAAC;IAE5B,MAAM,KAAK,GAAG,CAAC,IAAqB,EAAQ,EAAE;QAC5C,IAAI,UAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAC3D,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,qBAAqB,EAAE,CAAC;gBAC7C,UAAU,CAAC,YA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.30.5",
|
|
4
|
+
"description": "Vitest mocks of the Podman Desktop extension API for use in third-party extension tests",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/podman-desktop/podman-desktop"
|
|
8
|
+
},
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"provenance": true,
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"type": "module",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/@podman-desktop/api.d.ts",
|
|
21
|
+
"default": "./dist/@podman-desktop/api.js"
|
|
22
|
+
},
|
|
23
|
+
"./plugin": {
|
|
24
|
+
"types": "./dist/plugin.d.ts",
|
|
25
|
+
"default": "./dist/plugin.js"
|
|
26
|
+
},
|
|
27
|
+
"./@podman-desktop/api": {
|
|
28
|
+
"types": "./dist/@podman-desktop/api.d.ts",
|
|
29
|
+
"default": "./dist/@podman-desktop/api.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@types/mustache": "^4.2.6",
|
|
34
|
+
"mustache": "^4.2.0",
|
|
35
|
+
"rimraf": "^6.0.1",
|
|
36
|
+
"tsx": "^4.23.13",
|
|
37
|
+
"typescript": "^6.0.3"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"vitest": ">=2.0.0"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"clean": "rimraf dist src/@podman-desktop src/product.json *.tsbuildinfo",
|
|
44
|
+
"generate": "tsx -e \"import('./src/vitest-generate-api-global-setup.ts').then(module => module.default())\"",
|
|
45
|
+
"build": "pnpm generate && tsc -p tsconfig.build.json",
|
|
46
|
+
"watch": "",
|
|
47
|
+
"publish:next": "pnpm version 0.0.1-\"$(date +%s)\" --no-git-tag-version && pnpm publish --registry=https://registry.npmjs.org/ --tag next --no-git-checks --access public"
|
|
48
|
+
}
|
|
49
|
+
}
|