firefly-compiler 0.4.28 → 0.4.30

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/bin/firefly.mjs CHANGED
@@ -1,2 +1,2 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import * as firefly from '../output/js/ff/compiler/Main.mjs';
package/compiler/Main.ff CHANGED
@@ -104,6 +104,7 @@ main(system: NodeSystem): Unit {
104
104
 
105
105
  | BootstrapCommand =>
106
106
  let workingDirectory = system.path(".")
107
+ let fakeLocation = Location("<core>", 0, 0)
107
108
  Builder.build(
108
109
  system = system
109
110
  emitTarget = EmitNode
@@ -111,7 +112,11 @@ main(system: NodeSystem): Unit {
111
112
  mainModule = "Main"
112
113
  resolvedDependencies = ResolvedDependencies(
113
114
  mainPackagePair = PackagePair("ff", "compiler")
114
- packages = [].toMap() // Only used for includes currently
115
+ packages = [Pair(
116
+ PackagePair("ff", "core"), PackageInfo(DPackage(
117
+ fakeLocation, PackagePair("ff", "core"), Version(fakeLocation, 0, 0, 0), TargetNames(True, False)
118
+ ), [], [DInclude(fakeLocation, "node_modules")])
119
+ )].toMap() // Only used for includes currently
115
120
  packagePaths = [
116
121
  Pair(PackagePair("ff", "compiler"), workingDirectory.slash("compiler"))
117
122
  Pair(PackagePair("ff", "core"), workingDirectory.slash("core"))
@@ -0,0 +1,394 @@
1
+ {
2
+ "name": "include",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "dependencies": {
8
+ "esbuild": "^0.21.1"
9
+ }
10
+ },
11
+ "node_modules/@esbuild/aix-ppc64": {
12
+ "version": "0.21.1",
13
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.1.tgz",
14
+ "integrity": "sha512-O7yppwipkXvnEPjzkSXJRk2g4bS8sUx9p9oXHq9MU/U7lxUzZVsnFZMDTmeeX9bfQxrFcvOacl/ENgOh0WP9pA==",
15
+ "cpu": [
16
+ "ppc64"
17
+ ],
18
+ "optional": true,
19
+ "os": [
20
+ "aix"
21
+ ],
22
+ "engines": {
23
+ "node": ">=12"
24
+ }
25
+ },
26
+ "node_modules/@esbuild/android-arm": {
27
+ "version": "0.21.1",
28
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.1.tgz",
29
+ "integrity": "sha512-hh3jKWikdnTtHCglDAeVO3Oyh8MaH8xZUaWMiCCvJ9/c3NtPqZq+CACOlGTxhddypXhl+8B45SeceYBfB/e8Ow==",
30
+ "cpu": [
31
+ "arm"
32
+ ],
33
+ "optional": true,
34
+ "os": [
35
+ "android"
36
+ ],
37
+ "engines": {
38
+ "node": ">=12"
39
+ }
40
+ },
41
+ "node_modules/@esbuild/android-arm64": {
42
+ "version": "0.21.1",
43
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.1.tgz",
44
+ "integrity": "sha512-jXhccq6es+onw7x8MxoFnm820mz7sGa9J14kLADclmiEUH4fyj+FjR6t0M93RgtlI/awHWhtF0Wgfhqgf9gDZA==",
45
+ "cpu": [
46
+ "arm64"
47
+ ],
48
+ "optional": true,
49
+ "os": [
50
+ "android"
51
+ ],
52
+ "engines": {
53
+ "node": ">=12"
54
+ }
55
+ },
56
+ "node_modules/@esbuild/android-x64": {
57
+ "version": "0.21.1",
58
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.1.tgz",
59
+ "integrity": "sha512-NPObtlBh4jQHE01gJeucqEhdoD/4ya2owSIS8lZYS58aR0x7oZo9lB2lVFxgTANSa5MGCBeoQtr+yA9oKCGPvA==",
60
+ "cpu": [
61
+ "x64"
62
+ ],
63
+ "optional": true,
64
+ "os": [
65
+ "android"
66
+ ],
67
+ "engines": {
68
+ "node": ">=12"
69
+ }
70
+ },
71
+ "node_modules/@esbuild/darwin-arm64": {
72
+ "version": "0.21.1",
73
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.1.tgz",
74
+ "integrity": "sha512-BLT7TDzqsVlQRmJfO/FirzKlzmDpBWwmCUlyggfzUwg1cAxVxeA4O6b1XkMInlxISdfPAOunV9zXjvh5x99Heg==",
75
+ "cpu": [
76
+ "arm64"
77
+ ],
78
+ "optional": true,
79
+ "os": [
80
+ "darwin"
81
+ ],
82
+ "engines": {
83
+ "node": ">=12"
84
+ }
85
+ },
86
+ "node_modules/@esbuild/darwin-x64": {
87
+ "version": "0.21.1",
88
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.1.tgz",
89
+ "integrity": "sha512-D3h3wBQmeS/vp93O4B+SWsXB8HvRDwMyhTNhBd8yMbh5wN/2pPWRW5o/hM3EKgk9bdKd9594lMGoTCTiglQGRQ==",
90
+ "cpu": [
91
+ "x64"
92
+ ],
93
+ "optional": true,
94
+ "os": [
95
+ "darwin"
96
+ ],
97
+ "engines": {
98
+ "node": ">=12"
99
+ }
100
+ },
101
+ "node_modules/@esbuild/freebsd-arm64": {
102
+ "version": "0.21.1",
103
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.1.tgz",
104
+ "integrity": "sha512-/uVdqqpNKXIxT6TyS/oSK4XE4xWOqp6fh4B5tgAwozkyWdylcX+W4YF2v6SKsL4wCQ5h1bnaSNjWPXG/2hp8AQ==",
105
+ "cpu": [
106
+ "arm64"
107
+ ],
108
+ "optional": true,
109
+ "os": [
110
+ "freebsd"
111
+ ],
112
+ "engines": {
113
+ "node": ">=12"
114
+ }
115
+ },
116
+ "node_modules/@esbuild/freebsd-x64": {
117
+ "version": "0.21.1",
118
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.1.tgz",
119
+ "integrity": "sha512-paAkKN1n1jJitw+dAoR27TdCzxRl1FOEITx3h201R6NoXUojpMzgMLdkXVgCvaCSCqwYkeGLoe9UVNRDKSvQgw==",
120
+ "cpu": [
121
+ "x64"
122
+ ],
123
+ "optional": true,
124
+ "os": [
125
+ "freebsd"
126
+ ],
127
+ "engines": {
128
+ "node": ">=12"
129
+ }
130
+ },
131
+ "node_modules/@esbuild/linux-arm": {
132
+ "version": "0.21.1",
133
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.1.tgz",
134
+ "integrity": "sha512-tRHnxWJnvNnDpNVnsyDhr1DIQZUfCXlHSCDohbXFqmg9W4kKR7g8LmA3kzcwbuxbRMKeit8ladnCabU5f2traA==",
135
+ "cpu": [
136
+ "arm"
137
+ ],
138
+ "optional": true,
139
+ "os": [
140
+ "linux"
141
+ ],
142
+ "engines": {
143
+ "node": ">=12"
144
+ }
145
+ },
146
+ "node_modules/@esbuild/linux-arm64": {
147
+ "version": "0.21.1",
148
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.1.tgz",
149
+ "integrity": "sha512-G65d08YoH00TL7Xg4LaL3gLV21bpoAhQ+r31NUu013YB7KK0fyXIt05VbsJtpqh/6wWxoLJZOvQHYnodRrnbUQ==",
150
+ "cpu": [
151
+ "arm64"
152
+ ],
153
+ "optional": true,
154
+ "os": [
155
+ "linux"
156
+ ],
157
+ "engines": {
158
+ "node": ">=12"
159
+ }
160
+ },
161
+ "node_modules/@esbuild/linux-ia32": {
162
+ "version": "0.21.1",
163
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.1.tgz",
164
+ "integrity": "sha512-tt/54LqNNAqCz++QhxoqB9+XqdsaZOtFD/srEhHYwBd3ZUOepmR1Eeot8bS+Q7BiEvy9vvKbtpHf+r6q8hF5UA==",
165
+ "cpu": [
166
+ "ia32"
167
+ ],
168
+ "optional": true,
169
+ "os": [
170
+ "linux"
171
+ ],
172
+ "engines": {
173
+ "node": ">=12"
174
+ }
175
+ },
176
+ "node_modules/@esbuild/linux-loong64": {
177
+ "version": "0.21.1",
178
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.1.tgz",
179
+ "integrity": "sha512-MhNalK6r0nZD0q8VzUBPwheHzXPr9wronqmZrewLfP7ui9Fv1tdPmg6e7A8lmg0ziQCziSDHxh3cyRt4YMhGnQ==",
180
+ "cpu": [
181
+ "loong64"
182
+ ],
183
+ "optional": true,
184
+ "os": [
185
+ "linux"
186
+ ],
187
+ "engines": {
188
+ "node": ">=12"
189
+ }
190
+ },
191
+ "node_modules/@esbuild/linux-mips64el": {
192
+ "version": "0.21.1",
193
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.1.tgz",
194
+ "integrity": "sha512-YCKVY7Zen5rwZV+nZczOhFmHaeIxR4Zn3jcmNH53LbgF6IKRwmrMywqDrg4SiSNApEefkAbPSIzN39FC8VsxPg==",
195
+ "cpu": [
196
+ "mips64el"
197
+ ],
198
+ "optional": true,
199
+ "os": [
200
+ "linux"
201
+ ],
202
+ "engines": {
203
+ "node": ">=12"
204
+ }
205
+ },
206
+ "node_modules/@esbuild/linux-ppc64": {
207
+ "version": "0.21.1",
208
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.1.tgz",
209
+ "integrity": "sha512-bw7bcQ+270IOzDV4mcsKAnDtAFqKO0jVv3IgRSd8iM0ac3L8amvCrujRVt1ajBTJcpDaFhIX+lCNRKteoDSLig==",
210
+ "cpu": [
211
+ "ppc64"
212
+ ],
213
+ "optional": true,
214
+ "os": [
215
+ "linux"
216
+ ],
217
+ "engines": {
218
+ "node": ">=12"
219
+ }
220
+ },
221
+ "node_modules/@esbuild/linux-riscv64": {
222
+ "version": "0.21.1",
223
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.1.tgz",
224
+ "integrity": "sha512-ARmDRNkcOGOm1AqUBSwRVDfDeD9hGYRfkudP2QdoonBz1ucWVnfBPfy7H4JPI14eYtZruRSczJxyu7SRYDVOcg==",
225
+ "cpu": [
226
+ "riscv64"
227
+ ],
228
+ "optional": true,
229
+ "os": [
230
+ "linux"
231
+ ],
232
+ "engines": {
233
+ "node": ">=12"
234
+ }
235
+ },
236
+ "node_modules/@esbuild/linux-s390x": {
237
+ "version": "0.21.1",
238
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.1.tgz",
239
+ "integrity": "sha512-o73TcUNMuoTZlhwFdsgr8SfQtmMV58sbgq6gQq9G1xUiYnHMTmJbwq65RzMx89l0iya69lR4bxBgtWiiOyDQZA==",
240
+ "cpu": [
241
+ "s390x"
242
+ ],
243
+ "optional": true,
244
+ "os": [
245
+ "linux"
246
+ ],
247
+ "engines": {
248
+ "node": ">=12"
249
+ }
250
+ },
251
+ "node_modules/@esbuild/linux-x64": {
252
+ "version": "0.21.1",
253
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.1.tgz",
254
+ "integrity": "sha512-da4/1mBJwwgJkbj4fMH7SOXq2zapgTo0LKXX1VUZ0Dxr+e8N0WbS80nSZ5+zf3lvpf8qxrkZdqkOqFfm57gXwA==",
255
+ "cpu": [
256
+ "x64"
257
+ ],
258
+ "optional": true,
259
+ "os": [
260
+ "linux"
261
+ ],
262
+ "engines": {
263
+ "node": ">=12"
264
+ }
265
+ },
266
+ "node_modules/@esbuild/netbsd-x64": {
267
+ "version": "0.21.1",
268
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.1.tgz",
269
+ "integrity": "sha512-CPWs0HTFe5woTJN5eKPvgraUoRHrCtzlYIAv9wBC+FAyagBSaf+UdZrjwYyTGnwPGkThV4OCI7XibZOnPvONVw==",
270
+ "cpu": [
271
+ "x64"
272
+ ],
273
+ "optional": true,
274
+ "os": [
275
+ "netbsd"
276
+ ],
277
+ "engines": {
278
+ "node": ">=12"
279
+ }
280
+ },
281
+ "node_modules/@esbuild/openbsd-x64": {
282
+ "version": "0.21.1",
283
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.1.tgz",
284
+ "integrity": "sha512-xxhTm5QtzNLc24R0hEkcH+zCx/o49AsdFZ0Cy5zSd/5tOj4X2g3/2AJB625NoadUuc4A8B3TenLJoYdWYOYCew==",
285
+ "cpu": [
286
+ "x64"
287
+ ],
288
+ "optional": true,
289
+ "os": [
290
+ "openbsd"
291
+ ],
292
+ "engines": {
293
+ "node": ">=12"
294
+ }
295
+ },
296
+ "node_modules/@esbuild/sunos-x64": {
297
+ "version": "0.21.1",
298
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.1.tgz",
299
+ "integrity": "sha512-CWibXszpWys1pYmbr9UiKAkX6x+Sxw8HWtw1dRESK1dLW5fFJ6rMDVw0o8MbadusvVQx1a8xuOxnHXT941Hp1A==",
300
+ "cpu": [
301
+ "x64"
302
+ ],
303
+ "optional": true,
304
+ "os": [
305
+ "sunos"
306
+ ],
307
+ "engines": {
308
+ "node": ">=12"
309
+ }
310
+ },
311
+ "node_modules/@esbuild/win32-arm64": {
312
+ "version": "0.21.1",
313
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.1.tgz",
314
+ "integrity": "sha512-jb5B4k+xkytGbGUS4T+Z89cQJ9DJ4lozGRSV+hhfmCPpfJ3880O31Q1srPCimm+V6UCbnigqD10EgDNgjvjerQ==",
315
+ "cpu": [
316
+ "arm64"
317
+ ],
318
+ "optional": true,
319
+ "os": [
320
+ "win32"
321
+ ],
322
+ "engines": {
323
+ "node": ">=12"
324
+ }
325
+ },
326
+ "node_modules/@esbuild/win32-ia32": {
327
+ "version": "0.21.1",
328
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.1.tgz",
329
+ "integrity": "sha512-PgyFvjJhXqHn1uxPhyN1wZ6dIomKjiLUQh1LjFvjiV1JmnkZ/oMPrfeEAZg5R/1ftz4LZWZr02kefNIQ5SKREQ==",
330
+ "cpu": [
331
+ "ia32"
332
+ ],
333
+ "optional": true,
334
+ "os": [
335
+ "win32"
336
+ ],
337
+ "engines": {
338
+ "node": ">=12"
339
+ }
340
+ },
341
+ "node_modules/@esbuild/win32-x64": {
342
+ "version": "0.21.1",
343
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.1.tgz",
344
+ "integrity": "sha512-W9NttRZQR5ehAiqHGDnvfDaGmQOm6Fi4vSlce8mjM75x//XKuVAByohlEX6N17yZnVXxQFuh4fDRunP8ca6bfA==",
345
+ "cpu": [
346
+ "x64"
347
+ ],
348
+ "optional": true,
349
+ "os": [
350
+ "win32"
351
+ ],
352
+ "engines": {
353
+ "node": ">=12"
354
+ }
355
+ },
356
+ "node_modules/esbuild": {
357
+ "version": "0.21.1",
358
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.1.tgz",
359
+ "integrity": "sha512-GPqx+FX7mdqulCeQ4TsGZQ3djBJkx5k7zBGtqt9ycVlWNg8llJ4RO9n2vciu8BN2zAEs6lPbPl0asZsAh7oWzg==",
360
+ "hasInstallScript": true,
361
+ "bin": {
362
+ "esbuild": "bin/esbuild"
363
+ },
364
+ "engines": {
365
+ "node": ">=12"
366
+ },
367
+ "optionalDependencies": {
368
+ "@esbuild/aix-ppc64": "0.21.1",
369
+ "@esbuild/android-arm": "0.21.1",
370
+ "@esbuild/android-arm64": "0.21.1",
371
+ "@esbuild/android-x64": "0.21.1",
372
+ "@esbuild/darwin-arm64": "0.21.1",
373
+ "@esbuild/darwin-x64": "0.21.1",
374
+ "@esbuild/freebsd-arm64": "0.21.1",
375
+ "@esbuild/freebsd-x64": "0.21.1",
376
+ "@esbuild/linux-arm": "0.21.1",
377
+ "@esbuild/linux-arm64": "0.21.1",
378
+ "@esbuild/linux-ia32": "0.21.1",
379
+ "@esbuild/linux-loong64": "0.21.1",
380
+ "@esbuild/linux-mips64el": "0.21.1",
381
+ "@esbuild/linux-ppc64": "0.21.1",
382
+ "@esbuild/linux-riscv64": "0.21.1",
383
+ "@esbuild/linux-s390x": "0.21.1",
384
+ "@esbuild/linux-x64": "0.21.1",
385
+ "@esbuild/netbsd-x64": "0.21.1",
386
+ "@esbuild/openbsd-x64": "0.21.1",
387
+ "@esbuild/sunos-x64": "0.21.1",
388
+ "@esbuild/win32-arm64": "0.21.1",
389
+ "@esbuild/win32-ia32": "0.21.1",
390
+ "@esbuild/win32-x64": "0.21.1"
391
+ }
392
+ }
393
+ }
394
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "dependencies": {
3
+ "esbuild": "^0.21.1"
4
+ }
5
+ }
@@ -0,0 +1 @@
1
+ npm install --no-bin-links esbuild
@@ -1 +1,2 @@
1
1
  package ff:core:0.0.0
2
+ include "node_modules"
@@ -220,7 +220,8 @@ return
220
220
  }
221
221
  if(command_a.BootstrapCommand) {
222
222
  const workingDirectory_ = ff_core_NodeSystem.NodeSystem_path(system_, ".");
223
- ff_compiler_Builder.build_(system_, ff_compiler_JsEmitter.EmitNode(), ff_compiler_Syntax.PackagePair("ff", "compiler"), "Main", ff_compiler_Dependencies.ResolvedDependencies(ff_compiler_Syntax.PackagePair("ff", "compiler"), ff_core_List.List_toMap([], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair), ff_core_List.List_toMap([ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "compiler"), ff_core_Path.Path_slash(workingDirectory_, "compiler")), ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "core"), ff_core_Path.Path_slash(workingDirectory_, "core"))], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair), ff_core_List.List_toSet([], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair)), ff_core_Option.None(), ff_core_Path.Path_slash(ff_core_Path.Path_slash(workingDirectory_, "output"), "temporary"), ff_core_Path.Path_slash(ff_core_Path.Path_slash(workingDirectory_, "output"), "js"), true, ff_compiler_ModuleCache.empty_(0))
223
+ const fakeLocation_ = ff_compiler_Syntax.Location("<core>", 0, 0);
224
+ ff_compiler_Builder.build_(system_, ff_compiler_JsEmitter.EmitNode(), ff_compiler_Syntax.PackagePair("ff", "compiler"), "Main", ff_compiler_Dependencies.ResolvedDependencies(ff_compiler_Syntax.PackagePair("ff", "compiler"), ff_core_List.List_toMap([ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "core"), ff_compiler_Syntax.PackageInfo(ff_compiler_Syntax.DPackage(fakeLocation_, ff_compiler_Syntax.PackagePair("ff", "core"), ff_compiler_Syntax.Version(fakeLocation_, 0, 0, 0), ff_compiler_Syntax.TargetNames(true, false)), [], [ff_compiler_Syntax.DInclude(fakeLocation_, "node_modules")]))], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair), ff_core_List.List_toMap([ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "compiler"), ff_core_Path.Path_slash(workingDirectory_, "compiler")), ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "core"), ff_core_Path.Path_slash(workingDirectory_, "core"))], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair), ff_core_List.List_toSet([], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair)), ff_core_Option.None(), ff_core_Path.Path_slash(ff_core_Path.Path_slash(workingDirectory_, "output"), "temporary"), ff_core_Path.Path_slash(ff_core_Path.Path_slash(workingDirectory_, "output"), "js"), true, ff_compiler_ModuleCache.empty_(0))
224
225
  return
225
226
  }
226
227
  }
@@ -467,7 +468,8 @@ return
467
468
  }
468
469
  if(command_a.BootstrapCommand) {
469
470
  const workingDirectory_ = (await ff_core_NodeSystem.NodeSystem_path$(system_, ".", $task));
470
- (await ff_compiler_Builder.build_$(system_, ff_compiler_JsEmitter.EmitNode(), ff_compiler_Syntax.PackagePair("ff", "compiler"), "Main", ff_compiler_Dependencies.ResolvedDependencies(ff_compiler_Syntax.PackagePair("ff", "compiler"), ff_core_List.List_toMap([], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair), ff_core_List.List_toMap([ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "compiler"), (await ff_core_Path.Path_slash$(workingDirectory_, "compiler", $task))), ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "core"), (await ff_core_Path.Path_slash$(workingDirectory_, "core", $task)))], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair), ff_core_List.List_toSet([], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair)), ff_core_Option.None(), (await ff_core_Path.Path_slash$((await ff_core_Path.Path_slash$(workingDirectory_, "output", $task)), "temporary", $task)), (await ff_core_Path.Path_slash$((await ff_core_Path.Path_slash$(workingDirectory_, "output", $task)), "js", $task)), true, ff_compiler_ModuleCache.empty_(0), $task))
471
+ const fakeLocation_ = ff_compiler_Syntax.Location("<core>", 0, 0);
472
+ (await ff_compiler_Builder.build_$(system_, ff_compiler_JsEmitter.EmitNode(), ff_compiler_Syntax.PackagePair("ff", "compiler"), "Main", ff_compiler_Dependencies.ResolvedDependencies(ff_compiler_Syntax.PackagePair("ff", "compiler"), ff_core_List.List_toMap([ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "core"), ff_compiler_Syntax.PackageInfo(ff_compiler_Syntax.DPackage(fakeLocation_, ff_compiler_Syntax.PackagePair("ff", "core"), ff_compiler_Syntax.Version(fakeLocation_, 0, 0, 0), ff_compiler_Syntax.TargetNames(true, false)), [], [ff_compiler_Syntax.DInclude(fakeLocation_, "node_modules")]))], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair), ff_core_List.List_toMap([ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "compiler"), (await ff_core_Path.Path_slash$(workingDirectory_, "compiler", $task))), ff_core_Pair.Pair(ff_compiler_Syntax.PackagePair("ff", "core"), (await ff_core_Path.Path_slash$(workingDirectory_, "core", $task)))], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair), ff_core_List.List_toSet([], ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair)), ff_core_Option.None(), (await ff_core_Path.Path_slash$((await ff_core_Path.Path_slash$(workingDirectory_, "output", $task)), "temporary", $task)), (await ff_core_Path.Path_slash$((await ff_core_Path.Path_slash$(workingDirectory_, "output", $task)), "js", $task)), true, ff_compiler_ModuleCache.empty_(0), $task))
471
473
  return
472
474
  }
473
475
  }
package/package.json CHANGED
@@ -4,22 +4,21 @@
4
4
  "description": "Firefly compiler",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.28",
7
+ "version": "0.4.30",
8
8
  "repository": {
9
- "type": "git",
10
- "url": "https://github.com/Ahnfelt/firefly-boot"
9
+ "type": "git",
10
+ "url": "https://github.com/Ahnfelt/firefly-boot"
11
11
  },
12
12
  "publisher": "firefly-team",
13
13
  "categories": [
14
- "Programming Languages"
14
+ "Programming Languages"
15
15
  ],
16
16
  "engines": {
17
- "node": ">=18.0.0"
17
+ "node": ">=18.0.0"
18
18
  },
19
19
  "main": "./vscode/client/out/extension",
20
20
  "icon": "./vscode/icons/firefly-logo.png",
21
21
  "dependencies": {
22
- "esbuild": "^0.14.54",
23
22
  "pkg": "^5.8.0",
24
23
  "tar": "^6.1.11"
25
24
  },
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly language support",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.28",
7
+ "version": "0.4.30",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"