@geastack-community/zodiachain 0.0.1 → 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.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type PluginOptions } from '@geastack/compiler/plugin';
1
+ import { type PluginOptions } from '@geastack/compiler/dist/plugins/model.js';
2
2
  export declare function zodiachainPlugin(): {
3
3
  name: string;
4
4
  instantiate(_options: PluginOptions): {
package/dist/index.js CHANGED
@@ -488,7 +488,7 @@ var require_jsesc = __commonJS({
488
488
  });
489
489
 
490
490
  // src/index.ts
491
- import { inertPluginInstance } from "@geastack/compiler/plugin";
491
+ import { inertPluginInstance } from "@geastack/compiler/dist/plugins/model.js";
492
492
 
493
493
  // node_modules/.pnpm/@babel+parser@8.0.8/node_modules/@babel/parser/lib/index.js
494
494
  var Position = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geastack-community/zodiachain",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Experimental Gea-to-GeaStack source compatibility plugin for the GeaStack compiler",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -50,15 +50,18 @@
50
50
  "@geajs/core": "^1.5.1",
51
51
  "tsx": "^4.0.0",
52
52
  "esbuild": "^0.28.2",
53
- "typescript": "5.9.3"
54
- },
55
- "dependencies": {
53
+ "typescript": "5.9.3",
56
54
  "@geastack/compiler": "^1.0.46"
57
55
  },
56
+ "dependencies": {},
57
+ "peerDependencies": {
58
+ "@geastack/compiler": "^1.0.69"
59
+ },
58
60
  "scripts": {
59
61
  "build": "pnpm build:js && pnpm build:dts",
60
- "build:js": "esbuild src/index.ts --bundle --external:@geastack/compiler/plugin --minify --format=cjs --outfile=dist/index.cjs && esbuild src/index.ts --bundle --external:@geastack/compiler/plugin --format=esm --outfile=dist/index.js",
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",
61
63
  "build:dts": "tsc --declaration --emitDeclarationOnly --noCheck --outDir dist",
62
- "test": "node --import tsx --test tests/**/*.test.ts"
64
+ "test": "node --import tsx --test tests/**/*.test.ts",
65
+ "test:consumer": "node scripts/consumer-smoke.mjs"
63
66
  }
64
67
  }