Last active
May 18, 2022 17:44
-
-
Save unicornware/bde825b68f0482de8a217a67f51cb79e to your computer and use it in GitHub Desktop.
Package Manager Configurations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NPM Configuration | |
# See: https://docs.npmjs.com/cli/v6/using-npm/config#npmrc-files | |
# See: https://stackoverflow.com/questions/53099434/using-auth-tokens-in-npmrc | |
# Registry Configuration - npm | |
//registry.npmjs.org/:_authToken=${NPM_TOKEN} | |
registry=https://registry.npmjs.org/ | |
# Registry Configuration - gpr / @flex-development scope | |
//registry.yarnpkg.com/:_authToken=${GH_PAT} | |
@flex-development:registry=https://npm.pkg.github.com/ | |
# Registry Configuration - gpr / @kadeluxe scope | |
//registry.yarnpkg.com/:_authToken=${GH_PAT} | |
@kadeluxe:registry=https://npm.pkg.github.com/ | |
# Registry Configuration - yarn | |
//registry.yarnpkg.com/:_authToken=${NPM_TOKEN} | |
registry=https://registry.yarnpkg.com/ | |
# Save exact dependency versions | |
save-exact=true | |
save-prefix= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# REFERENCE: https://yarnpkg.com/configuration/yarnrc | |
defaultSemverRangePrefix: '' | |
enableInlineBuilds: true | |
nmHoistingLimits: dependencies | |
nodeLinker: node-modules | |
npmPublishRegistry: https://npm.pkg.github.com | |
npmRegistries: | |
//npm.pkg.github.com: | |
npmAlwaysAuth: true | |
npmAuthToken: ${GH_PAT} | |
//registry.npmjs.org: | |
npmAlwaysAuth: true | |
npmAuthToken: ${NPM_TOKEN} | |
//registry.yarnpkg.org: | |
npmAlwaysAuth: true | |
npmAuthToken: ${NPM_TOKEN} | |
npmRegistryServer: https://registry.yarnpkg.com | |
npmScopes: | |
flex-development: | |
npmAlwaysAuth: true | |
npmAuthToken: ${GH_PAT} | |
npmRegistryServer: https://npm.pkg.github.com | |
kadeluxe: | |
npmAlwaysAuth: true | |
npmAuthToken: ${GH_PAT} | |
npmRegistryServer: https://npm.pkg.github.com | |
plugins: | |
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | |
spec: '@yarnpkg/plugin-interactive-tools' | |
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs | |
spec: '@yarnpkg/plugin-workspace-tools' | |
yarnPath: .yarn/releases/yarn-3.2.0.cjs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment