-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[prettier] Links prettier-plugin-move to pnpm workspace (#20345)
## Description - adds `@mysten/prettier-plugin-move` to pnpm workspace - resets versioning for publishing, starting with 0.1.0 - changeset ## Test plan - CIs must pass ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
- Loading branch information
Showing
9 changed files
with
551 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@mysten/prettier-plugin-move': minor | ||
--- | ||
|
||
Initial version of the prettier-plugin-move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
node_modules | ||
tests | ||
.vscode | ||
scripts |
14 changes: 14 additions & 0 deletions
14
external-crates/move/tooling/prettier-move/CONTRIBUTING.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Contributing | ||
|
||
If you decide to contribute to this project, please choose the scope of your contribution (e.g., | ||
implement formatting for structs) and file an issue in the Sui | ||
[repository](https://github.com/MystenLabs/sui) describing the work you plan to do, and wait for a | ||
response from a core team member so that we can avoid duplication of efforts. | ||
|
||
Please make sure that the code you add is well documented and that you add relevant tests - please | ||
use existing code as guidance. | ||
|
||
## Changeset | ||
|
||
Make sure to run `pnpm changeset` with appropriate version for the changes made. Commit the change, | ||
so that it is picked up by CI. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"name": "prettier-plugin-move", | ||
"version": "0.0.55", | ||
"license": "Apache-2.0", | ||
"keywords": [ | ||
"prettier", | ||
"move", | ||
"plugin" | ||
], | ||
"main": "./out/index.js", | ||
"scripts": { | ||
"build": "tsc -p .", | ||
"watch": "tsc -p . -w", | ||
"test": "npm run build && vitest run", | ||
"prettier": "npm run build && prettier --plugin out/index.js" | ||
}, | ||
"dependencies": { | ||
"prettier": "^3.3.3", | ||
"web-tree-sitter": "^0.20.8" | ||
}, | ||
"devDependencies": { | ||
"@types/diff": "^5.2.1", | ||
"@types/node": "^20.10.6", | ||
"diff": "^5.2.0", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.6.0" | ||
} | ||
"name": "@mysten/prettier-plugin-move", | ||
"version": "0.0.0", | ||
"license": "Apache-2.0", | ||
"keywords": [ | ||
"prettier", | ||
"move", | ||
"plugin" | ||
], | ||
"main": "./out/index.js", | ||
"scripts": { | ||
"build": "tsc -p .", | ||
"watch": "tsc -p . -w", | ||
"test": "npm run build && vitest run", | ||
"prettier": "npm run build && prettier --plugin out/index.js" | ||
}, | ||
"dependencies": { | ||
"prettier": "^3.3.2", | ||
"web-tree-sitter": "^0.20.8" | ||
}, | ||
"devDependencies": { | ||
"@types/diff": "^5.2.1", | ||
"@types/node": "^20.14.10", | ||
"diff": "^5.2.0", | ||
"typescript": "^5.5.3", | ||
"vitest": "^2.0.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "CommonJS", | ||
"target": "es2021", | ||
"outDir": "out", | ||
"lib": ["es2021"], | ||
"sourceMap": true, | ||
"rootDir": "src", | ||
"newLine": "LF", | ||
"strict": true, | ||
"allowUnreachableCode": false, | ||
"allowUnusedLabels": false, | ||
"exactOptionalPropertyTypes": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitAny": true, | ||
"noImplicitOverride": true, | ||
"noImplicitReturns": true, | ||
"noImplicitThis": true, | ||
"noPropertyAccessFromIndexSignature": true, | ||
"noUncheckedIndexedAccess": true, | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false, | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"out" | ||
], | ||
"include": [ | ||
"src" | ||
] | ||
"compilerOptions": { | ||
"module": "CommonJS", | ||
"target": "es2021", | ||
"outDir": "out", | ||
"lib": ["es2021"], | ||
"sourceMap": true, | ||
"rootDir": "src", | ||
"newLine": "LF", | ||
"strict": true, | ||
"allowUnreachableCode": false, | ||
"allowUnusedLabels": false, | ||
"exactOptionalPropertyTypes": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitAny": true, | ||
"noImplicitOverride": true, | ||
"noImplicitReturns": true, | ||
"noImplicitThis": true, | ||
"noPropertyAccessFromIndexSignature": true, | ||
"noUncheckedIndexedAccess": true, | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false | ||
}, | ||
"exclude": ["node_modules", "out"], | ||
"include": ["src"] | ||
} |
Oops, something went wrong.