Skip to content

Commit

Permalink
chore: update agent deps in frontend projects and move deps to top-le…
Browse files Browse the repository at this point in the history
…vel package.json
  • Loading branch information
dfx-json committed Nov 6, 2024
1 parent a4ca210 commit 4bf28b5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 28 deletions.
33 changes: 19 additions & 14 deletions src/dfx/assets/project_templates/any_js/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
{
"name": "__project_name__",
"type": "module",
"scripts": {
"start": "npm start --workspaces --if-present",
"prebuild": "npm run prebuild --workspaces --if-present",
"build": "npm run build --workspaces --if-present",
"pretest": "npm run prebuild --workspaces --if-present",
"test": "npm test --workspaces --if-present"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"workspaces": [ ]
"name": "__project_name__",
"type": "module",
"scripts": {
"start": "npm start --workspaces --if-present",
"prebuild": "npm run prebuild --workspaces --if-present",
"build": "npm run build --workspaces --if-present",
"pretest": "npm run prebuild --workspaces --if-present",
"test": "npm test --workspaces --if-present"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"dependencies": {
"@dfinity/agent": "^2.1.3",
"@dfinity/candid": "^2.1.3",
"@dfinity/principal": "^2.1.3"
},
"workspaces": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@dfinity/agent": "^1.4.0",
"@dfinity/candid": "^1.4.0",
"@dfinity/principal": "^1.4.0"
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.14",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"format": "prettier --write \"src/**/*.{json,js,jsx,ts,tsx,css,scss}\""
},
"dependencies": {
"@dfinity/agent": "^1.4.0",
"@dfinity/candid": "^1.4.0",
"@dfinity/principal": "^1.4.0"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"vitest": "^2.0.5"
},
"dependencies": {
"@dfinity/agent": "^1.4.0",
"@dfinity/candid": "^1.4.0",
"@dfinity/principal": "^1.4.0",
"lit-html": "^2.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
},
"dependencies": {
"pinia": "^2.1.6",
"vue": "^3.3.4",
"@dfinity/agent": "^1.4.0",
"@dfinity/candid": "^1.4.0",
"@dfinity/principal": "^1.4.0"
"vue": "^3.3.4"
}
}

0 comments on commit 4bf28b5

Please sign in to comment.