Skip to content

Commit

Permalink
Update npm config and switch default branch to main
Browse files Browse the repository at this point in the history
* Update config fields for npm
  - Update my email address to `i@fengyj.cn`.
  - Use `init-license`(and others) instead of `init.license`(and others).
    Update above settings config fields to remove warnings.
  More to see:
  - npm/cli#5302
  - https://stackoverflow.com/questions/71914123/warning-in-npm-config-at-latest-version/72113809#72113809

* Update copyright author for LICENSE: Huiyi.FYJ => Feng.YJ.

* Switch the default branch from `master` to `main`, and update related URL links in README file.
  For refer to https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main/

* Update copyright year to 2023 in README file.

* Add backup tsinghua TUNA mirror URL for flutter.
  • Loading branch information
huiyifyj committed Apr 3, 2023
1 parent 2626b42 commit cd2c1c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Huiyi.FYJ
Copyright (c) 2018 Feng.YJ

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<img src='https://dotfiles.github.io/images/dotfiles-logo.png' height='40' align='right'/>

# Dotfiles

> 📑 There are my script files and config files for initializing and disposing.
LICENSE: [MIT](https://github.com/huiyifyj/dotfiles/blob/master/LICENSE).
LICENSE: [MIT](https://github.com/huiyifyj/dotfiles/blob/main/LICENSE).

<br>
<br>
<div align=center>
<sub>
&copy; 2020 | <a href="https://huiyifyj.github.io">Feng.YJ</a>
&copy; 2023 | <a href="https://huiyifyj.github.io">Feng.YJ</a>
</sub>
</div>
2 changes: 2 additions & 0 deletions home/.profile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ export PATH="$FLUTTER/bin:$PATH"
# Flutter setting.
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
# export PUB_HOSTED_URL="https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
# export FLUTTER_STORAGE_BASE_URL="https://mirrors.tuna.tsinghua.edu.cn/flutter"

# Alias command
# View all active ports
Expand Down
6 changes: 3 additions & 3 deletions node/.npmrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
; About annotation for .npmrc file to https://github.com/npm/ini

; default value config when running `npm init`
init.license=MIT
init.author.name=Feng.YJ
init.author.email=jxfengyijie@gmail.com
init-license=MIT
init-author-name=Feng.YJ
init-author-email=i@fengyj.cn

; Remove prefix, nvm isn't compatible with the npm config "prefix" option
; prefix=/home/fyj/node/npm/bin
Expand Down

0 comments on commit cd2c1c9

Please sign in to comment.