Коммит
73a4d9d5df
|
@ -0,0 +1,78 @@
|
|||
# Prevent Git to auto detect text files and perform LF normalization.
|
||||
* -text
|
||||
|
||||
# The item with `binary` is treated as binary file.
|
||||
# The item with `eol=lf` is converted to LF on checkin, back to LF on checkout.
|
||||
# The item with `eol=crlf` is converted to LF on checkin, back to CRLF on checkout.
|
||||
|
||||
# To get full extension list in the repo, remove the node_modules folder and run the following PowerShell cmdlet.
|
||||
# PS> Get-ChildItem . -Recurse | Where-Object { -not $_.PSIsContainer } | ForEach-Object { $_.Extension.ToLower() } | Sort-Object | Get-Unique
|
||||
|
||||
# If new extensions are added, please refresh the repo with the following commands.
|
||||
# Reference: https://git-scm.com/docs/gitattributes
|
||||
# > rm .git/index # Remove the index to force Git to
|
||||
# > git reset # re-scan the working directory
|
||||
# > git status # Show files that will be normalized
|
||||
# > git add -u
|
||||
# > git add .gitattributes
|
||||
# > git commit -m "Apply end-of-line normalization based on updated .gitattributes file"
|
||||
|
||||
*.aspx text eol=crlf
|
||||
*.bowerrc text eol=lf
|
||||
*.cmd text eol=crlf
|
||||
*.command text eol=lf
|
||||
*.config text eol=crlf
|
||||
*.cs text eol=crlf
|
||||
*.csproj text eol=crlf
|
||||
*.css text eol=crlf
|
||||
*.dll binary
|
||||
*.editorconfig text eol=lf
|
||||
*.eot binary
|
||||
*.example text eol=crlf
|
||||
*.exe binary
|
||||
*.gif binary
|
||||
*.gitattributes text eol=lf
|
||||
*.gitignore text eol=lf
|
||||
*.gitmodules text eol=lf
|
||||
*.html text eol=crlf
|
||||
*.ico binary
|
||||
*.jpg binary
|
||||
*.js text eol=crlf
|
||||
*.json text eol=crlf
|
||||
*.less text eol=crlf
|
||||
*.map text eol=lf
|
||||
*.md text eol=crlf
|
||||
*.npmignore text eol=lf
|
||||
*.png binary
|
||||
*.ps1 text eol=crlf
|
||||
*.rels text eol=crlf
|
||||
*.resx text eol=crlf
|
||||
*.scss text eol=crlf
|
||||
*.sln text eol=crlf
|
||||
*.svg text elf=lf
|
||||
*.ts text eol=crlf
|
||||
*.tsx text eol=crlf
|
||||
*.ttf binary
|
||||
*.woff binary
|
||||
*.wsp binary
|
||||
*.xml text eol=crlf
|
||||
|
||||
# NPM "bin" scripts MUST have LF, or else the executable fails to run on Mac.
|
||||
# This fnmatch expression only matches files in a "bin" folder and without
|
||||
# a period in the filename.
|
||||
/*/*/bin/+([!.]) -text
|
||||
|
||||
# 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=binary
|
||||
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
|
|
@ -0,0 +1,17 @@
|
|||
.github/CODEOWNERS @iclanton @octogonz @patmill @apostolisms
|
||||
common/config/**/* @iclanton @octogonz @patmill @apostolisms
|
||||
|
||||
common/reviews/**/* @iclanton @octogonz @apostolisms
|
||||
|
||||
apps/**/* @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
build-tests/**/* @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
core-build/**/* @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
libraries/**/* @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
stack/**/* @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
webpack/**/* @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
rush.json @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
.gitattributes @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
.gitignore @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
README.md @iclanton @octogonz @apostolisms @halfnibble @sachinjoseph @D4N14L
|
||||
|
||||
libraries/load-themed-styles/**/* @iclanton @octogonz @dzearing @apostolisms
|
|
@ -0,0 +1,66 @@
|
|||
<!--------------------------------------------------------------------------
|
||||
👉 STEP 1: Before getting started, please read the contributor guidelines:
|
||||
https://rushstack.io/pages/contributing/get_started/
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<!--------------------------------------------------------------------------
|
||||
👉 STEP 2: We thoughtfully review both implementation AND feature design.
|
||||
If you are making a nontrivial change, it's recommended to first create
|
||||
a GitHub issue and get feedback on your proposed design.
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<!--------------------------------------------------------------------------
|
||||
👉 STEP 3: Write a concise but specific PR title in the box above.
|
||||
Prefix your PR with a relevant Rush Stack package name in brackets.
|
||||
For example, if your PR fixes the "@rushstack/ts-command-line" project,
|
||||
then your GitHub title might look like:
|
||||
|
||||
"[ts-command-line] Add support for numeric command line parameters"
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
## Summary
|
||||
|
||||
<!--------------------------------------------------------------------------
|
||||
👉 STEP 4: In a few sentences, write a summary explaining:
|
||||
|
||||
From the perspective of an end user, what problem are you solving?
|
||||
What did you change?
|
||||
|
||||
You can add the magic phrase "Fixes #1234" to automatically close
|
||||
issue #1234 when your PR is merged.
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
## Details
|
||||
|
||||
<!--------------------------------------------------------------------------
|
||||
👉 STEP 5: Provide additional details about your fix:
|
||||
|
||||
How did you solve the problem?
|
||||
Mention any alternate approaches you considered.
|
||||
Did you completely solve the problem, or are some cases not handled yet?
|
||||
Does this change break backwards compatibility?
|
||||
Could any aspects of your change impact performance?
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
## How it was tested
|
||||
|
||||
<!--------------------------------------------------------------------------
|
||||
👉 STEP 6: What test cases did you use to validate your work?
|
||||
Given the complexities of how build tools interact with the OS, we only
|
||||
require unit tests for algorithmic code (e.g. parsing a string, sorting a list).
|
||||
Manual testing is fine; you might write something like:
|
||||
|
||||
"Invoked 'rush install' with useWorkspaces=true and useWorkspaces=false
|
||||
and confirmed that peer dependencies were handled correctly."
|
||||
|
||||
NOTE: Manual testing should be performed on the *final* commit.
|
||||
Pushing additional commits with "small" fixes often invalidates testing.
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<!--------------------------------------------------------------------------
|
||||
👉 STEP 7: Don't forget to run "rush change":
|
||||
|
||||
https://rushjs.io/pages/best_practices/change_logs/
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<!-- Have a question? Ask for help in the chat room: https://rushstack.zulipchat.com/ -->
|
|
@ -0,0 +1,83 @@
|
|||
# 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/
|
||||
|
||||
# Common toolchain intermediate files
|
||||
temp
|
||||
lib
|
||||
lib-amd
|
||||
lib-es6
|
||||
lib-esnext
|
||||
lib-commonjs
|
||||
dist
|
||||
*.scss.ts
|
||||
*.sass.ts
|
||||
|
||||
# Visual Studio Code
|
||||
.vscode
|
||||
|
||||
# Heft
|
||||
*/*/.heft/build-cache/**
|
||||
*/*/.heft/temp/**
|
|
@ -0,0 +1,108 @@
|
|||
#-------------------------------------------------------------------------------------------------------------------
|
||||
# Keep this section in sync with .gitignore
|
||||
#-------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# 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/
|
||||
**/.rush/temp/
|
||||
|
||||
# Common toolchain intermediate files
|
||||
temp
|
||||
lib
|
||||
lib-amd
|
||||
lib-es6
|
||||
dist
|
||||
*.scss.ts
|
||||
*.sass.ts
|
||||
|
||||
# Visual Studio Code
|
||||
.vscode
|
||||
|
||||
# Remove eventually
|
||||
package-deps.json
|
||||
|
||||
#-------------------------------------------------------------------------------------------------------------------
|
||||
# Prettier-specific overrides
|
||||
#-------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# Machine-egnerated files
|
||||
common/reviews
|
||||
common/changes
|
||||
common/scripts
|
||||
common/config/rush/browser-approved-packages.json
|
||||
common/config/rush/nonbrowser-approved-packages.json
|
||||
CHANGELOG.*
|
||||
pnpm-lock.yaml
|
||||
build-tests/*/etc
|
||||
dist-dev
|
||||
dist-prod
|
||||
|
||||
# Prettier doesn't understand the /*[LINE "HYPOTHETICAL"]*/ macros in these files:
|
||||
apps/rush-lib/assets/rush-init/
|
||||
|
||||
# These are intentionally invalid files
|
||||
libraries/heft-config-file/src/test/errorCases/invalidJson/config.json
|
||||
|
||||
# We'll consider enabling this later; Prettier reformats code blocks, which affects end-user content
|
||||
*.md
|
|
@ -0,0 +1,13 @@
|
|||
// Documentation for this file: https://prettier.io/docs/en/configuration.html
|
||||
module.exports = {
|
||||
// We use a larger print width because Prettier's word-wrapping seems to be tuned
|
||||
// for plain JavaScript without type annotations
|
||||
printWidth: 110,
|
||||
// Microsoft style quotes
|
||||
singleQuote: true,
|
||||
// Preserve existing newlines
|
||||
endOfLine: 'auto',
|
||||
// For ES5, trailing commas cannot be used in function parameters; it is counterintuitive
|
||||
// to use them for arrays only
|
||||
trailingComma: 'none'
|
||||
};
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "node-library-build-eslint-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "gulp test --clean",
|
||||
"lint": "node node_modules/@microsoft/rush-stack-compiler-3.5/bin/rush-eslint -f unix \"src/**/*.{ts,tsx}\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.9": "workspace:*",
|
||||
"@rushstack/eslint-config": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.9/includes/tsconfig-node.json",
|
||||
"compilerOptions": {
|
||||
"types": ["node"]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "node-library-build-tslint-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.9": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.9/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-3.9/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-2.4-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-2.4": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-2.4/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-2.4/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-2.7-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-2.7": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-2.7/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-2.7/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-2.8-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-2.8": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-2.8/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-2.8/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-2.9-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-2.9": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-2.9/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-2.9/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-3.0-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.0": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.0/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-3.0/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-3.1-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.1": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.1/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-3.1/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-3.2-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.2": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.2/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-3.2/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-3.3-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.3": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.3/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-3.3/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-3.4-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.4": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.4/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-3.4/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-3.5-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.5": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-3.5/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-3.6-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.6": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.6/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@microsoft/rush-stack-compiler-3.6/includes/tslint.json"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"projectOutputFolderNames": ["lib", "dist"]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-3.7-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-3.7": "workspace:*",
|
||||
"@types/node": "10.17.13",
|
||||
"gulp": "~4.0.2",
|
||||
"@rushstack/eslint-config": "workspace:*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче