Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
fix(templates): Pin library dependencies (#79)
Browse files Browse the repository at this point in the history
Dynamic dependency versions for `libraryName` were not pinned.
  • Loading branch information
francoischalifour authored Jul 5, 2018
1 parent 70384d5 commit 8ea5a77
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions scripts/__snapshots__/e2e-templates.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ exports[`Templates Angular InstantSearch File content: package.json 1`] = `
\\"@angular/platform-browser\\": \\"6.0.6\\",
\\"@angular/platform-browser-dynamic\\": \\"6.0.6\\",
\\"@angular/router\\": \\"6.0.6\\",
\\"angular-instantsearch\\": \\"^1.0.0\\",
\\"angular-instantsearch\\": \\"1.0.0\\",
\\"core-js\\": \\"2.5.7\\",
\\"rxjs\\": \\"6.2.1\\",
\\"zone.js\\": \\"0.8.26\\"
Expand Down Expand Up @@ -2777,7 +2777,7 @@ exports[`Templates React InstantSearch File content: package.json 1`] = `
\\"dependencies\\": {
\\"react\\": \\"16.4.1\\",
\\"react-dom\\": \\"16.4.1\\",
\\"react-instantsearch-dom\\": \\"^1.0.0\\",
\\"react-instantsearch-dom\\": \\"1.0.0\\",
\\"react-scripts\\": \\"1.1.4\\"
},
\\"devDependencies\\": {
Expand Down Expand Up @@ -3181,7 +3181,7 @@ exports[`Templates React InstantSearch Native File content: package.json 1`] = `
\\"expo\\": \\"27.1.0\\",
\\"prop-types\\": \\"15.6.2\\",
\\"react\\": \\"16.3.1\\",
\\"react-instantsearch-native\\": \\"^1.0.0\\",
\\"react-instantsearch-native\\": \\"1.0.0\\",
\\"react-native\\": \\"0.55.4\\"
},
\\"devDependencies\\": {
Expand Down Expand Up @@ -3457,7 +3457,7 @@ exports[`Templates Vue InstantSearch File content: package.json 1`] = `
},
\\"dependencies\\": {
\\"vue\\": \\"2.5.16\\",
\\"vue-instantsearch\\": \\"^1.0.0\\"
\\"vue-instantsearch\\": \\"1.0.0\\"
},
\\"devDependencies\\": {
\\"babel-core\\": \\"6.26.0\\",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/Angular InstantSearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@angular/platform-browser": "6.0.6",
"@angular/platform-browser-dynamic": "6.0.6",
"@angular/router": "6.0.6",
"angular-instantsearch": "^{{libraryVersion}}",
"angular-instantsearch": "{{libraryVersion}}",
"core-js": "2.5.7",
"rxjs": "6.2.1",
"zone.js": "0.8.26"
Expand Down
2 changes: 1 addition & 1 deletion src/templates/React InstantSearch Native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"expo": "27.1.0",
"prop-types": "15.6.2",
"react": "16.3.1",
"react-instantsearch-native": "^{{libraryVersion}}",
"react-instantsearch-native": "{{libraryVersion}}",
"react-native": "0.55.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/templates/React InstantSearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"react": "16.4.1",
"react-dom": "16.4.1",
"react-instantsearch-dom": "^{{libraryVersion}}",
"react-instantsearch-dom": "{{libraryVersion}}",
"react-scripts": "1.1.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/templates/Vue InstantSearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"vue": "2.5.16",
"vue-instantsearch": "^{{libraryVersion}}"
"vue-instantsearch": "{{libraryVersion}}"
},
"devDependencies": {
"babel-core": "6.26.0",
Expand Down

0 comments on commit 8ea5a77

Please sign in to comment.