@corva/create-app 0.106.1 → 0.107.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/lib/constants/cli.js +4 -4
- package/lib/constants/manifest.js +1 -0
- package/package.json +1 -1
- package/templates/ui/javascript/src/App.completion.js +2 -2
- package/templates/ui/javascript/src/App.css +4 -0
- package/templates/ui/javascript/src/App.drilling.js +3 -3
- package/templates/ui/typescript/src/App.completion.tsx +2 -2
- package/templates/ui/typescript/src/App.css +4 -0
- package/templates/ui/typescript/src/App.drilling.tsx +3 -3
package/lib/constants/cli.js
CHANGED
|
@@ -6,12 +6,12 @@ export const APP_RUNTIMES = {
|
|
|
6
6
|
NODE18: 'nodejs18.x',
|
|
7
7
|
NODE20: 'nodejs20.x',
|
|
8
8
|
NODE22: 'nodejs22.x',
|
|
9
|
-
PYTHON3_8: 'python3.8',
|
|
10
|
-
PYTHON3_9: 'python3.9',
|
|
11
|
-
PYTHON3_10: 'python3.10',
|
|
9
|
+
// PYTHON3_8: 'python3.8',
|
|
10
|
+
// PYTHON3_9: 'python3.9',
|
|
11
|
+
// PYTHON3_10: 'python3.10',
|
|
12
12
|
PYTHON3_11: 'python3.11',
|
|
13
13
|
PYTHON3_12: 'python3.12',
|
|
14
|
-
|
|
14
|
+
PYTHON3_13: 'python3.13',
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export const TEMPLATE_TYPES = {
|
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ function App({
|
|
|
27
27
|
|
|
28
28
|
return (
|
|
29
29
|
<AppContainer header={<AppHeader />} testId={appKey}>
|
|
30
|
-
<div>
|
|
30
|
+
<div className={styles.container}>
|
|
31
31
|
<img src={logo} alt="logo" className={styles.logo} />
|
|
32
32
|
<p>
|
|
33
33
|
Edit <code>src/App.js</code> and save to reload.
|
|
@@ -37,7 +37,7 @@ function App({
|
|
|
37
37
|
<p>
|
|
38
38
|
Frac Fleet: <span data-testid="fracFleet">{fracFleet?.name || 'No Frac Fleet'}</span>
|
|
39
39
|
<br />
|
|
40
|
-
Wells: <span data-testid="wellsList">{wellsList.map(well => well
|
|
40
|
+
Wells: <span data-testid="wellsList">{wellsList.map(well => well?.name).join(', ')}</span>
|
|
41
41
|
</p>
|
|
42
42
|
<a
|
|
43
43
|
className="App-link"
|
|
@@ -17,7 +17,7 @@ function App({ isExampleCheckboxChecked = DEFAULT_SETTINGS.isExampleCheckboxChec
|
|
|
17
17
|
const { appKey } = useAppCommons();
|
|
18
18
|
return (
|
|
19
19
|
<AppContainer header={<AppHeader />} testId={appKey}>
|
|
20
|
-
<div>
|
|
20
|
+
<div className={styles.container}>
|
|
21
21
|
<img src={logo} alt="logo" className={styles.logo} />
|
|
22
22
|
<p>
|
|
23
23
|
Edit <code>src/App.js</code> and save to reload.
|
|
@@ -25,9 +25,9 @@ function App({ isExampleCheckboxChecked = DEFAULT_SETTINGS.isExampleCheckboxChec
|
|
|
25
25
|
<br />
|
|
26
26
|
</p>
|
|
27
27
|
<p>
|
|
28
|
-
Rig: <span data-testid="rig">{rig
|
|
28
|
+
Rig: <span data-testid="rig">{rig?.name}</span>
|
|
29
29
|
<br />
|
|
30
|
-
Well: <span data-testid="well">{well
|
|
30
|
+
Well: <span data-testid="well">{well?.name}</span>
|
|
31
31
|
</p>
|
|
32
32
|
<a
|
|
33
33
|
className="App-link"
|
|
@@ -26,7 +26,7 @@ function App({
|
|
|
26
26
|
|
|
27
27
|
return (
|
|
28
28
|
<AppContainer header={<AppHeader />} testId={appKey}>
|
|
29
|
-
<div>
|
|
29
|
+
<div className={styles.container}>
|
|
30
30
|
<img src={logo} alt="logo" className={styles.logo} />
|
|
31
31
|
<p>
|
|
32
32
|
Edit <code>src/App.js</code> and save to reload.
|
|
@@ -36,7 +36,7 @@ function App({
|
|
|
36
36
|
<p>
|
|
37
37
|
Frac Fleet: <span data-testid="fracFleet">{fracFleet?.name || 'No Frac Fleet'}</span>
|
|
38
38
|
<br />
|
|
39
|
-
Wells: <span data-testid="wellsList">{wellsList.map(well => well
|
|
39
|
+
Wells: <span data-testid="wellsList">{wellsList.map(well => well?.name).join(', ')}</span>
|
|
40
40
|
</p>
|
|
41
41
|
<a
|
|
42
42
|
className="App-link"
|
|
@@ -20,7 +20,7 @@ function App({
|
|
|
20
20
|
const { appKey } = useAppCommons();
|
|
21
21
|
return (
|
|
22
22
|
<AppContainer header={<AppHeader />} testId={appKey}>
|
|
23
|
-
<div>
|
|
23
|
+
<div className={styles.container}>
|
|
24
24
|
<img src={logo} alt="logo" className={styles.logo} />
|
|
25
25
|
<p>
|
|
26
26
|
Edit <code>src/App.js</code> and save to reload.
|
|
@@ -28,9 +28,9 @@ function App({
|
|
|
28
28
|
<br />
|
|
29
29
|
</p>
|
|
30
30
|
<p>
|
|
31
|
-
Rig: <span data-testid="rig">{rig
|
|
31
|
+
Rig: <span data-testid="rig">{rig?.name}</span>
|
|
32
32
|
<br />
|
|
33
|
-
Well: <span data-testid="well">{well
|
|
33
|
+
Well: <span data-testid="well">{well?.name}</span>
|
|
34
34
|
</p>
|
|
35
35
|
<a
|
|
36
36
|
className="App-link"
|