@nsis/dent-ui 0.2.1 → 0.2.3

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.
@@ -1,10 +1,15 @@
1
1
  $ vite build
2
- 9:28:12 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
- vite v8.1.3 building client environment for production...
4
- 
2
+ 7:30:27 AM [vite-plugin-svelte] no Svelte config found at /home/runner/work/nsis-org/nsis-org/packages/dent-ui - using default configuration.
3
+ vite v8.1.5 building client environment for production...
4
+ 
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-RxzOIm4G.js 404.08 kB │ gzip: 132.91 kB
8
+ dist/assets/index-BYji9J_t.js 551.99 kB │ gzip: 180.06 kB
9
9
 
10
- ✓ built in 320ms
10
+ ✓ built in 350ms
11
+ [plugin builtin:vite-reporter]
12
+ (!) Some chunks are larger than 500 kB after minification. Consider:
13
+ - Using dynamic import() to code-split the application
14
+ - Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
15
+ - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @nsis/dent-ui
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [85bd3e3]
8
+ - @nsis/codemirror@0.14.2
9
+
10
+ ## 0.2.2
11
+
12
+ ### Patch Changes
13
+
14
+ - a3fc38e: fix intendation of block keywords
15
+ - Updated dependencies [a3fc38e]
16
+ - @nsis/codemirror@0.14.1
17
+
3
18
  ## 0.2.1
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  ![License](https://img.shields.io/npm/l/%40nsis%2Fdent-ui?style=for-the-badge)
6
6
  [![Version](https://img.shields.io/npm/v/@nsis/dent-ui?style=for-the-badge)](https://www.npmjs.org/package/@nsis/dent-ui)
7
- [![Build](https://img.shields.io/github/actions/workflow/status/idleberg/nsis-javascript-tools/ci.yml?style=for-the-badge)](https://github.com/idleberg/nsis-javascript-tools/actions)
7
+ [![Build](https://img.shields.io/github/actions/workflow/status/idleberg/nsis-org/ci.yml?style=for-the-badge)](https://github.com/idleberg/nsis-org/actions)
8
8
 
9
- [Demo Time](https://idleberg.github.io/nsis-javascript-tools/dent/) 🙌
9
+ [Demo Time](https://idleberg.github.io/nsis-org/dent/) 🙌
10
10
 
11
11
  ## Usage
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsis/dent-ui",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Web UI for the Dent NSIS code formatter",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/idleberg/nsis-javascript-tools.git"
16
+ "url": "git+https://github.com/idleberg/nsis-org.git"
17
17
  },
18
- "homepage": "https://github.com/idleberg/nsis-javascript-tools/tree/main/packages/dent-ui#readme",
18
+ "homepage": "https://github.com/idleberg/nsis-org/tree/main/packages/dent-ui#readme",
19
19
  "keywords": [
20
20
  "nsis",
21
21
  "formatter",
@@ -25,21 +25,21 @@
25
25
  "@codemirror/commands": "^6.10.4",
26
26
  "@codemirror/language": "^6.12.4",
27
27
  "@codemirror/state": "^6.7.1",
28
- "@codemirror/view": "^6.43.5",
28
+ "@codemirror/view": "^6.43.6",
29
29
  "@lezer/highlight": "^1.2.3",
30
- "svelte": "^5.56.4",
31
- "@nsis/codemirror": "0.14.0",
32
- "@nsis/dent": "0.13.0"
30
+ "svelte": "^5.56.6",
31
+ "@nsis/dent": "0.13.0",
32
+ "@nsis/codemirror": "0.14.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@sveltejs/vite-plugin-svelte": "^7.2.0",
36
36
  "@vitest/browser": "^4.1.10",
37
37
  "@vitest/browser-playwright": "^4.1.10",
38
38
  "playwright": "^1.53.0",
39
- "svelte-check": "^4.7.2",
40
- "vite": "^8.1.3",
41
- "vitest": "^4.1.9",
42
- "vitest-browser-svelte": "^2.2.0"
39
+ "svelte-check": "^4.7.3",
40
+ "vite": "^8.1.5",
41
+ "vitest": "^4.1.10",
42
+ "vitest-browser-svelte": "^3.0.0"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "vite build",
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();