create-node-lib 2.15.3 → 2.15.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [2.15.5](https://github.com/lirantal/create-node-lib/compare/v2.15.4...v2.15.5) (2026-04-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Update markdown lint command to ignore apm_modules ([5a970d0](https://github.com/lirantal/create-node-lib/commit/5a970d06887644e26f23a9f1b6eaf2f6b6f67db3))
7
+ * Update markdown linting script to include apm_modules ([e278132](https://github.com/lirantal/create-node-lib/commit/e278132510fdeb002b98c1e2e7de9efc60b903a1))
8
+
9
+ ## [2.15.4](https://github.com/lirantal/create-node-lib/compare/v2.15.3...v2.15.4) (2026-04-13)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * support term info from host ([3509575](https://github.com/lirantal/create-node-lib/commit/35095752e422b9e3352b661fd1217c69354737ab))
15
+
1
16
  ## [2.15.3](https://github.com/lirantal/create-node-lib/compare/v2.15.2...v2.15.3) (2026-04-12)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-node-lib",
3
- "version": "2.15.3",
3
+ "version": "2.15.5",
4
4
  "description": "Scaffolding out a Node.js library module",
5
5
  "bin": "./bin/cli.js",
6
6
  "engines": {
@@ -77,4 +77,10 @@ fi
77
77
  npx --yes "@devcontainers/cli@${CLI_VERSION}" up "${UP_ARGS[@]}"
78
78
 
79
79
  echo "Dropping into container shell..."
80
- npx --yes "@devcontainers/cli@${CLI_VERSION}" exec --workspace-folder "$WORKSPACE_FOLDER" bash
80
+ # Resolve TERM to something the container's terminfo knows about.
81
+ # Terminals like kitty, ghostty, alacritty set custom TERM values the container won't have.
82
+ # Fall back to xterm-256color (truecolor still works via COLORTERM=truecolor).
83
+ if ! infocmp "${TERM:-xterm-256color}" &>/dev/null 2>&1; then
84
+ TERM=xterm-256color
85
+ fi
86
+ TERM="${TERM:-xterm-256color}" npx --yes @devcontainers/cli@${CLI_VERSION} exec --workspace-folder "$WORKSPACE_FOLDER" -- env TERM="${TERM:-xterm-256color}" COLORTERM=truecolor bash
@@ -26,4 +26,4 @@ jobs:
26
26
 
27
27
  - name: Markdown Lint
28
28
  run: |
29
- pnpm run lint:markdown || pnpx -y markdownlint-cli@0.48.0 -c .github/.markdownlint.yml -i '.git' -i '__tests__' -i '.github' -i '.changeset' -i 'CODE_OF_CONDUCT.md' -i 'CHANGELOG.md' -i 'node_modules' -i 'dist' '**/**.md'
29
+ pnpm run lint:markdown || pnpx -y markdownlint-cli@0.48.0 -c .github/.markdownlint.yml -i 'apm_modules/**' -i '.git' -i '__tests__' -i '.github' -i '.changeset' -i 'CODE_OF_CONDUCT.md' -i 'CHANGELOG.md' -i 'node_modules' -i 'dist' '**/**.md'
@@ -38,7 +38,7 @@
38
38
  "start": "tsx src/bin/cli.ts",
39
39
  "build": "tsc && tsdown",
40
40
  "lint": "eslint . && npm run lint:lockfile && npm run lint:markdown",
41
- "lint:markdown": "npx -y markdownlint-cli@0.48.0 -c .github/.markdownlint.yml -i '.git' -i '__tests__' -i '.github' -i '.changeset' -i 'CODE_OF_CONDUCT.md' -i 'CHANGELOG.md' -i 'docs/**' -i 'node_modules' -i 'dist' '**/**.md' --fix",
41
+ "lint:markdown": "npx -y markdownlint-cli@0.48.0 -c .github/.markdownlint.yml -i 'apm_modules/**' -i '.git' -i '__tests__' -i '.github' -i '.changeset' -i 'CODE_OF_CONDUCT.md' -i 'CHANGELOG.md' -i 'docs/**' -i 'node_modules' -i 'dist' '**/**.md' --fix",
42
42
  "lint:fix": "eslint . --fix",
43
43
  "lint:lockfile": "lockfile-lint --path pnpm-lock.yaml --validate-https --allowed-hosts npm",
44
44
  "test": "c8 node --import tsx --test __tests__/**/*.test.ts",