codewhale.history 2.8.3 → 2.8.4

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.
Files changed (2) hide show
  1. package/package.json +4 -1
  2. package/tools-install.js +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codewhale.history",
3
- "version": "2.8.3",
3
+ "version": "2.8.4",
4
4
  "description": "CodeWhale utility commands: session history, tool listing, file snapshot, interactive code quiz — global install",
5
5
  "bin": {
6
6
  "codewhale-history": "./_list_sessions.js",
@@ -13,6 +13,9 @@
13
13
  "instructions.md",
14
14
  "skills"
15
15
  ],
16
+ "scripts": {
17
+ "postinstall": "codewhale-tools-install"
18
+ },
16
19
  "engines": {
17
20
  "node": ">=14"
18
21
  }
package/tools-install.js CHANGED
@@ -106,8 +106,7 @@ for (const [name, filePath] of Object.entries(checklist)) {
106
106
  console.log('');
107
107
  if (errors === 0) {
108
108
  console.log('=== Installation complete! ===');
109
- console.log('Make sure codewhale-history is installed globally: npm install -g <path-to-tools_for_codewhale>');
110
- console.log('Then type //tools, //history, //snapshot, or //teach-me in any CodeWhale session.');
109
+ console.log('Type //tools, //history, //snapshot, or //teach-me in any CodeWhale session.');
111
110
  } else {
112
111
  console.log(`=== Installation finished with ${errors} error(s). ===`);
113
112
  }