task-script-support-cli 0.2.4 → 0.2.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.
@@ -7,7 +7,7 @@ if [[ -z "$1" ]]; then
7
7
  fi
8
8
 
9
9
  DIR_LIST_TO_COPY=('.vscode' 'src' 'tests')
10
- FILE_LIST_TO_COPY=('.gitignore' '.prettierignore' '.prettierrc' 'task-runner' 'install-link.sh' 'eslint.config.ts' 'vitest.config.ts' 'package-lock.json' 'package.json' 'tsconfig.json')
10
+ FILE_LIST_TO_COPY=('.prettierignore' '.prettierrc' 'task-runner' 'install-link.sh' 'eslint.config.ts' 'vitest.config.ts' 'package-lock.json' 'package.json' 'tsconfig.json')
11
11
  NAME_REF_LIST=('package.json' 'package-lock.json' 'install-link.sh')
12
12
  CWD=$(pwd)
13
13
  SCRIPT_DIR=$(dirname "$0")
@@ -44,6 +44,14 @@ for fileToEdit in "${NAME_REF_LIST[@]}"; do
44
44
  # echo "Running patch: sed -i \"s/task-runner/$1/g\" \"$DESTINATION/$fileToEdit\""
45
45
  # sed -i "s/task-runner/$1/g" "$DESTINATION/$fileToEdit"
46
46
  done
47
+
48
+ # do the .gitignore file manually since npm won't let us publish that in the template
49
+ # see: https://github.com/npm/npm/issues/3763
50
+ echo 'node_modules
51
+ dist
52
+ .env' > "$DESTINATION/.gitignore";
53
+
54
+
47
55
  mv "$DESTINATION/task-runner" "$DESTINATION/$1"
48
56
 
49
57
 
@@ -7,7 +7,7 @@ if [[ -z "$1" ]]; then
7
7
  fi
8
8
 
9
9
  DIR_LIST_TO_COPY=('.vscode' 'src' 'tests')
10
- FILE_LIST_TO_COPY=('.gitignore' '.prettierignore' '.prettierrc' 'task-runner' 'install-link.sh' 'eslint.config.ts' 'vitest.config.ts' 'package-lock.json' 'package.json' 'tsconfig.json')
10
+ FILE_LIST_TO_COPY=('.prettierignore' '.prettierrc' 'task-runner' 'install-link.sh' 'eslint.config.ts' 'vitest.config.ts' 'package-lock.json' 'package.json' 'tsconfig.json')
11
11
  NAME_REF_LIST=('package.json' 'package-lock.json' 'install-link.sh')
12
12
  CWD=$(pwd)
13
13
  SCRIPT_DIR=$(dirname "$0")
@@ -44,6 +44,14 @@ for fileToEdit in "${NAME_REF_LIST[@]}"; do
44
44
  # echo "Running patch: sed -i \"s/task-runner/$1/g\" \"$DESTINATION/$fileToEdit\""
45
45
  # sed -i "s/task-runner/$1/g" "$DESTINATION/$fileToEdit"
46
46
  done
47
+
48
+ # do the .gitignore file manually since npm won't let us publish that in the template
49
+ # see: https://github.com/npm/npm/issues/3763
50
+ echo 'node_modules
51
+ dist
52
+ .env' > "$DESTINATION/.gitignore";
53
+
54
+
47
55
  mv "$DESTINATION/task-runner" "$DESTINATION/$1"
48
56
 
49
57
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-script-support-cli",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "main": "index.js",
5
5
  "type": "commonjs",
6
6
  "preferGlobal": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-script-support-cli",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "main": "index.js",
5
5
  "type": "commonjs",
6
6
  "preferGlobal": true,