Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| af23c3dce8 | |||
| 3cfcf6db89 | |||
| 5f562cbc5a |
+1
-1
@@ -5,7 +5,7 @@
|
||||
"packages/*"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@shazhou/proman": "0.1.1",
|
||||
"@shazhou/proman": "0.2.0",
|
||||
"tsx": "^4.22.4",
|
||||
"ulidx": "^2.4.1",
|
||||
"vitest": "^4.1.8"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "0.2.0",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"ocas": "src/index.ts"
|
||||
"ocas": "dist/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ocas/core": "workspace:*",
|
||||
|
||||
@@ -13,7 +13,7 @@ const pkgPath = resolve(import.meta.dirname, "../package.json");
|
||||
describe("ocas binary", () => {
|
||||
test("T1: ocas bin entry exists in package.json", async () => {
|
||||
const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
|
||||
expect(pkg.bin.ocas).toBe("src/index.ts");
|
||||
expect(pkg.bin.ocas).toBe("dist/index.js");
|
||||
});
|
||||
|
||||
test("T2: no legacy bin entries (json-cas, ucas)", async () => {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { describe, expect, test } from "vitest";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
|
||||
const usagePath = join(import.meta.dirname, "usage.md");
|
||||
const usagePath = join(import.meta.dirname, "..", "prompts", "usage.md");
|
||||
|
||||
describe("usage.md doc cleanup (D)", () => {
|
||||
test("D3. usage.md does not reference legacy openStoreAndVarStore / createVariableStore", () => {
|
||||
@@ -1,10 +1,13 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": false,
|
||||
"declaration": false,
|
||||
"declarationMap": false,
|
||||
"noEmit": true
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"]
|
||||
"include": ["src"],
|
||||
"exclude": ["src/**/*.test.ts"],
|
||||
"references": [
|
||||
{ "path": "../core" },
|
||||
{ "path": "../fs" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,10 +3,13 @@ runtime: bun
|
||||
packages:
|
||||
- name: "@ocas/core"
|
||||
path: packages/core
|
||||
type: lib
|
||||
- name: "@ocas/fs"
|
||||
path: packages/fs
|
||||
type: lib
|
||||
- name: "@ocas/cli"
|
||||
path: packages/cli
|
||||
type: cli
|
||||
changeset:
|
||||
fixed: true
|
||||
release:
|
||||
|
||||
Reference in New Issue
Block a user