File tree 3 files changed +0
-39
lines changed 3 files changed +0
-39
lines changed Original file line number Diff line number Diff line change 185
185
"npm-run-all2" : " ^6.0.0" ,
186
186
"patch-package" : " ^8.0.0" ,
187
187
"pinst" : " ^3.0.0" ,
188
- "plop" : " ^4.0.1" ,
189
188
"prettier" : " ^3.0.0" ,
190
189
"prettier-plugin-package" : " ^1.3.0" ,
191
190
"pretty-bytes" : " ^6.1.1" ,
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright 2024 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
-
13
- /* This is where you'd put any Spectrum CSS variables and rules */
Original file line number Diff line number Diff line change @@ -50,31 +50,6 @@ module.exports = function (plop) {
50
50
}
51
51
} ) ;
52
52
53
- plop . setActionType ( 'format files' , function ( answers ) {
54
- try {
55
- // Run formatters separately so one failing doesn't block the others
56
- execSync (
57
- `cd ../../ && yarn prettier --write packages/${ answers . name } `
58
- ) ;
59
- } catch ( error ) {
60
- // Continue if prettier fails
61
- }
62
- try {
63
- execSync (
64
- `cd ../../ && yarn eslint --fix -f pretty packages/${ answers . name } `
65
- ) ;
66
- } catch ( error ) {
67
- // Continue if eslint fails
68
- }
69
- try {
70
- execSync (
71
- `cd ../../ && yarn stylelint --fix packages/${ answers . name } /src/*.css`
72
- ) ;
73
- } catch ( error ) {
74
- // Continue if stylelint fails
75
- }
76
- } ) ;
77
-
78
53
plop . setGenerator ( 'component' , {
79
54
description : 'application controller logic' ,
80
55
prompts : [
You can’t perform that action at this time.
0 commit comments