Skip to content

Commit ceae06f

Browse files
authored
generate-blueprint: ignore pakcage-lock files inside generators folder (#28113)
1 parent 57bcaab commit ceae06f

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

generators/generate-blueprint/files.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const files = asWriteFilesSection<any>({
2525
condition: ctx => !ctx[LOCAL_BLUEPRINT_OPTION],
2626
templates: [
2727
'.github/workflows/generator.yml',
28+
'.gitignore.jhi.blueprint',
2829
'.prettierignore.jhi.blueprint',
2930
{ sourceFile: 'eslint.config.js.jhi.blueprint', destinationFile: ctx => `${ctx.eslintConfigFile}.jhi.blueprint` },
3031
'README.md',
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<%#
2+
Copyright 2013-2024 the original author or authors from the JHipster project.
3+
4+
This file is part of the JHipster project, see https://www.jhipster.tech/
5+
for more information.
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
https://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
-%>
19+
<&_ if (!fragment.section) { -&>
20+
# added by generate-blueprint:
21+
generators/**/package-lock.json
22+
<&_ } -&>

0 commit comments

Comments
 (0)