Skip to content

Commit

Permalink
Merge pull request #11761 from owncloud/chore/streamline-dev-and-peer…
Browse files Browse the repository at this point in the history
…-deps

chore: move peers to regular dependencies
  • Loading branch information
kulmann authored Oct 14, 2024
2 parents 315be39 + c53f0f4 commit 62263a2
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 55 deletions.
22 changes: 10 additions & 12 deletions packages/web-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,16 @@
"postpublish": "rm -rf ./package"
},
"dependencies": {
"fast-xml-parser": "4.5.0",
"webdav": "5.7.1",
"xml-js": "^1.6.11"
"@casl/ability": "^6.7.1",
"@microsoft/fetch-event-source": "^2.0.1",
"axios": "^1.7.7",
"fast-xml-parser": "^4.5.0",
"lodash-es": "^4.17.21",
"luxon": "^3.5.0",
"uuid": "^10.0.0",
"webdav": "^5.7.1",
"xml-js": "^1.6.11",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/luxon": "3.4.2",
Expand All @@ -92,14 +99,5 @@
"vite-plugin-dts": "4.2.3",
"vite-plugin-node-polyfills": "0.22.0",
"vite": "5.4.8"
},
"peerDependencies": {
"@casl/ability": "6.7.1",
"@microsoft/fetch-event-source": "^2.0.1",
"axios": "1.7.7",
"lodash-es": "^4.17.21",
"luxon": "3.5.0",
"uuid": "10.0.0",
"zod": "3.23.8"
}
}
8 changes: 4 additions & 4 deletions packages/web-test-helpers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ This packages provides utilities for unit testing within the ownCloud app ecosys
Depending on your package manager, run one of the following commands:

```
$ npm install @ownclouders/web-test-helpers
$ npm install @ownclouders/web-test-helpers --save-dev
$ pnpm add @ownclouders/web-test-helpers
$ pnpm add -D @ownclouders/web-test-helpers
$ yarn add @ownclouders/web-test-helpers
$ yarn add @ownclouders/web-test-helpers --dev
```

Make sure that you have `vue`, `@vue/test-utils`, `@ownclouders/web-client` and `@ownclouders/web-pkg` as dependency of your app since those are peer dependencies of this package.
Make sure that you have `vue`, `@vue/test-utils`, and `@ownclouders/web-pkg` as dev dependencies of your app since those are peer dependencies of this package.
4 changes: 2 additions & 2 deletions packages/web-test-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"postpublish": "rm -rf ./package"
},
"peerDependencies": {
"@ownclouders/web-client": "^10.3.0",
"@ownclouders/web-pkg": "^10.3.0",
"@vue/test-utils": "^2.4.6",
"vue": "^3.5.10"
Expand All @@ -51,7 +50,8 @@
"dependencies": {
"@casl/ability": "^6.7.1",
"@casl/vue": "^2.2.2",
"@ownclouders/design-system": "workspace:*",
"@ownclouders/design-system": "workspace:^",
"@ownclouders/web-client": "workspace:^",
"@pinia/testing": "^0.1.3",
"axios": "1.7.7",
"pinia": "2.2.4",
Expand Down
50 changes: 13 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 62263a2

Please sign in to comment.