-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Place contentscript, launcher and bridge libs at the same level
To allow/force to embed them distinctly.
- Loading branch information
1 parent
bd9d6ff
commit 1716c1f
Showing
11 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
`cozy-ccc-libs` provides libraries necessary to cozy konnectors on client side and also on launcher | ||
side. | ||
|
||
To get the libs necessary on content script side use : | ||
|
||
```javascript | ||
import libs from 'cozy-ccc-libs/contentscript' | ||
``` | ||
|
||
To get the libs necessary in the launcher use : | ||
|
||
```javascript | ||
import launcherLibs from 'cozy-ccc-libs/launcher' | ||
``` | ||
|
||
To get the bridge necessary to allow communication between content script and launcher use : | ||
|
||
```javascript | ||
import bridge from 'cozy-ccc-libs/bridge' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { default as LauncherBridge } from './bridge/LauncherBridge' | ||
export { default as ContentScriptMessenger } from './bridge/ContentScriptMessenger' | ||
export { default as bridgeInterfaces } from './bridge/bridgeInterfaces' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as ContentScript } from './contentscript/ContentScript' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export { default as addData } from './launcher/addData' | ||
export { default as hydrateAndFilter } from './launcher/hydrateAndFilter' | ||
export { default as saveFiles } from './launcher/saveFiles' | ||
export { default as saveBills } from './launcher/saveBills' | ||
export { default as saveIdentity } from './launcher/saveIdentity' | ||
export { default as updateOrCreate } from './launcher/updateOrCreate' |
This file was deleted.
Oops, something went wrong.