Skip to content

Commit 0093e1f

Browse files
committed
feat(graphiql): add graphiql-console package foundation
Establishes the new React 18 package with complete build infrastructure. Creates a minimal working application with full build/test setup. - Add package.json with dependencies - Configure NX build with explicit inputs for cache invalidation - Add Vite bundler configuration - Add TypeScript configuration - Add basic App component and tests - Add to vitest workspace for test integration All CI checks pass: build, test, lint, type-check
1 parent 387d5a3 commit 0093e1f

24 files changed

+293311
-97
lines changed

packages/app/assets/graphiql/extensions/graphiql/assets/index-CV7GIAUv.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/app/assets/graphiql/extensions/graphiql/assets/index-iYamaOJ4.js

Lines changed: 41 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<script>self["MonacoEnvironment"] = (function (paths) {
5+
return {
6+
globalAPI: false,
7+
getWorkerUrl : function (moduleId, label) {
8+
var result = paths[label];
9+
if (/^((http:)|(https:)|(file:)|(\/\/))/.test(result)) {
10+
var currentUrl = String(window.location);
11+
var currentOrigin = currentUrl.substr(0, currentUrl.length - window.location.hash.length - window.location.search.length - window.location.pathname.length);
12+
if (result.substring(0, currentOrigin.length) !== currentOrigin) {
13+
var js = '/*' + label + '*/importScripts("' + result + '");';
14+
var blob = new Blob([js], { type: 'application/javascript' });
15+
return URL.createObjectURL(blob);
16+
}
17+
}
18+
return result;
19+
}
20+
};
21+
})({
22+
"editorWorkerService": "/monacoeditorwork/editor.worker.bundle.js",
23+
"json": "/monacoeditorwork/json.worker.bundle.js",
24+
"typescript": "/monacoeditorwork/ts.worker.bundle.js",
25+
"javascript": "/monacoeditorwork/ts.worker.bundle.js"
26+
});</script>
27+
28+
<meta charset="UTF-8" />
29+
<link rel="icon" type="image/x-icon" href="/extensions/graphiql/assets/favicon-iHdppBfw.ico" />
30+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
31+
<title>GraphiQL Console</title>
32+
<style>
33+
body {
34+
height: 100%;
35+
margin: 0;
36+
width: 100%;
37+
overflow: hidden;
38+
}
39+
.Polaris-Page--fullWidth {
40+
width: 100%;
41+
}
42+
</style>
43+
<script type="module" crossorigin src="/extensions/graphiql/assets/index-iYamaOJ4.js"></script>
44+
<link rel="stylesheet" crossorigin href="/extensions/graphiql/assets/index-CV7GIAUv.css">
45+
</head>
46+
<body>
47+
<div id="root"></div>
48+
</body>
49+
</html>

0 commit comments

Comments
 (0)