@geastack-community/zodiachain 0.0.0-stage → 0.0.2

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.
@@ -0,0 +1,9 @@
1
+ import type { NodePath } from '@babel/traverse';
2
+ import type * as t from '@babel/types';
3
+ import type { Specifier } from './import';
4
+ export interface TraverseState {
5
+ hasGeaImport: boolean;
6
+ specifiers: Specifier[];
7
+ defaultImports: t.Identifier[];
8
+ reactiveSuperClasses: NodePath<t.Expression>[];
9
+ }
package/package.json CHANGED
@@ -1,6 +1,67 @@
1
1
  {
2
2
  "name": "@geastack-community/zodiachain",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.2",
4
+ "description": "Experimental Gea-to-GeaStack source compatibility plugin for the GeaStack compiler",
5
+ "main": "./dist/index.cjs",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "type": "module",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "keywords": [
20
+ "zodiachain",
21
+ "geajs",
22
+ "geastack",
23
+ "geastack-community",
24
+ "compiler-plugin",
25
+ "migration",
26
+ "compatibility"
27
+ ],
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://github.com/geastack-community/zodiachain.git"
31
+ },
32
+ "homepage": "https://github.com/geastack-community/zodiachain#readme",
33
+ "bugs": {
34
+ "url": "https://github.com/geastack-community/zodiachain/issues"
35
+ },
36
+ "engines": {
37
+ "node": ">=22.18.0"
38
+ },
39
+ "publishConfig": {
40
+ "access": "public",
41
+ "registry": "https://registry.npmjs.org/"
42
+ },
43
+ "license": "Apache-2.0",
44
+ "devDependencies": {
45
+ "@babel/core": "8.0.9",
46
+ "@babel/generator": "^8.0.6",
47
+ "@babel/parser": "^8.0.8",
48
+ "@babel/traverse": "^8.0.7",
49
+ "@babel/types": "^8.0.8",
50
+ "@geajs/core": "^1.5.1",
51
+ "tsx": "^4.0.0",
52
+ "esbuild": "^0.28.2",
53
+ "typescript": "5.9.3",
54
+ "@geastack/compiler": "^1.0.46"
55
+ },
56
+ "dependencies": {},
57
+ "peerDependencies": {
58
+ "@geastack/compiler": "^1.0.69"
59
+ },
60
+ "scripts": {
61
+ "build": "pnpm build:js && pnpm build:dts",
62
+ "build:js": "esbuild src/index.ts --bundle --external:@geastack/compiler/dist/plugins/model.js --minify --format=cjs --outfile=dist/index.bundle.cjs && node scripts/write-cjs-entry.mjs && esbuild src/index.ts --bundle --external:@geastack/compiler/dist/plugins/model.js --format=esm --outfile=dist/index.js",
63
+ "build:dts": "tsc --declaration --emitDeclarationOnly --noCheck --outDir dist",
64
+ "test": "node --import tsx --test tests/**/*.test.ts",
65
+ "test:consumer": "node scripts/consumer-smoke.mjs"
66
+ }
6
67
  }