create-instantsearch-app 6.1.0 → 6.2.0
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/README.md +1 -3
- package/package.json +1 -1
- package/src/templates/React InstantSearch/package.json +2 -2
- package/src/templates/React InstantSearch/src/index.js +2 -2
- package/src/templates/React InstantSearch Hooks/package.json +7 -5
- package/src/templates/React InstantSearch Hooks/src/App.tsx.hbs +1 -0
- package/src/templates/React InstantSearch Hooks/src/Panel.tsx +2 -0
- package/src/templates/React InstantSearch Hooks/src/index.tsx +3 -2
package/README.md
CHANGED
|
@@ -162,11 +162,9 @@ Create InstantSearch App is [MIT licensed](LICENSE).
|
|
|
162
162
|
|
|
163
163
|
[version-svg]: https://img.shields.io/npm/v/create-instantsearch-app.svg?style=flat-square
|
|
164
164
|
[package-url]: https://npmjs.org/package/create-instantsearch-app
|
|
165
|
-
[ci-svg]: https://img.shields.io/travis/algolia/create-instantsearch-app/master.svg?style=flat-square
|
|
166
|
-
[ci-url]: https://travis-ci.org/algolia/create-instantsearch-app
|
|
167
165
|
[ci-svg]: https://img.shields.io/circleci/project/github/algolia/create-instantsearch-app.svg?style=flat-square
|
|
168
166
|
[ci-url]: https://circleci.com/gh/algolia/create-instantsearch-app
|
|
169
|
-
[license-image]:
|
|
167
|
+
[license-image]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square
|
|
170
168
|
[license-url]: LICENSE
|
|
171
169
|
|
|
172
170
|
<!-- Links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { createRoot } from 'react-dom/client';
|
|
3
3
|
import './index.css';
|
|
4
4
|
import App from './App';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
createRoot(document.getElementById('root')).render(<App />);
|
|
@@ -8,13 +8,15 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"algoliasearch": "4",
|
|
11
|
-
"instantsearch.js": "4.
|
|
12
|
-
"react": "
|
|
13
|
-
"react-dom": "
|
|
11
|
+
"instantsearch.js": "4.43.1",
|
|
12
|
+
"react": "18.1.0",
|
|
13
|
+
"react-dom": "18.1.0",
|
|
14
14
|
"react-instantsearch-hooks-web": "{{libraryVersion}}"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@types/react": "
|
|
18
|
-
"
|
|
17
|
+
"@types/react": "18.0.15",
|
|
18
|
+
"@types/react-dom": "18.0.6",
|
|
19
|
+
"parcel": "2.5.0",
|
|
20
|
+
"typescript": "4.7.4"
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createRoot } from 'react-dom/client';
|
|
2
3
|
|
|
3
4
|
import { App } from './App';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
createRoot(document.getElementById('root')!).render(<App />);
|