prettier-plugin-wolfram 0.7.0 → 0.7.1

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 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  <p align="center">
2
- <img src="vscode-extension/assets/icon.png" width="96" height="96" alt="@wrel/prettier-plugin-wolfram logo">
2
+ <img src="vscode-extension/assets/icon.png" width="96" height="96" alt="prettier-plugin-wolfram logo">
3
3
  </p>
4
4
 
5
- <h1 align="center">Wolfram Prettier Plugin — @wrel/prettier-plugin-wolfram</h1>
5
+ <h1 align="center">Wolfram Prettier Plugin — prettier-plugin-wolfram</h1>
6
6
 
7
7
  <p align="center">
8
8
  <strong>Prettier formatting for Wolfram Language, powered by tree-sitter.</strong>
@@ -41,14 +41,14 @@ Install Prettier and the plugin in the project that contains your Wolfram
41
41
  source:
42
42
 
43
43
  ```bash
44
- npm install --save-dev prettier @wrel/prettier-plugin-wolfram
44
+ npm install --save-dev prettier prettier-plugin-wolfram
45
45
  ```
46
46
 
47
47
  Add the plugin to your Prettier configuration for CLI use:
48
48
 
49
49
  ```json
50
50
  {
51
- "plugins": ["@wrel/prettier-plugin-wolfram"]
51
+ "plugins": ["prettier-plugin-wolfram"]
52
52
  }
53
53
  ```
54
54
 
@@ -57,25 +57,25 @@ Add the plugin to your Prettier configuration for CLI use:
57
57
  Format a file to stdout:
58
58
 
59
59
  ```bash
60
- npx prettier --plugin @wrel/prettier-plugin-wolfram --parser wolfram file.wl
60
+ npx prettier --plugin prettier-plugin-wolfram --parser wolfram file.wl
61
61
  ```
62
62
 
63
63
  Write changes back:
64
64
 
65
65
  ```bash
66
- npx prettier --plugin @wrel/prettier-plugin-wolfram --parser wolfram --write file.wl
66
+ npx prettier --plugin prettier-plugin-wolfram --parser wolfram --write file.wl
67
67
  ```
68
68
 
69
69
  Check whether files would change:
70
70
 
71
71
  ```bash
72
- npx prettier --plugin @wrel/prettier-plugin-wolfram --parser wolfram --check "src/**/*.wl"
72
+ npx prettier --plugin prettier-plugin-wolfram --parser wolfram --check "src/**/*.wl"
73
73
  ```
74
74
 
75
75
  Format a byte range with Prettier's standard range flags:
76
76
 
77
77
  ```bash
78
- npx prettier --plugin @wrel/prettier-plugin-wolfram --parser wolfram --range-start 0 --range-end 200 file.wl
78
+ npx prettier --plugin prettier-plugin-wolfram --parser wolfram --range-start 0 --range-end 200 file.wl
79
79
  ```
80
80
 
81
81
  Range formatting expands to the top-level Wolfram expressions touched by the
@@ -116,7 +116,7 @@ Typical `.prettierrc` example:
116
116
 
117
117
  ```json
118
118
  {
119
- "plugins": ["@wrel/prettier-plugin-wolfram"],
119
+ "plugins": ["prettier-plugin-wolfram"],
120
120
  "printWidth": 80,
121
121
  "tabWidth": 2,
122
122
  "wolfram": {
@@ -286,5 +286,5 @@ npm publish --registry http://localhost:4873
286
286
  Verify:
287
287
 
288
288
  ```bash
289
- npm view @wrel/prettier-plugin-wolfram --registry http://localhost:4873
289
+ npm view prettier-plugin-wolfram --registry http://localhost:4873
290
290
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prettier-plugin-wolfram",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Prettier plugin for Wolfram Language using tree-sitter",
5
5
  "license": "MIT",
6
6
  "repository": {