@nsis/dent-ui 0.2.1 → 0.2.2
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.
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +8 -0
- package/package.json +2 -2
- package/src/App.svelte +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
$ vite build
|
|
2
|
-
|
|
2
|
+
10:30:39 PM [vite-plugin-svelte] no Svelte config found at /home/runner/work/nsis-javascript-tools/nsis-javascript-tools/packages/dent-ui - using default configuration.
|
|
3
3
|
[36mvite v8.1.3 [32mbuilding client environment for production...[36m[39m
|
|
4
4
|
[2K
|
|
5
5
|
rendering chunks...
|
|
6
6
|
computing gzip size...
|
|
7
7
|
dist/index.html 0.30 kB │ gzip: 0.22 kB
|
|
8
|
-
dist/assets/index-
|
|
8
|
+
dist/assets/index-D2jIzksy.js 404.99 kB │ gzip: 133.27 kB
|
|
9
9
|
|
|
10
|
-
[32m✓ built in
|
|
10
|
+
[32m✓ built in 321ms[39m
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nsis/dent-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Web UI for the Dent NSIS code formatter",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@codemirror/view": "^6.43.5",
|
|
29
29
|
"@lezer/highlight": "^1.2.3",
|
|
30
30
|
"svelte": "^5.56.4",
|
|
31
|
-
"@nsis/codemirror": "0.14.
|
|
31
|
+
"@nsis/codemirror": "0.14.1",
|
|
32
32
|
"@nsis/dent": "0.13.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
package/src/App.svelte
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { defaultKeymap, history, historyKeymap } from '@codemirror/commands';
|
|
3
|
+
import { indentOnInput } from '@codemirror/language';
|
|
3
4
|
import { EditorState } from '@codemirror/state';
|
|
4
5
|
import { EditorView, keymap } from '@codemirror/view';
|
|
5
6
|
import { createFormatter } from '@nsis/dent';
|
|
@@ -124,6 +125,7 @@ function clear() {
|
|
|
124
125
|
const inputExtensions = [
|
|
125
126
|
history(),
|
|
126
127
|
keymap.of([...defaultKeymap, ...historyKeymap]),
|
|
128
|
+
indentOnInput(),
|
|
127
129
|
EditorView.lineWrapping,
|
|
128
130
|
EditorView.updateListener.of((update) => {
|
|
129
131
|
if (update.docChanged) scheduleAutoFormat();
|