@quolu/lattice 0.21.1 → 0.21.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/package.json +1 -1
- package/src/todo-cli.mjs +4 -1
package/package.json
CHANGED
package/src/todo-cli.mjs
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
lstat, mkdir, open, readFile, realpath, rename, rm, writeFile,
|
|
5
5
|
} from 'node:fs/promises';
|
|
6
6
|
import path from 'node:path';
|
|
7
|
+
import { fileURLToPath } from 'node:url';
|
|
7
8
|
import { parseTree } from 'jsonc-parser';
|
|
8
9
|
|
|
9
10
|
import {
|
|
@@ -988,7 +989,9 @@ async function seamProposalApply({ repoRoot, planKey, pathNames = {}, land = fal
|
|
|
988
989
|
pathNames,
|
|
989
990
|
sourceProposal: artifact,
|
|
990
991
|
witnessSet,
|
|
991
|
-
|
|
992
|
+
// 配布物内の自分自身を指す。repoRoot配下を指すと、Lattice自身のrepositoryでしか動かない
|
|
993
|
+
// ——消費側のprojectに`bin/lattice.mjs`は存在しない。
|
|
994
|
+
latticeBin: fileURLToPath(new URL('../bin/lattice.mjs', import.meta.url)),
|
|
992
995
|
sharedPathFor: (sourcePath) => sourcePath.replace(/(\.[^./]+)$/u, '.seam-shared$1'),
|
|
993
996
|
executors: witnessSet.capacity.executors,
|
|
994
997
|
compileIndependence: {
|