@ast-grep/cli 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -1
  2. package/package.json +17 -8
package/README.md CHANGED
@@ -1,3 +1,12 @@
1
1
  # @ast-grep/cli
2
2
 
3
- Please see https://github.com/ast-grep/ast-grep
3
+ <p align=center>
4
+ <img src="https://ast-grep.github.io/logo.svg" alt="ast-grep"/>
5
+ </p>
6
+
7
+ ## ast-grep(sg)
8
+
9
+ ast-grep(sg) is a CLI tool for code structural search, lint, and rewriting.
10
+
11
+ Please see [ast-grep's official site](https://ast-grep.github.io/) and [repository](https://github.com/ast-grep/ast-grep)
12
+ for more information.
package/package.json CHANGED
@@ -1,13 +1,22 @@
1
1
  {
2
2
  "name": "@ast-grep/cli",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
+ "description": "Search and Rewrite code at large scale using precise AST pattern",
8
+ "homepage": "https://ast-grep.github.io",
7
9
  "repository": "https://github.com/ast-grep/ast-grep",
8
10
  "engines": {
9
11
  "node": ">= 12.0.0"
10
12
  },
13
+ "keywords": [
14
+ "ast",
15
+ "pattern",
16
+ "codemod",
17
+ "search",
18
+ "rewrite"
19
+ ],
11
20
  "files": [
12
21
  "sg",
13
22
  "ast-grep",
@@ -20,13 +29,13 @@
20
29
  "postinstall": "node postinstall.js"
21
30
  },
22
31
  "optionalDependencies": {
23
- "@ast-grep/cli-win32-arm64-msvc": "0.10.0",
24
- "@ast-grep/cli-win32-ia32-msvc": "0.10.0",
25
- "@ast-grep/cli-win32-x64-msvc": "0.10.0",
26
- "@ast-grep/cli-darwin-arm64": "0.10.0",
27
- "@ast-grep/cli-darwin-x64": "0.10.0",
28
- "@ast-grep/cli-linux-arm64-gnu": "0.10.0",
29
- "@ast-grep/cli-linux-x64-gnu": "0.10.0"
32
+ "@ast-grep/cli-win32-arm64-msvc": "0.11.0",
33
+ "@ast-grep/cli-win32-ia32-msvc": "0.11.0",
34
+ "@ast-grep/cli-win32-x64-msvc": "0.11.0",
35
+ "@ast-grep/cli-darwin-arm64": "0.11.0",
36
+ "@ast-grep/cli-darwin-x64": "0.11.0",
37
+ "@ast-grep/cli-linux-arm64-gnu": "0.11.0",
38
+ "@ast-grep/cli-linux-x64-gnu": "0.11.0"
30
39
  },
31
40
  "bin": {
32
41
  "sg": "sg",