@sebastienrousseau/dotfiles 0.2.469 → 0.2.499

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.
Files changed (221) hide show
  1. package/docs/ARCHITECTURE.md +62 -0
  2. package/docs/COMPLIANCE.md +47 -0
  3. package/docs/COPYRIGHT +6 -0
  4. package/docs/OPERATIONS.md +103 -0
  5. package/docs/PLAN.md +161 -0
  6. package/docs/PR_DESCRIPTION.md +150 -0
  7. package/docs/ROADMAP.md +148 -0
  8. package/docs/ROADMAP_legacy.md +556 -0
  9. package/docs/SECURITY_CHECKLIST.md +25 -0
  10. package/docs/TASK.md +99 -0
  11. package/docs/WALKTHROUGH.md +46 -0
  12. package/package.json +64 -76
  13. package/scripts/backup.sh +142 -0
  14. package/{dist/scripts → scripts}/banner.sh +1 -1
  15. package/scripts/benchmark.sh +20 -0
  16. package/{dist/scripts → scripts}/build.sh +1 -1
  17. package/{dist/scripts → scripts}/clean.sh +1 -1
  18. package/{dist/scripts → scripts}/compile.sh +1 -1
  19. package/{dist/scripts → scripts}/copy.sh +1 -1
  20. package/scripts/detect-collisions.py +84 -0
  21. package/scripts/doctor.sh +79 -0
  22. package/{dist/scripts → scripts}/dotfiles.sh +1 -1
  23. package/{dist/scripts → scripts}/download.sh +1 -1
  24. package/{dist/scripts → scripts}/help.sh +1 -1
  25. package/scripts/lock-configs.sh +57 -0
  26. package/scripts/package.sh +46 -0
  27. package/{dist/scripts → scripts}/ssh.sh +1 -1
  28. package/scripts/teleport.sh +23 -0
  29. package/scripts/test-aliases.sh +25 -0
  30. package/scripts/test_smoke.sh +88 -0
  31. package/{dist/scripts → scripts}/unpack.sh +1 -1
  32. package/scripts/verify_state.sh +60 -0
  33. package/templates/projects/go/README.md +3 -0
  34. package/templates/projects/go/cmd/__PROJECT_NAME__/main.go +7 -0
  35. package/templates/projects/go/go.mod +3 -0
  36. package/templates/projects/node/README.md +3 -0
  37. package/templates/projects/node/package.json +10 -0
  38. package/templates/projects/node/src/index.js +2 -0
  39. package/templates/projects/python/README.md +3 -0
  40. package/templates/projects/python/pyproject.toml +10 -0
  41. package/templates/projects/python/src/__PROJECT_NAME__/__init__.py +1 -0
  42. package/templates/projects/python/tests/test_basic.py +2 -0
  43. package/LICENSE +0 -1283
  44. package/README.md +0 -398
  45. package/dist/Makefile +0 -140
  46. package/dist/bin/backup.d.ts +0 -3
  47. package/dist/bin/backup.d.ts.map +0 -1
  48. package/dist/bin/backup.js +0 -4
  49. package/dist/bin/backup.js.map +0 -1
  50. package/dist/bin/constants.d.ts +0 -7
  51. package/dist/bin/constants.d.ts.map +0 -1
  52. package/dist/bin/constants.js +0 -2
  53. package/dist/bin/constants.js.map +0 -1
  54. package/dist/bin/copy.d.ts +0 -3
  55. package/dist/bin/copy.d.ts.map +0 -1
  56. package/dist/bin/copy.js +0 -3
  57. package/dist/bin/copy.js.map +0 -1
  58. package/dist/bin/dotfiles.d.ts +0 -3
  59. package/dist/bin/dotfiles.d.ts.map +0 -1
  60. package/dist/bin/dotfiles.js +0 -2
  61. package/dist/bin/dotfiles.js.map +0 -1
  62. package/dist/bin/download.d.ts +0 -3
  63. package/dist/bin/download.d.ts.map +0 -1
  64. package/dist/bin/download.js +0 -2
  65. package/dist/bin/download.js.map +0 -1
  66. package/dist/bin/index.d.ts +0 -2
  67. package/dist/bin/index.d.ts.map +0 -1
  68. package/dist/bin/index.js +0 -1
  69. package/dist/bin/index.js.map +0 -1
  70. package/dist/bin/transfer.d.ts +0 -3
  71. package/dist/bin/transfer.d.ts.map +0 -1
  72. package/dist/bin/transfer.js +0 -4
  73. package/dist/bin/transfer.js.map +0 -1
  74. package/dist/bin/unpack.d.ts +0 -3
  75. package/dist/bin/unpack.d.ts.map +0 -1
  76. package/dist/bin/unpack.js +0 -3
  77. package/dist/bin/unpack.js.map +0 -1
  78. package/dist/filesizes.txt +0 -382
  79. package/dist/lib/README.md +0 -86
  80. package/dist/lib/aliases/README.md +0 -57
  81. package/dist/lib/aliases/archives/README.md +0 -145
  82. package/dist/lib/aliases/archives/archives.aliases.sh +0 -114
  83. package/dist/lib/aliases/cd/README.md +0 -146
  84. package/dist/lib/aliases/cd/cd.aliases.sh +0 -51
  85. package/dist/lib/aliases/chmod/README.md +0 -160
  86. package/dist/lib/aliases/chmod/chmod.aliases.sh +0 -107
  87. package/dist/lib/aliases/clear/README.md +0 -37
  88. package/dist/lib/aliases/clear/clear.aliases.sh +0 -71
  89. package/dist/lib/aliases/configuration/README.md +0 -39
  90. package/dist/lib/aliases/configuration/configuration.aliases.sh +0 -70
  91. package/dist/lib/aliases/default/README.md +0 -40
  92. package/dist/lib/aliases/default/default.aliases.sh +0 -139
  93. package/dist/lib/aliases/dig/README.md +0 -37
  94. package/dist/lib/aliases/dig/dig.aliases.sh +0 -43
  95. package/dist/lib/aliases/disk-usage/README.md +0 -36
  96. package/dist/lib/aliases/disk-usage/du.aliases.sh +0 -84
  97. package/dist/lib/aliases/editor/README.md +0 -53
  98. package/dist/lib/aliases/editor/editor.aliases.sh +0 -26
  99. package/dist/lib/aliases/find/README.md +0 -46
  100. package/dist/lib/aliases/find/find.aliases.sh +0 -60
  101. package/dist/lib/aliases/gcloud/README.md +0 -63
  102. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +0 -335
  103. package/dist/lib/aliases/git/README.md +0 -153
  104. package/dist/lib/aliases/git/git.aliases.sh +0 -544
  105. package/dist/lib/aliases/gnu/README.md +0 -89
  106. package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +0 -150
  107. package/dist/lib/aliases/heroku/README.md +0 -430
  108. package/dist/lib/aliases/heroku/heroku.aliases.sh +0 -1053
  109. package/dist/lib/aliases/interactive/README.md +0 -55
  110. package/dist/lib/aliases/interactive/interactive.aliases.sh +0 -50
  111. package/dist/lib/aliases/list/README.md +0 -131
  112. package/dist/lib/aliases/list/list.aliases.sh +0 -132
  113. package/dist/lib/aliases/macOS/README.md +0 -42
  114. package/dist/lib/aliases/macOS/macos.aliases.sh +0 -65
  115. package/dist/lib/aliases/make/README.md +0 -32
  116. package/dist/lib/aliases/make/make.aliases.sh +0 -35
  117. package/dist/lib/aliases/mkdir/README.md +0 -30
  118. package/dist/lib/aliases/mkdir/mkdir.aliases.sh +0 -29
  119. package/dist/lib/aliases/npm/README.md +0 -41
  120. package/dist/lib/aliases/npm/npm.aliases.sh +0 -61
  121. package/dist/lib/aliases/permission/README.md +0 -47
  122. package/dist/lib/aliases/permission/permission.aliases.sh +0 -73
  123. package/dist/lib/aliases/pnpm/README.md +0 -53
  124. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +0 -76
  125. package/dist/lib/aliases/ps/README.md +0 -29
  126. package/dist/lib/aliases/ps/ps.aliases.sh +0 -20
  127. package/dist/lib/aliases/python/python.aliases.sh +0 -141
  128. package/dist/lib/aliases/rsync/README.md +0 -25
  129. package/dist/lib/aliases/rsync/rsync.aliases.sh +0 -17
  130. package/dist/lib/aliases/rust/README.md +0 -182
  131. package/dist/lib/aliases/rust/rust.aliases.sh +0 -119
  132. package/dist/lib/aliases/subversion/README.md +0 -66
  133. package/dist/lib/aliases/subversion/subversion.aliases.sh +0 -47
  134. package/dist/lib/aliases/sudo/README.md +0 -27
  135. package/dist/lib/aliases/sudo/sudo.aliases.sh +0 -20
  136. package/dist/lib/aliases/tmux/README.md +0 -31
  137. package/dist/lib/aliases/tmux/tmux.aliases.sh +0 -36
  138. package/dist/lib/aliases/update/README.md +0 -38
  139. package/dist/lib/aliases/update/update.aliases.sh +0 -310
  140. package/dist/lib/aliases/uuid/README.md +0 -24
  141. package/dist/lib/aliases/uuid/uuid.aliases.sh +0 -19
  142. package/dist/lib/aliases/wget/README.md +0 -27
  143. package/dist/lib/aliases/wget/wget.aliases.sh +0 -22
  144. package/dist/lib/aliases.sh +0 -50
  145. package/dist/lib/configurations/README.md +0 -18
  146. package/dist/lib/configurations/bash/bashrc +0 -167
  147. package/dist/lib/configurations/curl/cacert.pem +0 -3460
  148. package/dist/lib/configurations/curl/curlrc +0 -53
  149. package/dist/lib/configurations/default/color.sh +0 -24
  150. package/dist/lib/configurations/default/constants.sh +0 -43
  151. package/dist/lib/configurations/default/editor.sh +0 -18
  152. package/dist/lib/configurations/default/prompt.sh +0 -48
  153. package/dist/lib/configurations/gem/gemrc +0 -9
  154. package/dist/lib/configurations/input/inputrc +0 -23
  155. package/dist/lib/configurations/jshint/jshintrc +0 -37
  156. package/dist/lib/configurations/nano/nanorc +0 -35
  157. package/dist/lib/configurations/profile/profile +0 -37
  158. package/dist/lib/configurations/prompt/prompt.sh +0 -81
  159. package/dist/lib/configurations/tmux/default +0 -18
  160. package/dist/lib/configurations/tmux/display +0 -30
  161. package/dist/lib/configurations/tmux/linux +0 -18
  162. package/dist/lib/configurations/tmux/navigation +0 -30
  163. package/dist/lib/configurations/tmux/panes +0 -10
  164. package/dist/lib/configurations/tmux/theme +0 -29
  165. package/dist/lib/configurations/tmux/tmux +0 -21
  166. package/dist/lib/configurations/vim/vimrc +0 -193
  167. package/dist/lib/configurations/wget/wgetrc +0 -40
  168. package/dist/lib/configurations/zsh/zshrc +0 -50
  169. package/dist/lib/configurations.sh +0 -45
  170. package/dist/lib/functions/README.md +0 -92
  171. package/dist/lib/functions/apihealth.sh +0 -277
  172. package/dist/lib/functions/apilatency.sh +0 -157
  173. package/dist/lib/functions/apiload.sh +0 -165
  174. package/dist/lib/functions/backup.sh +0 -143
  175. package/dist/lib/functions/cdls.sh +0 -60
  176. package/dist/lib/functions/curlheader.sh +0 -78
  177. package/dist/lib/functions/curlstatus.sh +0 -74
  178. package/dist/lib/functions/curltime.sh +0 -75
  179. package/dist/lib/functions/encode64.sh +0 -107
  180. package/dist/lib/functions/environment.sh +0 -78
  181. package/dist/lib/functions/extract.sh +0 -86
  182. package/dist/lib/functions/freespace.sh +0 -67
  183. package/dist/lib/functions/genpwd.sh +0 -105
  184. package/dist/lib/functions/goto.sh +0 -67
  185. package/dist/lib/functions/hexdump.sh +0 -96
  186. package/dist/lib/functions/hiddenfiles.sh +0 -77
  187. package/dist/lib/functions/hostinfo.sh +0 -98
  188. package/dist/lib/functions/hstats.sh +0 -75
  189. package/dist/lib/functions/httpdebug.sh +0 -113
  190. package/dist/lib/functions/kebabcase.sh +0 -61
  191. package/dist/lib/functions/keygen.sh +0 -194
  192. package/dist/lib/functions/last.sh +0 -112
  193. package/dist/lib/functions/logout.sh +0 -120
  194. package/dist/lib/functions/lowercase.sh +0 -61
  195. package/dist/lib/functions/matrix.sh +0 -216
  196. package/dist/lib/functions/mount_read_only.sh +0 -11
  197. package/dist/lib/functions/myproc.sh +0 -9
  198. package/dist/lib/functions/prependpath.sh +0 -21
  199. package/dist/lib/functions/ql.sh +0 -9
  200. package/dist/lib/functions/rd.sh +0 -17
  201. package/dist/lib/functions/remove_disk.sh +0 -11
  202. package/dist/lib/functions/ren.sh +0 -73
  203. package/dist/lib/functions/sentencecase.sh +0 -63
  204. package/dist/lib/functions/showhiddenfiles.sh +0 -14
  205. package/dist/lib/functions/size.sh +0 -16
  206. package/dist/lib/functions/snakecase.sh +0 -61
  207. package/dist/lib/functions/stopwatch.sh +0 -15
  208. package/dist/lib/functions/sysinfo.sh +0 -145
  209. package/dist/lib/functions/titlecase.sh +0 -65
  210. package/dist/lib/functions/uppercase.sh +0 -61
  211. package/dist/lib/functions/view-source.sh +0 -9
  212. package/dist/lib/functions/vscode.sh +0 -32
  213. package/dist/lib/functions/whoisport.sh +0 -14
  214. package/dist/lib/functions/zipf.sh +0 -16
  215. package/dist/lib/functions.sh +0 -46
  216. package/dist/lib/history.sh +0 -90
  217. package/dist/lib/paths/README.md +0 -52
  218. package/dist/lib/paths/custom.paths.sh +0 -40
  219. package/dist/lib/paths/default.paths.sh +0 -37
  220. package/dist/lib/paths.sh +0 -46
  221. package/dist/scripts/backup.sh +0 -95
