-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c5f7276
Showing
15 changed files
with
1,387 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Don't allow people to merge changes to these generated files, because the result | ||
# may be invalid. You need to run "rush update" again. | ||
pnpm-lock.yaml merge=text | ||
shrinkwrap.yaml merge=binary | ||
npm-shrinkwrap.json merge=binary | ||
yarn.lock merge=binary | ||
|
||
# Rush's JSON config files use JavaScript-style code comments. The rule below prevents pedantic | ||
# syntax highlighters such as GitHub's from highlighting these comments as errors. Your text editor | ||
# may also require a special configuration to allow comments in JSON. | ||
# | ||
# For more information, see this issue: https://github.com/microsoft/rushstack/issues/1088 | ||
# | ||
*.json linguist-language=JSON-with-Comments |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# next.js build output | ||
.next | ||
|
||
# OS X temporary files | ||
.DS_Store | ||
|
||
# Rush temporary files | ||
common/deploy/ | ||
common/temp/ | ||
common/autoinstallers/*/.npmrc | ||
**/.rush/temp/ | ||
|
||
# Heft | ||
.heft |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
language: node_js | ||
node_js: | ||
- '8.9.4' | ||
script: | ||
- set -e | ||
|
||
- echo 'Checking for missing change logs...' && echo -en 'travis_fold:start:change\\r' | ||
- git fetch origin main:refs/remotes/origin/main -a | ||
- node common/scripts/install-run-rush.js change -v | ||
- echo -en 'travis_fold:end:change\\r' | ||
|
||
- echo 'Installing...' && echo -en 'travis_fold:start:install\\r' | ||
- node common/scripts/install-run-rush.js install | ||
- echo -en 'travis_fold:end:install\\r' | ||
|
||
- echo 'Building...' && echo -en 'travis_fold:start:build\\r' | ||
- node common/scripts/install-run-rush.js rebuild --verbose | ||
- echo -en 'travis_fold:end:build\\r' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Rush uses this file to configure the NPM package registry during installation. It is applicable | ||
# to PNPM, NPM, and Yarn package managers. It is used by operations such as "rush install", | ||
# "rush update", and the "install-run.js" scripts. | ||
# | ||
# NOTE: The "rush publish" command uses .npmrc-publish instead. | ||
# | ||
# Before invoking the package manager, Rush will copy this file to the folder where installation | ||
# is performed. The copied file will omit any config lines that reference environment variables | ||
# that are undefined in that session; this avoids problems that would otherwise result due to | ||
# a missing variable being replaced by an empty string. | ||
# | ||
# * * * SECURITY WARNING * * * | ||
# | ||
# It is NOT recommended to store authentication tokens in a text file on a lab machine, because | ||
# other unrelated processes may be able to read the file. Also, the file may persist indefinitely, | ||
# for example if the machine loses power. A safer practice is to pass the token via an | ||
# environment variable, which can be referenced from .npmrc using ${} expansion. For example: | ||
# | ||
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} | ||
# | ||
registry=https://registry.npmjs.org/ | ||
always-auth=false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This config file is very similar to common/config/rush/.npmrc, except that .npmrc-publish | ||
# is used by the "rush publish" command, as publishing often involves different credentials | ||
# and registries than other operations. | ||
# | ||
# Before invoking the package manager, Rush will copy this file to "common/temp/publish-home/.npmrc" | ||
# and then temporarily map that folder as the "home directory" for the current user account. | ||
# This enables the same settings to apply for each project folder that gets published. The copied file | ||
# will omit any config lines that reference environment variables that are undefined in that session; | ||
# this avoids problems that would otherwise result due to a missing variable being replaced by | ||
# an empty string. | ||
# | ||
# * * * SECURITY WARNING * * * | ||
# | ||
# It is NOT recommended to store authentication tokens in a text file on a lab machine, because | ||
# other unrelated processes may be able to read the file. Also, the file may persist indefinitely, | ||
# for example if the machine loses power. A safer practice is to pass the token via an | ||
# environment variable, which can be referenced from .npmrc using ${} expansion. For example: | ||
# | ||
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} | ||
# |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
'use strict'; | ||
|
||
/** | ||
* When using the PNPM package manager, you can use pnpmfile.js to workaround | ||
* dependencies that have mistakes in their package.json file. (This feature is | ||
* functionally similar to Yarn's "resolutions".) | ||
* | ||
* For details, see the PNPM documentation: | ||
* https://pnpm.js.org/docs/en/hooks.html | ||
* | ||
* IMPORTANT: SINCE THIS FILE CONTAINS EXECUTABLE CODE, MODIFYING IT IS LIKELY TO INVALIDATE | ||
* ANY CACHED DEPENDENCY ANALYSIS. After any modification to pnpmfile.js, it's recommended to run | ||
* "rush update --full" so that PNPM will recalculate all version selections. | ||
*/ | ||
module.exports = { | ||
hooks: { | ||
readPackage | ||
} | ||
}; | ||
|
||
/** | ||
* This hook is invoked during installation before a package's dependencies | ||
* are selected. | ||
* The `packageJson` parameter is the deserialized package.json | ||
* contents for the package that is about to be installed. | ||
* The `context` parameter provides a log() function. | ||
* The return value is the updated object. | ||
*/ | ||
function readPackage(packageJson, context) { | ||
|
||
// // The karma types have a missing dependency on typings from the log4js package. | ||
// if (packageJson.name === '@types/karma') { | ||
// context.log('Fixed up dependencies for @types/karma'); | ||
// packageJson.dependencies['log4js'] = '0.6.38'; | ||
// } | ||
|
||
return packageJson; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
/** | ||
* This configuration file manages Rush integration with JFrog Artifactory services. | ||
* More documentation is available on the Rush website: https://rushjs.io | ||
*/ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/artifactory.schema.json", | ||
|
||
"packageRegistry": { | ||
/** | ||
* (Required) Set this to "true" to enable Rush to manage tokens for an Artifactory NPM registry. | ||
* When enabled, "rush install" will automatically detect when the user's ~/.npmrc | ||
* authentication token is missing or expired. And "rush setup" will prompt the user to | ||
* renew their token. | ||
* | ||
* The default value is false. | ||
*/ | ||
"enabled": false, | ||
|
||
/** | ||
* (Required) Specify the URL of your NPM registry. This is the same URL that appears in | ||
* your .npmrc file. It should look something like this example: | ||
* | ||
* https://your-company.jfrog.io/your-project/api/npm/npm-private/ | ||
*/ | ||
"registryUrl": "", | ||
|
||
/** | ||
* A list of custom strings that "rush setup" should add to the user's ~/.npmrc file at the time | ||
* when the token is updated. This could be used for example to configure the company registry | ||
* to be used whenever NPM is invoked as a standalone command (but it's not needed for Rush | ||
* operations like "rush add" and "rush install", which get their mappings from the monorepo's | ||
* common/config/rush/.npmrc file). | ||
* | ||
* NOTE: The ~/.npmrc settings are global for the user account on a given machine, so be careful | ||
* about adding settings that may interfere with other work outside the monorepo. | ||
*/ | ||
"userNpmrcLinesToAdd": [ | ||
// "@example:registry=https://your-company.jfrog.io/your-project/api/npm/npm-private/" | ||
], | ||
|
||
/** | ||
* (Required) Specifies the URL of the Artifactory control panel where the user can generate | ||
* an API key. This URL is printed after the "visitWebsite" message. | ||
* It should look something like this example: https://your-company.jfrog.io/ | ||
* Specify an empty string to suppress this line entirely. | ||
*/ | ||
"artifactoryWebsiteUrl": "", | ||
|
||
/** | ||
* These settings allow the "rush setup" interactive prompts to be customized, for | ||
* example with messages specific to your team or configuration. Specify an empty string | ||
* to suppress that message entirely. | ||
*/ | ||
"messageOverrides": { | ||
/** | ||
* Overrides the message that normally says: | ||
* "This monorepo consumes packages from an Artifactory private NPM registry." | ||
*/ | ||
// "introduction": "", | ||
/** | ||
* Overrides the message that normally says: | ||
* "Please contact the repository maintainers for help with setting up an Artifactory user account." | ||
*/ | ||
// "obtainAnAccount": "", | ||
/** | ||
* Overrides the message that normally says: | ||
* "Please open this URL in your web browser:" | ||
* | ||
* The "artifactoryWebsiteUrl" string is printed after this message. | ||
*/ | ||
// "visitWebsite": "", | ||
/** | ||
* Overrides the message that normally says: | ||
* "Your user name appears in the upper-right corner of the JFrog website." | ||
*/ | ||
// "locateUserName": "", | ||
/** | ||
* Overrides the message that normally says: | ||
* "Click 'Edit Profile' on the JFrog website. Click the 'Generate API Key' | ||
* button if you haven't already done so previously." | ||
*/ | ||
// "locateApiKey": "" | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/** | ||
* This configuration file manages Rush's build cache feature. | ||
* More documentation is available on the Rush website: https://rushjs.io | ||
*/ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/build-cache.schema.json", | ||
|
||
/** | ||
* (Required) EXPERIMENTAL - Set this to true to enable the build cache feature. | ||
* | ||
* See https://rushjs.io/pages/maintainer/build_cache/ for details about this experimental feature. | ||
*/ | ||
"buildCacheEnabled": false, | ||
|
||
/** | ||
* (Required) Choose where project build outputs will be cached. | ||
* | ||
* Possible values: "local-only", "azure-blob-storage", "amazon-s3" | ||
*/ | ||
"cacheProvider": "local-only", | ||
|
||
/** | ||
* Setting this property overrides the cache entry ID. If this property is set, it must contain | ||
* a [hash] token. It may also contain a [projectName] or a [projectName:normalize] token. | ||
*/ | ||
// "cacheEntryNamePattern": "[projectName:normalize]-[phaseName:normalize]-[hash]" | ||
|
||
/** | ||
* Use this configuration with "cacheProvider"="azure-blob-storage" | ||
*/ | ||
"azureBlobStorageConfiguration": { | ||
/** | ||
* (Required) The name of the the Azure storage account to use for build cache. | ||
*/ | ||
// "storageAccountName": "example", | ||
|
||
/** | ||
* (Required) The name of the container in the Azure storage account to use for build cache. | ||
*/ | ||
// "storageContainerName": "my-container", | ||
|
||
/** | ||
* The Azure environment the storage account exists in. Defaults to AzurePublicCloud. | ||
* | ||
* Possible values: "AzurePublicCloud", "AzureChina", "AzureGermany", "AzureGovernment" | ||
*/ | ||
// "azureEnvironment": "AzurePublicCloud", | ||
|
||
/** | ||
* An optional prefix for cache item blob names. | ||
*/ | ||
// "blobPrefix": "my-prefix", | ||
|
||
/** | ||
* If set to true, allow writing to the cache. Defaults to false. | ||
*/ | ||
// "isCacheWriteAllowed": true | ||
}, | ||
|
||
/** | ||
* Use this configuration with "cacheProvider"="amazon-s3" | ||
*/ | ||
"amazonS3Configuration": { | ||
/** | ||
* (Required unless s3Endpoint is specified) The name of the bucket to use for build cache (e.g. "my-bucket"). | ||
*/ | ||
// "s3Bucket": "my-bucket", | ||
|
||
/** | ||
* (Required unless s3Bucket is specified) The Amazon S3 endpoint of the bucket to use for build cache (e.g. "my-bucket.s3.us-east-2.amazonaws.com" or "http://localhost:9000"). | ||
* This shold not include any path, use the s3Prefix to set the path. | ||
*/ | ||
// "s3Endpoint": "https://my-bucket.s3.us-east-2.amazonaws.com", | ||
|
||
/** | ||
* (Required) The Amazon S3 region of the bucket to use for build cache (e.g. "us-east-1"). | ||
*/ | ||
// "s3Region": "us-east-1", | ||
|
||
/** | ||
* An optional prefix ("folder") for cache items. Should not start with / | ||
*/ | ||
// "s3Prefix": "my-prefix", | ||
|
||
/** | ||
* If set to true, allow writing to the cache. Defaults to false. | ||
*/ | ||
// "isCacheWriteAllowed": true | ||
} | ||
} |
Oops, something went wrong.