Skip to content

Commit

Permalink
Remove test package, use peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeckem committed Jun 8, 2023
1 parent c5d2799 commit e00b4b7
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 313 deletions.
7 changes: 7 additions & 0 deletions .changeset/silly-papayas-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@open-pioneer/experimental-ol-layer-control": patch
"@open-pioneer/experimental-layout-sidebar": patch
"@open-pioneer/experimental-ol-map": patch
---

Use peerDependencies for most dependencies
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
#
# https://pnpm.io/npmrc#link-workspace-packages
link-workspace-packages=false

# Workaround for current problems regarding our vite plugin + vite's optimizeDeps feature
shamefully-hoist=true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@changesets/cli": "^2.26.1",
"@open-pioneer/build-package-cli": "^0.2.0",
"@open-pioneer/build-support": "^0.6.0",
"@open-pioneer/vite-plugin-pioneer": "^0.8.5",
"@open-pioneer/vite-plugin-pioneer": "^0.8.6",
"@testing-library/dom": "^9.3.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
Expand Down
40 changes: 4 additions & 36 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/experimental-packages/layout-sidebar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "build-pioneer-package"
},
"dependencies": {
"peerDependencies": {
"@chakra-ui/icons": "^2.0.19",
"@chakra-ui/system": "^2.5.7",
"@emotion/react": "^11.11.0",
Expand Down
2 changes: 1 addition & 1 deletion src/experimental-packages/ol-layer-control/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "build-pioneer-package"
},
"dependencies": {
"peerDependencies": {
"@open-pioneer/chakra-integration": "^0.1.3",
"ol": "^7.3.0",
"@open-pioneer/experimental-ol-map": "workspace:^",
Expand Down
3 changes: 1 addition & 2 deletions src/experimental-packages/ol-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"scripts": {
"build": "build-pioneer-package"
},
"dependencies": {
"peerDependencies": {
"@open-pioneer/core": "^0.1.3",
"@open-pioneer/--test-package": "workspace:^",
"ol": "^7.3.0",
"@open-pioneer/runtime": "^0.1.4",
"react": "^18.2.0",
Expand Down
13 changes: 0 additions & 13 deletions src/experimental-packages/test-package/CHANGELOG.md

This file was deleted.

202 changes: 0 additions & 202 deletions src/experimental-packages/test-package/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion src/experimental-packages/test-package/README

This file was deleted.

15 changes: 0 additions & 15 deletions src/experimental-packages/test-package/build.config.mjs

This file was deleted.

22 changes: 0 additions & 22 deletions src/experimental-packages/test-package/package.json

This file was deleted.

Loading

0 comments on commit e00b4b7

Please sign in to comment.