Skip to content

Commit cb5c609

Browse files
committed
chore: remove formating from plopfile
1 parent e99fa99 commit cb5c609

File tree

4 files changed

+1
-41
lines changed

4 files changed

+1
-41
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@
185185
"npm-run-all2": "^6.0.0",
186186
"patch-package": "^8.0.0",
187187
"pinst": "^3.0.0",
188-
"plop": "^4.0.1",
189188
"prettier": "^3.0.0",
190189
"prettier-plugin-package": "^1.3.0",
191190
"pretty-bytes": "^6.1.1",
Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +0,0 @@
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 */

projects/templates/plopfile.js

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,31 +50,6 @@ module.exports = function (plop) {
5050
}
5151
});
5252

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-
7853
plop.setGenerator('component', {
7954
description: 'application controller logic',
8055
prompts: [

yarn.lock

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ __metadata:
294294
npm-run-all2: "npm:^6.0.0"
295295
patch-package: "npm:^8.0.0"
296296
pinst: "npm:^3.0.0"
297-
plop: "npm:^4.0.1"
298297
prettier: "npm:^3.0.0"
299298
prettier-plugin-package: "npm:^1.3.0"
300299
pretty-bytes: "npm:^6.1.1"
@@ -27971,7 +27970,7 @@ __metadata:
2797127970
languageName: node
2797227971
linkType: hard
2797327972

27974-
"plop@npm:^4.0.0, plop@npm:^4.0.1":
27973+
"plop@npm:^4.0.0":
2797527974
version: 4.0.1
2797627975
resolution: "plop@npm:4.0.1"
2797727976
dependencies:

0 commit comments

Comments
 (0)