@repokit/core 1.0.0 → 1.0.1
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.toml +1 -5
- package/README.md +2 -0
- package/{workspaces → internals}/internal_filesystem/internal_filesystem.rs +2 -2
- package/package.json +8 -2
- /package/{src → externals}/CommandParser.ts +0 -0
- /package/{src → externals}/ConfigurationParser.ts +0 -0
- /package/{src → externals}/RepoKitCommand.ts +0 -0
- /package/{src → externals}/RepoKitConfig.ts +0 -0
- /package/{src → externals}/TaskPooler.ts +0 -0
- /package/{src → externals}/commands/parse_commands.ts +0 -0
- /package/{src → externals}/commands/parse_configuration.ts +0 -0
- /package/{src → externals}/index.ts +0 -0
- /package/{src → externals}/templates/command_template.ts +0 -0
- /package/{src → externals}/templates/configuration_template.ts +0 -0
- /package/{src → externals}/types.ts +0 -0
- /package/{workspaces → internals}/concurrency/mod.rs +0 -0
- /package/{workspaces → internals}/concurrency/thread_pool.rs +0 -0
- /package/{workspaces → internals}/configuration/configuration.rs +0 -0
- /package/{workspaces → internals}/configuration/mod.rs +0 -0
- /package/{workspaces → internals}/executables/external_executable.rs +0 -0
- /package/{workspaces → internals}/executables/intenal_executable.rs +0 -0
- /package/{workspaces → internals}/executables/internal_executable_definition.rs +0 -0
- /package/{workspaces → internals}/executables/mod.rs +0 -0
- /package/{workspaces → internals}/executor/executor.rs +0 -0
- /package/{workspaces → internals}/executor/mod.rs +0 -0
- /package/{workspaces → internals}/external_commands/external_commands.rs +0 -0
- /package/{workspaces → internals}/external_commands/mod.rs +0 -0
- /package/{workspaces → internals}/internal_commands/help.rs +0 -0
- /package/{workspaces → internals}/internal_commands/internal_registry.rs +0 -0
- /package/{workspaces → internals}/internal_commands/list_commands.rs +0 -0
- /package/{workspaces → internals}/internal_commands/list_owners.rs +0 -0
- /package/{workspaces → internals}/internal_commands/locate_command.rs +0 -0
- /package/{workspaces → internals}/internal_commands/mod.rs +0 -0
- /package/{workspaces → internals}/internal_commands/onboarder.rs +0 -0
- /package/{workspaces → internals}/internal_commands/register_command.rs +0 -0
- /package/{workspaces → internals}/internal_commands/search_commands.rs +0 -0
- /package/{workspaces → internals}/internal_commands/typescript_command.rs +0 -0
- /package/{workspaces → internals}/internal_commands/upgrade_repokit.rs +0 -0
- /package/{workspaces → internals}/internal_filesystem/mod.rs +0 -0
- /package/{workspaces → internals}/logger/logger.rs +0 -0
- /package/{workspaces → internals}/logger/mod.rs +0 -0
- /package/{workspaces → internals}/main.rs +0 -0
- /package/{workspaces → internals}/repokit/interfaces.rs +0 -0
- /package/{workspaces → internals}/repokit/mod.rs +0 -0
- /package/{workspaces → internals}/repokit/repokit.rs +0 -0
- /package/{workspaces → internals}/validations/command_validations.rs +0 -0
- /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 = "
|
|
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("./
|
|
26
|
+
InternalFileSystem::absolute("./externals/commands")
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
fn templates_directory() -> PathBuf {
|
|
30
|
-
InternalFileSystem::absolute("./
|
|
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.
|
|
3
|
+
"version": "1.0.1",
|
|
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": "
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|