@repokit/core 2.0.2 → 2.0.3

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/Cargo.lock CHANGED
@@ -169,7 +169,7 @@ checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c"
169
169
 
170
170
  [[package]]
171
171
  name = "repokit"
172
- version = "0.1.0"
172
+ version = "2.0.3"
173
173
  dependencies = [
174
174
  "alphanumeric-sort",
175
175
  "colored",
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "repokit"
3
- version = "0.1.0"
3
+ version = "2.0.3"
4
4
  edition = "2024"
5
5
 
6
6
  [[bin]]
@@ -17,4 +17,3 @@ tokio = "1.49.0"
17
17
  ignore = "0.4.25"
18
18
  regex = { version = "1.12.3", features = ["std", "unicode"] }
19
19
 
20
-
@@ -1,3 +1,4 @@
1
+ CURRENT_VERSION="2.0.3"
1
2
  CWD=$(pwd)
2
3
 
3
4
  REPLACEMENT="/node_modules"
@@ -26,6 +27,19 @@ fi
26
27
 
27
28
  echo "Installing Repokit CLI"
28
29
 
30
+ cd
31
+
32
+ if [ -f .repokit ]; then
33
+ read -r first_line < ".repokit"
34
+ if [ "$first_line" = "$CURRENT_VERSION" ]; then
35
+ exit 0;
36
+ fi
37
+ fi
38
+
39
+ touch ".repokit"
40
+ printf "$CURRENT_VERSION" > ".repokit"
41
+
42
+
29
43
  cd $CWD
30
44
 
31
45
  echo "Compiling from $CWD"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repokit/core",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "A knowledgebase for your repository - wrapped in a CLI",
5
5
  "keywords": [
6
6
  "cli",
@@ -55,6 +55,7 @@
55
55
  "@types/node": "^25.3.0",
56
56
  "@typescript-eslint/eslint-plugin": "^8.57.1",
57
57
  "@typescript-eslint/parser": "^8.57.1",
58
+ "chalk": "^5.6.2",
58
59
  "eslint": "^10.0.3",
59
60
  "eslint-import-resolver-typescript": "^4.4.4",
60
61
  "eslint-plugin-import": "^2.32.0",