@repokit/core 1.0.0 → 1.0.2

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 (47) hide show
  1. package/Cargo.toml +1 -5
  2. package/README.md +2 -0
  3. package/{workspaces → internals}/internal_filesystem/internal_filesystem.rs +2 -2
  4. package/package.json +8 -2
  5. /package/{src → externals}/CommandParser.ts +0 -0
  6. /package/{src → externals}/ConfigurationParser.ts +0 -0
  7. /package/{src → externals}/RepoKitCommand.ts +0 -0
  8. /package/{src → externals}/RepoKitConfig.ts +0 -0
  9. /package/{src → externals}/TaskPooler.ts +0 -0
  10. /package/{src → externals}/commands/parse_commands.ts +0 -0
  11. /package/{src → externals}/commands/parse_configuration.ts +0 -0
  12. /package/{src → externals}/index.ts +0 -0
  13. /package/{src → externals}/templates/command_template.ts +0 -0
  14. /package/{src → externals}/templates/configuration_template.ts +0 -0
  15. /package/{src → externals}/types.ts +0 -0
  16. /package/{workspaces → internals}/concurrency/mod.rs +0 -0
  17. /package/{workspaces → internals}/concurrency/thread_pool.rs +0 -0
  18. /package/{workspaces → internals}/configuration/configuration.rs +0 -0
  19. /package/{workspaces → internals}/configuration/mod.rs +0 -0
  20. /package/{workspaces → internals}/executables/external_executable.rs +0 -0
  21. /package/{workspaces → internals}/executables/intenal_executable.rs +0 -0
  22. /package/{workspaces → internals}/executables/internal_executable_definition.rs +0 -0
  23. /package/{workspaces → internals}/executables/mod.rs +0 -0
  24. /package/{workspaces → internals}/executor/executor.rs +0 -0
  25. /package/{workspaces → internals}/executor/mod.rs +0 -0
  26. /package/{workspaces → internals}/external_commands/external_commands.rs +0 -0
  27. /package/{workspaces → internals}/external_commands/mod.rs +0 -0
  28. /package/{workspaces → internals}/internal_commands/help.rs +0 -0
  29. /package/{workspaces → internals}/internal_commands/internal_registry.rs +0 -0
  30. /package/{workspaces → internals}/internal_commands/list_commands.rs +0 -0
  31. /package/{workspaces → internals}/internal_commands/list_owners.rs +0 -0
  32. /package/{workspaces → internals}/internal_commands/locate_command.rs +0 -0
  33. /package/{workspaces → internals}/internal_commands/mod.rs +0 -0
  34. /package/{workspaces → internals}/internal_commands/onboarder.rs +0 -0
  35. /package/{workspaces → internals}/internal_commands/register_command.rs +0 -0
  36. /package/{workspaces → internals}/internal_commands/search_commands.rs +0 -0
  37. /package/{workspaces → internals}/internal_commands/typescript_command.rs +0 -0
  38. /package/{workspaces → internals}/internal_commands/upgrade_repokit.rs +0 -0
  39. /package/{workspaces → internals}/internal_filesystem/mod.rs +0 -0
  40. /package/{workspaces → internals}/logger/logger.rs +0 -0
  41. /package/{workspaces → internals}/logger/mod.rs +0 -0
  42. /package/{workspaces → internals}/main.rs +0 -0
  43. /package/{workspaces → internals}/repokit/interfaces.rs +0 -0
  44. /package/{workspaces → internals}/repokit/mod.rs +0 -0
  45. /package/{workspaces → internals}/repokit/repokit.rs +0 -0
  46. /package/{workspaces → internals}/validations/command_validations.rs +0 -0
  47. /package/{workspaces → internals}/validations/mod.rs +0 -0
package/Cargo.toml CHANGED
@@ -3,13 +3,9 @@ name = "repokit"
3
3
  version = "0.1.0"
4
4
  edition = "2024"
5
5
 
6
- [lib]
7
- name = "repokit"
8
- path = "workspaces/main.rs"
9
-
10
6
  [[bin]]
11
7
  name = "repokit"
12
- path = "workspaces/main.rs"
8
+ path = "internals/main.rs"
13
9
 
14
10
  [dependencies]
15
11
  serde = { version = "1.0", features = ["derive"] }
package/README.md CHANGED
@@ -65,6 +65,8 @@ export const RepoKit = new RepoKitConfig({
65
65
  });
66
66
  ```
67
67
 
68
+ Commands are optional, but your `repokit.ts` config is a good place to store any commonly run commands that aren't specific to any library or package in your repository.
69
+
68
70
  To verify your configuration, run
69
71
 
70
72
  ```bash
@@ -23,11 +23,11 @@ impl InternalFileSystem {
23
23
  }
24
24
 
25
25
  fn commands_directory() -> PathBuf {
26
- InternalFileSystem::absolute("./src/commands")
26
+ InternalFileSystem::absolute("./externals/commands")
27
27
  }
28
28
 
29
29
  fn templates_directory() -> PathBuf {
30
- InternalFileSystem::absolute("./src/templates")
30
+ InternalFileSystem::absolute("./externals/templates")
31
31
  }
32
32
 
33
33
  fn path_buf_to_str(buffer: PathBuf) -> String {
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@repokit/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A knowledgebase for your repository - wrapped in a CLI",
5
+ "keywords": [
6
+ "cli",
7
+ "developer tool",
8
+ "repository",
9
+ "toolchain"
10
+ ],
5
11
  "homepage": "https://github.com/alexfigliolia/repokit#readme",
6
12
  "license": "MIT",
7
13
  "author": "Alex Figliolia",
@@ -9,7 +15,7 @@
9
15
  "type": "git",
10
16
  "url": "git+https://github.com/alexfigliolia/repokit.git"
11
17
  },
12
- "main": "src/index.ts",
18
+ "main": "externals/index.ts",
13
19
  "publishConfig": {
14
20
  "access": "public"
15
21
  },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes