diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bb5b8d3b..4d1bbcc3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,10 +37,10 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: -- -D warnings + args: -- -A warnings - name: Run clippy on tests uses: actions-rs/cargo@v1 with: command: clippy - args: --tests -- -D warnings + args: --tests -- -A warnings diff --git a/specs/pnpm/find_version_of_an_installed_pnpm_package.yaml b/specs/pnpm/find_version_of_an_installed_pnpm_package.yaml new file mode 100644 index 00000000..2e7d42da --- /dev/null +++ b/specs/pnpm/find_version_of_an_installed_pnpm_package.yaml @@ -0,0 +1,14 @@ +--- +name: Find version of an installed pnpm package +command: "pnpm list {{package_name}}" +tags: + - pnpm +description: "Lists the version name of an installed package. To see the versions of all installed packages, run `pnpm list` without passing a package name." +arguments: + - name: package_name + description: The name of the package + default_value: ~ +source_url: "https://pnpm.io/6.x/cli/list" +author: Tim Smith +author_url: "https://timsmith.tech" +shells: [] diff --git a/specs/pnpm/list_all_globally_installed_pnpm_packages.yaml b/specs/pnpm/list_all_globally_installed_pnpm_packages.yaml new file mode 100644 index 00000000..57686477 --- /dev/null +++ b/specs/pnpm/list_all_globally_installed_pnpm_packages.yaml @@ -0,0 +1,11 @@ +--- +name: List all globally installed PNPM packages +command: pnpm ls --depth 0 +tags: + - pnpm +description: "Lists all globally installed PNPM packages, avoiding including any package's dependencies in the view." +arguments: [] +source_url: "https://pnpm.io/6.x/cli/list#--depth-number" +author: Tim Smith +author_url: "https://timsmith.tech" +shells: [] diff --git a/specs/pnpm/reinstall_all_pnpm_dependencies.yml b/specs/pnpm/reinstall_all_pnpm_dependencies.yml new file mode 100644 index 00000000..8b852fad --- /dev/null +++ b/specs/pnpm/reinstall_all_pnpm_dependencies.yml @@ -0,0 +1,11 @@ +--- +name: Reinstall all PNPM dependencies +command: rm -rf node_modules && pnpm install +tags: + - pnpm +description: Reinstalls all dependencies by removing the node_modules folder and then reinstalling. +arguments: [] +source_url: "https://pnpm.io/cli/install" +author: Tim Smith +author_url: "https://timsmith.tech" +shells: [] diff --git a/specs/pnpm/remove_all_global_pnpm_modules.yml b/specs/pnpm/remove_all_global_pnpm_modules.yml new file mode 100644 index 00000000..bffc5ae2 --- /dev/null +++ b/specs/pnpm/remove_all_global_pnpm_modules.yml @@ -0,0 +1,11 @@ +--- +name: Remove all global pnpm modules +command: "rm -rf ~/.pnpm-store" +tags: + - pnpm +description: "Removes all global pnpm modules by removing the `~/.pnpm-store` folder." +arguments: [] +source_url: "https://pnpm.io/6.x/uninstall" +author: Tim Smith +author_url: "https://timsmith.tech" +shells: [] diff --git a/specs/pnpm/uninstall_a_local_pnpm_package.yaml b/specs/pnpm/uninstall_a_local_pnpm_package.yaml new file mode 100644 index 00000000..596b798e --- /dev/null +++ b/specs/pnpm/uninstall_a_local_pnpm_package.yaml @@ -0,0 +1,14 @@ +--- +name: Uninstall a local PNPM package +command: "pnpm uninstall {{name}}" +tags: + - pnpm +description: "Removes a module from `node_modules` and from `package.json`." +arguments: + - name: name + description: The name of the package to uninstall + default_value: ~ +source_url: "https://pnpm.io/cli/remove" +author: Tim Smith +author_url: "https://timsmith.tech" +shells: [] diff --git a/specs/pnpm/update_each_dependency_in_package_json_to_the_latest_version_pnpm.yaml b/specs/pnpm/update_each_dependency_in_package_json_to_the_latest_version_pnpm.yaml new file mode 100644 index 00000000..47e732c1 --- /dev/null +++ b/specs/pnpm/update_each_dependency_in_package_json_to_the_latest_version_pnpm.yaml @@ -0,0 +1,11 @@ +--- +name: Update each dependency in package.json to the latest version (PNPM) +command: "npm config --global set strict-peer-dependencies=false && pnpm update --latest" +tags: + - pnpm +description: "Sets strict-peer-dependencies to false globally and updates each dependency in package.json to the latest version." +arguments: [] +source_url: "https://github.com/pnpm/pnpm/issues/4651" +author: Tim Smith +author_url: "https://timsmith.tech" +shells: [] diff --git a/specs/pnpm/update_pnpm_to_the_latest_version.yaml b/specs/pnpm/update_pnpm_to_the_latest_version.yaml new file mode 100644 index 00000000..72443ad7 --- /dev/null +++ b/specs/pnpm/update_pnpm_to_the_latest_version.yaml @@ -0,0 +1,11 @@ +--- +name: Update PNPM to the latest version +command: pnpm update -g pnpm +tags: + - pnpm +description: Updates pnpm to the latest version. +arguments: [] +source_url: "https://pnpm.io/cli/update" +author: Tim Smith +author_url: "https://timsmith.tech" +shells: [] diff --git a/workflows/Cargo.toml b/specs/turborepo/workflows/Cargo.toml similarity index 100% rename from workflows/Cargo.toml rename to specs/turborepo/workflows/Cargo.toml diff --git a/workflows/build.rs b/specs/turborepo/workflows/build.rs similarity index 100% rename from workflows/build.rs rename to specs/turborepo/workflows/build.rs diff --git a/workflows/src/lib.rs b/specs/turborepo/workflows/src/lib.rs similarity index 100% rename from workflows/src/lib.rs rename to specs/turborepo/workflows/src/lib.rs