@sebastienrousseau/dotfiles 0.2.456 → 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +3 -3
- 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/{shell → bin}/index.d.ts +0 -0
- package/dist/{shell → bin}/index.d.ts.map +1 -1
- 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 +82 -26
- package/dist/shell/aliases/default/default.aliases.sh +1 -1
- package/dist/shell/aliases/gcloud/gcloud.aliases.sh +1 -1
- package/dist/shell/aliases/heroku/heroku.aliases.sh +1 -1
- package/dist/shell/aliases/jekyll/jekyll.aliases.sh +1 -1
- package/dist/shell/aliases/pnpm/pnpm.aliases.sh +1 -1
- package/dist/shell/aliases/subversion/subversion.aliases.sh +1 -1
- package/dist/shell/aliases/tmux/tmux.aliases.sh +1 -1
- package/dist/shell/aliases.sh +1 -1
- package/dist/shell/configurations/bash/bashrc +2 -2
- package/dist/shell/configurations/curl/curlrc +1 -1
- package/dist/shell/configurations/default/color.sh +1 -1
- package/dist/shell/configurations/default/editor.sh +1 -1
- package/dist/shell/configurations/default/prompt.sh +1 -1
- package/dist/shell/configurations/{inputrc → input}/inputrc +1 -1
- package/dist/shell/configurations/profile/profile +1 -1
- package/dist/shell/configurations/tmux/tmux +1 -1
- package/dist/shell/configurations/vim/vimrc +1 -1
- package/dist/shell/configurations/wget/wgetrc +1 -1
- package/dist/shell/configurations/zsh/zshrc +2 -2
- package/dist/shell/configurations.sh +1 -1
- package/dist/shell/exit.sh +1 -1
- package/dist/shell/functions/cdls.sh +1 -1
- package/dist/shell/functions/curlheader.sh +1 -1
- package/dist/shell/functions/curltime.sh +1 -1
- package/dist/shell/functions/encode64.sh +1 -1
- package/dist/shell/functions/environment.sh +1 -1
- package/dist/shell/functions/extract.sh +1 -1
- package/dist/shell/functions/genpwd.sh +1 -1
- package/dist/shell/functions/goto.sh +1 -1
- package/dist/shell/functions/hidehiddenfiles.sh +1 -1
- package/dist/shell/functions/hostinfo.sh +1 -1
- package/dist/shell/functions/hstats.sh +1 -1
- package/dist/shell/functions/httpdebug.sh +1 -1
- package/dist/shell/functions/keygen.sh +1 -1
- package/dist/shell/functions/last.sh +1 -1
- package/dist/shell/functions/logout.sh +1 -1
- package/dist/shell/functions/lowercase.sh +1 -1
- package/dist/shell/functions/macos.sh +1 -1
- package/dist/shell/functions/matrix.sh +1 -1
- package/dist/shell/functions/mcd.sh +1 -1
- package/dist/shell/functions/mount_read_only.sh +1 -1
- package/dist/shell/functions/myproc.sh +1 -1
- package/dist/shell/functions/prependpath.sh +1 -1
- package/dist/shell/functions/ql.sh +1 -1
- package/dist/shell/functions/rd.sh +1 -1
- package/dist/shell/functions/remove_disk.sh +1 -1
- package/dist/shell/functions/ren.sh +1 -1
- package/dist/shell/functions/showhiddenfiles.sh +1 -1
- package/dist/shell/functions/size.sh +1 -1
- package/dist/shell/functions/stopwatch.sh +1 -1
- package/dist/shell/functions/uppercase.sh +1 -1
- package/dist/shell/functions/view-source.sh +1 -1
- package/dist/shell/functions/vscode.sh +1 -1
- package/dist/shell/functions/whoisport.sh +1 -1
- package/dist/shell/functions/zipf.sh +1 -1
- package/dist/shell/functions.sh +1 -1
- package/dist/shell/history.sh +1 -1
- package/dist/shell/paths/ant/ant.paths.sh +1 -1
- package/dist/shell/paths/default/default.paths.sh +1 -1
- package/dist/shell/paths/homebrew/homebrew.paths.sh +1 -1
- package/dist/shell/paths/java/java.paths.sh +1 -1
- package/dist/shell/paths/maven/maven.paths.sh +1 -1
- package/dist/shell/paths/node/node.paths.sh +1 -1
- package/dist/shell/paths/nvm/nvm.paths.sh +1 -1
- package/dist/shell/paths/pnpm/pnpm.paths.sh +1 -1
- package/dist/shell/paths/python/python.paths.sh +1 -1
- package/dist/shell/paths/ruby/ruby.paths.sh +1 -1
- package/dist/shell/paths/tmux/tmux.paths.sh +1 -1
- package/dist/shell/paths.sh +1 -1
- package/package.json +26 -26
- package/dist/shell/index.js +0 -2
- package/dist/shell/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.457) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -15,7 +15,7 @@ USER=$(whoami) # current user name.
|
|
|
15
15
|
|
|
16
16
|
## 🅴🆇🅿🅾🆁🆃🆂 - Export the variables.
|
|
17
17
|
export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine.
|
|
18
|
-
export DOTFILES_VERSION='0.2.
|
|
18
|
+
export DOTFILES_VERSION='0.2.457' # version of the dotfiles.
|
|
19
19
|
export DOTFILES="${HOME}"/.dotfiles/shell # path to the cross plaform dotfiles.
|
|
20
20
|
export HOSTNAME=${HOSTNAME} # hostname of the machine.
|
|
21
21
|
export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected)
|
package/dist/shell/exit.sh
CHANGED
package/dist/shell/functions.sh
CHANGED
package/dist/shell/history.sh
CHANGED
package/dist/shell/paths.sh
CHANGED
package/package.json
CHANGED
|
@@ -29,13 +29,15 @@
|
|
|
29
29
|
"@types/node": "^16.11.64",
|
|
30
30
|
"@types/shelljs": "0.8.11",
|
|
31
31
|
"filesizes": "^0.1.2",
|
|
32
|
+
"fs-extra": "10.1.0",
|
|
32
33
|
"jsmin": "^1.0.1",
|
|
33
|
-
"pnpm": "^7.13.
|
|
34
|
+
"pnpm": "^7.13.3",
|
|
34
35
|
"rimraf": "^3.0.2",
|
|
35
36
|
"shelljs": "^0.8.5",
|
|
37
|
+
"shelljs-nodecli": "^0.1.1",
|
|
36
38
|
"tsd": "0.24.1",
|
|
37
39
|
"typescript": "^4.8.4",
|
|
38
|
-
"
|
|
40
|
+
"compressing": "^1.6.2"
|
|
39
41
|
},
|
|
40
42
|
"directories": {
|
|
41
43
|
"bin": "./bin",
|
|
@@ -44,9 +46,7 @@
|
|
|
44
46
|
"engines": {
|
|
45
47
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
46
48
|
},
|
|
47
|
-
"exports": "./index.js",
|
|
48
49
|
"files": [
|
|
49
|
-
"index.js",
|
|
50
50
|
"dist/"
|
|
51
51
|
],
|
|
52
52
|
"homepage": "https://dotfiles.io/",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"license": "MIT",
|
|
64
64
|
"license_URI": "http://www.opensource.org/licenses/mit-license.php",
|
|
65
65
|
"lockfileVersion": 1,
|
|
66
|
-
"main": "./
|
|
66
|
+
"main": "./bin/index.js",
|
|
67
67
|
"name": "@sebastienrousseau/dotfiles",
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public",
|
|
@@ -74,38 +74,38 @@
|
|
|
74
74
|
"url": "git@github.com:sebastienrousseau/dotfiles.git"
|
|
75
75
|
},
|
|
76
76
|
"types": "./dist/index.d.ts",
|
|
77
|
-
"version": "0.2.
|
|
77
|
+
"version": "0.2.457",
|
|
78
78
|
"scripts": {
|
|
79
|
+
"assemble": "pnpm run backup && pnpm run directory && pnpm run copy",
|
|
79
80
|
"backup": "pnpm run bk:dir && pnpm run bk:bsh && pnpm run bk:zsh",
|
|
80
81
|
"bk:bsh": "if [ -z $HOME/.bashrc ]; then mv -f $HOME/.bashrc $HOME/.dotfiles_backup/bashrc.bk; fi ",
|
|
81
82
|
"bk:dir": "if [ -d $HOME/.dotfiles ]; then mv -f $HOME/.dotfiles $HOME/dotfiles_backup; fi ",
|
|
82
83
|
"bk:zsh": "if [ -z $HOME/.zshrc ]; then mv -f $HOME/.zshrc $HOME/.dotfiles_backup/zshrc.bk; fi ",
|
|
83
|
-
"copy": "chmod 755 \"./bin/copy.sh\" && ./bin/copy.sh",
|
|
84
|
-
"cp:bash": "cp ./shell/configurations/bash/bashrc $HOME/.bashrc",
|
|
85
|
-
"cp:bin": "cp -R ./bin/ ./dist/bin",
|
|
86
|
-
"cp:cert": "cp ./shell/configurations/curl/cacert.pem $HOME/cacert.pem",
|
|
87
|
-
"cp:curl": "cp ./shell/configurations/curl/curlrc $HOME/.curlrc",
|
|
88
|
-
"cp:dirs": "cp -R ./shell $HOME/.dotfiles/shell/",
|
|
89
|
-
"cp:inpt": "cp ./shell/configurations/inputrc/inputrc $HOME/.inputrc",
|
|
90
|
-
"cp:jsht": "cp ./shell/configurations/jshint/jshintrc $HOME/.jshintrc",
|
|
91
|
-
"cp:make": "cp ./Makefile ./dist",
|
|
92
|
-
"cp:prof": "cp ./shell/configurations/profile/profile $HOME/.profile",
|
|
93
|
-
"cp:shell": "cp -R ./shell/ ./dist/shell/",
|
|
94
|
-
"cp:tmux": "cp ./shell/configurations/tmux/tmux $HOME/.tmux.conf",
|
|
95
|
-
"cp:vimr": "cp ./shell/configurations/vim/vimrc $HOME/.vimrc",
|
|
96
|
-
"cp:wget": "cp ./shell/configurations/wget/wgetrc $HOME/.wgetrc",
|
|
97
|
-
"cp:zshr": "cp ./shell/configurations/zsh/zshrc $HOME/.zshrc",
|
|
98
|
-
"clean": "rimraf \"dist/\" && tsc --build --clean",
|
|
99
|
-
"cl:tmp": "rimraf \"./dist/shell/**/*.tmp\"",
|
|
100
|
-
"assemble": "pnpm run backup && pnpm run directory && pnpm run copy",
|
|
101
84
|
"build": "pnpm run clean && tsc --build tsconfig.json && pnpm run compile",
|
|
102
85
|
"changeset": "changeset",
|
|
86
|
+
"cl:tmp": "rimraf \"./dist/shell/**/*.tmp\"",
|
|
87
|
+
"clean": "rimraf \"dist/\" && tsc --build --clean",
|
|
103
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",
|
|
104
104
|
"directory": "mkdir $HOME/.dotfiles",
|
|
105
105
|
"filesizes": "filesizes ./dist/ > ./dist/filesizes.txt",
|
|
106
106
|
"help": "chmod 755 \"./bin/dotfiles.sh\" && ./bin/dotfiles.sh",
|
|
107
|
-
"minify": "jsmin ./
|
|
108
|
-
"start": "node
|
|
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
109
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
110
110
|
}
|
|
111
111
|
}
|
package/dist/shell/index.js
DELETED
package/dist/shell/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../shell/index.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,IAAI,KAAK,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAE/B,SAAS,IAAI;IACX,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AAClC,CAAC;AAED,IAAI,EAAE,CAAC"}
|