From 4a0951a3182537519ee4eaec36004f4677b52b1d Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Fri, 27 Sep 2024 07:33:46 +0800 Subject: [PATCH] internal: Fix typos. (#1665) * Fix typos * Run prettier * Add version file --- .yarn/versions/186654ce.yml | 16 ++++++++++++++++ CHANGELOG.md | 2 +- CHANGELOG_V0.md | 2 +- crates/action-graph/src/action_graph.rs | 2 +- crates/action-graph/src/action_graph_builder.rs | 4 ++-- crates/action-graph/tests/action_graph_test.rs | 2 +- crates/codegen/src/codegen.rs | 2 +- crates/codegen/src/codegen_error.rs | 2 +- crates/config/src/project/dep_config.rs | 2 +- crates/config/src/project_config.rs | 2 +- crates/project-builder/src/project_builder.rs | 2 +- crates/task-runner/src/command_executor.rs | 4 ++-- legacy/node/lang/src/pnpm/dependency_path.rs | 2 +- packages/types/src/project-config.ts | 8 ++++---- website/blog/2022-09-01_v0.13.mdx | 2 +- website/blog/2023-01-04_2023-roadmap.mdx | 6 +++--- website/blog/2023-02-08_moonbase.mdx | 2 +- website/blog/2023-02-13_v0.24.mdx | 2 +- website/blog/2023-03-15_proto-v0.3.mdx | 2 +- website/blog/2023-04-21_proto-v0.7.mdx | 2 +- website/blog/2023-05-08_moon-v1.5.mdx | 2 +- website/blog/2023-08-21_moon-v1.12.mdx | 2 +- website/blog/2023-09-04_proto-v0.16.mdx | 2 +- website/blog/2023-12-19_proto-v0.26-rc.mdx | 4 ++-- website/blog/2023-12-21_proto-v0.26.mdx | 2 +- website/blog/2024-02-26_moon-v1.22.mdx | 2 +- website/blog/2024-03-25_moon-v1.23.mdx | 2 +- website/blog/2024-07-26_proto-v0.39.mdx | 2 +- website/blog/2024-09-02_moon-v1.28.mdx | 6 +++--- website/docs/comparison.mdx | 2 +- website/docs/concepts/task.mdx | 2 +- website/docs/config/workspace.mdx | 4 ++-- website/docs/faq.mdx | 2 +- website/docs/guides/extensions.mdx | 2 +- .../docs/guides/javascript/typescript-eslint.mdx | 2 +- .../javascript/typescript-project-refs.mdx | 4 ++-- website/docs/guides/webhooks.mdx | 12 ++++++------ website/docs/proto/commands/unalias.mdx | 2 +- website/docs/proto/toml-plugin.mdx | 4 ++-- website/src/data/proto-tools.tsx | 2 +- website/static/schemas/project.json | 4 ++-- 41 files changed, 75 insertions(+), 59 deletions(-) create mode 100644 .yarn/versions/186654ce.yml diff --git a/.yarn/versions/186654ce.yml b/.yarn/versions/186654ce.yml new file mode 100644 index 00000000000..c1d7f0409a5 --- /dev/null +++ b/.yarn/versions/186654ce.yml @@ -0,0 +1,16 @@ +releases: + "@moonrepo/cli": patch + "@moonrepo/core-linux-arm64-gnu": patch + "@moonrepo/core-linux-arm64-musl": patch + "@moonrepo/core-linux-x64-gnu": patch + "@moonrepo/core-linux-x64-musl": patch + "@moonrepo/core-macos-arm64": patch + "@moonrepo/core-macos-x64": patch + "@moonrepo/core-windows-x64-msvc": patch + "@moonrepo/types": patch + website: patch + +declined: + - "@moonrepo/nx-compat" + - "@moonrepo/report" + - "@moonrepo/runtime" diff --git a/CHANGELOG.md b/CHANGELOG.md index aef2d0f40f4..ef8024a846c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -189,7 +189,7 @@ may also have to unquarantine moon on your system. And lastly, we also suggest - Fixed an issue where a persistent task may not run or error with a missing dependency hash, if ran alongside many other persistent tasks. - Fixed an issue where "build" dependencies were being synced as project references. -- Fixed an issue where the install depenencies action wouldn't run if the vendor directory +- Fixed an issue where the install dependencies action wouldn't run if the vendor directory (node_modules) was missing, but our operation was previously cached. - Fixed an issue where token variables were not being replaced in task scripts. diff --git a/CHANGELOG_V0.md b/CHANGELOG_V0.md index af886568ab6..4f1f3e7aadd 100644 --- a/CHANGELOG_V0.md +++ b/CHANGELOG_V0.md @@ -285,7 +285,7 @@ immediately see the benefits in your CI pipelines. - Fixed an issue where directories in task `inputs` not using `**/*` would crash git. - Fixed an issue where the project graph cache was not always resetting based on changes. -- Fixed an issue where run report action durations were innacurate. +- Fixed an issue where run report action durations were inaccurate. #### ⚙️ Internal diff --git a/crates/action-graph/src/action_graph.rs b/crates/action-graph/src/action_graph.rs index 10713c8fef1..70bf2514a57 100644 --- a/crates/action-graph/src/action_graph.rs +++ b/crates/action-graph/src/action_graph.rs @@ -23,7 +23,7 @@ impl ActionGraph { ActionGraph { graph } } - pub fn creater_iter(&self, indices: Vec) -> ActionGraphIter { + pub fn create_iter(&self, indices: Vec) -> ActionGraphIter { ActionGraphIter::new(&self.graph, indices) } diff --git a/crates/action-graph/src/action_graph_builder.rs b/crates/action-graph/src/action_graph_builder.rs index c6c89b574cc..7f6e06c710f 100644 --- a/crates/action-graph/src/action_graph_builder.rs +++ b/crates/action-graph/src/action_graph_builder.rs @@ -530,12 +530,12 @@ impl<'app> ActionGraphBuilder<'app> { self.initial_targets.insert(target.clone()); // Run the target - let (inserted_targets, inserted_indicies) = self.run_task_by_target(target, &reqs)?; + let (inserted_targets, inserted_indices) = self.run_task_by_target(target, &reqs)?; // Track the primary targets self.primary_targets.extend(inserted_targets); - inserted_nodes.extend(inserted_indicies); + inserted_nodes.extend(inserted_indices); } Ok(inserted_nodes) diff --git a/crates/action-graph/tests/action_graph_test.rs b/crates/action-graph/tests/action_graph_test.rs index bc27f0671ec..699d661b729 100644 --- a/crates/action-graph/tests/action_graph_test.rs +++ b/crates/action-graph/tests/action_graph_test.rs @@ -56,7 +56,7 @@ fn create_rust_runtime() -> Runtime { fn topo(graph: ActionGraph) -> Vec { let mut nodes = vec![]; - let mut iter = graph.creater_iter(graph.sort_topological().unwrap()); + let mut iter = graph.create_iter(graph.sort_topological().unwrap()); while iter.has_pending() { if let Some(index) = iter.next() { diff --git a/crates/codegen/src/codegen.rs b/crates/codegen/src/codegen.rs index 767a9951850..09c3bb79c2a 100644 --- a/crates/codegen/src/codegen.rs +++ b/crates/codegen/src/codegen.rs @@ -69,7 +69,7 @@ impl<'app> CodeGenerator<'app> { Template::new(Id::clean(fs::file_name(&template_root))?, template_root)?; if let Some(existing_template) = self.templates.get(&template.id) { - return Err(CodegenError::DulicateTemplate { + return Err(CodegenError::DuplicateTemplate { id: template.id, original: existing_template.root.clone(), current: template.root, diff --git a/crates/codegen/src/codegen_error.rs b/crates/codegen/src/codegen_error.rs index 0c077348a02..bfb1fe398a6 100644 --- a/crates/codegen/src/codegen_error.rs +++ b/crates/codegen/src/codegen_error.rs @@ -41,7 +41,7 @@ pub enum CodegenError { .original.style(Style::Path), .current.style(Style::Path), )] - DulicateTemplate { + DuplicateTemplate { id: Id, original: PathBuf, current: PathBuf, diff --git a/crates/config/src/project/dep_config.rs b/crates/config/src/project/dep_config.rs index 0d302ced0bf..f4dd56b48ac 100644 --- a/crates/config/src/project/dep_config.rs +++ b/crates/config/src/project/dep_config.rs @@ -37,7 +37,7 @@ cacheable!( /// Scope of the dependency relationship. pub scope: DependencyScope, - /// Source of where the dependeny came from. + /// Source of where the dependency came from. pub source: DependencySource, /// Metadata about the source. diff --git a/crates/config/src/project_config.rs b/crates/config/src/project_config.rs index b990e65de05..d2c7e8e4572 100644 --- a/crates/config/src/project_config.rs +++ b/crates/config/src/project_config.rs @@ -147,7 +147,7 @@ cacheable!( /// The technology stack of the project, for categorizing. pub stack: StackType, - /// A list of tags that this project blongs to, for categorizing, + /// A list of tags that this project belongs to, for categorizing, /// boundary enforcement, and task inheritance. pub tags: Vec, diff --git a/crates/project-builder/src/project_builder.rs b/crates/project-builder/src/project_builder.rs index 2775a537f0e..a815f0223e2 100644 --- a/crates/project-builder/src/project_builder.rs +++ b/crates/project-builder/src/project_builder.rs @@ -261,7 +261,7 @@ impl<'app> ProjectBuilder<'app> { } } - // Tasks can depend on arbitray projects, so include them also + // Tasks can depend on arbitrary projects, so include them also for task_config in tasks.values() { for task_dep in &task_config.deps { if let TargetScope::Project(dep_id) = &task_dep.target.scope { diff --git a/crates/task-runner/src/command_executor.rs b/crates/task-runner/src/command_executor.rs index 3074b20e82e..3f92b1a4906 100644 --- a/crates/task-runner/src/command_executor.rs +++ b/crates/task-runner/src/command_executor.rs @@ -78,7 +78,7 @@ impl<'task> CommandExecutor<'task> { // Prepare state for the executor, and each attempt let mut run_state = TargetState::Failed; - self.prepate_state(context, report_item); + self.prepare_state(context, report_item); // For long-running process, log a message on an interval to indicate it's still running self.start_monitoring(); @@ -228,7 +228,7 @@ impl<'task> CommandExecutor<'task> { } } - fn prepate_state(&mut self, context: &ActionContext, report_item: &mut TaskReportItem) { + fn prepare_state(&mut self, context: &ActionContext, report_item: &mut TaskReportItem) { let is_primary = context.is_primary_target(&self.task.target); let mut output_prefix = None; diff --git a/legacy/node/lang/src/pnpm/dependency_path.rs b/legacy/node/lang/src/pnpm/dependency_path.rs index 001d1cc7af0..fd60d9d0132 100644 --- a/legacy/node/lang/src/pnpm/dependency_path.rs +++ b/legacy/node/lang/src/pnpm/dependency_path.rs @@ -181,7 +181,7 @@ mod tests { } #[test] - fn parses_from_custom_regsitry_with_peer_deps() { + fn parses_from_custom_registry_with_peer_deps() { assert_eq!( PnpmDependencyPath::parse("example.com/foo/1.0.0_bar@2.0.0"), PnpmDependencyPath { diff --git a/packages/types/src/project-config.ts b/packages/types/src/project-config.ts index 52999651ecb..de23f2100c3 100644 --- a/packages/types/src/project-config.ts +++ b/packages/types/src/project-config.ts @@ -26,7 +26,7 @@ export interface DependencyConfig { */ scope: DependencyScope; /** - * Source of where the dependeny came from. + * Source of where the dependency came from. * * @default 'explicit' * @type {'explicit' | 'implicit'} @@ -255,7 +255,7 @@ export interface ProjectConfig { */ stack: StackType; /** - * A list of tags that this project blongs to, for categorizing, + * A list of tags that this project belongs to, for categorizing, * boundary enforcement, and task inheritance. */ tags: string[]; @@ -285,7 +285,7 @@ export interface PartialDependencyConfig { */ scope?: DependencyScope | null; /** - * Source of where the dependeny came from. + * Source of where the dependency came from. * * @default 'explicit' */ @@ -484,7 +484,7 @@ export interface PartialProjectConfig { */ stack?: StackType | null; /** - * A list of tags that this project blongs to, for categorizing, + * A list of tags that this project belongs to, for categorizing, * boundary enforcement, and task inheritance. */ tags?: string[] | null; diff --git a/website/blog/2022-09-01_v0.13.mdx b/website/blog/2022-09-01_v0.13.mdx index af9b0cea878..7168aa364dc 100644 --- a/website/blog/2022-09-01_v0.13.mdx +++ b/website/blog/2022-09-01_v0.13.mdx @@ -6,7 +6,7 @@ tags: [hasher, toolchain] --- With this release, we've landed some improvements to our smart hashing, and paved the road for -additional languagues and tooling. +additional languages and tooling. diff --git a/website/blog/2023-01-04_2023-roadmap.mdx b/website/blog/2023-01-04_2023-roadmap.mdx index 73de634b95d..7e7ea3fcd9c 100644 --- a/website/blog/2023-01-04_2023-roadmap.mdx +++ b/website/blog/2023-01-04_2023-roadmap.mdx @@ -29,7 +29,7 @@ community and our long-term vision, with some such features as: - Code generation / scaffolding - Dockerfile integration - Remote caching -- New langauage agnostic toolchain +- New language agnostic toolchain - Onboarding of 5 new languages: Rust, Go, PHP, Python, Ruby - Rewritten project and dependency graphs - Project-level toolchain overrides @@ -111,12 +111,12 @@ However, that's not the entirety of the frontend ecosystem, as [Deno](https://de [Bun](https://bun.sh/) have been gaining traction this past year, and of course, moon will support both of them as first-class platforms by end of year. -Futhermore, we recently landed tier 1 support for 5 new languages: Rust, Ruby, PHP, Python, and Go. +Furthermore, we recently landed tier 1 support for 5 new languages: Rust, Ruby, PHP, Python, and Go. Our end of year goal for these languages is to provide full tier 2 support. Tier 3 support is still an unknown, as we need to investigate the best possible way to integrate these languages into the toolchain (this work is ongoing). We'll also add new languages based on demand. -With all that being said, this is our tenative timeline around +With all that being said, this is our tentative timeline around [language support](/docs#supported-languages) (which may shift at any time): - **Q1** diff --git a/website/blog/2023-02-08_moonbase.mdx b/website/blog/2023-02-08_moonbase.mdx index 536753777f2..afc1df44319 100644 --- a/website/blog/2023-02-08_moonbase.mdx +++ b/website/blog/2023-02-08_moonbase.mdx @@ -28,7 +28,7 @@ improvements in CI times, upwards of 90%. ## What is moonbase? You may be asking yourself, what is moonbase? [moonbase](/moonbase) is a new cloud service that -we've been working on to solve an array of problems in regards to repository and continous +we've been working on to solve an array of problems in regards to repository and continuous integration health. diff --git a/website/blog/2023-02-13_v0.24.mdx b/website/blog/2023-02-13_v0.24.mdx index cbc98b7d1a5..feb6e4ab1be 100644 --- a/website/blog/2023-02-13_v0.24.mdx +++ b/website/blog/2023-02-13_v0.24.mdx @@ -163,7 +163,7 @@ full list of changes. support. - Added a `hasher.walkStrategy` setting to `.moon/workspace.yml`. - Updated task `outputs` to support token functions (`@group`, `@globs`, etc). -- Reworked our comparison/baseline estimations calcuations. +- Reworked our comparison/baseline estimations calculations. ## What's next? diff --git a/website/blog/2023-03-15_proto-v0.3.mdx b/website/blog/2023-03-15_proto-v0.3.mdx index feb2e07d7d7..bda9d47569e 100644 --- a/website/blog/2023-03-15_proto-v0.3.mdx +++ b/website/blog/2023-03-15_proto-v0.3.mdx @@ -47,7 +47,7 @@ $ proto install go -- --no-gobin ## Better version requirement detection -Previously when proto encounted a version requirement (`^`, `~`, `>=`, etc) during version +Previously when proto encountered a version requirement (`^`, `~`, `>=`, etc) during version detection, we would attempt to resolve a version that satisfied the requirement based on versions available in the remote manifest (what's been officially released). While this worked, it would result in far too many local installs as that satisfied version constantly changed. diff --git a/website/blog/2023-04-21_proto-v0.7.mdx b/website/blog/2023-04-21_proto-v0.7.mdx index 19ed2825b33..0b9fde87d3f 100644 --- a/website/blog/2023-04-21_proto-v0.7.mdx +++ b/website/blog/2023-04-21_proto-v0.7.mdx @@ -42,7 +42,7 @@ All 4 of these pieces can be solved with a configuration file, and as such, we o other benefits of a schema is that it's _easy to write, read, and maintain_, doesn't require any code, and doesn't force you into a specific programming language. -To demonstate how this plugin works, here's an example of a [moon](/moon) TOML schema. +To demonstrate how this plugin works, here's an example of a [moon](/moon) TOML schema. ```toml title="moon-schema.toml" name = "moon" diff --git a/website/blog/2023-05-08_moon-v1.5.mdx b/website/blog/2023-05-08_moon-v1.5.mdx index 0565d997906..bc93f6aa550 100644 --- a/website/blog/2023-05-08_moon-v1.5.mdx +++ b/website/blog/2023-05-08_moon-v1.5.mdx @@ -78,7 +78,7 @@ tasks: platform: 'rust' ``` -> We also attempt to detect this automatially by comparing command names and checking for the +> We also attempt to detect this automatically by comparing command names and checking for the > existence of files like `Cargo.toml`. ## Updated `moon init` command diff --git a/website/blog/2023-08-21_moon-v1.12.mdx b/website/blog/2023-08-21_moon-v1.12.mdx index b340f898497..6f0295504cf 100644 --- a/website/blog/2023-08-21_moon-v1.12.mdx +++ b/website/blog/2023-08-21_moon-v1.12.mdx @@ -110,7 +110,7 @@ tasks: interactive: true ``` -## Tokens in enviroment variables +## Tokens in environment variables Up until now, [token functions and variables](/docs/concepts/token) were only supported in task commands, args, inputs, and outputs, but not environment variables... why? Honestly, there was no diff --git a/website/blog/2023-09-04_proto-v0.16.mdx b/website/blog/2023-09-04_proto-v0.16.mdx index 4351018ff77..8ce347553a7 100644 --- a/website/blog/2023-09-04_proto-v0.16.mdx +++ b/website/blog/2023-09-04_proto-v0.16.mdx @@ -47,7 +47,7 @@ tool, its manifest, _all_ installed versions, and the entire `~/.proto/tools/ -moon avoids this overhead by using [task inheritance](#unique-features). No more repitition. +moon avoids this overhead by using [task inheritance](#unique-features). No more repetition. } diff --git a/website/docs/concepts/task.mdx b/website/docs/concepts/task.mdx index 5f919f8ae89..35084b5d4fc 100644 --- a/website/docs/concepts/task.mdx +++ b/website/docs/concepts/task.mdx @@ -128,7 +128,7 @@ replace values. Refer to the table below for more differences between the 2. | | Command | Script | | :--------------------------------------- | :------------------------ | :----------------- | -| Configued as | string, array | string | +| Configured as | string, array | string | | Inheritance merging | ✅ via `mergeArgs` option | ⚠️ always replaces | | Additional args | ✅ via `args` setting | ❌ | | Passthrough args (from CLI) | ✅ | ❌ | diff --git a/website/docs/config/workspace.mdx b/website/docs/config/workspace.mdx index 7b5e84f4910..a578536740d 100644 --- a/website/docs/config/workspace.mdx +++ b/website/docs/config/workspace.mdx @@ -641,8 +641,8 @@ vcs: -(Git only) Defines a list of remote candidates to query agaist to determine merge bases. Defaults to -"origin" and "upstream". +(Git only) Defines a list of remote candidates to query against to determine merge bases. Defaults +to "origin" and "upstream". ```yaml title=".moon/workspace.yml" {2-4} vcs: diff --git a/website/docs/faq.mdx b/website/docs/faq.mdx index 791b3758dfe..735a4b44e65 100644 --- a/website/docs/faq.mdx +++ b/website/docs/faq.mdx @@ -230,7 +230,7 @@ hardest: - Run moon in a Docker container/image that has the correct environment and libs. For example, the `node:latest` image. -- Upgrade the enviroment to a newer one. For example, Ubuntu 18 -> 22. +- Upgrade the environment to a newer one. For example, Ubuntu 18 -> 22. - Try and install a newer libc ([more information](https://stackoverflow.com/questions/72513993/how-install-glibc-2-29-or-higher-in-ubuntu-18-04)). diff --git a/website/docs/guides/extensions.mdx b/website/docs/guides/extensions.mdx index de70314bb4d..1e0ab374b0f 100644 --- a/website/docs/guides/extensions.mdx +++ b/website/docs/guides/extensions.mdx @@ -103,7 +103,7 @@ likely be required! We suggest testing each converted task 1-by-1 to ensure it w The following features are not supported in moon, and are ignored when converting. - Most settings in `nx.json`. -- Named input variants: externel dependencies, dependent task output files, dependent project +- Named input variants: external dependencies, dependent task output files, dependent project inputs, or runtime commands. - Target `configurations` and `defaultConfiguration`. Another task will be created instead that uses `extends`. diff --git a/website/docs/guides/javascript/typescript-eslint.mdx b/website/docs/guides/javascript/typescript-eslint.mdx index 1e06525029b..fc47118ada0 100644 --- a/website/docs/guides/javascript/typescript-eslint.mdx +++ b/website/docs/guides/javascript/typescript-eslint.mdx @@ -66,7 +66,7 @@ extension. ```json title=".vscode/settings.json" { // Use Prettier as the default formatter for all file types. Types not - // supported by Prettier can be overriden using bracket syntax, or ignore files. + // supported by Prettier can be overridden using bracket syntax, or ignore files. "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true } diff --git a/website/docs/guides/javascript/typescript-project-refs.mdx b/website/docs/guides/javascript/typescript-project-refs.mdx index b2060ffd3d5..2d72d060ba6 100644 --- a/website/docs/guides/javascript/typescript-project-refs.mdx +++ b/website/docs/guides/javascript/typescript-project-refs.mdx @@ -67,7 +67,7 @@ perfect and can most definitely be expanded upon or modified to fit your needs. ### Root-level In a polyrepo, the root `tsconfig.json` is typically the only configuration file, as it defines -common compiler options, and includes files to typecheck. In a monorepo, these responsibilites are +common compiler options, and includes files to typecheck. In a monorepo, these responsibilities are now split across multiple configuration files. #### `tsconfig.json` @@ -700,7 +700,7 @@ We'd love to answer your questions and help anyway that we can. Feel free to... Short answer, no. If you have less than say 10 projects, references may be overkill. If your repository is primarily an application, but then has a handful of shared npm packages, references -may also be unncessary here. In the end, it really depends on how many projects exist in the +may also be unnecessary here. In the end, it really depends on how many projects exist in the monorepo, and what your team/company is comfortable with. However, we do suggest using project references for very large monorepos (think 100s of projects), diff --git a/website/docs/guides/webhooks.mdx b/website/docs/guides/webhooks.mdx index 1be5ee9c26c..69603a3530d 100644 --- a/website/docs/guides/webhooks.mdx +++ b/website/docs/guides/webhooks.mdx @@ -384,8 +384,8 @@ Tools can be scoped with the `SetupToolchain(...)` labels. -Triggered when a [task](../concepts/task) has started to run (via -[`moon run`](../commands/run) or similar command). +Triggered when a [task](../concepts/task) has started to run (via [`moon run`](../commands/run) or +similar command). ```json { @@ -403,12 +403,12 @@ Triggered when a [task](../concepts/task) has started to run (via -Triggered when a [task](../concepts/task) has finished running. If the run failed, the `error` -field will be set with the error message. +Triggered when a [task](../concepts/task) has finished running. If the run failed, the `error` field +will be set with the error message. For more information about the action, refer to the [`action.finished`](#actionfinished) event. Ran -tasks can be scoped with the `RunTask(...)`, `RunInteractiveTask(...)`, and -`RunPersistentTask(...)` labels. +tasks can be scoped with the `RunTask(...)`, `RunInteractiveTask(...)`, and `RunPersistentTask(...)` +labels. ```json { diff --git a/website/docs/proto/commands/unalias.mdx b/website/docs/proto/commands/unalias.mdx index b2dc4c7f713..bec9d70936c 100644 --- a/website/docs/proto/commands/unalias.mdx +++ b/website/docs/proto/commands/unalias.mdx @@ -17,7 +17,7 @@ the location. ### Arguments - `` - Type of tool. -- `` - Name of the alias. Supports alpanumeric chars. +- `` - Name of the alias. Supports alphanumeric chars. ## Options diff --git a/website/docs/proto/toml-plugin.mdx b/website/docs/proto/toml-plugin.mdx index 27f90e1e095..1e8cc892ad2 100644 --- a/website/docs/proto/toml-plugin.mdx +++ b/website/docs/proto/toml-plugin.mdx @@ -71,7 +71,7 @@ You may have noticed tokens above, like `{arch}`. These are special tokens that dynamic value at runtime, based on the current host machine executing the code. The following tokens are available: -- `{version}` - The currently resolved version, as a fully-qualifed semantic version: +- `{version}` - The currently resolved version, as a fully-qualified semantic version: `major.minor.patch`. - `{arch}` - The architecture of the host machine, like `x86_64`. These values map to Rust's [`ARCH` constant](https://doc.rust-lang.org/std/env/consts/constant.ARCH.html), but can be @@ -162,7 +162,7 @@ are stored. - `globals-lookup-dirs` - A list of directories where global binaries are stored. This setting supports interpolating environment variables via the syntax `$ENV_VAR`. - `globals-prefix` - A string that all package names are prefixed with. For example, Cargo/Rust - binaries are prefixed wih `cargo-`. + binaries are prefixed with `cargo-`. ```toml title="protostar.toml" # ... diff --git a/website/src/data/proto-tools.tsx b/website/src/data/proto-tools.tsx index 3447c0d0745..fe2e8b31144 100644 --- a/website/src/data/proto-tools.tsx +++ b/website/src/data/proto-tools.tsx @@ -12,7 +12,7 @@ export interface ProtoTool { id: string; author: string | { name: string; email?: string; url?: string }; - // Availble global binaries/directories: + // Available global binaries/directories: // https://moonrepo.dev/docs/proto/wasm-plugin#locating-binaries bins?: string[]; globalsDirs?: string[]; diff --git a/website/static/schemas/project.json b/website/static/schemas/project.json index 4034ab389fe..12044ec6fe8 100644 --- a/website/static/schemas/project.json +++ b/website/static/schemas/project.json @@ -119,7 +119,7 @@ }, "tags": { "title": "tags", - "description": "A list of tags that this project blongs to, for categorizing, boundary enforcement, and task inheritance.", + "description": "A list of tags that this project belongs to, for categorizing, boundary enforcement, and task inheritance.", "type": "array", "items": { "type": "string" @@ -190,7 +190,7 @@ }, "source": { "title": "source", - "description": "Source of where the dependeny came from.", + "description": "Source of where the dependency came from.", "default": "explicit", "allOf": [ {