package/README.md DELETED
@@ -1,398 +0,0 @@
1
- <!-- markdownlint-disable MD033 MD041 MD043 -->
2
-
3
- <img
4
- src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
- alt="dotfiles logo"
6
- width="66"
7
- align="right"
8
- />
9
-
10
- <!-- markdownlint-enable MD033 MD041 -->
11
-
12
- # Dotfiles (v0.2.469)
13
-
14
- Simply designed to fit your shell life 🐚
15
-
16
- <!-- markdownlint-disable MD033 MD041 MD043 -->
17
- <center>
18
- <!-- markdownlint-enable MD033 MD041 -->
19
-
20
- ![Dotfiles banner][banner]
21
-
22
- [![Codacy][codacy-grade]][06]
23
- [![Contributors][contributors-shield]][14]
24
- [![Forks][forks-shield]][13]
25
- [![License][license]][02]
26
- [![Love][love]][00]
27
-
28
- • [Website][00] • [Documentation][16]
29
- • [Report Bug][17] • [Request Feature][17]
30
- • [Contributing Guidelines][05]
31
-
32
- <!-- markdownlint-disable MD033 MD041 MD043 -->
33
- </center>
34
- <!-- markdownlint-enable MD033 MD041 -->
35
-
36
- ![divider][divider]
37
-
38
- ## Overview 📖
39
-
40
- Dotfiles are a powerful set of configuration files for macOS, Linux, and
41
- Windows providing scripts and customized settings to streamline your
42
- workflow. These files are an essential tool for developers and users who
43
- want to modify their environment and applications to their exact needs.
44
-
45
- The Dotfiles library are combined into a single `lib` directory. This
46
- directory allows you to easily setup your development environment across
47
- numerous computers and operating systems, ensuring consistency and
48
- productivity no matter where you work.
49
-
50
- <!-- markdownlint-disable MD033 MD041 MD043 -->
51
- <br>
52
- <center>
53
- <!-- markdownlint-enable MD033 MD041 -->
54
-
55
- [![Getting Started][getting_started]][getting-started-url]
56
- [![Download Dotfiles v0.2.469][download_button]][12]
57
-
58
- <!-- markdownlint-disable MD033 MD041 MD043 -->
59
- </center>
60
- <br />
61
- <!-- markdownlint-enable MD033 MD041 -->
62
-
63
- ## Features ✨
64
-
65
- - A familiar feel and comforts across environments.
66
- - A unified set of aliases and useful commands for macOS, Linux, and
67
- Windows.
68
- - Coloured multiplexer tmux prompt, customizable, and easy to use.
69
- - Fast and flexible configuration files for Bash, Zsh, and more.
70
- - Fully documented and translated into several languages (English,
71
- French, and more).
72
- - Supports Apple Silicon (M1) and Intel chips (x86_64).
73
- - Uses Roboto Mono for Powerline font for enhanced terminal experience.
74
-
75
- ![divider][divider]
76
-
77
- ## Getting Started 🚀
78
-
79
- We are so delighted that you have decided to try Dotfiles, and are sure
80
- that you will find Dotfiles unique and helpful.
81
-
82
- To get started, please follow the instructions below. If you have any
83
- questions, please feel free to contact us.
84
-
85
- ### Installation
86
-
87
- We understand that you may want to install Dotfiles without reading long
88
- manuals and lengthy documentation. In that respect, we have tried to
89
- make the installation process as easy and automated as possible.
90
-
91
- A range of installation methods are available, and we recommend that you
92
- choose the one that best suits your needs.
93
-
94
- Before you begin your installation, use this information to ensure that
95
- you meet all the hardware, software, and system requirements for
96
- installing Dotfiles.
97
-
98
- #### 1) System Requirements
99
-
100
- You need a modern operating system to install Dotfiles. Here's an non-
101
- exhaustive list of the recommended operating systems that we support.
102
-
103
- If you don't see your operating system listed, it may still work, but we
104
- have yet been able to test it. If you have any issues, please let us
105
- know.
106
-
107
- - macOS 10.15 or later
108
- - Windows 10 or later
109
- - A Debian based distribution ([Debian][08], [Ubuntu][27],
110
- [PoP!_OS][22], [Zorin OS][29], [Q4OS][23], [Kali Linux][18],
111
- [Devuan][10], [Deepin][09], etc.)
112
-
113
- #### 2) Software Requirements
114
-
115
- The following programs must be installed on your system to install
116
- Dotfiles:
117
-
118
- - [**Bash**][03] - a shell, or command language interpreter, for the GNU
119
- operating system.
120
- - Or [**Zsh**][30] - a shell designed for interactive use, although it
121
- is also a powerful scripting language.
122
- - [**Git**][15] - a free and open source distributed version control
123
- system designed to handle everything from small to very large projects
124
- with speed and efficiency.
125
- - [**Curl**][07] - a command line tool for transferring data with URL
126
- syntax.
127
- - [**Wget**][28] - a free software package for retrieving files using
128
- HTTP, HTTPS and FTP, the most widely-used Internet protocols.
129
- - [**Make**][19] - a tool which controls the generation of executables
130
- and other non-source files of a program from the program's source
131
- files.
132
- - [**Shell**][26] - a shell command line interpreter program for Unix-
133
- like operating systems.
134
- - [**PnPM**][21] - a package manager for JavaScript and Node.js. It is
135
- fast, disk space efficient and reliable.
136
-
137
- #### 3) Font Requirements
138
-
139
- We recommend using a font such as `Roboto Mono for Powerline` for
140
- terminal and vscode editor.
141
-
142
- On macOS, you can install the font using the following command:
143
-
144
- ```bash
145
- brew tap homebrew/cask-fonts
146
- ```
147
-
148
- ```bash
149
- brew install --cask font-roboto-mono-for-powerline
150
- ```
151
-
152
- On Linux, you can install the font using the following command:
153
-
154
- ```bash
155
- sudo apt install fonts-roboto-mono-for-powerline
156
- ```
157
-
158
- ### Documentation
159
-
160
- To read the documentation for Dotfiles, please visit:
161
-
162
- - [Dotfiles website][00]
163
- - [Dotfiles Docs GitHub repository][11]
164
-
165
- ![divider][divider]
166
-
167
- ## Usage 📖
168
-
169
- ### 1️⃣ Download Dotfiles
170
-
171
- You can download the latest version (v0.2.469) with the following
172
- options:
173
-
174
- - [**Manual download**][24] - **The easiest way to install Dotfiles.**
175
- - [**Install with PnPM**][20] `pnpm i @sebastienrousseau/dotfiles`.
176
- - [**Install with Npm**][20] `npm install @sebastienrousseau/dotfiles`.
177
- - [**Install with Yarn**][20] `yarn add @sebastienrousseau/dotfiles`.
178
- - **Clone the main repository** to get all source files including build
179
- scripts: `git clone https://github.com/sebastienrousseau/dotfiles.git`
180
- . This will clone the latest version of the Dotfiles repository.
181
-
182
- ### 2️⃣ Back Up Your Existing Data
183
-
184
- Before installing Dotfiles, we strongly recommend that you back up your
185
- existing data. The Dotfiles installer will try to automatically backup
186
- any previous installation of known dotfiles into a backup directory
187
- `$HOME/dotfiles_backup`.
188
-
189
- The backup files are the following:
190
-
191
- ```bash
192
- .alias
193
- .bash_aliases
194
- .bash_profile
195
- .bash_prompt
196
- .bashrc
197
- .curlrc
198
- .dir_colors
199
- .exports
200
- .functions
201
- .gitattributes
202
- .gitconfig
203
- .gitignore
204
- .gitmessage
205
- .inputrc
206
- .npmrc
207
- .path
208
- .profile
209
- .tmux.conf
210
- .vimrc
211
- .wgetrc
212
- .yarnrc
213
- .zshenv
214
- .zshrc
215
- cacert.pem
216
- ```
217
-
218
- It is always a good idea to backup as there might be situations in which
219
- you could be required to restore your previous installation.
220
-
221
- ### 3️⃣ Try it out and let us know what you think
222
-
223
- To install the latest version of the dotfiles, run the following
224
- command:
225
-
226
- #### Using make (easiest and recommended)
227
-
228
- The easiest way to install Dotfiles is to use the `make` command. This
229
- will install the latest version of the dotfiles and will automatically
230
- backup any existing dotfiles you may have into a backup directory
231
- `$HOME/dotfiles_backup`.
232
-
233
- The installer will check if you have PnPM installed to switch to the
234
- PnPM installation method. If not, it will fallback to equivalent shell
235
- scripts.
236
-
237
- Switch to the `dist` directory and run:
238
-
239
- ```bash
240
- make build
241
- ```
242
-
243
- You can also just check the installer options available, by simply
244
- running:
245
-
246
- ```bash
247
- make help
248
- ```
249
-
250
- #### Using Node.js (advanced)
251
-
252
- If you want to install Dotfiles using Node.js, you can run the following
253
- command in the `dist` directory located in your
254
- `node_modules/@sebastienrousseau/dotfiles/dist` directory:
255
-
256
- ```bash
257
- node .
258
- ```
259
-
260
- This will install the latest version of the dotfiles and will
261
- automatically backup any existing dotfiles you may have into a backup
262
- directory `$HOME/dotfiles_backup`.
263
-
264
- #### Using PnPM (highly recommended if you have PnPM installed)
265
-
266
- PnPM is a key dependency of the dotfiles package. It will help you
267
- install the dotfiles rapidly and very efficiently.
268
-
269
- Switch to the `dist` directory and run:
270
-
271
- ```bash
272
- pnpm run build
273
- ```
274
-
275
- This will install the latest version of the dotfiles and will
276
- automatically backup any existing dotfiles you may have into a backup
277
- directory `$HOME/dotfiles_backup`.
278
-
279
- ### Post installation
280
-
281
- Following the installation, you can verify that the dotfiles package is
282
- installed in the following directory `$HOME/dotfiles_backup`.
283
-
284
- Just quit your terminal and restart it. If the installation is
285
- successful, you should be able to see a new interface of your terminal
286
- and be able to start using the dotfiles aliases and other
287
- configurations.
288
-
289
- Please refer to the [documentation][11] for more information.
290
-
291
- ![divider][divider]
292
-
293
- ## Releases 🔗
294
-
295
- Releases are available on the [GitHub releases page][24].
296
-
297
- ![divider][divider]
298
-
299
- ## Semantic versioning policy 🚥
300
-
301
- For transparency into our release cycle and in striving to maintain
302
- backward compatibility, `Dotfiles` follows
303
- [Semantic Versioning][25].
304
-
305
- ![divider][divider]
306
-
307
- ## History
308
-
309
- - See [Dotfiles Release][24] for a list of changes.
310
-
311
- ## Changelog ✅
312
-
313
- - [GitHub Releases][24] are used for changelogs.
314
-
315
- ![divider][divider]
316
-
317
- ## 📖 Code of Conduct
318
-
319
- We are committed to preserving and fostering a diverse, welcoming
320
- community. Please read our [Code of Conduct][04].
321
-
322
- ![divider][divider]
323
-
324
- ## ⭐️ Our Values
325
-
326
- - We believe perfection must consider everything.
327
- - We take our passion beyond code into our daily practices.
328
- - We are just obsessed about creating and delivering exceptional
329
- solutions.
330
-
331
- ![divider][divider]
332
-
333
- ## Contribution 🤝
334
-
335
- We welcome contributions to `Dotfiles`. Please see the
336
- [contributing guidelines][05] for more information.
337
-
338
- Unless you explicitly state otherwise, any contribution intentionally
339
- submitted for inclusion in the work by you, as defined in the
340
- Apache-2.0 license, shall be dual licensed as above, without any
341
- additional terms or conditions.
342
-
343
- ![divider][divider]
344
-
345
- ## License 📝
346
-
347
- The project is licensed under the terms of both the MIT license and the
348
- Apache License (Version 2.0).
349
-
350
- - [Apache License, Version 2.0][01]
351
- - [MIT license][02]
352
-
353
- ![divider][divider]
354
-
355
- [00]: https://dotfiles.io
356
- [01]: https://opensource.org/license/apache-2-0/ "Apache License, Version 2.0"
357
- [02]: https://opensource.org/licenses/MIT "The MIT License"
358
- [03]: https://www.gnu.org/software/bash/ "GNU Bash"
359
- [04]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CODE-OF-CONDUCT.md "Code of Conduct"
360
- [05]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md "Contributing Guidelines"
361
- [06]:https://www.codacy.com/gh/sebastienrousseau/dotfiles/dashboard "Codacy"
362
- [07]: https://curl.se/ "cURL"
363
- [08]: https://www.debian.org/ "Debian"
364
- [09]: https://www.deepin.org/en/ "Deepin"
365
- [10]: https://devuan.org/ "Devuan"
366
- [11]: https://github.com/sebastienrousseau/dotfiles/docs "Documentation"
367
- [12]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.469.tar.gz "Download Dotfiles v0.2.469"
368
- [13]: https://github.com/sebastienrousseau/dotfiles/network/members "List of members"
369
- [14]: https://github.com/sebastienrousseau/dotfiles/graphs/contributors "List of contributors"
370
- [15]: https://git-scm.com/ "Git"
371
- [16]: https://github.com/sebastienrousseau/dotfiles "Dotfiles"
372
- [17]: https://github.com/sebastienrousseau/dotfiles/issues "Issues"
373
- [18]: https://www.kali.org/ "Kali Linux"
374
- [19]: https://www.gnu.org/software/make/ "GNU Make"
375
- [20]:https://www.npmjs.com/package/@sebastienrousseau/dotfiles "Dotfiles on NPM"
376
- [21]: https://pnpm.io "PnPM"
377
- [22]: https://pop.system76.com/ "Pop!_OS"
378
- [23]: https://q4os.org/ "Q4OS"
379
- [24]: https://github.com/sebastienrousseau/dotfiles/releases "Dotfiles Releases"
380
- [25]: http://semver.org/ "Semantic Versioning"
381
- [26]: https://www.gnu.org/software/shell/ "GNU Shell"
382
- [27]: https://ubuntu.com/ "Ubuntu"
383
- [28]: https://www.gnu.org/software/wget/ "GNU Wget"
384
- [29]: https://zorinos.com/ "Zorin OS"
385
- [30]: https://www.zsh.org/ "Zsh"
386
-
387
- [getting-started-url]: https://github.com/sebastienrousseau/dotfiles#getting-started
388
-
389
- [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg "Banner of Dotfiles"
390
- [codacy-grade]: https://img.shields.io/codacy/grade/634cfc4de08e492ebcbb341631066241?style=for-the-badge "Codacy grade"
391
- [contributors-shield]: https://img.shields.io/github/contributors/sebastienrousseau/dotfiles.svg?style=for-the-badge "Contributors"
392
-
393
- [divider]: https://kura.pro/common/images/elements/divider.svg "Divider"
394
- [download_button]: https://kura.pro/common/images/buttons/button-secondary.svg "Download"
395
- [forks-shield]: https://img.shields.io/github/forks/sebastienrousseau/dotfiles.svg?style=for-the-badge "Forks"
396
- [getting_started]: https://kura.pro/common/images/buttons/button-primary.svg "Getting Started"
397
- [license]: https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\&color=ff69b4 "License"
398
- [love]: https://kura.pro/common/images/shields/made-with-love.svg "Made with Love"
package/dist/Makefile DELETED
@@ -1,140 +0,0 @@
1
- #!/usr/bin/env make -f
2
-
3
- ################################################################################
4
- # 🅳🅾🆃🅵🅸🅻🅴🆂
5
- # File: Makefile
6
- # Version: 0.2.469
7
- # Author: Sebastien Rousseau
8
- # Copyright (c) 2015-2025. All rights reserved
9
- # Description: Build automation for dotfiles installation and management
10
- # Website: https://dotfiles.io
11
- # License: MIT
12
- ################################################################################
13
-
14
- #------------------------------------------------------------------------------
15
- # Configuration Variables
16
- #------------------------------------------------------------------------------
17
-
18
- # Default target if no target is specified
19
- .DEFAULT_GOAL := help
20
-
21
- # Define shell and working directory
22
- SHELL := /bin/bash
23
- HOMEDIR := $(shell pwd)
24
- BANNER := $(HOMEDIR)/scripts/banner.sh
25
-
26
- # Script paths
27
- BACKUP_SCRIPT := $(HOMEDIR)/scripts/backup.sh
28
- BUILD_SCRIPT := $(HOMEDIR)/scripts/build.sh
29
- CLEAN_SCRIPT := $(HOMEDIR)/scripts/clean.sh
30
- COPY_SCRIPT := $(HOMEDIR)/scripts/copy.sh
31
- DOWNLOAD_SCRIPT := $(HOMEDIR)/scripts/download.sh
32
- UNPACK_SCRIPT := $(HOMEDIR)/scripts/unpack.sh
33
-
34
- #------------------------------------------------------------------------------
35
- # Phony Targets Declaration
36
- #------------------------------------------------------------------------------
37
-
38
- .PHONY: backup build clean copy download help unpack
39
-
40
- #------------------------------------------------------------------------------
41
- # Backup Target
42
- #------------------------------------------------------------------------------
43
- # @name backup
44
- # @brief Creates a backup of existing dotfiles
45
- # @description Saves current dotfiles to prevent accidental loss
46
- # @command make backup
47
- # @example make backup
48
-
49
- backup: ## Backup your current dotfiles
50
- @$(BACKUP_SCRIPT) backup
51
-
52
- #------------------------------------------------------------------------------
53
- # Build Target
54
- #------------------------------------------------------------------------------
55
- # @name build
56
- # @brief Performs complete dotfiles installation
57
- # @description Runs the full installation process including all necessary steps
58
- # @command make build
59
- # @example make build
60
-
61
- build: ## Run the full installation process
62
- @$(BUILD_SCRIPT) build
63
-
64
- #------------------------------------------------------------------------------
65
- # Clean Target
66
- #------------------------------------------------------------------------------
67
- # @name clean
68
- # @brief Removes previous dotfiles setup
69
- # @description Cleans up any existing dotfiles installation
70
- # @command make clean
71
- # @example make clean
72
-
73
- clean: ## Removes any previous setup
74
- @$(CLEAN_SCRIPT) clean
75
-
76
- #------------------------------------------------------------------------------
77
- # Copy Target
78
- #------------------------------------------------------------------------------
79
- # @name copy
80
- # @brief Copies dotfiles to system
81
- # @description Deploys dotfiles to appropriate locations
82
- # @command make copy
83
- # @example make copy
84
-
85
- copy: ## Copy the dotfiles on your system
86
- @$(COPY_SCRIPT) copy
87
-
88
- #------------------------------------------------------------------------------
89
- # Download Target
90
- #------------------------------------------------------------------------------
91
- # @name download
92
- # @brief Downloads latest dotfiles
93
- # @description Retrieves the most recent version of dotfiles
94
- # @command make download
95
- # @example make download
96
-
97
- download: ## Download the dotfiles on your system
98
- @$(DOWNLOAD_SCRIPT) download
99
-
100
- #------------------------------------------------------------------------------
101
- # Unpack Target
102
- #------------------------------------------------------------------------------
103
- # @name unpack
104
- # @brief Extracts downloaded dotfiles
105
- # @description Unpacks the dotfiles archive to the system
106
- # @command make unpack
107
- # @example make unpack
108
-
109
- unpack: ## Extract the dotfiles to your system
110
- @$(UNPACK_SCRIPT) unpack
111
-
112
- #------------------------------------------------------------------------------
113
- # Help Target
114
- #------------------------------------------------------------------------------
115
- # @name help
116
- # @brief Displays help information
117
- # @description Shows available commands and documentation
118
- # @command make help
119
- # @example make help
120
-
121
- help: ## Display the help menu
122
- @$(BANNER)
123
- @awk 'BEGIN { \
124
- FS = ":.*##"; \
125
- printf "USAGE:\n\n make \033[1;96m[COMMAND]\033[0m\n\nCOMMANDS:\n\n"; \
126
- } \
127
- /^[$$()% a-zA-Z_-]+:.*?##/ { \
128
- printf " \033[1;96m%-8s\033[0m -%s\n", $$1, $$2; \
129
- } \
130
- /^##@/ { \
131
- printf "\n\033[1m%s\033[0m\n", substr($$0, 5); \
132
- }' $(MAKEFILE_LIST)
133
- @echo ""
134
- @echo "DOCUMENTATION:"
135
- @echo ""
136
- @echo -e " \033[4;36mhttps://dotfiles.io\033[0m\n"
137
- @echo "LICENSE:"
138
- @echo ""
139
- @echo " This project is licensed under the MIT License."
140
- @echo ""
@@ -1,3 +0,0 @@
1
- export = backup;
2
- declare function backup(src: any, dest: any): Promise<void>;
3
- //# sourceMappingURL=backup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backup.d.ts","sourceRoot":"","sources":["../../bin/backup.js"],"names":[],"mappings":";AAQA,4DAeC"}
@@ -1,4 +0,0 @@
1
-
2
- async function backup(src,dest){var fs=require("fs");var os=require("os");var path=require("path");var dir=path.resolve(__dirname,os.homedir()+"/dotfiles_backup");if(!fs.existsSync("~/.dotfiles_backup")){fs.mkdirSync("~/.dotfiles_backup");}
3
- var srcPath=path.resolve(__dirname,os.homedir()+"/"+src);var destPath=dir+"/"+dest;await fs.promises.copyFile(srcPath,destPath);}
4
- module.exports=backup;
@@ -1 +0,0 @@
1
- {"version":3,"file":"backup.js","sourceRoot":"","sources":["../../bin/backup.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAe,MAAM,CAAC,GAAG,EAAE,IAAI;;;;;;oBACzB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;oBACnB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;oBACnB,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;oBACvB,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,kBAAkB,CAAC,CAAC;oBAErE,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,oBAAoB,CAAC,EAAE,CAAC;wBACzC,EAAE,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;oBACrC,CAAC;oBAEG,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC;oBAC5D,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;oBAEhC,WAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAA;;oBAA7C,SAA6C,CAAC;;;;;CAE/C;AAED,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC"}
@@ -1,7 +0,0 @@
1
- export const aliases: string[];
2
- export const config: string[];
3
- export const copies: string[];
4
- export const dotfile: "https://registry.npmjs.org/@wwdseb/dotfiles/-/dotfiles-0.2.469.tgz";
5
- export const tmux: "$DOTFILES/configurations/tmux/";
6
- export const version: "dotfiles-0.2.469.tgz";
7
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../bin/constants.js"],"names":[],"mappings":"AAWA,+BAaE;AAiBF,8BAQE;AAvBF,8BAaE;AA9BF,sBAAgB,oEAAoE,CAAC;AA0CrF,mBAAa,gCAAgC,CAAC;AA3C9C,sBAAgB,sBAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
-
2
- const version="dotfiles-0.2.469.tgz";const dotfile="https://registry.npmjs.org/@wwdseb/dotfiles/-/dotfiles-0.2.469.tgz";const aliases=[".bashrc","cacert.pem",".curlrc",".gemrc",".inputrc",".jshintrc",".nanorc",".profile",".tmux.conf",".vimrc",".wgetrc",".zshrc"];const copies=["lib/configurations/bash/bashrc","lib/configurations/curl/cacert.pem","lib/configurations/curl/curlrc","lib/configurations/gem/gemrc","lib/configurations/input/inputrc","lib/configurations/jshint/jshintrc","lib/configurations/nano/nanorc","lib/configurations/profile/profile","lib/configurations/tmux/tmux","lib/configurations/vim/vimrc","lib/configurations/wget/wgetrc","lib/configurations/zsh/zshrc",];const config=["lib/configurations/tmux/default","lib/configurations/tmux/display","lib/configurations/tmux/linux","lib/configurations/tmux/navigation","lib/configurations/tmux/panes","lib/configurations/tmux/theme","lib/configurations/tmux/vi"];const tmux="$DOTFILES/configurations/tmux/";module.exports={aliases,config,copies,dotfile,tmux,version};
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../bin/constants.js"],"names":[],"mappings":";AAQA,IAAM,OAAO,GAAG,sBAAsB,CAAC;AACvC,IAAM,OAAO,GAAG,oEAAoE,CAAC;AAErF,IAAM,OAAO,GAAG;IACd,SAAS;IACT,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,UAAU;IACV,WAAW;IACX,SAAS;IACT,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,QAAQ;CACT,CAAC;AAEF,IAAM,MAAM,GAAG;IACb,gCAAgC;IAChC,oCAAoC;IACpC,gCAAgC;IAChC,8BAA8B;IAC9B,kCAAkC;IAClC,oCAAoC;IACpC,gCAAgC;IAChC,oCAAoC;IACpC,8BAA8B;IAC9B,8BAA8B;IAC9B,gCAAgC;IAChC,8BAA8B;CAC/B,CAAC;AAEF,IAAM,MAAM,GAAG;IACb,iCAAiC;IACjC,iCAAiC;IACjC,+BAA+B;IAC/B,oCAAoC;IACpC,+BAA+B;IAC/B,+BAA+B;IAC/B,4BAA4B;CAC7B,CAAC;AAEF,IAAM,IAAI,GAAG,gCAAgC,CAAC;AAE9C,MAAM,CAAC,OAAO,GAAG,EAAE,OAAO,SAAA,EAAE,MAAM,QAAA,EAAE,MAAM,QAAA,EAAE,OAAO,SAAA,EAAE,IAAI,MAAA,EAAE,OAAO,SAAA,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- export = copy;
2
- declare function copy(src: any, dest: any): Promise<void>;
3
- //# sourceMappingURL=copy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../bin/copy.js"],"names":[],"mappings":";AAQA,0DAUC"}
package/dist/bin/copy.js DELETED
@@ -1,3 +0,0 @@
1
-
2
- async function copy(src,dest){var fs=require("fs");var os=require("os");var path=require("path");var destPath=path.resolve(__dirname,os.homedir()+"/"+dest);var srcPath=path.resolve(__dirname,"../"+src);await fs.promises.copyFile(srcPath,destPath);}
3
- module.exports=copy;
@@ -1 +0,0 @@
1
- {"version":3,"file":"copy.js","sourceRoot":"","sources":["../../bin/copy.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAe,IAAI,CAAC,GAAG,EAAE,IAAI;;;;;;oBAEvB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;oBACnB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;oBACnB,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;oBACvB,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,GAAG,GAAG,IAAI,CAAC,CAAC;oBAC9D,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,GAAG,GAAG,CAAC,CAAC;oBAEnD,WAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAA;;oBAA7C,SAA6C,CAAC;;;;;CAE/C;AAED,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC"}
@@ -1,3 +0,0 @@
1
- export default main;
2
- declare function main(): Promise<void>;
3
- //# sourceMappingURL=dotfiles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dotfiles.d.ts","sourceRoot":"","sources":["../../bin/dotfiles.js"],"names":[],"mappings":";AAwFA,uCASC"}
@@ -1,2 +0,0 @@
1
-
2
- import backup from"./backup.js";import copy from"./copy.js";import download from"./download.js";import transfer from"./transfer.js";import unpack from"./unpack.js";import{aliases,copies}from"./constants.js";import fs from"fs/promises";import os from"os";import path from"path";import{createLogger,transports,format}from"winston";const dir=path.resolve(__dirname,os.homedir());const logger=createLogger({level:"error",format:format.combine(format.timestamp(),format.json()),transports:[new transports.Console(),new transports.File({filename:"error.log"})]});const sleep=(waitTimeInMs)=>new Promise((resolve)=>setTimeout(resolve,waitTimeInMs));const validateAndSanitizeInput=(input)=>{return input.replace(/[^\w]/g,"");};const backupAndCopy=async()=>{try{for(let i=0;i<Math.min(aliases.length,copies.length);i++){const alias=validateAndSanitizeInput(aliases[i]);const copyName=validateAndSanitizeInput(copies[i]);await backup(alias,alias);await copy(copyName,alias);}}catch(error){logger.error(`Error in backupAndCopy:${error.message}`);}};const downloadAndUnpack=async()=>{try{download();await sleep(2500);unpack();await sleep(2500);}catch(error){logger.error(`Error in downloadAndUnpack:${error.message}`);}};const createDirIfNeeded=async()=>{try{await fs.access(dir);}catch(error){if(error.code==="ENOENT"){try{await fs.mkdir(dir);await sleep(2500);}catch(error){logger.error(`Error creating directory:${error.message}`);}}}};const transferFiles=async()=>{try{await transfer(dir);}catch(error){logger.error(`Error in transferFiles:${error.message}`);}};const main=async()=>{try{await backupAndCopy();await downloadAndUnpack();await createDirIfNeeded();await transferFiles();}catch(error){logger.error(`Error in main:${error.message}`);}};export default main;
@@ -1 +0,0 @@
1
- {"version":3,"file":"dotfiles.js","sourceRoot":"","sources":["../../bin/dotfiles.js"],"names":[],"mappings":"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"}
@@ -1,3 +0,0 @@
1
- export default download;
2
- declare function download(): Promise<void>;
3
- //# sourceMappingURL=download.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":";AAiBA,2CAuBC"}
@@ -1,2 +0,0 @@
1
-
2
- import fs from"fs";import os from"os";import path from"path";import{dotfile,version}from"./constants.js";import{promisify}from"util";const destPath=path.resolve(__dirname,os.homedir()+"/dotfiles_backup/");const https=require("https");const mv=promisify(fs.rename);const download=async()=>{const file=fs.createWriteStream(version);const request=https.get(dotfile,(response)=>{response.pipe(file);file.on("finish",async()=>{file.close();try{await mv(version,`${destPath}/${version}`);fs.rmSync(version);}catch(err){console.error("Error during file download:",err);}});});request.on("error",(err)=>{console.error("Error during file download:",err);});};export default download;
@@ -1 +0,0 @@
1
- {"version":3,"file":"download.js","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,yBAAoB;AACpB,yBAAoB;AACpB,6BAAwB;AACxB,+CAAkD;AAClD,6BAAiC;AAEjC,IAAM,QAAQ,GAAG,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,YAAE,CAAC,OAAO,EAAE,GAAG,mBAAmB,CAAC,CAAC;AAC7E,IAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAC/B,IAAM,EAAE,GAAG,IAAA,gBAAS,EAAC,YAAE,CAAC,MAAM,CAAC,CAAC;AAEhC,IAAM,QAAQ,GAAG;;;QACT,IAAI,GAAG,YAAE,CAAC,iBAAiB,CAAC,sBAAO,CAAC,CAAC;QAErC,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,sBAAO,EAAE,UAAC,QAAQ;YAC1C,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACpB,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE;;;;;4BAChB,IAAI,CAAC,KAAK,EAAE,CAAC;;;;4BAEX,WAAM,EAAE,CAAC,sBAAO,EAAE,UAAG,QAAQ,cAAI,sBAAO,CAAE,CAAC,EAAA;;4BAA3C,SAA2C,CAAC;4BAC5C,YAAE,CAAC,MAAM,CAAC,sBAAO,CAAC,CAAC;;;;4BAGnB,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,KAAG,CAAC,CAAC;;;;;iBAGrD,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,UAAC,GAAG;YAEtB,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,GAAG,CAAC,CAAC;QAEpD,CAAC,CAAC,CAAC;;;KACJ,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../bin/index.js"],"names":[],"mappings":""}
package/dist/bin/index.js DELETED
@@ -1 +0,0 @@
1
- "use strict";import dotfiles from"./dotfiles.js";dotfiles();
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../bin/index.js"],"names":[],"mappings":"AAQA,YAAY,CAAC;;AACb,6CAAqC;AAErC,IAAA,qBAAQ,GAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- export = transfer;
2
- declare function transfer(dest: any): Promise<void>;
3
- //# sourceMappingURL=transfer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["../../bin/transfer.js"],"names":[],"mappings":";AAQA,oDAyBC"}