@sebastienrousseau/dotfiles 0.2.455 β 0.2.457
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 +21 -7
- package/dist/Makefile +78 -0
- package/dist/bin/backup.d.ts +3 -0
- package/dist/bin/backup.d.ts.map +1 -0
- package/dist/bin/backup.js +3 -0
- package/dist/bin/backup.js.map +1 -0
- package/dist/bin/compile.sh +16 -0
- package/dist/bin/constants.d.ts +5 -0
- package/dist/bin/constants.d.ts.map +1 -0
- package/dist/bin/constants.js +2 -0
- package/dist/bin/constants.js.map +1 -0
- package/dist/bin/copy.d.ts +3 -0
- package/dist/bin/copy.d.ts.map +1 -0
- package/dist/bin/copy.js +2 -0
- package/dist/bin/copy.js.map +1 -0
- package/dist/bin/copy.sh +21 -0
- package/dist/bin/dotfiles.d.ts +3 -0
- package/dist/bin/dotfiles.d.ts.map +1 -0
- package/dist/bin/dotfiles.js +4 -0
- package/dist/bin/dotfiles.js.map +1 -0
- package/dist/bin/dotfiles.sh +185 -0
- package/dist/bin/download.d.ts +3 -0
- package/dist/bin/download.d.ts.map +1 -0
- package/dist/bin/download.js +2 -0
- package/dist/bin/download.js.map +1 -0
- package/dist/bin/index.d.ts +2 -0
- package/dist/bin/index.d.ts.map +1 -0
- package/dist/bin/index.js +1 -0
- package/dist/bin/index.js.map +1 -0
- package/dist/bin/transfer.d.ts +3 -0
- package/dist/bin/transfer.d.ts.map +1 -0
- package/dist/bin/transfer.js +4 -0
- package/dist/bin/transfer.js.map +1 -0
- package/dist/bin/unpack.d.ts +3 -0
- package/dist/bin/unpack.d.ts.map +1 -0
- package/dist/bin/unpack.js +3 -0
- package/dist/bin/unpack.js.map +1 -0
- package/dist/filesizes.txt +232 -0
- package/dist/shell/README.md +3 -0
- package/dist/shell/aliases/default/default.aliases.sh +199 -0
- package/dist/shell/aliases/gcloud/gcloud.aliases.sh +121 -0
- package/dist/shell/aliases/heroku/heroku.aliases.sh +1031 -0
- package/dist/shell/aliases/jekyll/jekyll.aliases.sh +50 -0
- package/dist/shell/aliases/pnpm/pnpm.aliases.sh +42 -0
- package/dist/shell/aliases/subversion/subversion.aliases.sh +123 -0
- package/dist/shell/aliases/tmux/tmux.aliases.sh +14 -0
- package/dist/shell/aliases.sh +12 -0
- package/dist/shell/configurations/README.md +3 -0
- package/dist/shell/configurations/bash/bashrc +36 -0
- package/dist/shell/configurations/curl/cacert.pem +3460 -0
- package/dist/shell/configurations/curl/curlrc +55 -0
- package/dist/shell/configurations/default/color.sh +22 -0
- package/dist/shell/configurations/default/editor.sh +16 -0
- package/dist/shell/configurations/default/prompt.sh +37 -0
- package/dist/shell/configurations/input/inputrc +22 -0
- package/dist/shell/configurations/jshint/jshintrc +37 -0
- package/dist/shell/configurations/profile/profile +36 -0
- package/dist/shell/configurations/tmux/tmux +95 -0
- package/dist/shell/configurations/vim/vimrc +73 -0
- package/dist/shell/configurations/wget/wgetrc +39 -0
- package/dist/shell/configurations/zsh/zshrc +50 -0
- package/dist/shell/configurations.sh +10 -0
- package/dist/shell/exit.sh +9 -0
- package/dist/shell/functions/README.md +3 -0
- package/dist/shell/functions/cdls.sh +19 -0
- package/dist/shell/functions/curlheader.sh +20 -0
- package/dist/shell/functions/curltime.sh +31 -0
- package/dist/shell/functions/encode64.sh +25 -0
- package/dist/shell/functions/environment.sh +37 -0
- package/dist/shell/functions/extract.sh +32 -0
- package/dist/shell/functions/filehead.sh +4 -0
- package/dist/shell/functions/genpwd.sh +14 -0
- package/dist/shell/functions/goto.sh +14 -0
- package/dist/shell/functions/hidehiddenfiles.sh +12 -0
- package/dist/shell/functions/hostinfo.sh +25 -0
- package/dist/shell/functions/hstats.sh +9 -0
- package/dist/shell/functions/httpdebug.sh +7 -0
- package/dist/shell/functions/keygen.sh +23 -0
- package/dist/shell/functions/last.sh +9 -0
- package/dist/shell/functions/logout.sh +10 -0
- package/dist/shell/functions/lowercase.sh +28 -0
- package/dist/shell/functions/macos.sh +47 -0
- package/dist/shell/functions/matrix.sh +9 -0
- package/dist/shell/functions/mcd.sh +18 -0
- package/dist/shell/functions/mount_read_only.sh +9 -0
- package/dist/shell/functions/myproc.sh +7 -0
- package/dist/shell/functions/prependpath.sh +19 -0
- package/dist/shell/functions/ql.sh +7 -0
- package/dist/shell/functions/rd.sh +15 -0
- package/dist/shell/functions/remove_disk.sh +9 -0
- package/dist/shell/functions/ren.sh +11 -0
- package/dist/shell/functions/showhiddenfiles.sh +12 -0
- package/dist/shell/functions/size.sh +13 -0
- package/dist/shell/functions/stopwatch.sh +13 -0
- package/dist/shell/functions/uppercase.sh +28 -0
- package/dist/shell/functions/view-source.sh +8 -0
- package/dist/shell/functions/vscode.sh +31 -0
- package/dist/shell/functions/whoisport.sh +12 -0
- package/dist/shell/functions/zipf.sh +14 -0
- package/dist/shell/functions.sh +10 -0
- package/dist/shell/history.sh +107 -0
- package/dist/shell/paths/ant/ant.paths.sh +15 -0
- package/dist/shell/paths/default/default.paths.sh +17 -0
- package/dist/shell/paths/homebrew/homebrew.paths.sh +25 -0
- package/dist/shell/paths/java/java.paths.sh +16 -0
- package/dist/shell/paths/maven/maven.paths.sh +17 -0
- package/dist/shell/paths/node/node.paths.sh +13 -0
- package/dist/shell/paths/nvm/nvm.paths.sh +21 -0
- package/dist/shell/paths/pnpm/pnpm.paths.sh +13 -0
- package/dist/shell/paths/python/python.paths.sh +29 -0
- package/dist/shell/paths/ruby/ruby.paths.sh +23 -0
- package/dist/shell/paths/tmux/tmux.paths.sh +15 -0
- package/dist/shell/paths.sh +12 -0
- package/package.json +27 -30
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
Ώπ
°ππ
·π
|
|
7
|
+
|
|
8
|
+
### Add 'PATH' entries.
|
|
9
|
+
export PATH=/usr/local/bin:"${PATH}" # Add /usr/local/bin to the path
|
|
10
|
+
export PATH=/usr/local/sbin:"${PATH}" # Add /usr/local/sbin to the path
|
|
11
|
+
export PATH=/usr/bin:"${PATH}" # Add /usr/bin to the path
|
|
12
|
+
export PATH=/bin:"${PATH}" # Add /bin to the path
|
|
13
|
+
export PATH=/usr/sbin:"${PATH}" # Add /usr/sbin to the path
|
|
14
|
+
export PATH=/sbin:"${PATH}" # Add /sbin to the path
|
|
15
|
+
export PATH="${HOME}"/.cargo/bin:"${PATH}" # Add ~/.cargo/bin to the path
|
|
16
|
+
export PATH="${HOME}"/.yarn/bin:"${PATH}" # Add ~/.yarn/bin to the path
|
|
17
|
+
export PATH="${HOME}"/go/bin:"${PATH}" # Add ~/go/bin to the path
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
·π
Ύπ
Όπ
΄π
±ππ
΄π π
Ώπ
°ππ
·π
|
|
7
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
8
|
+
|
|
9
|
+
### Uniquify 'PATH' entries.
|
|
10
|
+
# typeset -U PATH
|
|
11
|
+
|
|
12
|
+
export PATH=/opt/homebrew/bin:"${PATH}" # Homebrew binaries
|
|
13
|
+
export PATH=/opt/homebrew/sbin:"${PATH}" # Homebrew binaries
|
|
14
|
+
export PATH=/opt/homebrew/bin/bash:"${PATH}" # Add /opt/homebrew/bin/bash to the path
|
|
15
|
+
|
|
16
|
+
# Prevent Homebrew from reporting - https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md
|
|
17
|
+
export HOMEBREW_NO_ANALYTICS=1
|
|
18
|
+
|
|
19
|
+
# Automatically update Homebrew once a day.
|
|
20
|
+
export HOMEBREW_AUTO_UPDATE_SECS=86400
|
|
21
|
+
|
|
22
|
+
# set HOMEBREW_CASK_OPTS
|
|
23
|
+
HOMEBREW_CASK_OPTS="--appdir=/Applications"
|
|
24
|
+
export HOMEBREW_CASK_OPTS
|
|
25
|
+
fi
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
Ήπ
°π
π
°_π
·π
Ύπ
Όπ
΄
|
|
7
|
+
# Set JAVA_HOME
|
|
8
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
9
|
+
export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include"
|
|
10
|
+
export PATH=/opt/homebrew/opt/openjdk/bin:"${PATH}" # Java binaries
|
|
11
|
+
JAVA_HOME="/opt/homebrew/Cellar/openjdk/$(java -version 2>&1 | head -n 1 | cut -d'"' -f2)/libexec/openjdk.jdk/Contents/Home"
|
|
12
|
+
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
13
|
+
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-arm64/"
|
|
14
|
+
fi
|
|
15
|
+
export JAVA_HOME
|
|
16
|
+
export JRE_HOME="${JAVA_HOME}"/jre
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
Όπ
°π
π
΄π
½ π
·π
Ύπ
Όπ
΄
|
|
7
|
+
if [[ -z "${MAVEN_HOME}" ]]; then
|
|
8
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
9
|
+
MAVEN_HOME=/opt/homebrew/Cellar/maven/3.8.6/libexec
|
|
10
|
+
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
11
|
+
MAVEN_HOME="/usr/share/maven/"
|
|
12
|
+
fi
|
|
13
|
+
M2_HOME="${MAVEN_HOME}"
|
|
14
|
+
export MAVEN_HOME M2_HOME
|
|
15
|
+
export PATH="${MAVEN_HOME}:${PATH}"
|
|
16
|
+
export MAVEN_OPTS="-Xms1g -Xmx1g"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
½π
Ύπ
³π
΄ π
Ώπ
°ππ
·
|
|
7
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
8
|
+
NODE_PATH=/opt/homebrew/Cellar/node@18/18.10.0
|
|
9
|
+
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
10
|
+
NODE_PATH=${HOME}/.nvm/versions/node/v18.10.0/bin/node
|
|
11
|
+
fi
|
|
12
|
+
export NODE_PATH
|
|
13
|
+
export PATH="${NODE_PATH}:${PATH}"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
½π
π
Ό π
Ώπ
°ππ
·
|
|
7
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
8
|
+
NVM_DIR="${HOME}"/.nvm
|
|
9
|
+
# shellcheck source=/dev/null
|
|
10
|
+
[[ -s "/opt/homebrew/opt/nvm/nvm.sh" ]] && . "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
|
|
11
|
+
# shellcheck source=/dev/null
|
|
12
|
+
[[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ]] && . "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
|
|
13
|
+
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
14
|
+
NVM_DIR="${HOME}"/.nvm
|
|
15
|
+
# shellcheck source=/dev/null
|
|
16
|
+
. "${NVM_DIR}/nvm.sh" # This loads nvm
|
|
17
|
+
# shellcheck source=/dev/null
|
|
18
|
+
. "${NVM_DIR}/bash_completion" # This loads nvm bash_completion
|
|
19
|
+
fi
|
|
20
|
+
export NVM_DIR
|
|
21
|
+
export PATH="${NVM_DIR}:${PATH}"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
Ώπ
½π
Ώπ
Ό π
Ώπ
°ππ
·π
|
|
7
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
8
|
+
PNPM_HOME=/opt/homebrew/Cellar/pnpm
|
|
9
|
+
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
10
|
+
PNPM_HOME="${HOME}"/.local/share/pnpm
|
|
11
|
+
fi
|
|
12
|
+
export PNPM_HOME="${PNPM_HOME}"
|
|
13
|
+
export PATH="${PNPM_HOME}:${PATH}"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
Ώπππ
·π
Ύπ
½ π
Ώπ
°ππ
·
|
|
7
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
8
|
+
if [[ -d "/opt/homebrew/opt/python/bin" ]]; then
|
|
9
|
+
PYTHONHOME="/opt/homebrew/opt/python/bin"
|
|
10
|
+
fi
|
|
11
|
+
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
|
+
if [[ -d "/usr/bin/python3.9" ]]; then
|
|
13
|
+
PYTHONHOME="/usr/lib/python3.9"
|
|
14
|
+
fi
|
|
15
|
+
fi
|
|
16
|
+
|
|
17
|
+
# Encoding[:errors] used for stdin/stdout/stderr.
|
|
18
|
+
export PYTHONIOENCODING='UTF-8';
|
|
19
|
+
|
|
20
|
+
# If set to 1, enables the UTF-8 mode.
|
|
21
|
+
export PYTHONUTF8=1;
|
|
22
|
+
|
|
23
|
+
# Export PYTHONHOME variable
|
|
24
|
+
export PYTHONHOME
|
|
25
|
+
export PATH="${PYTHONHOME}:${PATH}"
|
|
26
|
+
|
|
27
|
+
# Export PYTHONPATH variable
|
|
28
|
+
export PYTHONPATH="${PYTHONHOME}"
|
|
29
|
+
export PATH="${PYTHONPATH}:${PATH}"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## πππ
±π π
·π
Ύπ
Όπ
΄
|
|
7
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
8
|
+
if [[ -d "/opt/homebrew/opt/ruby/bin" ]]; then
|
|
9
|
+
RUBY_HOME="/opt/homebrew/opt/ruby/bin"
|
|
10
|
+
fi
|
|
11
|
+
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
|
+
RUBY_HOME="/usr/lib/ruby/2.7.0/"
|
|
13
|
+
fi
|
|
14
|
+
export RUBY_HOME
|
|
15
|
+
export PATH="${RUBY_HOME}:${PATH}"
|
|
16
|
+
|
|
17
|
+
## π
Άπ
΄π
Ό π
·π
Ύπ
Όπ
΄
|
|
18
|
+
GEM_HOME=$(gem environment gemdir)
|
|
19
|
+
GEM_PATH=${GEM_HOME}
|
|
20
|
+
export GEM_HOME
|
|
21
|
+
export GEM_PATH
|
|
22
|
+
export PATH="${GEM_PATH}:${PATH}"
|
|
23
|
+
export PATH="${GEM_HOME}:${PATH}"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## ππ
Όππ π
Ώπ
°ππ
·π
|
|
7
|
+
if command -v 'tmux' >/dev/null; then
|
|
8
|
+
TMUX_PATH=$(command -v tmux)
|
|
9
|
+
export TMUX_PATH
|
|
10
|
+
fi
|
|
11
|
+
|
|
12
|
+
if [[ -z "${TMUX}" ]] && [[ ${UID} != 0 ]]; then
|
|
13
|
+
tmux kill-session -t 2>/dev/null
|
|
14
|
+
tmux new-session -t
|
|
15
|
+
fi
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## π
Ώπ
°ππ
·π
|
|
7
|
+
|
|
8
|
+
# Load custom executable paths.
|
|
9
|
+
for file in "${HOME}"/.dotfiles/shell/paths/[!.#]*/*.sh; do
|
|
10
|
+
# shellcheck source=/dev/null
|
|
11
|
+
. "${file}"
|
|
12
|
+
done
|
package/package.json
CHANGED
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
],
|
|
27
27
|
"description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@changesets/cli": "^2.25.0",
|
|
30
29
|
"@types/node": "^16.11.64",
|
|
31
30
|
"@types/shelljs": "0.8.11",
|
|
32
31
|
"filesizes": "^0.1.2",
|
|
32
|
+
"fs-extra": "10.1.0",
|
|
33
33
|
"jsmin": "^1.0.1",
|
|
34
|
-
"
|
|
35
|
-
"pnpm": "^7.13.2",
|
|
34
|
+
"pnpm": "^7.13.3",
|
|
36
35
|
"rimraf": "^3.0.2",
|
|
37
36
|
"shelljs": "^0.8.5",
|
|
37
|
+
"shelljs-nodecli": "^0.1.1",
|
|
38
38
|
"tsd": "0.24.1",
|
|
39
39
|
"typescript": "^4.8.4",
|
|
40
|
-
"
|
|
40
|
+
"compressing": "^1.6.2"
|
|
41
41
|
},
|
|
42
42
|
"directories": {
|
|
43
43
|
"bin": "./bin",
|
|
@@ -46,9 +46,7 @@
|
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
48
48
|
},
|
|
49
|
-
"exports": "./index.js",
|
|
50
49
|
"files": [
|
|
51
|
-
"index.js",
|
|
52
50
|
"dist/"
|
|
53
51
|
],
|
|
54
52
|
"homepage": "https://dotfiles.io/",
|
|
@@ -65,7 +63,7 @@
|
|
|
65
63
|
"license": "MIT",
|
|
66
64
|
"license_URI": "http://www.opensource.org/licenses/mit-license.php",
|
|
67
65
|
"lockfileVersion": 1,
|
|
68
|
-
"main": "./
|
|
66
|
+
"main": "./bin/index.js",
|
|
69
67
|
"name": "@sebastienrousseau/dotfiles",
|
|
70
68
|
"publishConfig": {
|
|
71
69
|
"access": "public",
|
|
@@ -76,39 +74,38 @@
|
|
|
76
74
|
"url": "git@github.com:sebastienrousseau/dotfiles.git"
|
|
77
75
|
},
|
|
78
76
|
"types": "./dist/index.d.ts",
|
|
79
|
-
"version": "0.2.
|
|
77
|
+
"version": "0.2.457",
|
|
80
78
|
"scripts": {
|
|
79
|
+
"assemble": "pnpm run backup && pnpm run directory && pnpm run copy",
|
|
81
80
|
"backup": "pnpm run bk:dir && pnpm run bk:bsh && pnpm run bk:zsh",
|
|
82
81
|
"bk:bsh": "if [ -z $HOME/.bashrc ]; then mv -f $HOME/.bashrc $HOME/.dotfiles_backup/bashrc.bk; fi ",
|
|
83
82
|
"bk:dir": "if [ -d $HOME/.dotfiles ]; then mv -f $HOME/.dotfiles $HOME/dotfiles_backup; fi ",
|
|
84
83
|
"bk:zsh": "if [ -z $HOME/.zshrc ]; then mv -f $HOME/.zshrc $HOME/.dotfiles_backup/zshrc.bk; fi ",
|
|
85
|
-
"copy": "chmod 755 \"./bin/copy.sh\" && ./bin/copy.sh",
|
|
86
|
-
"cp:bash": "cp ./shell/configurations/bash/bashrc $HOME/.bashrc",
|
|
87
|
-
"cp:bin": "cp -R ./bin/ ./dist/bin",
|
|
88
|
-
"cp:cert": "cp ./shell/configurations/curl/cacert.pem $HOME/cacert.pem",
|
|
89
|
-
"cp:curl": "cp ./shell/configurations/curl/curlrc $HOME/.curlrc",
|
|
90
|
-
"cp:dirs": "cp -R ./shell $HOME/.dotfiles/shell/",
|
|
91
|
-
"cp:inpt": "cp ./shell/configurations/inputrc/inputrc $HOME/.inputrc",
|
|
92
|
-
"cp:jsht": "cp ./shell/configurations/jshint/jshintrc $HOME/.jshintrc",
|
|
93
|
-
"cp:make": "cp ./Makefile ./dist",
|
|
94
|
-
"cp:prof": "cp ./shell/configurations/profile/profile $HOME/.profile",
|
|
95
|
-
"cp:shell": "cp -R ./shell/ ./dist/shell/",
|
|
96
|
-
"cp:tmux": "cp ./shell/configurations/tmux/tmux $HOME/.tmux.conf",
|
|
97
|
-
"cp:vimr": "cp ./shell/configurations/vim/vimrc $HOME/.vimrc",
|
|
98
|
-
"cp:wget": "cp ./shell/configurations/wget/wgetrc $HOME/.wgetrc",
|
|
99
|
-
"cp:zshr": "cp ./shell/configurations/zsh/zshrc $HOME/.zshrc",
|
|
100
|
-
"clean": "rimraf \"dist/\" && tsc --build --clean",
|
|
101
|
-
"cl:tmp": "rimraf \"./dist/shell/**/*.tmp\"",
|
|
102
|
-
"assemble": "pnpm run backup && pnpm run directory && pnpm run copy",
|
|
103
84
|
"build": "pnpm run clean && tsc --build tsconfig.json && pnpm run compile",
|
|
104
85
|
"changeset": "changeset",
|
|
86
|
+
"cl:tmp": "rimraf \"./dist/shell/**/*.tmp\"",
|
|
87
|
+
"clean": "rimraf \"dist/\" && tsc --build --clean",
|
|
105
88
|
"compile": "chmod 755 \"./bin/compile.sh\" && ./bin/compile.sh",
|
|
89
|
+
"copy": "chmod 755 \"./bin/copy.sh\" && ./bin/copy.sh",
|
|
90
|
+
"cp:bash": "cp -vf ./shell/configurations/bash/bashrc $HOME/.bashrc",
|
|
91
|
+
"cp:bin": "cp -vf -R ./bin/ ./dist/bin",
|
|
92
|
+
"cp:cert": "cp -vf ./shell/configurations/curl/cacert.pem $HOME/cacert.pem",
|
|
93
|
+
"cp:curl": "cp -vf ./shell/configurations/curl/curlrc $HOME/.curlrc",
|
|
94
|
+
"cp:dirs": "cp -vf -R ./shell $HOME/.dotfiles/shell/",
|
|
95
|
+
"cp:inpt": "cp -vf ./shell/configurations/inputrc/inputrc $HOME/.inputrc",
|
|
96
|
+
"cp:jsht": "cp -vf ./shell/configurations/jshint/jshintrc $HOME/.jshintrc",
|
|
97
|
+
"cp:make": "cp -vf ./Makefile ./dist",
|
|
98
|
+
"cp:prof": "cp -vf ./shell/configurations/profile/profile $HOME/.profile",
|
|
99
|
+
"cp:shell": "cp -vR ./shell/ ./dist/shell/",
|
|
100
|
+
"cp:tmux": "cp -vf ./shell/configurations/tmux/tmux $HOME/.tmux.conf",
|
|
101
|
+
"cp:vimr": "cp -vf ./shell/configurations/vim/vimrc $HOME/.vimrc",
|
|
102
|
+
"cp:wget": "cp -vf ./shell/configurations/wget/wgetrc $HOME/.wgetrc",
|
|
103
|
+
"cp:zshr": "cp -vf ./shell/configurations/zsh/zshrc $HOME/.zshrc",
|
|
106
104
|
"directory": "mkdir $HOME/.dotfiles",
|
|
107
105
|
"filesizes": "filesizes ./dist/ > ./dist/filesizes.txt",
|
|
108
106
|
"help": "chmod 755 \"./bin/dotfiles.sh\" && ./bin/dotfiles.sh",
|
|
109
|
-
"minify": "jsmin ./
|
|
110
|
-
"start": "node
|
|
111
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
112
|
-
"version": "pnpm changeset version && pnpm run assemble --no-frozen-lockfile"
|
|
107
|
+
"minify": "jsmin ./bin/backup.js > dist/bin/backup.js && jsmin ./bin/constants.js > dist/bin/constants.js && jsmin ./bin/copy.js > dist/bin/copy.js && jsmin ./bin/dotfiles.js > dist/bin/dotfiles.js && jsmin ./bin/download.js > dist/bin/download.js && jsmin ./bin/index.js > dist/bin/index.js && jsmin ./bin/transfer.js > dist/bin/transfer.js && jsmin ./bin/unpack.js > dist/bin/unpack.js",
|
|
108
|
+
"start": "node ./bin/index.js",
|
|
109
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
113
110
|
}
|
|
114
111
|
}
|