spec-up-t 1.1.9 → 1.1.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-up-t",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "Technical specification drafting tool that generates rich specification documents from markdown. Forked from https://github.com/decentralized-identity/spec-up by Daniel Buchner (https://github.com/csuwildcat)",
5
5
  "main": "./index",
6
6
  "repository": {
@@ -42,9 +42,9 @@ async function updateGitignore(gitignorePath, filesToAdd) {
42
42
  // Write the updated content back to the .gitignore file
43
43
  await fs.writeFile(gitignorePath, updatedGitignoreContent, 'utf8');
44
44
 
45
- console.log('Updated .gitignore file');
45
+ console.log('Updated .gitignore file');
46
46
  } catch (error) {
47
- console.error('Error updating .gitignore:', error.message);
47
+ console.error('Error updating .gitignore:', error.message);
48
48
  }
49
49
  }
50
50
 
@@ -13,7 +13,7 @@ function addScriptsKeys(scriptKeys, overwriteKeys = {}) {
13
13
  // Read the package.json file
14
14
  fs.readFile(packageJsonPath, 'utf8', (err, data) => {
15
15
  if (err) {
16
- console.error('Error reading package.json:', err);
16
+ console.error('Error reading package.json:', err);
17
17
  return;
18
18
  }
19
19
 
@@ -36,13 +36,13 @@ function addScriptsKeys(scriptKeys, overwriteKeys = {}) {
36
36
  // Write the updated package.json back to disk
37
37
  fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf8', (err) => {
38
38
  if (err) {
39
- console.error('Error writing package.json:', err);
39
+ console.error('Error writing package.json:', err);
40
40
  } else {
41
- console.log('Scripts added to package.json successfully!');
41
+ console.log('Scripts added to package.json successfully!');
42
42
  }
43
43
  });
44
44
  } catch (parseError) {
45
- console.error('Error parsing package.json:', parseError);
45
+ console.error('Error parsing package.json:', parseError);
46
46
  }
47
47
  });
48
48
  }
@@ -16,7 +16,7 @@ function copyBoilerplate() {
16
16
  const gitignoreDestPath = path.join(__dirname, '../../../../', '.gitignore');
17
17
  fs.renameSync(gitignorePath, gitignoreDestPath);
18
18
 
19
- console.log('✅ Copied spec-up-t-boilerplate to current directory.');
19
+ console.log('✅ Copied spec-up-t-boilerplate to current directory');
20
20
  }
21
21
 
22
22
  module.exports = copyBoilerplate;
@@ -24,7 +24,7 @@ function copySystemFiles() {
24
24
  }
25
25
  });
26
26
 
27
- console.log('✅ Copied system files to current directory.');
27
+ console.log('✅ Copied system files to current directory');
28
28
  }
29
29
 
30
30
  module.exports = copySystemFiles;
@@ -10,4 +10,4 @@ addScriptsKeys(configScriptsKeys, configOverwriteScriptsKeys);
10
10
  copySystemFiles();
11
11
  updateGitignore(gitIgnoreEntries.gitignorePath, gitIgnoreEntries.filesToAdd);
12
12
 
13
- console.log("✅ custom update done");
13
+ console.log("✅ Custom update done");
@@ -8,8 +8,8 @@ process.nextTick(() => {
8
8
  console.log(`
9
9
  *************
10
10
  Next:
11
- * 1: Type the following and press ENTER: cd ${dirName}
12
- * 2: Type the following and press ENTER: npm run menu
11
+ 👉 1: Type the following and press ENTER: cd ${dirName}
12
+ 👉 2: Type the following and press ENTER: npm run menu
13
13
  *************
14
14
  `);
15
15
  });