Skip to content

Commit ab5b0eb

Browse files
committed
fix(core): Resolved issue with invalid runtime imports in output
1 parent 08e2666 commit ab5b0eb

File tree

39 files changed

+387
-199
lines changed

39 files changed

+387
-199
lines changed

examples/cli-app/.storm/dotenv/variables.json

Lines changed: 276 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[
22
{
33
"kind": 30,
4-
"types": [1, 3, 5, 7, 9, 11, 13],
4+
"types": [
5+
1, 3, 5, 7, 9, 11, 16, 21, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48,
6+
50, 52, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92
7+
],
58
"entityOptions": {
69
"description": "An object containing the dotenv variables used by the examples-cli-app application."
710
}
@@ -23,42 +26,307 @@
2326
{ "kind": 5 },
2427
{
2528
"kind": 32,
26-
"name": "VERBOSE",
29+
"type": 6,
30+
"name": "BUILD_ID",
31+
"description": "The unique identifier for the build."
32+
},
33+
{ "kind": 5 },
34+
{
35+
"kind": 32,
36+
"type": 8,
37+
"name": "BUILD_TIMESTAMP",
38+
"description": "The timestamp the build was ran at."
39+
},
40+
{ "kind": 6 },
41+
{
42+
"kind": 32,
43+
"type": 10,
44+
"name": "RELEASE_ID",
45+
"description": "The unique identifier for the release."
46+
},
47+
{ "kind": 5 },
48+
{
49+
"kind": 32,
50+
"type": 12,
51+
"name": "MODE",
52+
"description": "The mode in which the application is running.",
53+
"default": "\"production\""
54+
},
55+
{ "kind": 23, "types": [13, 14, 15] },
56+
{ "kind": 13, "literal": "development" },
57+
{ "kind": 13, "literal": "staging" },
58+
{ "kind": 13, "literal": "production" },
59+
{
60+
"kind": 32,
61+
"type": 17,
62+
"name": "NODE_ENV",
63+
"description": "The environment the application is running in. This variable is a duplicate of `ENVIRONMENT` to support use in external packages.",
64+
"default": "\"production\""
65+
},
66+
{ "kind": 23, "types": [18, 19, 20] },
67+
{ "kind": 13, "literal": "development" },
68+
{ "kind": 13, "literal": "staging" },
69+
{ "kind": 13, "literal": "production" },
70+
{
71+
"kind": 32,
72+
"type": 22,
73+
"name": "PLATFORM",
74+
"description": "The platform for which the application was built.",
75+
"default": "\"node\""
76+
},
77+
{ "kind": 23, "types": [23, 24, 25] },
78+
{ "kind": 13, "literal": "node" },
79+
{ "kind": 13, "literal": "browser" },
80+
{ "kind": 13, "literal": "worker" },
81+
{
82+
"kind": 32,
83+
"type": 27,
84+
"name": "ERROR_URL",
85+
"description": "The URL to send error data to. This value is used by the Storm Stack error tracking system."
86+
},
87+
{ "kind": 5 },
88+
{
89+
"kind": 32,
90+
"type": 29,
91+
"name": "INCLUDE_ERROR_DATA",
92+
"description": "Indicates if error data should be included.",
93+
"default": "false"
94+
},
95+
{ "kind": 7 },
96+
{
97+
"kind": 32,
98+
"type": 31,
99+
"name": "STACKTRACE",
100+
"description": "Indicates if error stack traces should be captured.",
101+
"default": "false"
102+
},
103+
{ "kind": 7 },
104+
{
105+
"kind": 32,
106+
"type": 33,
107+
"name": "SENTRY_DSN",
108+
"description": "The DSN for Sentry"
109+
},
110+
{ "kind": 5 },
111+
{
112+
"kind": 32,
113+
"type": 35,
114+
"name": "BUILD_CHECKSUM",
115+
"description": "A checksum hash created during the build."
116+
},
117+
{ "kind": 5 },
118+
{
119+
"kind": 32,
120+
"type": 37,
121+
"name": "RELEASE_TAG",
122+
"description": "The tag for the release. This is generally in the format of \"\\<APP_NAME\\>\\@\\<APP_VERSION\\>\"."
123+
},
124+
{ "kind": 5 },
125+
{
126+
"kind": 32,
127+
"type": 39,
128+
"name": "ENVIRONMENT",
129+
"description": "The environment the application is running in. This value will be populated with the value of `MODE` if not provided.",
130+
"default": "\"production\""
131+
},
132+
{ "kind": 5 },
133+
{
134+
"kind": 32,
135+
"type": 41,
136+
"name": "DEVELOPMENT",
137+
"description": "Indicates if the application is running in development mode.",
138+
"default": "false"
139+
},
140+
{ "kind": 7 },
141+
{
142+
"kind": 32,
143+
"type": 43,
144+
"name": "STAGING",
145+
"description": "Indicates if the application is running in staging mode.",
146+
"default": "false"
147+
},
148+
{ "kind": 7 },
149+
{
150+
"kind": 32,
151+
"type": 45,
152+
"name": "PRODUCTION",
153+
"description": "Indicates if the application is running in production mode.",
154+
"default": "true"
155+
},
156+
{ "kind": 7 },
157+
{
158+
"kind": 32,
159+
"type": 47,
160+
"name": "DEBUG",
161+
"description": "Indicates if the application is running in debug mode.",
162+
"default": "false"
163+
},
164+
{ "kind": 7 },
165+
{
166+
"kind": 32,
167+
"type": 49,
168+
"name": "DEFAULT_TIMEZONE",
169+
"description": "The default timezone for the application.",
170+
"default": "\"America/New_York\""
171+
},
172+
{ "kind": 5 },
173+
{
174+
"kind": 32,
175+
"type": 51,
176+
"name": "DEFAULT_LOCALE",
177+
"description": "The default locale for the application.",
178+
"default": "\"en_US\""
179+
},
180+
{ "kind": 5 },
181+
{
182+
"kind": 32,
183+
"type": 53,
184+
"name": "LOG_LEVEL",
27185
"optional": true,
28-
"description": "Enable verbose output.",
29-
"type": 6
186+
"description": "The default lowest log level to accept. If `null`, the logger will reject all records. This value only applies if `lowestLogLevel` is not provided to the `logs` configuration.",
187+
"default": "\"info\""
188+
},
189+
{ "kind": 23, "types": [54, 55, 56, 57, 58, 59] },
190+
{ "kind": 13, "literal": "debug" },
191+
{ "kind": 13, "literal": "info" },
192+
{ "kind": 13, "literal": "warning" },
193+
{ "kind": 13, "literal": "error" },
194+
{ "kind": 13, "literal": "fatal" },
195+
{ "kind": 10 },
196+
{
197+
"kind": 32,
198+
"type": 61,
199+
"name": "LOG_PATH",
200+
"optional": true,
201+
"description": "A file system path to write out logs to."
202+
},
203+
{ "kind": 5 },
204+
{
205+
"kind": 32,
206+
"name": "HELP",
207+
"optional": true,
208+
"description": "Show help information.",
209+
"type": 63
210+
},
211+
{ "kind": 7 },
212+
{
213+
"kind": 32,
214+
"name": "VERSION",
215+
"optional": true,
216+
"description": "Show the version of the application.",
217+
"type": 65
218+
},
219+
{ "kind": 7 },
220+
{
221+
"kind": 32,
222+
"name": "NO_BANNER",
223+
"optional": true,
224+
"description": "Hide the banner displayed while running the CLI application (will be set to true if running in a CI pipeline).",
225+
"type": 67
30226
},
31227
{ "kind": 7 },
32228
{
33229
"kind": 32,
34230
"name": "INTERACTIVE",
35231
"optional": true,
36232
"description": "Enable interactive mode (will be set to false if running in a CI pipeline).",
37-
"type": 8
233+
"type": 69
234+
},
235+
{ "kind": 7 },
236+
{
237+
"kind": 32,
238+
"name": "NO_INTERACTIVE",
239+
"optional": true,
240+
"description": "Disable interactive mode (will be set to true if running in a CI pipeline).",
241+
"type": 71
242+
},
243+
{ "kind": 7 },
244+
{
245+
"kind": 32,
246+
"name": "VERBOSE",
247+
"optional": true,
248+
"description": "Enable verbose output.",
249+
"type": 73
38250
},
39251
{ "kind": 7 },
40252
{
41253
"kind": 32,
42254
"name": "NAME",
43255
"optional": true,
44256
"description": "The name of the variable to set in the variables store",
45-
"type": 10
257+
"type": 75
46258
},
47259
{ "kind": 5 },
48260
{
49261
"kind": 32,
50262
"name": "VALUE",
51263
"optional": true,
52264
"description": "The value to set for the variable",
53-
"type": 12
265+
"type": 77
54266
},
55267
{ "kind": 1 },
268+
{
269+
"kind": 32,
270+
"name": "HOST",
271+
"optional": true,
272+
"description": "The host to bind the server to",
273+
"type": 79
274+
},
275+
{ "kind": 5 },
276+
{
277+
"kind": 32,
278+
"name": "PORT",
279+
"optional": true,
280+
"description": "The port to bind the server to",
281+
"type": 81
282+
},
283+
{ "kind": 6 },
284+
{
285+
"kind": 32,
286+
"name": "COMPRESS",
287+
"optional": true,
288+
"description": "Should the server serve compressed files?",
289+
"type": 83
290+
},
291+
{ "kind": 7 },
292+
{
293+
"kind": 32,
294+
"name": "NO_COMPRESS",
295+
"optional": true,
296+
"description": "The inverse of the compress option.",
297+
"type": 85
298+
},
299+
{ "kind": 7 },
300+
{
301+
"kind": 32,
302+
"name": "LOAD_ENV",
303+
"optional": true,
304+
"description": "Should the server load environment variables from the .env file?",
305+
"type": 87
306+
},
307+
{ "kind": 7 },
308+
{
309+
"kind": 32,
310+
"name": "NO_LOAD_ENV",
311+
"optional": true,
312+
"description": "The inverse of the load-env option.",
313+
"type": 89
314+
},
315+
{ "kind": 7 },
56316
{
57317
"kind": 32,
58318
"name": "FILE",
59319
"optional": true,
60320
"description": "The file to add to the file system",
61-
"type": 14
321+
"type": 91
322+
},
323+
{ "kind": 5 },
324+
{
325+
"kind": 32,
326+
"name": "TYPE",
327+
"optional": true,
328+
"description": "The type of the file",
329+
"type": 93
62330
},
63331
{ "kind": 5 }
64332
]

examples/cli-app/.storm/meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"buildId": "pjdHGA1m9j_CuxHv7fQ5Du48",
3-
"releaseId": "eb5zCDFwaMHo1au0kYKPFXZ_",
2+
"buildId": "5WQRDz8WliEPyowOJVfVYIRl",
3+
"releaseId": "_rqxkVkX0KcpYY3gh7DaRZjR",
44
"checksum": "RBNvo1WzZ4oRRq0W9-hknpT7T8If536D",
5-
"timestamp": 1748145905599
5+
"timestamp": 1748147275207
66
}

