Skip to content

Commit 94636b8

Browse files
committed
Merge remote-tracking branch 'origin/staging-new'
Signed-off-by: Alexander Onnikov <[email protected]>
2 parents 3f090e3 + 05f86b5 commit 94636b8

File tree

454 files changed

+6519
-3466
lines changed

Some content is hidden

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

454 files changed

+6519
-3466
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,4 +927,4 @@ jobs:
927927
uses: actions/upload-artifact@v4
928928
with:
929929
name: TraceX-Linux
930-
path: ./qms-desktop-package/deploy/TraceX-linux-*.zip
930+
path: ./qms-desktop-package/deploy/TraceX-linux-*.zip

.vscode/launch.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@
617617
},
618618
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
619619
"sourceMaps": true,
620+
"nodeVersionHint": 22,
620621
"cwd": "${workspaceRoot}/services/github/pod-github",
621622
"protocol": "inspector",
622623
"outputCapture": "std"

common/config/rush/.npmrc

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,30 @@
44
#
55
# NOTE: The "rush publish" command uses .npmrc-publish instead.
66
#
7-
# Before invoking the package manager, Rush will copy this file to the folder where installation
8-
# is performed. The copied file will omit any config lines that reference environment variables
7+
# Before invoking the package manager, Rush will generate an .npmrc in the folder where installation
8+
# is performed. This generated file will omit any config lines that reference environment variables
99
# that are undefined in that session; this avoids problems that would otherwise result due to
1010
# a missing variable being replaced by an empty string.
1111
#
12+
# If "subspacesEnabled" is true in subspaces.json, the generated file will merge settings from
13+
# "common/config/rush/.npmrc" and "common/config/subspaces/<name>/.npmrc", with the latter taking
14+
# precedence.
15+
#
1216
# * * * SECURITY WARNING * * *
1317
#
1418
# It is NOT recommended to store authentication tokens in a text file on a lab machine, because
15-
# other unrelated processes may be able to read the file. Also, the file may persist indefinitely,
19+
# other unrelated processes may be able to read that file. Also, the file may persist indefinitely,
1620
# for example if the machine loses power. A safer practice is to pass the token via an
1721
# environment variable, which can be referenced from .npmrc using ${} expansion. For example:
1822
#
1923
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
2024
#
25+
26+
# Explicitly specify the NPM registry that "rush install" and "rush update" will use by default:
2127
registry=https://registry.npmjs.org/
22-
@hcengineering:registry=https://npm.pkg.github.com
2328

29+
# Optionally provide an authentication token for the above registry URL (if it is a private registry):
30+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
31+
32+
# Change this to "true" if your registry requires authentication for read-only operations:
33+
always-auth=false

common/config/rush/.npmrc-publish

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,12 @@
1818
#
1919
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
2020
#
21+
22+
# Explicitly specify the NPM registry that "rush publish" will use by default:
23+
registry=https://registry.npmjs.org/
24+
25+
# Optionally provide an authentication token for the above registry URL (if it is a private registry):
26+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
27+
28+
# Change this to "true" if your registry requires authentication for read-only operations:
29+
always-auth=false

