@geastack/core 0.1.23 → 0.1.25

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/index.d.ts CHANGED
@@ -102,10 +102,11 @@ declare global {
102
102
  * namespace actually defines. `warn`/`info`/`debug` would compile and then
103
103
  * fail to link, which is worse than not being declared.
104
104
  */
105
- const console: {
105
+ interface Console {
106
106
  log(message: string): void
107
107
  error(message: string): void
108
108
  }
109
+ const console: Console
109
110
 
110
111
  function requestAnimationFrame(callback: (timestampMs: number) => void): number
111
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geastack/core",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "GeaStack app API, reactivity headers, runtime sources, and type declarations.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -60,10 +60,10 @@
60
60
  "@babel/parser": "^7.23.0",
61
61
  "@babel/traverse": "^7.23.0",
62
62
  "@babel/types": "^7.23.0",
63
- "@geajs/core": "1.4.0",
64
- "@geajs/vite-plugin": "1.4.1",
65
- "@geastack/compiler": "^1.0.4",
66
- "@geastack/geatsc-plugin-gea": "^0.1.0",
63
+ "@geajs/core": "1.4.3",
64
+ "@geajs/vite-plugin": "1.4.3",
65
+ "@geastack/compiler": "^1.0.15",
66
+ "@geastack/geatsc-plugin-gea": "^0.1.6",
67
67
  "opentype.js": "^2.0.0",
68
68
  "vite": "^8.0.0"
69
69
  }
@@ -363,9 +363,8 @@ function parseFontFaces(css, cssFile) {
363
363
  }
364
364
 
365
365
  function collectSourceFontFaces() {
366
- // The app, then whatever the project shares between its apps. The project
367
- // is the directory this ran in -- it used to arrive as --repo-root, which
368
- // defaulted to this package's own parent and found nobody's components.
366
+ // The app, then whatever the project shares between its apps. The project is
367
+ // the directory this ran in.
369
368
  const sourceDirs = [appDir, path.join(process.cwd(), 'components')]
370
369
  const fontFaces = new Map()
371
370
  for (const dir of sourceDirs) {
@@ -152,7 +152,7 @@ gea_native_wait_for_slot() {
152
152
  if ! wait "$pid"; then
153
153
  GEA_NATIVE_COMPILE_FAILED=1
154
154
  fi
155
- GEA_NATIVE_PIDS=("${rest[@]}")
155
+ GEA_NATIVE_PIDS=(${rest[@]+"${rest[@]}"})
156
156
  }
157
157
 
158
158
  gea_native_wait_for_all() {