@bvdm/delano 0.1.1 → 0.1.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/README.md
CHANGED
|
@@ -93,6 +93,7 @@ The CLI does not bundle its own shell or Python runtime.
|
|
|
93
93
|
- it reports each conflict as file, directory, or symlink
|
|
94
94
|
- it only overwrites approved allowlist paths when `--force` is used
|
|
95
95
|
- it does not touch unrelated files outside the allowlist
|
|
96
|
+
- it does not install or overwrite a repo-root `.gitignore`
|
|
96
97
|
|
|
97
98
|
The base install payload intentionally excludes top-level adapter entry docs such as `AGENTS.md`, `CLAUDE.md`, `CODEX.md`, `OPENCODE.md`, and `PI.md`. Those remain opt-in only.
|
|
98
99
|
|
package/package.json
CHANGED
package/src/cli/lib/install.js
CHANGED
|
@@ -11,7 +11,6 @@ const path = require("node:path");
|
|
|
11
11
|
const readline = require("node:readline/promises");
|
|
12
12
|
const { stdin, stdout } = require("node:process");
|
|
13
13
|
|
|
14
|
-
const { getPackagedAssetRelativePath } = require("./asset-paths");
|
|
15
14
|
const { CliError } = require("./errors");
|
|
16
15
|
const { getPackageRoot, getPathType } = require("./runtime");
|
|
17
16
|
|
|
@@ -123,7 +122,7 @@ function parseInstallArgs(args) {
|
|
|
123
122
|
function buildInstallPlan(options) {
|
|
124
123
|
const { manifest, payloadRoot } = readInstallManifest();
|
|
125
124
|
const items = manifest.paths.map((relativePath) => {
|
|
126
|
-
const sourcePath = path.join(payloadRoot,
|
|
125
|
+
const sourcePath = path.join(payloadRoot, relativePath);
|
|
127
126
|
if (!existsSync(sourcePath)) {
|
|
128
127
|
throw new CliError(getMissingPackagedAssetMessage(relativePath), 1);
|
|
129
128
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Runtime local artifacts
|
|
2
|
-
.claude/logs/*.jsonl
|
|
3
|
-
.claude/logs/tests/
|
|
4
|
-
.agents/logs/*.jsonl
|
|
5
|
-
.agents/logs/tests/
|
|
6
|
-
|
|
7
|
-
# Keep structural markers and docs
|
|
8
|
-
!.claude/logs/.gitkeep
|
|
9
|
-
!.claude/logs/schema.md
|
|
10
|
-
!.agents/logs/.gitkeep
|
|
11
|
-
!.agents/logs/schema.md
|
|
12
|
-
|
|
13
|
-
# Local Claude overrides
|
|
14
|
-
.claude/settings.local.json
|
|
15
|
-
.agents/settings.local.json
|
|
16
|
-
|
|
17
|
-
# Node/npm local artifacts
|
|
18
|
-
node_modules/
|
|
19
|
-
assets/payload/
|
|
20
|
-
*.tgz
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const path = require("node:path");
|
|
2
|
-
|
|
3
|
-
const PACKAGED_BASENAME_MAP = new Map([
|
|
4
|
-
[".gitignore", "__dot_gitignore__"]
|
|
5
|
-
]);
|
|
6
|
-
|
|
7
|
-
function getPackagedAssetRelativePath(relativePath) {
|
|
8
|
-
const normalizedPath = relativePath.split(/[\\/]/).join("/");
|
|
9
|
-
const parsedPath = path.posix.parse(normalizedPath);
|
|
10
|
-
const packagedBasename = PACKAGED_BASENAME_MAP.get(parsedPath.base);
|
|
11
|
-
|
|
12
|
-
if (!packagedBasename) {
|
|
13
|
-
return normalizedPath;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return parsedPath.dir ? `${parsedPath.dir}/${packagedBasename}` : packagedBasename;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
module.exports = {
|
|
20
|
-
getPackagedAssetRelativePath
|
|
21
|
-
};
|