Skip to content

Commit 29f41b4

Browse files
authored
bump version (#1177)
* bump version * hotfix of multiple PRs merged at the same time * Bump webpack from 5.99.9 to 5.100.0
1 parent 530d187 commit 29f41b4

File tree

4 files changed

+47
-30
lines changed

4 files changed

+47
-30
lines changed

HOW_TO_PUBLISH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm run build:test
2020
npm run test:standalone
2121
```
2222

23-
- Create a branch with the name of the new version number, e.g.: `git checkout -b 1.1.0`
23+
- Create a branch with the name of the new version number, e.g.: `git checkout -b 2.1.0`
2424

2525
- Bump the version in the package.json file
2626

package-lock.json

Lines changed: 40 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier-plugin-solidity",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "A Prettier Plugin for automatically formatting your Solidity code.",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -107,7 +107,7 @@
107107
"ts-loader": "^9.5.2",
108108
"ts-node": "^10.9.2",
109109
"typescript": "^5.8.3",
110-
"webpack": "^5.99.9",
110+
"webpack": "^5.100.0",
111111
"webpack-cli": "^6.0.1"
112112
},
113113
"dependencies": {

src/slang-comments/handlers/handle-struct-comments.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { NonterminalKind } from '@nomicfoundation/slang/cst';
22
import { util } from 'prettier';
33
import { locEnd } from '../../slang-utils/loc.js';
4-
import addCollectionNodeFirstComment from './add-collection-node-first-comment.js';
5-
import addCollectionNodeLastComment from './add-collection-node-last-comment.js';
4+
import addCollectionFirstComment from './add-collection-first-comment.js';
5+
import addCollectionLastComment from './add-collection-last-comment.js';
66

77
import type { HandlerParams } from './types.d.ts';
88

@@ -26,12 +26,12 @@ export default function handleStructComments({
2626
precedingNode?.kind === NonterminalKind.StructMembers &&
2727
nextCharacter === '}'
2828
) {
29-
addCollectionNodeLastComment(precedingNode, comment);
29+
addCollectionLastComment(precedingNode, comment);
3030
return true;
3131
}
3232

3333
if (followingNode?.kind === NonterminalKind.StructMembers) {
34-
addCollectionNodeFirstComment(followingNode, comment);
34+
addCollectionFirstComment(followingNode, comment);
3535
return true;
3636
}
3737

0 commit comments

Comments
 (0)