Skip to content

Commit 41d8cc4

Browse files
committed
Make a copy of the rushstack repo
0 parents  commit 41d8cc4

File tree

3,497 files changed

+520329
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,497 files changed

+520329
-0
lines changed

.gitattributes

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto
3+
4+
# The item with `binary` is treated as binary file.
5+
# The item with `eol=lf` is converted to LF on checkin, back to LF on checkout.
6+
# The item with `eol=crlf` is converted to LF on checkin, back to CRLF on checkout.
7+
8+
# To get full extension list in the repo, remove the node_modules folder and run the following PowerShell cmdlet.
9+
# PS> Get-ChildItem . -Recurse | Where-Object { -not $_.PSIsContainer } | ForEach-Object { $_.Extension.ToLower() } | Sort-Object | Get-Unique
10+
11+
# If new extensions are added, please refresh the repo with the following commands.
12+
# Reference: https://git-scm.com/docs/gitattributes
13+
# > rm .git/index # Remove the index to force Git to
14+
# > git reset # re-scan the working directory
15+
# > git status # Show files that will be normalized
16+
# > git add -u
17+
# > git add .gitattributes
18+
# > git commit -m "Apply end-of-line normalization based on updated .gitattributes file"
19+
20+
*.cmd text eol=crlf
21+
*.dll binary
22+
*.eot binary
23+
*.exe binary
24+
*.gif binary
25+
*.ico binary
26+
*.jpg binary
27+
*.png binary
28+
*.ttf binary
29+
*.woff binary
30+
*.wsp binary
31+
32+
# NPM "bin" scripts MUST have LF, or else the executable fails to run on Mac.
33+
# This fnmatch expression only matches files in a "bin" folder and without
34+
# a period in the filename.
35+
/*/*/bin/+([!.]) -text
36+
37+
# Don't allow people to merge changes to these generated files, because the result
38+
# may be invalid. You need to run "rush update" again.
39+
pnpm-lock.yaml merge=text
40+
shrinkwrap.yaml merge=binary
41+
npm-shrinkwrap.json merge=binary
42+
yarn.lock merge=binary
43+
44+
# Rush's JSON config files use JavaScript-style code comments. The rule below prevents pedantic
45+
# syntax highlighters such as GitHub's from highlighting these comments as errors. Your text editor
46+
# may also require a special configuration to allow comments in JSON.
47+
#
48+
# For more information, see this issue: https://github.com/microsoft/rushstack/issues/1088
49+
#
50+
*.json linguist-language=JSON-with-Comments

.gitignore

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Logs
2+
*.log
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
7+
# Runtime data
8+
*.pid
9+
*.seed
10+
*.pid.lock
11+
12+
# Directory for instrumented libs generated by jscoverage/JSCover
13+
lib-cov
14+
15+
# Coverage directory used by tools like istanbul
16+
coverage
17+
18+
# nyc test coverage
19+
.nyc_output
20+
21+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
22+
.grunt
23+
24+
# Bower dependency directory (https://bower.io/)
25+
bower_components
26+
27+
# node-waf configuration
28+
.lock-wscript
29+
30+
# Compiled binary addons (https://nodejs.org/api/addons.html)
31+
build/Release
32+
33+
# Dependency directories
34+
node_modules/
35+
jspm_packages/
36+
37+
# Optional npm cache directory
38+
.npm
39+
40+
# Optional eslint cache
41+
.eslintcache
42+
43+
# Optional REPL history
44+
.node_repl_history
45+
46+
# Output of 'npm pack'
47+
*.tgz
48+
49+
# Yarn Integrity file
50+
.yarn-integrity
51+
52+
# dotenv environment variables file
53+
.env
54+
55+
# next.js build output
56+
.next
57+
58+
# OS X temporary files
59+
.DS_Store
60+
61+
# IntelliJ IDEA project files; if you want to commit IntelliJ settings, this recipe may be helpful:
62+
# https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
63+
.idea/
64+
*.iml
65+
66+
# Visual Studio Code
67+
.vscode/*
68+
!.vscode/settings.json
69+
!.vscode/tasks.json
70+
!.vscode/launch.json
71+
!.vscode/extensions.json
72+
!*.code-workspace
73+
74+
# Rush temporary files
75+
common/deploy/
76+
common/temp/
77+
common/autoinstallers/*/.npmrc
78+
**/.rush/temp/
79+
*.lock
80+
81+
# Heft temporary files
82+
.cache
83+
.heft
84+
85+
# Visual Studio Code
86+
.vscode
87+
88+
# Common toolchain intermediate files
89+
temp
90+
lib
91+
lib-amd
92+
lib-es6
93+
lib-esnext
94+
lib-commonjs
95+
lib-shim
96+
dist
97+
dist-storybook
98+
*.scss.ts
99+
*.sass.ts

