Skip to content

Commit

Permalink
try soft link to reuse package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Nov 24, 2023
1 parent 4b88490 commit 03ba69b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ts-src/calcit.procs.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// CALCIT VERSION
export const calcit_version = "0.8.11";
import pkg from "./package.json" assert { type: "json" };

export const calcit_version = pkg.version;
export const calcit_package_json = pkg;

import { parse, ICirruNode } from "@cirru/parser.ts";
import { writeCirruCode } from "@cirru/writer.ts";
Expand Down
1 change: 1 addition & 0 deletions ts-src/package.json
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"lib": ["es2016", "dom"],
"types": ["node"],
"baseUrl": "./ts-src/",
"resolveJsonModule": true,
"verbatimModuleSyntax": false
},
"include": ["./ts-src/*"]
Expand Down

0 comments on commit 03ba69b

Please sign in to comment.