File tree Expand file tree Collapse file tree 6 files changed +64
-7814
lines changed Expand file tree Collapse file tree 6 files changed +64
-7814
lines changed Original file line number Diff line number Diff line change 61
61
# Rush files
62
62
common /temp /**
63
63
package-deps.json
64
+ .rush /temp /**
64
65
65
66
lib
66
67
dist
Original file line number Diff line number Diff line change 10
10
* is typically used to hold an indirect dependency back to a specific version, however generally
11
11
* it can be any SemVer range specifier (e.g. "~1.2.3"), and it will narrow any (compatible)
12
12
* SemVer range specifier. See the Rush documentation for details about this feature.
13
+ *
14
+ * After modifying this field, it's recommended to run "rush update --full" so that the package manager
15
+ * will recalculate all version selections.
13
16
*/
14
17
"preferredVersions" : {
15
18
Original file line number Diff line number Diff line change
1
+ /**
2
+ * This configuration file allows repo maintainers to enable and disable experimental
3
+ * Rush features. For full documentation, please see https://rushjs.io
4
+ */
5
+ {
6
+ "$schema" : " https://developer.microsoft.com/json-schemas/rush/v5/experiments.schema.json" ,
7
+
8
+ /**
9
+ * Rush 5.14.0 improved incremental builds to ignore spurious changes in the pnpm-lock.json file.
10
+ * This optimization is enabled by default. If you encounter a problem where "rush build" is neglecting
11
+ * to build some projects, please open a GitHub issue. As a workaround you can uncomment this line
12
+ * to temporarily restore the old behavior where everything must be rebuilt whenever pnpm-lock.json
13
+ * is modified.
14
+ */
15
+ // "legacyIncrementalBuildDependencyDetection": true
16
+ }
Original file line number Diff line number Diff line change
1
+ "use strict" ;
2
+
3
+ /**
4
+ * When using the PNPM package manager, you can use pnpmfile.js to workaround
5
+ * dependencies that have mistakes in their package.json file. (This feature is
6
+ * functionally similar to Yarn's "resolutions".)
7
+ *
8
+ * For details, see the PNPM documentation:
9
+ * https://pnpm.js.org/docs/en/hooks.html
10
+ *
11
+ * IMPORTANT: SINCE THIS FILE CONTAINS EXECUTABLE CODE, MODIFYING IT IS LIKELY TO INVALIDATE
12
+ * ANY CACHED DEPENDENCY ANALYSIS. After any modification to pnpmfile.js, it's recommended to run
13
+ * "rush update --full" so that PNPM will recalculate all version selections.
14
+ */
15
+ module . exports = {
16
+ hooks : {
17
+ readPackage
18
+ }
19
+ } ;
20
+
21
+ /**
22
+ * This hook is invoked during installation before a package's dependencies
23
+ * are selected.
24
+ * The `packageJson` parameter is the deserialized package.json
25
+ * contents for the package that is about to be installed.
26
+ * The `context` parameter provides a log() function.
27
+ * The return value is the updated object.
28
+ */
29
+ function readPackage ( packageJson , context ) {
30
+
31
+ // // The karma types have a missing dependency on typings from the log4js package.
32
+ // if (packageJson.name === '@types/karma') {
33
+ // context.log('Fixed up dependencies for @types/karma');
34
+ // packageJson.dependencies['log4js'] = '0.6.38';
35
+ // }
36
+
37
+ return packageJson ;
38
+ }
You can’t perform that action at this time.
0 commit comments