Git - leotm/react-native-template-new-architecture GitHub Wiki

References

Yarn v4

"ts-node": "git+https://github.com/felipeplets/ts-node#79c3ff8f13385d3d828b17fb20953e398905f005",
"ts-node": "https://github.com/felipeplets/ts-node#79c3ff8f13385d3d828b17fb20953e398905f005",
"ts-node": "github:felipeplets/ts-node#79c3ff8f13385d3d828b17fb20953e398905f005",
"ts-node": "felipeplets/ts-node#79c3ff8f13385d3d828b17fb20953e398905f005",
"ts-node": "felipeplets/ts-node.git#79c3ff8f13385d3d828b17fb20953e398905f005",
"ts-node": "felipeplets/ts-node#main",
"ts-node": "felipeplets/ts-node#v10.0.0",
"ts-node": "https://github.com/TypeStrong/ts-node/archive/refs/pull/2161/head.tar.gz",

exclusively for package.json

i.e. can't be imported

TODO

┌──────────────────────────┬────────────────────┬───────────────────────────────────────────────┐ │ Format │ Name │ Example │ ├──────────────────────────┼────────────────────┼───────────────────────────────────────────────┤ │ file: │ Local path │ "file:../my-package" │ ├──────────────────────────┼────────────────────┼───────────────────────────────────────────────┤ │ npm: │ Registry alias │ "npm:lodash@4" or "npm:@old/pkg@^1" │ ├──────────────────────────┼────────────────────┼───────────────────────────────────────────────┤ │ workspace: │ Workspace protocol │ "workspace:*" or "workspace:^1" │ ├──────────────────────────┼────────────────────┼───────────────────────────────────────────────┤ │ portal: │ Portal protocol │ "portal:../other-repo#packages/foo" │ ├──────────────────────────┼────────────────────┼───────────────────────────────────────────────┤ │ patch: │ Patched dependency │ "patch:pkg@npm:1.0#./patch.patch" │ ├──────────────────────────┼────────────────────┼───────────────────────────────────────────────┤ │ git+ssh:// │ Git SSH URL │ "git+ssh://[email protected]/owner/repo.git#sha" │ ├──────────────────────────┼────────────────────┼───────────────────────────────────────────────┤ │ git+file: │ Local git repo │ "git+file:../local-repo" │ ├──────────────────────────┼────────────────────┼───────────────────────────────────────────────┤ │ http/https (non-tarball) │ HTTP(S) URL │ Any .tgz, .tar.gz, .tar.bz2 │ └──────────────────────────┴────────────────────┴───────────────────────────────────────────────┘

tag shorthand │ NPM dist-tag │ "latest", "next", "canary"

.yarnrc.yml

approvedGitRepositories:
  - "https://github.com/.../*"