@hurshb50/setup-ubuntu 1.0.1 → 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.
package/README.md CHANGED
@@ -7,9 +7,11 @@ Sets up a fresh Ubuntu machine with tools, configuration, and dotfiles.
7
7
  ```bash
8
8
  sudo apt update && sudo apt install -y curl ca-certificates
9
9
  curl -fsSL https://vite.plus | bash
10
- vpx @hurshb50/setup-ubuntu
10
+ VP_PACKAGE_MANAGER=npm@12 vpx @hurshb50/setup-ubuntu
11
11
  ```
12
12
 
13
+ Vite+ defaults to pnpm, which can hold back freshly published releases. The setup pins npm globally, so later commands need no prefix.
14
+
13
15
  ## After Installation
14
16
 
15
17
  Open a new terminal, then:
@@ -29,6 +29,10 @@ function path() {
29
29
  export PATH="$HOME/.local/bin:$PATH"
30
30
  }
31
31
 
32
+ function package_manager() {
33
+ export VP_PACKAGE_MANAGER="npm@12"
34
+ }
35
+
32
36
  function setup_history() {
33
37
  shopt -s histappend
34
38
  shopt -s checkwinsize
@@ -131,6 +135,7 @@ function run() {
131
135
  fi
132
136
 
133
137
  path
138
+ package_manager
134
139
  load_auto_suggestion
135
140
  setup_history
136
141
  completion
@@ -10,7 +10,7 @@ import fs from "fs/promises";
10
10
  import { execa } from "execa";
11
11
  //#region package.json
12
12
  var name = "@hurshb50/setup-ubuntu";
13
- var version = "1.0.0";
13
+ var version = "1.0.1";
14
14
  //#endregion
15
15
  //#region source/modules/logger/logger.ts
16
16
  var Logger = class Logger {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hurshb50/setup-ubuntu",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "distribution"