listpage_cli 0.0.187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +219 -0
- package/package.json +25 -0
- package/templates/.gitattributes +14 -0
- package/templates/.github/workflows/ci.yml +27 -0
- package/templates/app-templates/backend-tempalte/.prettierrc +4 -0
- package/templates/app-templates/backend-tempalte/README.md +98 -0
- package/templates/app-templates/backend-tempalte/nest-cli.json +8 -0
- package/templates/app-templates/backend-tempalte/package.json.tmpl +41 -0
- package/templates/app-templates/backend-tempalte/src/app.controller.ts +12 -0
- package/templates/app-templates/backend-tempalte/src/app.module.ts +10 -0
- package/templates/app-templates/backend-tempalte/src/app.service.ts +8 -0
- package/templates/app-templates/backend-tempalte/src/main.ts +8 -0
- package/templates/app-templates/backend-tempalte/tsconfig.build.json +4 -0
- package/templates/app-templates/backend-tempalte/tsconfig.json +25 -0
- package/templates/app-templates/frontend-template/.prettierignore +4 -0
- package/templates/app-templates/frontend-template/.prettierrc +3 -0
- package/templates/app-templates/frontend-template/AGENTS.md +20 -0
- package/templates/app-templates/frontend-template/README.md +36 -0
- package/templates/app-templates/frontend-template/package.json.tmpl +36 -0
- package/templates/app-templates/frontend-template/public/favicon.png +0 -0
- package/templates/app-templates/frontend-template/rsbuild.config.ts +9 -0
- package/templates/app-templates/frontend-template/src/App.css +6 -0
- package/templates/app-templates/frontend-template/src/App.tsx +8 -0
- package/templates/app-templates/frontend-template/src/Layout.tsx +12 -0
- package/templates/app-templates/frontend-template/src/api/config.tsx +25 -0
- package/templates/app-templates/frontend-template/src/api/index.ts +0 -0
- package/templates/app-templates/frontend-template/src/env.d.ts +11 -0
- package/templates/app-templates/frontend-template/src/index.tsx +13 -0
- package/templates/app-templates/frontend-template/src/router/index.tsx +12 -0
- package/templates/app-templates/frontend-template/tsconfig.json +25 -0
- package/templates/common/config/rush/.npmrc-publish +26 -0
- package/templates/common/config/rush/.pnpmfile.cjs +38 -0
- package/templates/common/config/rush/artifactory.json +109 -0
- package/templates/common/config/rush/build-cache.json +160 -0
- package/templates/common/config/rush/cobuild.json +22 -0
- package/templates/common/config/rush/command-line.json +407 -0
- package/templates/common/config/rush/common-versions.json +77 -0
- package/templates/common/config/rush/custom-tips.json +29 -0
- package/templates/common/config/rush/experiments.json +121 -0
- package/templates/common/config/rush/pnpm-config.json +363 -0
- package/templates/common/config/rush/rush-plugins.json +29 -0
- package/templates/common/config/rush/subspaces.json +35 -0
- package/templates/common/config/rush/version-policies.json +102 -0
- package/templates/common/git-hooks/commit-msg.sample +25 -0
- package/templates/rush.json +444 -0
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is the main configuration file for Rush.
|
|
3
|
+
* For full documentation, please see https://rushjs.io
|
|
4
|
+
*/
|
|
5
|
+
{
|
|
6
|
+
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* (Required) This specifies the version of the Rush engine to be used in this repo.
|
|
10
|
+
* Rush's "version selector" feature ensures that the globally installed tool will
|
|
11
|
+
* behave like this release, regardless of which version is installed globally.
|
|
12
|
+
*
|
|
13
|
+
* The common/scripts/install-run-rush.js automation script also uses this version.
|
|
14
|
+
*
|
|
15
|
+
* NOTE: If you upgrade to a new major version of Rush, you should replace the "v5"
|
|
16
|
+
* path segment in the "$schema" field for all your Rush config files. This will ensure
|
|
17
|
+
* correct error-underlining and tab-completion for editors such as VS Code.
|
|
18
|
+
*/
|
|
19
|
+
"rushVersion": "5.162.0",
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The next field selects which package manager should be installed and determines its version.
|
|
23
|
+
* Rush installs its own local copy of the package manager to ensure that your build process
|
|
24
|
+
* is fully isolated from whatever tools are present in the local environment.
|
|
25
|
+
*
|
|
26
|
+
* Specify one of: "pnpmVersion", "npmVersion", or "yarnVersion". See the Rush documentation
|
|
27
|
+
* for details about these alternatives.
|
|
28
|
+
*/
|
|
29
|
+
"pnpmVersion": "9.15.9",
|
|
30
|
+
|
|
31
|
+
// "npmVersion": "6.14.15",
|
|
32
|
+
// "yarnVersion": "1.9.4",
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Older releases of the Node.js engine may be missing features required by your system.
|
|
36
|
+
* Other releases may have bugs. In particular, the "latest" version will not be a
|
|
37
|
+
* Long Term Support (LTS) version and is likely to have regressions.
|
|
38
|
+
*
|
|
39
|
+
* Specify a SemVer range to ensure developers use a Node.js version that is appropriate
|
|
40
|
+
* for your repo.
|
|
41
|
+
*
|
|
42
|
+
* LTS schedule: https://nodejs.org/en/about/releases/
|
|
43
|
+
* LTS versions: https://nodejs.org/en/download/releases/
|
|
44
|
+
*/
|
|
45
|
+
"nodeSupportedVersionRange": ">=22.20.0 <23.0.0",
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* If the version check above fails, Rush will display a message showing the current
|
|
49
|
+
* node version and the supported version range. You can use this setting to provide
|
|
50
|
+
* additional instructions that will display below the warning, if there's a specific
|
|
51
|
+
* tool or script you'd like the user to use to get in line with the expected version.
|
|
52
|
+
*/
|
|
53
|
+
// "nodeSupportedVersionInstructions": "Run 'nvs use' to switch to the expected node version.",
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Odd-numbered major versions of Node.js are experimental. Even-numbered releases
|
|
57
|
+
* spend six months in a stabilization period before the first Long Term Support (LTS) version.
|
|
58
|
+
* For example, 8.9.0 was the first LTS version of Node.js 8. Pre-LTS versions are not recommended
|
|
59
|
+
* for production usage because they frequently have bugs. They may cause Rush itself
|
|
60
|
+
* to malfunction.
|
|
61
|
+
*
|
|
62
|
+
* Rush normally prints a warning if it detects a pre-LTS Node.js version. If you are testing
|
|
63
|
+
* pre-LTS versions in preparation for supporting the first LTS version, you can use this setting
|
|
64
|
+
* to disable Rush's warning.
|
|
65
|
+
*/
|
|
66
|
+
// "suppressNodeLtsWarning": false,
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Rush normally prints a warning if it detects that the current version is not one published to the
|
|
70
|
+
* public npmjs.org registry. If you need to block calls to the npm registry, you can use this setting to disable
|
|
71
|
+
* Rush's check.
|
|
72
|
+
*/
|
|
73
|
+
// "suppressRushIsPublicVersionCheck": false,
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Large monorepos can become intimidating for newcomers if project folder paths don't follow
|
|
77
|
+
* a consistent and recognizable pattern. When the system allows nested folder trees,
|
|
78
|
+
* we've found that teams will often use subfolders to create islands that isolate
|
|
79
|
+
* their work from others ("shipping the org"). This hinders collaboration and code sharing.
|
|
80
|
+
*
|
|
81
|
+
* The Rush developers recommend a "category folder" model, where buildable project folders
|
|
82
|
+
* must always be exactly two levels below the repo root. The parent folder acts as the category.
|
|
83
|
+
* This provides a basic facility for grouping related projects (e.g. "apps", "libraries",
|
|
84
|
+
* "tools", "prototypes") while still encouraging teams to organize their projects into
|
|
85
|
+
* a unified taxonomy. Limiting to 2 levels seems very restrictive at first, but if you have
|
|
86
|
+
* 20 categories and 20 projects in each category, this scheme can easily accommodate hundreds
|
|
87
|
+
* of projects. In practice, you will find that the folder hierarchy needs to be rebalanced
|
|
88
|
+
* occasionally, but if that's painful, it's a warning sign that your development style may
|
|
89
|
+
* discourage refactoring. Reorganizing the categories should be an enlightening discussion
|
|
90
|
+
* that brings people together, and maybe also identifies poor coding practices (e.g. file
|
|
91
|
+
* references that reach into other project's folders without using Node.js module resolution).
|
|
92
|
+
*
|
|
93
|
+
* The defaults are projectFolderMinDepth=1 and projectFolderMaxDepth=2.
|
|
94
|
+
*
|
|
95
|
+
* To remove these restrictions, you could set projectFolderMinDepth=1
|
|
96
|
+
* and set projectFolderMaxDepth to a large number.
|
|
97
|
+
*/
|
|
98
|
+
// "projectFolderMinDepth": 2,
|
|
99
|
+
// "projectFolderMaxDepth": 2,
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Today the npmjs.com registry enforces fairly strict naming rules for packages, but in the early
|
|
103
|
+
* days there was no standard and hardly any enforcement. A few large legacy projects are still using
|
|
104
|
+
* nonstandard package names, and private registries sometimes allow it. Set "allowMostlyStandardPackageNames"
|
|
105
|
+
* to true to relax Rush's enforcement of package names. This allows upper case letters and in the future may
|
|
106
|
+
* relax other rules, however we want to minimize these exceptions. Many popular tools use certain punctuation
|
|
107
|
+
* characters as delimiters, based on the assumption that they will never appear in a package name; thus if we relax
|
|
108
|
+
* the rules too much it is likely to cause very confusing malfunctions.
|
|
109
|
+
*
|
|
110
|
+
* The default value is false.
|
|
111
|
+
*/
|
|
112
|
+
// "allowMostlyStandardPackageNames": true,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* This feature helps you to review and approve new packages before they are introduced
|
|
116
|
+
* to your monorepo. For example, you may be concerned about licensing, code quality,
|
|
117
|
+
* performance, or simply accumulating too many libraries with overlapping functionality.
|
|
118
|
+
* The approvals are tracked in two config files "browser-approved-packages.json"
|
|
119
|
+
* and "nonbrowser-approved-packages.json". See the Rush documentation for details.
|
|
120
|
+
*/
|
|
121
|
+
// "approvedPackagesPolicy": {
|
|
122
|
+
// /**
|
|
123
|
+
// * The review categories allow you to say for example "This library is approved for usage
|
|
124
|
+
// * in prototypes, but not in production code."
|
|
125
|
+
// *
|
|
126
|
+
// * Each project can be associated with one review category, by assigning the "reviewCategory" field
|
|
127
|
+
// * in the "projects" section of rush.json. The approval is then recorded in the files
|
|
128
|
+
// * "common/config/rush/browser-approved-packages.json" and "nonbrowser-approved-packages.json"
|
|
129
|
+
// * which are automatically generated during "rush update".
|
|
130
|
+
// *
|
|
131
|
+
// * Designate categories with whatever granularity is appropriate for your review process,
|
|
132
|
+
// * or you could just have a single category called "default".
|
|
133
|
+
// */
|
|
134
|
+
// "reviewCategories": [
|
|
135
|
+
// // Some example categories:
|
|
136
|
+
// "production", // projects that ship to production
|
|
137
|
+
// "tools", // non-shipping projects that are part of the developer toolchain
|
|
138
|
+
// "prototypes" // experiments that should mostly be ignored by the review process
|
|
139
|
+
// ],
|
|
140
|
+
//
|
|
141
|
+
// /**
|
|
142
|
+
// * A list of NPM package scopes that will be excluded from review.
|
|
143
|
+
// * We recommend to exclude TypeScript typings (the "@types" scope), because
|
|
144
|
+
// * if the underlying package was already approved, this would imply that the typings
|
|
145
|
+
// * are also approved.
|
|
146
|
+
// */
|
|
147
|
+
// // "ignoredNpmScopes": ["@types"]
|
|
148
|
+
// },
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* If you use Git as your version control system, this section has some additional
|
|
152
|
+
* optional features you can use.
|
|
153
|
+
*/
|
|
154
|
+
"gitPolicy": {
|
|
155
|
+
/**
|
|
156
|
+
* Work at a big company? Tired of finding Git commits at work with unprofessional Git
|
|
157
|
+
* emails such as "beer-lover@my-college.edu"? Rush can validate people's Git email address
|
|
158
|
+
* before they get started.
|
|
159
|
+
*
|
|
160
|
+
* Define a list of regular expressions describing allowable e-mail patterns for Git commits.
|
|
161
|
+
* They are case-insensitive anchored JavaScript RegExps. Example: ".*@example\.com"
|
|
162
|
+
*
|
|
163
|
+
* IMPORTANT: Because these are regular expressions encoded as JSON string literals,
|
|
164
|
+
* RegExp escapes need two backslashes, and ordinary periods should be "\\.".
|
|
165
|
+
*/
|
|
166
|
+
// "allowedEmailRegExps": [
|
|
167
|
+
// "[^@]+@users\\.noreply\\.github\\.com",
|
|
168
|
+
// "rush-bot@example\\.org"
|
|
169
|
+
// ],
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* When Rush reports that the address is malformed, the notice can include an example
|
|
173
|
+
* of a recommended email. Make sure it conforms to one of the allowedEmailRegExps
|
|
174
|
+
* expressions.
|
|
175
|
+
*/
|
|
176
|
+
// "sampleEmail": "example@users.noreply.github.com",
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The commit message to use when committing changes during 'rush publish'.
|
|
180
|
+
*
|
|
181
|
+
* For example, if you want to prevent these commits from triggering a CI build,
|
|
182
|
+
* you might configure your system's trigger to look for a special string such as "[skip-ci]"
|
|
183
|
+
* in the commit message, and then customize Rush's message to contain that string.
|
|
184
|
+
*/
|
|
185
|
+
// "versionBumpCommitMessage": "Bump versions [skip ci]",
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* The commit message to use when committing changes during 'rush version'.
|
|
189
|
+
*
|
|
190
|
+
* For example, if you want to prevent these commits from triggering a CI build,
|
|
191
|
+
* you might configure your system's trigger to look for a special string such as "[skip-ci]"
|
|
192
|
+
* in the commit message, and then customize Rush's message to contain that string.
|
|
193
|
+
*/
|
|
194
|
+
// "changeLogUpdateCommitMessage": "Update changelogs [skip ci]",
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* The commit message to use when committing changefiles during 'rush change --commit'
|
|
198
|
+
*
|
|
199
|
+
* If no commit message is set it will default to 'Rush change'
|
|
200
|
+
*/
|
|
201
|
+
// "changefilesCommitMessage": "Rush change"
|
|
202
|
+
},
|
|
203
|
+
|
|
204
|
+
"repository": {
|
|
205
|
+
/**
|
|
206
|
+
* The URL of this Git repository, used by "rush change" to determine the base branch for your PR.
|
|
207
|
+
*
|
|
208
|
+
* The "rush change" command needs to determine which files are affected by your PR diff.
|
|
209
|
+
* If you merged or cherry-picked commits from the main branch into your PR branch, those commits
|
|
210
|
+
* should be excluded from this diff (since they belong to some other PR). In order to do that,
|
|
211
|
+
* Rush needs to know where to find the base branch for your PR. This information cannot be
|
|
212
|
+
* determined from Git alone, since the "pull request" feature is not a Git concept. Ideally
|
|
213
|
+
* Rush would use a vendor-specific protocol to query the information from GitHub, Azure DevOps, etc.
|
|
214
|
+
* But to keep things simple, "rush change" simply assumes that your PR is against the "main" branch
|
|
215
|
+
* of the Git remote indicated by the repository.url setting in rush.json. If you are working in
|
|
216
|
+
* a GitHub "fork" of the real repo, this setting will be different from the repository URL of your
|
|
217
|
+
* your PR branch, and in this situation "rush change" will also automatically invoke "git fetch"
|
|
218
|
+
* to retrieve the latest activity for the remote main branch.
|
|
219
|
+
*/
|
|
220
|
+
// "url": "https://github.com/microsoft/rush-example",
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* The default branch name. This tells "rush change" which remote branch to compare against.
|
|
224
|
+
* The default value is "main"
|
|
225
|
+
*/
|
|
226
|
+
// "defaultBranch": "main",
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* The default remote. This tells "rush change" which remote to compare against if the remote URL is
|
|
230
|
+
* not set or if a remote matching the provided remote URL is not found.
|
|
231
|
+
*/
|
|
232
|
+
// "defaultRemote": "origin"
|
|
233
|
+
},
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Event hooks are customized script actions that Rush executes when specific events occur
|
|
237
|
+
*/
|
|
238
|
+
"eventHooks": {
|
|
239
|
+
/**
|
|
240
|
+
* A list of shell commands to run before "rush install" or "rush update" starts installation
|
|
241
|
+
*/
|
|
242
|
+
"preRushInstall": [
|
|
243
|
+
// "common/scripts/pre-rush-install.js"
|
|
244
|
+
],
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* A list of shell commands to run after "rush install" or "rush update" finishes installation
|
|
248
|
+
*/
|
|
249
|
+
"postRushInstall": [],
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* A list of shell commands to run before "rush build" or "rush rebuild" starts building
|
|
253
|
+
*/
|
|
254
|
+
"preRushBuild": [],
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* A list of shell commands to run after "rush build" or "rush rebuild" finishes building
|
|
258
|
+
*/
|
|
259
|
+
"postRushBuild": [],
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* A list of shell commands to run before the "rushx" command starts
|
|
263
|
+
*/
|
|
264
|
+
"preRushx": [],
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* A list of shell commands to run after the "rushx" command finishes
|
|
268
|
+
*/
|
|
269
|
+
"postRushx": []
|
|
270
|
+
},
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Installation variants allow you to maintain a parallel set of configuration files that can be
|
|
274
|
+
* used to build the entire monorepo with an alternate set of dependencies. For example, suppose
|
|
275
|
+
* you upgrade all your projects to use a new release of an important framework, but during a transition period
|
|
276
|
+
* you intend to maintain compatibility with the old release. In this situation, you probably want your
|
|
277
|
+
* CI validation to build the entire repo twice: once with the old release, and once with the new release.
|
|
278
|
+
*
|
|
279
|
+
* Rush "installation variants" correspond to sets of config files located under this folder:
|
|
280
|
+
*
|
|
281
|
+
* common/config/rush/variants/<variant_name>
|
|
282
|
+
*
|
|
283
|
+
* The variant folder can contain an alternate common-versions.json file. Its "preferredVersions" field can be used
|
|
284
|
+
* to select older versions of dependencies (within a loose SemVer range specified in your package.json files).
|
|
285
|
+
* To install a variant, run "rush install --variant <variant_name>".
|
|
286
|
+
*
|
|
287
|
+
* For more details and instructions, see this article: https://rushjs.io/pages/advanced/installation_variants/
|
|
288
|
+
*/
|
|
289
|
+
"variants": [
|
|
290
|
+
// {
|
|
291
|
+
// /**
|
|
292
|
+
// * The folder name for this variant.
|
|
293
|
+
// */
|
|
294
|
+
// "variantName": "old-sdk",
|
|
295
|
+
//
|
|
296
|
+
// /**
|
|
297
|
+
// * An informative description
|
|
298
|
+
// */
|
|
299
|
+
// "description": "Build this repo using the previous release of the SDK"
|
|
300
|
+
// }
|
|
301
|
+
],
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Rush can collect anonymous telemetry about everyday developer activity such as
|
|
305
|
+
* success/failure of installs, builds, and other operations. You can use this to identify
|
|
306
|
+
* problems with your toolchain or Rush itself. THIS TELEMETRY IS NOT SHARED WITH MICROSOFT.
|
|
307
|
+
* It is written into JSON files in the common/temp folder. It's up to you to write scripts
|
|
308
|
+
* that read these JSON files and do something with them. These scripts are typically registered
|
|
309
|
+
* in the "eventHooks" section.
|
|
310
|
+
*/
|
|
311
|
+
// "telemetryEnabled": false,
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Allows creation of hotfix changes. This feature is experimental so it is disabled by default.
|
|
315
|
+
* If this is set, 'rush change' only allows a 'hotfix' change type to be specified. This change type
|
|
316
|
+
* will be used when publishing subsequent changes from the monorepo.
|
|
317
|
+
*/
|
|
318
|
+
// "hotfixChangeEnabled": false,
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* This is an optional, but recommended, list of allowed tags that can be applied to Rush projects
|
|
322
|
+
* using the "tags" setting in this file. This list is useful for preventing mistakes such as misspelling,
|
|
323
|
+
* and it also provides a centralized place to document your tags. If "allowedProjectTags" list is
|
|
324
|
+
* not specified, then any valid tag is allowed. A tag name must be one or more words
|
|
325
|
+
* separated by hyphens or slashes, where a word may contain lowercase ASCII letters, digits,
|
|
326
|
+
* ".", and "@" characters.
|
|
327
|
+
*/
|
|
328
|
+
// "allowedProjectTags": [ "tools", "frontend-team", "1.0.0-release" ],
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* (Required) This is the inventory of projects to be managed by Rush.
|
|
332
|
+
*
|
|
333
|
+
* Rush does not automatically scan for projects using wildcards, for a few reasons:
|
|
334
|
+
* 1. Depth-first scans are expensive, particularly when tools need to repeatedly collect the list.
|
|
335
|
+
* 2. On a caching CI machine, scans can accidentally pick up files left behind from a previous build.
|
|
336
|
+
* 3. It's useful to have a centralized inventory of all projects and their important metadata.
|
|
337
|
+
*/
|
|
338
|
+
"projects": [
|
|
339
|
+
// {
|
|
340
|
+
// /**
|
|
341
|
+
// * The NPM package name of the project (must match package.json)
|
|
342
|
+
// */
|
|
343
|
+
// "packageName": "my-app",
|
|
344
|
+
//
|
|
345
|
+
// /**
|
|
346
|
+
// * The path to the project folder, relative to the rush.json config file.
|
|
347
|
+
// */
|
|
348
|
+
// "projectFolder": "apps/my-app",
|
|
349
|
+
//
|
|
350
|
+
// /**
|
|
351
|
+
// * This field is only used if "subspacesEnabled" is true in subspaces.json.
|
|
352
|
+
// * It specifies the subspace that this project belongs to. If omitted, then the
|
|
353
|
+
// * project belongs to the "default" subspace.
|
|
354
|
+
// */
|
|
355
|
+
// // "subspaceName": "my-subspace",
|
|
356
|
+
//
|
|
357
|
+
// /**
|
|
358
|
+
// * An optional category for usage in the "browser-approved-packages.json"
|
|
359
|
+
// * and "nonbrowser-approved-packages.json" files. The value must be one of the
|
|
360
|
+
// * strings from the "reviewCategories" defined above.
|
|
361
|
+
// */
|
|
362
|
+
// "reviewCategory": "production",
|
|
363
|
+
//
|
|
364
|
+
// /**
|
|
365
|
+
// * A list of Rush project names that are to be installed from NPM
|
|
366
|
+
// * instead of linking to the local project.
|
|
367
|
+
// *
|
|
368
|
+
// * If a project's package.json specifies a dependency that is another Rush project
|
|
369
|
+
// * in the monorepo workspace, normally Rush will locally link its folder instead of
|
|
370
|
+
// * installing from NPM. If you are using PNPM workspaces, this is indicated by
|
|
371
|
+
// * a SemVer range such as "workspace:^1.2.3". To prevent mistakes, Rush reports
|
|
372
|
+
// * an error if the "workspace:" protocol is missing.
|
|
373
|
+
// *
|
|
374
|
+
// * Locally linking ensures that regressions are caught as early as possible and is
|
|
375
|
+
// * a key benefit of monorepos. However there are occasional situations where
|
|
376
|
+
// * installing from NPM is needed. A classic example is a cyclic dependency.
|
|
377
|
+
// * Imagine three Rush projects: "my-toolchain" depends on "my-tester", which depends
|
|
378
|
+
// * on "my-library". Suppose that we add "my-toolchain" to the "devDependencies"
|
|
379
|
+
// * of "my-library" so it can be built by our toolchain. This cycle creates
|
|
380
|
+
// * a problem -- Rush can't build a project using a not-yet-built dependency.
|
|
381
|
+
// * We can solve it by adding "my-toolchain" to the "decoupledLocalDependencies"
|
|
382
|
+
// * of "my-library", so it builds using the last published release. Choose carefully
|
|
383
|
+
// * which package to decouple; some choices are much easier to manage than others.
|
|
384
|
+
// *
|
|
385
|
+
// * (In older Rush releases, this setting was called "cyclicDependencyProjects".)
|
|
386
|
+
// */
|
|
387
|
+
// "decoupledLocalDependencies": [
|
|
388
|
+
// // "my-toolchain"
|
|
389
|
+
// ],
|
|
390
|
+
//
|
|
391
|
+
// /**
|
|
392
|
+
// * If true, then this project will be ignored by the "rush check" command.
|
|
393
|
+
// * The default value is false.
|
|
394
|
+
// */
|
|
395
|
+
// // "skipRushCheck": false,
|
|
396
|
+
//
|
|
397
|
+
// /**
|
|
398
|
+
// * A flag indicating that changes to this project will be published to npm, which affects
|
|
399
|
+
// * the Rush change and publish workflows. The default value is false.
|
|
400
|
+
// * NOTE: "versionPolicyName" and "shouldPublish" are alternatives; you cannot specify them both.
|
|
401
|
+
// */
|
|
402
|
+
// // "shouldPublish": false,
|
|
403
|
+
//
|
|
404
|
+
// /**
|
|
405
|
+
// * Facilitates postprocessing of a project's files prior to publishing.
|
|
406
|
+
// *
|
|
407
|
+
// * If specified, the "publishFolder" is the relative path to a subfolder of the project folder.
|
|
408
|
+
// * The "rush publish" command will publish the subfolder instead of the project folder. The subfolder
|
|
409
|
+
// * must contain its own package.json file, which is typically a build output.
|
|
410
|
+
// */
|
|
411
|
+
// // "publishFolder": "temp/publish",
|
|
412
|
+
//
|
|
413
|
+
// /**
|
|
414
|
+
// * An optional version policy associated with the project. Version policies are defined
|
|
415
|
+
// * in "version-policies.json" file. See the "rush publish" documentation for more info.
|
|
416
|
+
// * NOTE: "versionPolicyName" and "shouldPublish" are alternatives; you cannot specify them both.
|
|
417
|
+
// */
|
|
418
|
+
// // "versionPolicyName": "",
|
|
419
|
+
//
|
|
420
|
+
// /**
|
|
421
|
+
// * An optional set of custom tags that can be used to select this project. For example,
|
|
422
|
+
// * adding "my-custom-tag" will allow this project to be selected by the
|
|
423
|
+
// * command "rush list --only tag:my-custom-tag". The tag name must be one or more words
|
|
424
|
+
// * separated by hyphens or slashes, where a word may contain lowercase ASCII letters, digits,
|
|
425
|
+
// * ".", and "@" characters.
|
|
426
|
+
// */
|
|
427
|
+
// // "tags": [ "1.0.0-release", "frontend-team" ]
|
|
428
|
+
// },
|
|
429
|
+
//
|
|
430
|
+
// {
|
|
431
|
+
// "packageName": "my-controls",
|
|
432
|
+
// "projectFolder": "libraries/my-controls",
|
|
433
|
+
// "reviewCategory": "production",
|
|
434
|
+
// "tags": [ "frontend-team" ]
|
|
435
|
+
// },
|
|
436
|
+
//
|
|
437
|
+
// {
|
|
438
|
+
// "packageName": "my-toolchain",
|
|
439
|
+
// "projectFolder": "tools/my-toolchain",
|
|
440
|
+
// "reviewCategory": "tools",
|
|
441
|
+
// "tags": [ "tools" ]
|
|
442
|
+
// }
|
|
443
|
+
]
|
|
444
|
+
}
|