.prettierignore

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
#-------------------------------------------------------------------------------------------------------------------
2+
# Keep this section in sync with .gitignore
3+
#-------------------------------------------------------------------------------------------------------------------
4+
5+
# Logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
11+
# Runtime data
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
16+
# Directory for instrumented libs generated by jscoverage/JSCover
17+
lib-cov
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (https://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# Optional npm cache directory
42+
.npm
43+
44+
# Optional eslint cache
45+
.eslintcache
46+
47+
# Optional REPL history
48+
.node_repl_history
49+
50+
# Output of 'npm pack'
51+
*.tgz
52+
53+
# Yarn Integrity file
54+
.yarn-integrity
55+
56+
# dotenv environment variables file
57+
.env
58+
59+
# next.js build output
60+
.next
61+
62+
# OS X temporary files
63+
.DS_Store
64+
65+
# Rush temporary files
66+
common/deploy/
67+
common/temp/
68+
**/.rush/temp/
69+
70+
# Common toolchain intermediate files
71+
temp
72+
lib
73+
lib-amd
74+
lib-es6
75+
dist
76+
*.scss.ts
77+
*.sass.ts
78+
79+
# Visual Studio Code
80+
.vscode
81+
82+
# Remove eventually
83+
package-deps.json
84+
85+
#-------------------------------------------------------------------------------------------------------------------
86+
# Prettier-specific overrides
87+
#-------------------------------------------------------------------------------------------------------------------
88+
89+
# Machine-egnerated files
90+
common/reviews
91+
common/changes
92+
common/scripts
93+
common/config/rush/browser-approved-packages.json
94+
common/config/rush/nonbrowser-approved-packages.json
95+
CHANGELOG.*
96+
pnpm-lock.yaml
97+
build-tests/*/etc
98+
dist-dev
99+
dist-prod
100+
101+
# Prettier doesn't understand the /*[LINE "HYPOTHETICAL"]*/ macros in these files:
102+
libraries/rush-lib/assets/rush-init/
103+
104+
# These are intentionally invalid files
105+
libraries/heft-config-file/src/test/errorCases/invalidJson/config.json
106+
107+
# common scripts in sandbox repo
108+
build-tests/rush-redis-cobuild-plugin-integration-test/sandbox/repo/common/scripts/
109+
110+
# We'll consider enabling this later; Prettier reformats code blocks, which affects end-user content
111+
*.md
112+
113+
# Don't format these YAML files - they were generated by pnpm and are used in unit tests
114+
libraries/rush-lib/src/logic/test/shrinkwrapFile/*.yaml

.prettierrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Documentation for this file: https://prettier.io/docs/en/configuration.html
2+
module.exports = {
3+
// We use a larger print width because Prettier's word-wrapping seems to be tuned
4+
// for plain JavaScript without type annotations
5+
printWidth: 110,
6+
// Microsoft style quotes
7+
singleQuote: true,
8+
// Preserve existing newlines
9+
endOfLine: 'auto',
10+
// For ES5, trailing commas cannot be used in function parameters; it is counterintuitive
11+
// to use them for arrays only
12+
trailingComma: 'none'
13+
};

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
This is a monorepo, with each published package containing its own license. The
2+
license for each package can be found in the package's folder.
3+
4+
The projects in this monorepo are licensed under the MIT license.
5+
6+
Copyright (c) Microsoft Corporation. All rights reserved.
7+
8+
MIT License
9+
10+
Permission is hereby granted, free of charge, to any person obtaining
11+
a copy of this software and associated documentation files (the
12+
"Software"), to deal in the Software without restriction, including
13+
without limitation the rights to use, copy, modify, merge, publish,
14+
distribute, sublicense, and/or sell copies of the Software, and to
15+
permit persons to whom the Software is furnished to do so, subject to
16+
the following conditions:
17+
18+
The above copyright notice and this permission notice shall be
19+
included in all copies or substantial portions of the Software.
20+
21+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This is a copy of https://github.com/microsoft/rushstack/commit/6fd68ae2706a15f6f41f20f76183e368df88167e
2+
to be used for testing [cobuild](https://rushjs.io/pages/maintainer/cobuilds/) pipelines.
3+

SECURITY.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.5 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).
14+
15+
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

apps/api-documenter/.eslintrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2+
require('@rushstack/eslint-config/patch/modern-module-resolution');
3+
4+
module.exports = {
5+
extends: [
6+
'@rushstack/eslint-config/profile/node-trusted-tool',
7+
'@rushstack/eslint-config/mixins/friendly-locals'
8+
],
9+
parserOptions: { tsconfigRootDir: __dirname }
10+
};

apps/api-documenter/.npmignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# THIS IS A STANDARD TEMPLATE FOR .npmignore FILES IN THIS REPO.
2+
3+
# Ignore all files by default, to avoid accidentally publishing unintended files.
4+
*
5+
6+
# Use negative patterns to bring back the specific things we want to publish.
7+
!/bin/**
8+
!/lib/**
9+
!/lib-*/**
10+
!/dist/**
11+
!ThirdPartyNotice.txt
12+
13+
# Ignore certain patterns that should not get published.
14+
/dist/*.stats.*
15+
/lib/**/test/
16+
/lib-*/**/test/
17+
*.test.js
18+
19+
# NOTE: These don't need to be specified, because NPM includes them automatically.
20+
#
21+
# package.json
22+
# README (and its variants)
23+
# CHANGELOG (and its variants)
24+
# LICENSE / LICENCE
25+
26+
#--------------------------------------------
27+
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
28+
#--------------------------------------------
29+
30+
# (Add your project-specific overrides here)

0 commit comments

Comments
 (0)