@lapikit/repl 0.0.0-insiders.9dca1ba → 0.0.0-insiders.ca861a5

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 +7 -13
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,14 +2,12 @@
2
2
 
3
3
  @lapikit/repl is a Svelte component for Lapikit. It's a add-on package for Lapikit library.
4
4
 
5
-
6
5
  ## Installation
7
6
 
8
7
  ```bash
9
8
  npm install -D @lapikit/repl
10
9
  ```
11
10
 
12
-
13
11
  ```javascript
14
12
  // svelte.config.js
15
13
 
@@ -30,7 +28,6 @@ export default config;
30
28
  <kit:repl content="console.log('hello')" />
31
29
  ```
32
30
 
33
-
34
31
  ```svelte
35
32
  <script lang="ts">
36
33
  import sampleCounter from './samples/counter.svelte?raw';
@@ -42,7 +39,6 @@ export default config;
42
39
  </kit:repl>
43
40
  ```
44
41
 
45
-
46
42
  ```svelte
47
43
  <script lang="ts">
48
44
  import sampleJson from './samples/json.json?raw';
@@ -56,14 +52,13 @@ export default config;
56
52
  content={{
57
53
  'Counter.svelte': { code: sampleCounter, lang: 'svelte' },
58
54
  'file.json': { code: sampleJson, lang: 'json' },
59
- 'Styles.css': { code: sampleCss, lang: 'css' },
55
+ 'Styles.css': { code: sampleCss, lang: 'css' }
60
56
  }}
61
57
  >
62
58
  <Counter />
63
59
  </kit:repl>
64
60
  ```
65
61
 
66
-
67
62
  ```svelte
68
63
  <script lang="ts">
69
64
  import sampleJson from './samples/json.json?raw';
@@ -76,18 +71,17 @@ export default config;
76
71
  content={{
77
72
  'Counter.svelte': { code: sampleCounter, lang: 'svelte' },
78
73
  'file.json': { code: sampleJson, lang: 'json' },
79
- 'Styles.css': { code: sampleCss, lang: 'css' },
74
+ 'Styles.css': { code: sampleCss, lang: 'css' }
80
75
  }}
81
76
  >
82
77
  <Counter />
83
78
  </kit:repl>
84
79
  ```
85
80
 
86
-
87
81
  ## Props
88
82
 
89
- | Prop | Type | Default | Description |
90
- | ----------- | --------------------------- | --------- | ------------------------------------------------------------ |
91
- | content | string \| Record<string, { code: string; lang?: string }> | '' | The code content to be displayed in the REPL. It can be a single string or an object representing multiple files. |
92
- | presentation | boolean | false | If true, the REPL will be in presentation mode, showing only the output without the code editor. |
93
- | tiltle | string | '' | The title displayed on the REPL toolbar. |
83
+ | Prop | Type | Default | Description |
84
+ | ------------ | --------------------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------- |
85
+ | content | string \| Record<string, { code: string; lang?: string }> | '' | The code content to be displayed in the REPL. It can be a single string or an object representing multiple files. |
86
+ | presentation | boolean | false | If true, the REPL will be in presentation mode, showing only the output without the code editor. |
87
+ | tiltle | string | '' | The title displayed on the REPL toolbar. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapikit/repl",
3
- "version": "0.0.0-insiders.9dca1ba",
3
+ "version": "0.0.0-insiders.ca861a5",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://github.com/Nycolaide/lapikit.git"
14
+ "url": "git+https://github.com/lapikit/lapikit-repl.git"
15
15
  },
16
16
  "scripts": {
17
17
  "dev": "vite dev",