@nestjs/cli 11.0.12 → 11.0.14

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.
@@ -108,10 +108,15 @@ class StartAction extends build_action_1.BuildAction {
108
108
  processArgs.unshift(envFileNodeArgs.join(' '));
109
109
  }
110
110
  processArgs.unshift('--enable-source-maps');
111
- return (0, child_process_1.spawn)(binaryToRun, processArgs, {
111
+ const spawnOptions = {
112
112
  stdio: 'inherit',
113
113
  shell: options.shell,
114
- });
114
+ };
115
+ if (options.shell) {
116
+ const command = [binaryToRun, ...processArgs].join(' ');
117
+ return (0, child_process_1.spawn)(command, spawnOptions);
118
+ }
119
+ return (0, child_process_1.spawn)(binaryToRun, processArgs, spawnOptions);
115
120
  }
116
121
  }
117
122
  exports.StartAction = StartAction;
@@ -19,7 +19,8 @@ class AbstractRunner {
19
19
  shell: true,
20
20
  };
21
21
  return new Promise((resolve, reject) => {
22
- const child = (0, child_process_1.spawn)(`${this.binary}`, [...this.args, ...args], options);
22
+ const command = [this.binary, ...this.args, ...args].join(' ');
23
+ const child = (0, child_process_1.spawn)(command, options);
23
24
  if (collect) {
24
25
  child.stdout.on('data', (data) => resolve(data.toString().replace(/\r\n|\n/, '')));
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/cli",
3
- "version": "11.0.12",
3
+ "version": "11.0.14",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@cli)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -48,27 +48,27 @@
48
48
  "cli-table3": "0.6.5",
49
49
  "commander": "4.1.1",
50
50
  "fork-ts-checker-webpack-plugin": "9.1.0",
51
- "glob": "12.0.0",
51
+ "glob": "13.0.0",
52
52
  "node-emoji": "1.11.0",
53
53
  "ora": "5.4.1",
54
54
  "tsconfig-paths": "4.2.0",
55
55
  "tsconfig-paths-webpack-plugin": "4.2.0",
56
56
  "typescript": "5.9.3",
57
- "webpack": "5.100.2",
57
+ "webpack": "5.103.0",
58
58
  "webpack-node-externals": "3.0.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@commitlint/cli": "20.1.0",
62
62
  "@commitlint/config-angular": "20.0.0",
63
63
  "@swc/cli": "0.7.9",
64
- "@swc/core": "1.15.2",
64
+ "@swc/core": "1.15.3",
65
65
  "@types/inquirer": "9.0.9",
66
66
  "@types/jest": "29.5.14",
67
67
  "@types/node": "24.10.1",
68
68
  "@types/node-emoji": "1.8.2",
69
69
  "@types/webpack-node-externals": "3.0.4",
70
- "@typescript-eslint/eslint-plugin": "8.47.0",
71
- "@typescript-eslint/parser": "8.47.0",
70
+ "@typescript-eslint/eslint-plugin": "8.48.0",
71
+ "@typescript-eslint/parser": "8.48.0",
72
72
  "delete-empty": "3.0.0",
73
73
  "eslint": "9.39.1",
74
74
  "eslint-config-prettier": "10.1.8",
@@ -76,8 +76,8 @@
76
76
  "gulp-clean": "0.4.0",
77
77
  "husky": "9.1.7",
78
78
  "jest": "29.7.0",
79
- "lint-staged": "16.2.6",
80
- "prettier": "3.6.2",
79
+ "lint-staged": "16.2.7",
80
+ "prettier": "3.7.1",
81
81
  "release-it": "19.0.6",
82
82
  "ts-jest": "29.4.5",
83
83
  "ts-loader": "9.5.4",
@@ -1,61 +0,0 @@
1
- version: 2
2
-
3
- aliases:
4
- - &restore-cache
5
- restore_cache:
6
- key: dependency-cache-{{ checksum "package.json" }}
7
- - &install-deps
8
- run:
9
- name: Install dependencies
10
- command: npm install --ignore-scripts --legacy-peer-deps
11
- - &build-packages
12
- run:
13
- name: Build
14
- command: npm run build
15
- - &run-unit-tests
16
- run:
17
- name: Test
18
- command: npm run test -- --runInBand --no-cache
19
-
20
- jobs:
21
- build:
22
- working_directory: ~/nest
23
- docker:
24
- - image: cimg/node:24.11.1
25
- steps:
26
- - checkout
27
- - restore_cache:
28
- key: dependency-cache-{{ checksum "package.json" }}
29
- - run:
30
- name: Install dependencies
31
- command: npm install --ignore-scripts --legacy-peer-deps
32
- - save_cache:
33
- key: dependency-cache-{{ checksum "package.json" }}
34
- paths:
35
- - ./node_modules
36
- - run:
37
- name: Build
38
- command: npm run build
39
-
40
- unit_tests:
41
- working_directory: ~/nest
42
- docker:
43
- - image: cimg/node:24.11.1
44
- steps:
45
- - checkout
46
- - *restore-cache
47
- - *install-deps
48
- - *build-packages
49
- - run:
50
- name: Clean build artifacts
51
- command: npm run clean
52
- - *run-unit-tests
53
-
54
- workflows:
55
- version: 2
56
- build-and-test:
57
- jobs:
58
- - build
59
- - unit_tests:
60
- requires:
61
- - build
@@ -1,106 +0,0 @@
1
- name: "\U0001F41B Bug Report"
2
- description: "If something isn't working as expected \U0001F914"
3
- labels: ["needs triage", "bug"]
4
- body:
5
- - type: markdown
6
- attributes:
7
- value: |
8
- ## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
9
-
10
- If you are not sure that your issue is a bug, you could:
11
-
12
- - use our [Discord community](https://discord.gg/NestJS)
13
- - use [StackOverflow using the tag `nestjs`](https://stackoverflow.com/questions/tagged/nestjs)
14
- - If it's just a quick question you can ping [our Twitter](https://twitter.com/nestframework)
15
-
16
- **NOTE:** You don't need to answer questions that you know that aren't relevant.
17
-
18
- ---
19
-
20
- - type: checkboxes
21
- attributes:
22
- label: "Is there an existing issue for this?"
23
- description: "Please search [here](./?q=is%3Aissue) to see if an issue already exists for the bug you encountered"
24
- options:
25
- - label: "I have searched the existing issues"
26
- required: true
27
-
28
- - type: textarea
29
- validations:
30
- required: true
31
- attributes:
32
- label: "Current behavior"
33
- description: "How the issue manifests?"
34
-
35
- - type: input
36
- validations:
37
- required: true
38
- attributes:
39
- label: "Minimum reproduction code"
40
- description: "An URL to some git repository or gist that reproduces this issue. [Wtf is a minimum reproduction?](https://jmcdo29.github.io/wtf-is-a-minimum-reproduction)"
41
- placeholder: "https://github.com/..."
42
-
43
- - type: textarea
44
- attributes:
45
- label: "Steps to reproduce"
46
- description: |
47
- How the issue manifests?
48
- You could leave this blank if you alread write this in your reproduction code/repo
49
- placeholder: |
50
- 1. `npm i`
51
- 2. `npm start:dev`
52
- 3. See error...
53
-
54
- - type: textarea
55
- validations:
56
- required: true
57
- attributes:
58
- label: "Expected behavior"
59
- description: "A clear and concise description of what you expected to happend (or code)"
60
-
61
- - type: markdown
62
- attributes:
63
- value: |
64
- ---
65
-
66
- - type: input
67
- validations:
68
- required: true
69
- attributes:
70
- label: "Package version"
71
- description: |
72
- Which version of `@nestjs/cli` are you using?
73
- **Tip**: Make sure that all of yours `@nestjs/*` dependencies are in sync!
74
- placeholder: "8.1.3"
75
-
76
- - type: input
77
- attributes:
78
- label: "NestJS version"
79
- description: "Which version of `@nestjs/core` are you using?"
80
- placeholder: "8.1.3"
81
-
82
- - type: input
83
- attributes:
84
- label: "Node.js version"
85
- description: "Which version of Node.js are you using?"
86
- placeholder: "14.17.6"
87
-
88
- - type: checkboxes
89
- attributes:
90
- label: "In which operating systems have you tested?"
91
- options:
92
- - label: macOS
93
- - label: Windows
94
- - label: Linux
95
-
96
- - type: markdown
97
- attributes:
98
- value: |
99
- ---
100
-
101
- - type: textarea
102
- attributes:
103
- label: "Other"
104
- description: |
105
- Anything else relevant? eg: Logs, OS version, IDE, package manager, etc.
106
- **Tip:** You can attach images, recordings or log files by clicking this area to highlight it and then dragging files in
@@ -1,52 +0,0 @@
1
- name: "\U0001F680 Feature Request"
2
- description: "I have a suggestion \U0001F63B!"
3
- labels: ["feature"]
4
- body:
5
- - type: markdown
6
- attributes:
7
- value: |
8
- ## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
9
-
10
- If you are not sure that your issue is a bug, you could:
11
-
12
- - use our [Discord community](https://discord.gg/NestJS)
13
- - use [StackOverflow using the tag `nestjs`](https://stackoverflow.com/questions/tagged/nestjs)
14
- - If it's just a quick question you can ping [our Twitter](https://twitter.com/nestframework)
15
-
16
- ---
17
-
18
- - type: checkboxes
19
- attributes:
20
- label: "Is there an existing issue that is already proposing this?"
21
- description: "Please search [here](./?q=is%3Aissue) to see if an issue already exists for the feature you are requesting"
22
- options:
23
- - label: "I have searched the existing issues"
24
- required: true
25
-
26
- - type: textarea
27
- validations:
28
- required: true
29
- attributes:
30
- label: "Is your feature request related to a problem? Please describe it"
31
- description: "A clear and concise description of what the problem is"
32
- placeholder: |
33
- I have an issue when ...
34
-
35
- - type: textarea
36
- validations:
37
- required: true
38
- attributes:
39
- label: "Describe the solution you'd like"
40
- description: "A clear and concise description of what you want to happen. Add any considered drawbacks"
41
-
42
- - type: textarea
43
- attributes:
44
- label: "Teachability, documentation, adoption, migration strategy"
45
- description: "If you can, explain how users will be able to use this and possibly write out a version the docs. Maybe a screenshot or design?"
46
-
47
- - type: textarea
48
- validations:
49
- required: true
50
- attributes:
51
- label: "What is the motivation / use case for changing the behavior?"
52
- description: "Describe the motivation or the concrete use case"
@@ -1,78 +0,0 @@
1
- name: "\U0001F4A5 Regression"
2
- description: "Report an unexpected behavior while upgrading your Nest application!"
3
- labels: ["needs triage"]
4
- body:
5
- - type: markdown
6
- attributes:
7
- value: |
8
- ## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
9
-
10
- If you are not sure that your issue is a bug, you could:
11
-
12
- - use our [Discord community](https://discord.gg/NestJS)
13
- - use [StackOverflow using the tag `nestjs`](https://stackoverflow.com/questions/tagged/nestjs)
14
- - If it's just a quick question you can ping [our Twitter](https://twitter.com/nestframework)
15
-
16
- **NOTE:** You don't need to answer questions that you know that aren't relevant.
17
-
18
- ---
19
-
20
- - type: checkboxes
21
- attributes:
22
- label: "Did you read the migration guide?"
23
- description: "Check out the [migration guide here](https://docs.nestjs.com/migration-guide)!"
24
- options:
25
- - label: "I have read the whole migration guide"
26
- required: false
27
-
28
- - type: checkboxes
29
- attributes:
30
- label: "Is there an existing issue that is already proposing this?"
31
- description: "Please search [here](./?q=is%3Aissue) to see if an issue already exists for the feature you are requesting"
32
- options:
33
- - label: "I have searched the existing issues"
34
- required: true
35
-
36
- - type: input
37
- attributes:
38
- label: "Potential Commit/PR that introduced the regression"
39
- description: "If you have time to investigate, what PR/date/version introduced this issue"
40
- placeholder: "PR #123 or commit 5b3c4a4"
41
-
42
- - type: input
43
- attributes:
44
- label: "Versions"
45
- description: "From which version of `@nestjs/cli` to which version you are upgrading"
46
- placeholder: "8.1.0 -> 8.1.3"
47
-
48
- - type: textarea
49
- validations:
50
- required: true
51
- attributes:
52
- label: "Describe the regression"
53
- description: "A clear and concise description of what the regression is"
54
-
55
- - type: textarea
56
- attributes:
57
- label: "Minimum reproduction code"
58
- description: |
59
- Please share a git repo, a gist, or step-by-step instructions. [Wtf is a minimum reproduction?](https://jmcdo29.github.io/wtf-is-a-minimum-reproduction)
60
- **Tip:** If you leave a minimum repository, we will understand your issue faster!
61
- value: |
62
- ```ts
63
-
64
- ```
65
-
66
- - type: textarea
67
- validations:
68
- required: true
69
- attributes:
70
- label: "Expected behavior"
71
- description: "A clear and concise description of what you expected to happend (or code)"
72
-
73
- - type: textarea
74
- attributes:
75
- label: "Other"
76
- description: |
77
- Anything else relevant? eg: Logs, OS version, IDE, package manager, etc.
78
- **Tip:** You can attach images, recordings or log files by clicking this area to highlight it and then dragging files in
@@ -1,7 +0,0 @@
1
- ## To encourage contributors to use issue templates, we don't allow blank issues
2
- blank_issues_enabled: false
3
-
4
- contact_links:
5
- - name: "\u2753 Discord Community of NestJS"
6
- url: "https://discord.gg/NestJS"
7
- about: "Please ask support questions or discuss suggestions/enhancements here."
@@ -1,41 +0,0 @@
1
- ## PR Checklist
2
- Please check if your PR fulfills the following requirements:
3
-
4
- - [ ] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md
5
- - [ ] Tests for the changes have been added (for bug fixes / features)
6
- - [ ] Docs have been added / updated (for bug fixes / features)
7
-
8
-
9
- ## PR Type
10
- What kind of change does this PR introduce?
11
-
12
- <!-- Please check the one that applies to this PR using "x". -->
13
- ```
14
- [ ] Bugfix
15
- [ ] Feature
16
- [ ] Code style update (formatting, local variables)
17
- [ ] Refactoring (no functional changes, no api changes)
18
- [ ] Build related changes
19
- [ ] CI related changes
20
- [ ] Other... Please describe:
21
- ```
22
-
23
- ## What is the current behavior?
24
- <!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->
25
-
26
- Issue Number: N/A
27
-
28
-
29
- ## What is the new behavior?
30
-
31
-
32
- ## Does this PR introduce a breaking change?
33
- ```
34
- [ ] Yes
35
- [ ] No
36
- ```
37
-
38
- <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->
39
-
40
-
41
- ## Other information
package/.husky/commit-msg DELETED
@@ -1 +0,0 @@
1
- npx --no-install commitlint --edit $1
package/.husky/pre-commit DELETED
@@ -1 +0,0 @@
1
- npx --no-install lint-staged
package/CONTRIBUTING.md DELETED
@@ -1,226 +0,0 @@
1
- # Contributing to Nest CLI
2
-
3
- We would love for you to contribute to Nest and help make it even better than it is today! As a contributor, here are the guidelines we would like you to follow :
4
-
5
- - [Question or Problem?](#question)
6
- - [Issues and Bugs](#issue)
7
- - [Feature Requests](#feature)
8
- - [Submission Guidelines](#submit)
9
-
10
- ## <a name="question"></a> Got a Question or Problem ?
11
-
12
- **Do not open issues for general support questions as we want to keep GitHub issues for bug reports and feature requests.** You've got much better chances of getting your question answered on Stack Overflow where the questions should be tagged with tag nestjs.
13
-
14
- [Stack Overflow](https://stackoverflow.com/questions/tagged/nestjs) is a much better place to ask questions since:
15
-
16
- - questions and answers stay available for public viewing so your question / answer might help someone else
17
- - Stack Overflow's voting system assures that the best answers are prominently visible.
18
-
19
- To save your and our time, we will systematically close all issues that are requests for general support and redirect people to Stack Overflow.
20
-
21
- If you would like to chat about the question in real-time, you can reach out via [our discord channel][discord].
22
-
23
- ## <a name="issue"></a> Found a Bug?
24
-
25
- If you find a bug in the source code, you can help us by
26
- [submitting an issue](#submit-issue). Even better, you can [submit a Pull Request](#submit-pr) with a fix.
27
-
28
- ## <a name="feature"></a> Missing a Feature?
29
-
30
- You can _request_ a new feature by [submitting an issue](#submit-issue) to our GitHub
31
- Repository. If you would like to _implement_ a new feature, please submit an issue with
32
- a proposal for your work first, to be sure that we can use it.
33
- Please consider what kind of change it is:
34
-
35
- - For a **Major Feature**, first open an issue and outline your proposal so that it can be
36
- discussed. This will also allow us to better coordinate our efforts, prevent duplication of work,
37
- and help you to craft the change so that it is successfully accepted into the project. For your issue name, please prefix your proposal with `[discussion]`, for example "[discussion]: your feature idea".
38
- - **Small Features** can be crafted and directly [submitted as a Pull Request](#submit-pr).
39
-
40
- ## <a name="submit"></a> Submission Guidelines
41
-
42
- ### <a name="submit-issue"></a> Submitting an Issue
43
-
44
- Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available.
45
-
46
- We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs we will systematically ask you to provide a minimal reproduction scenario using a repository or [Gist](https://gist.github.com/). Having a live, reproducible scenario gives us wealth of important information without going back & forth to you with additional questions like:
47
-
48
- - version of NestJS-CLI used (`nest info`)
49
- - and most importantly - a use-case that fails
50
-
51
- Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced.
52
-
53
- You can file new issues by filling out our [new issue form](https://github.com/nestjs/nest/issues/new).
54
-
55
- ### <a name="submit-pr"></a> Submitting a Pull Request (PR)
56
-
57
- Before you submit your Pull Request (PR) consider the following guidelines:
58
-
59
- 1. Search [GitHub](https://github.com/nestjs/nest/pulls) for an open or closed PR that relates to your submission. You don't want to duplicate effort.
60
- 1. Fork the nestjs/nest-cli repo.
61
- 1. Get a gpg key to sign your commits, see [help](https://help.github.com/articles/about-gpg/).
62
- 1. Create your patch, **including appropriate test cases**.
63
- 1. Commit your changes using a descriptive commit message
64
-
65
- ```shell
66
- git commit -am "<message>"
67
- ```
68
-
69
- Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files.
70
-
71
- 1. Push your branch to GitHub:
72
-
73
- ```shell
74
- git push origin my-fix-branch
75
- ```
76
-
77
- Note: you can use -u to set your branch in upstream and just push for the next times.
78
-
79
- 1. In GitHub, send a pull request to `nestjs/nest-cli:master`.
80
-
81
- - If we suggest changes then:
82
-
83
- - Make the required updates.
84
- - Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
85
-
86
- ```shell
87
- git rebase master -i
88
- git push -f
89
- ```
90
-
91
- That's it! Thank you for your contribution!
92
-
93
- #### After your pull request is merged
94
-
95
- After your pull request is merged, you can safely delete your branch and pull the changes
96
- from the main (upstream) repository:
97
-
98
- - Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
99
-
100
- ```shell
101
- git push origin --delete my-fix-branch
102
- ```
103
-
104
- - Check out the master branch:
105
-
106
- ```shell
107
- git checkout master -f
108
- ```
109
-
110
- - Delete the local branch:
111
-
112
- ```shell
113
- git branch -D my-fix-branch
114
- ```
115
-
116
- - Update your master with the latest upstream version:
117
-
118
- ```shell
119
- git pull --ff upstream master
120
- ```
121
-
122
- ## <a name="rules"></a> Coding Rules
123
- To ensure consistency throughout the source code, keep these rules in mind as you are working:
124
-
125
- * All features or bug fixes **must be tested** by one or more specs (unit-tests).
126
- <!--
127
- // We're working on auto-documentation.
128
- * All public API methods **must be documented**. (Details TBC). -->
129
- * We follow [Google's JavaScript Style Guide][js-style-guide], but wrap all code at
130
- **100 characters**. An automated formatter is available ( `npm run format` ).
131
-
132
- ## <a name="commit"></a> Commit Message Guidelines
133
-
134
- We have very precise rules over how our git commit messages can be formatted. This leads to **more
135
- readable messages** that are easy to follow when looking through the **project history**. But also,
136
- we use the git commit messages to **generate the Nest change log**.
137
-
138
- ### Commit Message Format
139
- Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
140
- format that includes a **type**, a **scope** and a **subject**:
141
-
142
- ```
143
- <type>(<scope>): <subject>
144
- <BLANK LINE>
145
- <body>
146
- <BLANK LINE>
147
- <footer>
148
- ```
149
-
150
- The **header** is mandatory and the **scope** of the header is optional.
151
-
152
- Any line of the commit message cannot be longer than 100 characters! This allows the message to be easier
153
- to read on GitHub as well as in various git tools.
154
-
155
- Footer should contain a [closing reference to an issue](https://help.github.com/articles/closing-issues-via-commit-messages/) if any.
156
-
157
- Samples: (even more [samples](https://github.com/nestjs/nest/commits/master))
158
-
159
- ```
160
- docs(changelog) update change log to beta.5
161
- ```
162
- ```
163
- fix(@nestjs/core) need to depend on latest rxjs and zone.js
164
-
165
- The version in our package.json gets copied to the one we publish, and users need the latest of these.
166
- ```
167
-
168
- ### Revert
169
- If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
170
-
171
- ### Type
172
- Must be one of the following:
173
-
174
- * **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
175
- * **chore**: Updating tasks etc; no production code change
176
- * **ci**: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
177
- * **docs**: Documentation only changes
178
- * **feat**: A new feature
179
- * **fix**: A bug fix
180
- * **perf**: A code change that improves performance
181
- * **refactor**: A code change that neither fixes a bug nor adds a feature
182
- * **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
183
- * **test**: Adding missing tests or correcting existing tests
184
-
185
-
186
- ### Subject
187
- The subject contains succinct description of the change:
188
-
189
- * use the imperative, present tense: "change" not "changed" nor "changes"
190
- * don't capitalize first letter
191
- * no dot (.) at the end
192
-
193
- ### Body
194
- Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
195
- The body should include the motivation for the change and contrast this with previous behavior.
196
-
197
- ### Footer
198
- The footer should contain any information about **Breaking Changes** and is also the place to
199
- reference GitHub issues that this commit **Closes**.
200
-
201
- **Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. The rest of the commit message is then used for this.
202
-
203
- A detailed explanation can be found in this [document][commit-message-format].
204
-
205
- <!-- ## <a name="cla"></a> Signing the CLA
206
-
207
- Please sign our Contributor License Agreement (CLA) before sending pull requests. For any code
208
- changes to be accepted, the CLA must be signed. It's a quick process, we promise!
209
-
210
- * For individuals we have a [simple click-through form][individual-cla].
211
- * For corporations we'll need you to
212
- [print, sign and one of scan+email, fax or mail the form][corporate-cla]. -->
213
-
214
-
215
- <!-- [angular-group]: https://groups.google.com/forum/#!forum/angular -->
216
- <!-- [coc]: https://github.com/angular/code-of-conduct/blob/master/CODE_OF_CONDUCT.md -->
217
- [commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#
218
- [corporate-cla]: http://code.google.com/legal/corporate-cla-v1.0.html
219
- [github]: https://github.com/nestjs/nest
220
- [discord]: https://discord.gg/nestjs
221
- [individual-cla]: http://code.google.com/legal/individual-cla-v1.0.html
222
- [js-style-guide]: https://google.github.io/styleguide/jsguide.html
223
- [jsfiddle]: http://jsfiddle.net
224
- [plunker]: http://plnkr.co/edit
225
- [runnable]: http://runnable.com
226
- <!-- [stackoverflow]: http://stackoverflow.com/questions/tagged/angular -->
@@ -1,68 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`tsconfig paths hooks should remove unused imports 1`] = `
4
- Map {
5
- "dist/foo.js" => ""use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.Foo = void 0;
8
- class Foo {
9
- }
10
- exports.Foo = Foo;
11
- ",
12
- "dist/bar.js" => ""use strict";
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Bar = void 0;
15
- class Bar {
16
- }
17
- exports.Bar = Bar;
18
- ",
19
- "dist/main.js" => ""use strict";
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- ",
22
- }
23
- `;
24
-
25
- exports[`tsconfig paths hooks should replace path of every import using a path alias by its relative path 1`] = `
26
- Map {
27
- "dist/foo.js" => ""use strict";
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Foo = void 0;
30
- class Foo {
31
- }
32
- exports.Foo = Foo;
33
- ",
34
- "dist/bar.jsx" => ""use strict";
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.Bar = void 0;
37
- class Bar {
38
- }
39
- exports.Bar = Bar;
40
- ",
41
- "dist/baz.js" => ""use strict";
42
- Object.defineProperty(exports, "__esModule", { value: true });
43
- exports.Baz = void 0;
44
- class Baz {
45
- }
46
- exports.Baz = Baz;
47
- ",
48
- "dist/qux.jsx" => ""use strict";
49
- Object.defineProperty(exports, "__esModule", { value: true });
50
- exports.Qux = void 0;
51
- class Qux {
52
- }
53
- exports.Qux = Qux;
54
- ",
55
- "dist/main.js" => ""use strict";
56
- Object.defineProperty(exports, "__esModule", { value: true });
57
- const foo_1 = require("./foo");
58
- const bar_1 = require("./bar");
59
- const baz_1 = require("./baz");
60
- const qux_1 = require("./qux");
61
- // use the imports so they do not get eliminated
62
- console.log(foo_1.Foo);
63
- console.log(bar_1.Bar);
64
- console.log(baz_1.Baz);
65
- console.log(qux_1.Qux);
66
- ",
67
- }
68
- `;
@@ -1 +0,0 @@
1
- export class Bar {}
@@ -1 +0,0 @@
1
- export class Baz {}
@@ -1 +0,0 @@
1
- export class Qux {}
@@ -1,26 +0,0 @@
1
- {
2
- "$schema": "../../../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "extends": ["../simple/collection.json"],
4
- "schematics": {
5
- "simple1": {
6
- "factory": "factory",
7
- "description": "Override schematic 1",
8
- "aliases": ["s1", "simp1"]
9
- },
10
- "simple2": {
11
- "factory": "factory",
12
- "description": "Override schematic 2",
13
- "aliases": ["os2", "s2", "simp2"]
14
- },
15
- "extend1": {
16
- "factory": "factory",
17
- "description": "Extended schematic 1",
18
- "aliases": ["x1", "ext1"]
19
- },
20
- "extend2": {
21
- "factory": "factory",
22
- "description": "Extended schematic 2",
23
- "aliases": ["x2", "ext2", "s3", "simp3"]
24
- }
25
- }
26
- }
@@ -1,10 +0,0 @@
1
- {
2
- "$schema": "../../../../../../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "schematics": {
4
- "package1": {
5
- "factory": "factory",
6
- "description": "Package schematic 1",
7
- "aliases": ["pkg1"]
8
- }
9
- }
10
- }
File without changes
@@ -1,5 +0,0 @@
1
- {
2
- "name": "package",
3
- "version": "0.0.0",
4
- "schematics": "./a/b/c/collection.json"
5
- }
@@ -1,20 +0,0 @@
1
- {
2
- "$schema": "../../../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "schematics": {
4
- "simple1": {
5
- "factory": "factory",
6
- "description": "Simple schematic 1",
7
- "aliases": ["s1", "simp1"]
8
- },
9
- "simple2": {
10
- "factory": "factory",
11
- "description": "Simple schematic 2",
12
- "aliases": ["s2", "simp2"]
13
- },
14
- "simple3": {
15
- "factory": "factory",
16
- "description": "Simple schematic 3",
17
- "aliases": ["s3", "simp3"]
18
- }
19
- }
20
- }