Commit 8089983
committed
fix(plugins): update sample plugin imports to use package subpath exports
The sample plugins were importing directly from internal source paths
(`@finos/git-proxy/src/plugin.js`, `@finos/git-proxy/src/proxy/actions`)
which are not defined in the package exports map and throw
ERR_PACKAGE_PATH_NOT_EXPORTED at runtime.
Update to use the correct exported subpaths (`@finos/git-proxy/plugin`,
`@finos/git-proxy/proxy/actions`) as defined in package.json exports.
Bump package version to 0.1.2 and peer dependency to ^2.0.0-rc.6.
Depends on #1480 (fix(npm): replace .npmignore with files allowlist).1 parent 50f88d7 commit 8089983
3 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
0 commit comments