@automerge/create-vite-app 1.1.4 → 1.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automerge/create-vite-app",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Create an automerge-repo app which uses Vite",
5
5
  "repository": "https://github.com/automerge/automerge-repo/tree/master/packages/create-vite-app",
6
6
  "author": "Alex Good <alex@memoryandthought.me>",
@@ -19,5 +19,5 @@
19
19
  "publishConfig": {
20
20
  "access": "public"
21
21
  },
22
- "gitHead": "e819a7ed6302ce34f372b119ea3e8bab052e3af6"
22
+ "gitHead": "64edfaea5e53e77cd9158fc1df52fea85801db71"
23
23
  }
@@ -4,7 +4,7 @@ name: Deploy static content to Pages
4
4
  on:
5
5
  # Runs on pushes targeting the default branch
6
6
  push:
7
- branches: ['main']
7
+ branches: ["main"]
8
8
 
9
9
  # Allows you to run this workflow manually from the Actions tab
10
10
  workflow_dispatch:
@@ -17,7 +17,7 @@ permissions:
17
17
 
18
18
  # Allow one concurrent deployment
19
19
  concurrency:
20
- group: 'pages'
20
+ group: "pages"
21
21
  cancel-in-progress: true
22
22
 
23
23
  jobs:
@@ -34,7 +34,7 @@ jobs:
34
34
  uses: actions/setup-node@v4
35
35
  with:
36
36
  node-version: 20
37
- cache: 'npm'
37
+ cache: "npm"
38
38
  - name: Install dependencies
39
39
  run: yarn
40
40
  - name: Build
@@ -45,7 +45,7 @@ jobs:
45
45
  uses: actions/upload-pages-artifact@v3
46
46
  with:
47
47
  # Upload dist folder
48
- path: './dist'
48
+ path: "./dist"
49
49
  - name: Deploy to GitHub Pages
50
50
  id: deployment
51
51
  uses: actions/deploy-pages@v4
@@ -1,16 +1,14 @@
1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
  <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Meet Automerge</title>
8
+ </head>
3
9
 
4
- <head>
5
- <meta charset="UTF-8" />
6
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
- <title>Meet Automerge</title>
9
- </head>
10
-
11
- <body>
12
- <div id="root"></div>
13
- <script type="module" src="/src/main.tsx"></script>
14
- </body>
15
-
10
+ <body>
11
+ <div id="root"></div>
12
+ <script type="module" src="/src/main.tsx"></script>
13
+ </body>
16
14
  </html>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "projectName",
3
3
  "private": true,
4
- "version": "1.1.4",
4
+ "version": "1.1.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -11,19 +11,19 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@automerge/automerge": "^2.1.11",
14
- "@automerge/automerge-repo": "^1.1.4",
15
- "@automerge/automerge-repo-network-broadcastchannel": "^1.1.4",
16
- "@automerge/automerge-repo-network-websocket": "^1.1.4",
17
- "@automerge/automerge-repo-react-hooks": "^1.1.4",
18
- "@automerge/automerge-repo-storage-indexeddb": "^1.1.4",
14
+ "@automerge/automerge-repo": "^1.1.5",
15
+ "@automerge/automerge-repo-network-broadcastchannel": "^1.1.5",
16
+ "@automerge/automerge-repo-network-websocket": "^1.1.5",
17
+ "@automerge/automerge-repo-react-hooks": "^1.1.5",
18
+ "@automerge/automerge-repo-storage-indexeddb": "^1.1.5",
19
19
  "react": "^18.2.0",
20
20
  "react-dom": "^18.2.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/react": "^18.2.64",
24
24
  "@types/react-dom": "^18.2.21",
25
- "@typescript-eslint/eslint-plugin": "^7.1.1",
26
- "@typescript-eslint/parser": "^7.1.1",
25
+ "@typescript-eslint/eslint-plugin": "^7.3.1",
26
+ "@typescript-eslint/parser": "^7.3.1",
27
27
  "@vitejs/plugin-react": "^4.2.1",
28
28
  "eslint": "^8.57.0",
29
29
  "eslint-plugin-react-hooks": "^4.6.0",
@@ -20,12 +20,10 @@ function App({ docUrl }: { docUrl: AutomergeUrl }) {
20
20
  </div>
21
21
  <h1>Meet Automerge</h1>
22
22
  <div className="card">
23
- <button onClick={() => changeDoc((d) => d.counter.increment(1))}>
23
+ <button onClick={() => changeDoc(d => d.counter.increment(1))}>
24
24
  count is {doc && doc.counter.value}
25
25
  </button>
26
- <p>
27
- Open this page in another tab to watch the updates synchronize
28
- </p>
26
+ <p>Open this page in another tab to watch the updates synchronize</p>
29
27
  </div>
30
28
  <p className="read-the-docs">
31
29
  Built with Automerge, Vite, React, and TypeScript