corequery 0.1.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/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # CoreQuery
2
+
3
+ ## Architecture TODO
4
+
5
+ To prove it works:
6
+
7
+ - Setup express server
8
+ - Setup server to serve frontend
9
+ - Setup demo app
10
+ - Script to create demo app from external git repo
11
+
12
+ For the real deal:
13
+
14
+ - Setup linting with ESLint and TSC
15
+ - Setup Prettier
16
+ - Setup unit tests
17
+ - Setup renovate
18
+ - Setup CI
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "corequery",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "files": [
6
+ "server/dist"
7
+ ],
8
+ "exports": "./server/dist/index.js",
9
+ "types": "./server/dist/index.d.ts",
10
+ "scripts": {
11
+ "dev": "vite web",
12
+ "build": "tsc -p server/tsconfig.json && vite build web",
13
+ "start": "tsx server/main.ts"
14
+ },
15
+ "dependencies": {},
16
+ "devDependencies": {
17
+ "@preact/preset-vite": "2.10.2",
18
+ "@types/node": "24.10.1",
19
+ "preact": "10.27.2",
20
+ "preact-iso": "2.11.0",
21
+ "tsx": "4.20.6",
22
+ "typescript": "5.9.3",
23
+ "vite": "7.2.4"
24
+ },
25
+ "author": "dan-schel",
26
+ "description": "A platform for building web apps serving transit information.",
27
+ "homepage": "https://github.com/dan-schel/corequery",
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "keywords": [
32
+ "trainquery",
33
+ "gtfs"
34
+ ],
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git@github.com:dan-schel/corequery.git"
38
+ },
39
+ "bugs": {
40
+ "url": "https://github.com/dan-schel/corequery/issues"
41
+ }
42
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.js","sourceRoot":"","sources":["../main.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import { runSharedCode } from "../shared/example.js";
2
+ async function main() {
3
+ console.log("Hello!");
4
+ runSharedCode();
5
+ }
6
+ main();
7
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.js","sourceRoot":"","sources":["../../main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,KAAK,UAAU,IAAI;IACjB,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACtB,aAAa,EAAE,CAAC;AAClB,CAAC;AAED,IAAI,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function runSharedCode(): void;
@@ -0,0 +1,4 @@
1
+ export function runSharedCode() {
2
+ console.log("This is shared code running!");
3
+ }
4
+ //# sourceMappingURL=example.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"example.js","sourceRoot":"","sources":["../../../shared/example.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,aAAa;IAC3B,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAC;AAC9C,CAAC"}