examples/cli-app/.storm/transpiled/examples/cli-app/.storm/commands/vars/delete/handle.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function getBuildInfo() {
1919
name: "examples-cli-app",
2020
packageName: "@storm-stack/examples-cli-app",
2121
version: "0.0.1",
22-
buildId: "pjdHGA1m9j_CuxHv7fQ5Du48",
23-
timestamp: 1748145905599 ? Number(1748145905599) : 0,
24-
releaseId: "eb5zCDFwaMHo1au0kYKPFXZ_",
22+
buildId: "5WQRDz8WliEPyowOJVfVYIRl",
23+
timestamp: 1748147275207 ? Number(1748147275207) : 0,
24+
releaseId: "_rqxkVkX0KcpYY3gh7DaRZjR",
2525
mode: "production",
2626
platform: "node",
2727
isTest,

examples/cli-app/.storm/transpiled/examples/cli-app/.storm/commands/vars/get/handle.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function getBuildInfo() {
1919
name: "examples-cli-app",
2020
packageName: "@storm-stack/examples-cli-app",
2121
version: "0.0.1",
22-
buildId: "pjdHGA1m9j_CuxHv7fQ5Du48",
23-
timestamp: 1748145905599 ? Number(1748145905599) : 0,
24-
releaseId: "eb5zCDFwaMHo1au0kYKPFXZ_",
22+
buildId: "5WQRDz8WliEPyowOJVfVYIRl",
23+
timestamp: 1748147275207 ? Number(1748147275207) : 0,
24+
releaseId: "_rqxkVkX0KcpYY3gh7DaRZjR",
2525
mode: "production",
2626
platform: "node",
2727
isTest,

examples/cli-app/.storm/transpiled/examples/cli-app/.storm/commands/vars/list/handle.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function getBuildInfo() {
1919
name: "examples-cli-app",
2020
packageName: "@storm-stack/examples-cli-app",
2121
version: "0.0.1",
22-
buildId: "pjdHGA1m9j_CuxHv7fQ5Du48",
23-
timestamp: 1748145905599 ? Number(1748145905599) : 0,
24-
releaseId: "eb5zCDFwaMHo1au0kYKPFXZ_",
22+
buildId: "5WQRDz8WliEPyowOJVfVYIRl",
23+
timestamp: 1748147275207 ? Number(1748147275207) : 0,
24+
releaseId: "_rqxkVkX0KcpYY3gh7DaRZjR",
2525
mode: "production",
2626
platform: "node",
2727
isTest,

examples/cli-app/.storm/transpiled/examples/cli-app/.storm/commands/vars/set/handle.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function getBuildInfo() {
1919
name: "examples-cli-app",
2020
packageName: "@storm-stack/examples-cli-app",
2121
version: "0.0.1",
22-
buildId: "pjdHGA1m9j_CuxHv7fQ5Du48",
23-
timestamp: 1748145905599 ? Number(1748145905599) : 0,
24-
releaseId: "eb5zCDFwaMHo1au0kYKPFXZ_",
22+
buildId: "5WQRDz8WliEPyowOJVfVYIRl",
23+
timestamp: 1748147275207 ? Number(1748147275207) : 0,
24+
releaseId: "_rqxkVkX0KcpYY3gh7DaRZjR",
2525
mode: "production",
2626
platform: "node",
2727
isTest,

0 commit comments

Comments
 (0)