common/config/rush/artifactory.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,40 +65,34 @@
6565
* "This monorepo consumes packages from an Artifactory private NPM registry."
6666
*/
6767
// "introduction": "",
68-
6968
/**
7069
* Overrides the message that normally says:
7170
* "Please contact the repository maintainers for help with setting up an Artifactory user account."
7271
*/
7372
// "obtainAnAccount": "",
74-
7573
/**
7674
* Overrides the message that normally says:
7775
* "Please open this URL in your web browser:"
7876
*
7977
* The "artifactoryWebsiteUrl" string is printed after this message.
8078
*/
8179
// "visitWebsite": "",
82-
8380
/**
8481
* Overrides the message that normally says:
8582
* "Your user name appears in the upper-right corner of the JFrog website."
8683
*/
8784
// "locateUserName": "",
88-
8985
/**
9086
* Overrides the message that normally says:
9187
* "Click 'Edit Profile' on the JFrog website. Click the 'Generate API Key'
9288
* button if you haven't already done so previously."
9389
*/
9490
// "locateApiKey": ""
95-
9691
/**
9792
* Overrides the message that normally prompts:
9893
* "What is your Artifactory user name?"
9994
*/
10095
// "userNamePrompt": ""
101-
10296
/**
10397
* Overrides the message that normally prompts:
10498
* "What is your Artifactory API key?"

common/config/rush/cobuild.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/**
2+
* This configuration file manages Rush's cobuild feature.
3+
* More documentation is available on the Rush website: https://rushjs.io
4+
*/
5+
{
6+
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/cobuild.schema.json",
7+
8+
/**
9+
* (Required) EXPERIMENTAL - Set this to true to enable the cobuild feature.
10+
* RUSH_COBUILD_CONTEXT_ID should always be specified as an environment variable with an non-empty string,
11+
* otherwise the cobuild feature will be disabled.
12+
*/
13+
"cobuildFeatureEnabled": false,
14+
15+
/**
16+
* (Required) Choose where cobuild lock will be acquired.
17+
*
18+
* The lock provider is registered by the rush plugins.
19+
* For example, @rushstack/rush-redis-cobuild-plugin registers the "redis" lock provider.
20+
*/
21+
"cobuildLockProvider": "redis"
22+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/**
2+
* This configuration file allows repo maintainers to configure extra details to be
3+
* printed alongside certain Rush messages. More documentation is available on the
4+
* Rush website: https://rushjs.io
5+
*/
6+
{
7+
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/custom-tips.schema.json",
8+
9+
/**
10+
* Custom tips allow you to annotate Rush's console messages with advice tailored for
11+
* your specific monorepo.
12+
*/
13+
"customTips": [
14+
// {
15+
// /**
16+
// * (REQUIRED) An identifier indicating a message that may be printed by Rush.
17+
// * If that message is printed, then this custom tip will be shown.
18+
// * The list of available tip identifiers can be found on this page:
19+
// * https://rushjs.io/pages/maintainer/custom_tips/
20+
// */
21+
// "tipId": "TIP_RUSH_INCONSISTENT_VERSIONS",
22+
//
23+
// /**
24+
// * (REQUIRED) The message text to be displayed for this tip.
25+
// */
26+
// "message": "For additional troubleshooting information, refer this wiki article:\n\nhttps://intranet.contoso.com/docs/pnpm-mismatch"
27+
// }
28+
]
29+
}

common/config/rush/experiments.json

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Rush features. More documentation is available on the Rush website: https://rushjs.io
44
*/
55
{
6-
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/experiments.schema.json",
6+
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/experiments.schema.json"
77

88
/**
99
* By default, 'rush install' passes --no-prefer-frozen-lockfile to 'pnpm install'.
@@ -17,6 +17,13 @@
1717
*/
1818
// "usePnpmPreferFrozenLockfileForRushUpdate": true,
1919

20+
/**
21+
* By default, 'rush update' runs as a single operation.
22+
* Set this option to true to instead update the lockfile with `--lockfile-only`, then perform a `--frozen-lockfile` install.
23+
* Necessary when using the `afterAllResolved` hook in .pnpmfile.cjs.
24+
*/
25+
// "usePnpmLockfileOnlyThenFrozenLockfileForRushUpdate": true,
26+
2027
/**
2128
* If using the 'preventManualShrinkwrapChanges' option, restricts the hash to only include the layout of external dependencies.
2229
* Used to allow links between workspace projects or the addition/removal of references to existing dependency versions to not
@@ -34,7 +41,13 @@
3441
* If true, build caching will respect the allowWarningsInSuccessfulBuild flag and cache builds with warnings.
3542
* This will not replay warnings from the cached build.
3643
*/
37-
"buildCacheWithAllowWarningsInSuccessfulBuild": true,
44+
// "buildCacheWithAllowWarningsInSuccessfulBuild": true,
45+
46+
/**
47+
* If true, build skipping will respect the allowWarningsInSuccessfulBuild flag and skip builds with warnings.
48+
* This will not replay warnings from the skipped build.
49+
*/
50+
// "buildSkipWithAllowWarningsInSuccessfulBuild": true,
3851

3952
/**
4053
* If true, perform a clean install after when running `rush install` or `rush update` if the
@@ -50,5 +63,58 @@
5063
/**
5164
* If true, Rush will not allow node_modules in the repo folder or in parent folders.
5265
*/
53-
// "forbidPhantomResolvableNodeModulesFolders": true
66+
// "forbidPhantomResolvableNodeModulesFolders": true,
67+
68+
/**
69+
* (UNDER DEVELOPMENT) For certain installation problems involving peer dependencies, PNPM cannot
70+
* correctly satisfy versioning requirements without installing duplicate copies of a package inside the
71+
* node_modules folder. This poses a problem for "workspace:*" dependencies, as they are normally
72+
* installed by making a symlink to the local project source folder. PNPM's "injected dependencies"
73+
* feature provides a model for copying the local project folder into node_modules, however copying
74+
* must occur AFTER the dependency project is built and BEFORE the consuming project starts to build.
75+
* The "pnpm-sync" tool manages this operation; see its documentation for details.
76+
* Enable this experiment if you want "rush" and "rushx" commands to resync injected dependencies
77+
* by invoking "pnpm-sync" during the build.
78+
*/
79+
// "usePnpmSyncForInjectedDependencies": true,
80+
81+
/**
82+
* If set to true, Rush will generate a `project-impact-graph.yaml` file in the repository root during `rush update`.
83+
*/
84+
// "generateProjectImpactGraphDuringRushUpdate": true,
85+
86+
/**
87+
* If true, when running in watch mode, Rush will check for phase scripts named `_phase:<name>:ipc` and run them instead
88+
* of `_phase:<name>` if they exist. The created child process will be provided with an IPC channel and expected to persist
89+
* across invocations.
90+
*/
91+
// "useIPCScriptsInWatchMode": true,
92+
93+
/**
94+
* (UNDER DEVELOPMENT) The Rush alerts feature provides a way to send announcements to engineers
95+
* working in the monorepo, by printing directly in the user's shell window when they invoke Rush commands.
96+
* This ensures that important notices will be seen by anyone doing active development, since people often
97+
* ignore normal discussion group messages or don't know to subscribe.
98+
*/
99+
// "rushAlerts": true,
100+
101+
/**
102+
* When using cobuilds, this experiment allows uncacheable operations to benefit from cobuild orchestration without using the build cache.
103+
*/
104+
// "allowCobuildWithoutCache": true,
105+
106+
/**
107+
* By default, rush perform a full scan of the entire repository. For example, Rush runs `git status` to check for local file changes.
108+
* When this toggle is enabled, Rush will only scan specific paths, significantly speeding up Git operations.
109+
*/
110+
// "enableSubpathScan": true,
111+
112+
/**
113+
* Rush has a policy that normally requires Rush projects to specify `workspace:*` in package.json when depending
114+
* on other projects in the workspace, unless they are explicitly declared as `decoupledLocalDependencies`
115+
* in rush.json. Enabling this experiment will remove that requirement for dependencies belonging to a different
116+
* subspace. This is useful for large product groups who work in separate subspaces and generally prefer to consume
117+
* each other's packages via the NPM registry.
118+
*/
119+
// "exemptDecoupledDependenciesBetweenSubspaces": false
54120
}

0 commit comments

Comments
 (0)