-
-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[slots] @plone/slots first developments (#6409)
Co-authored-by: Piero Nicolli <[email protected]> Co-authored-by: Steve Piercy <[email protected]> Co-authored-by: Fred van Dijk <[email protected]> Co-authored-by: David Glick <[email protected]>
- Loading branch information
1 parent
be462d2
commit 5df5443
Showing
171 changed files
with
5,835 additions
and
3,441 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
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
dist | ||
docs | ||
node_modules | ||
packages/registry/lib |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ node_modules | |
/build | ||
/public/build | ||
.env | ||
.registry.loader.js |
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import config from '@plone/registry'; | ||
import { blocksConfig, slate } from '@plone/blocks'; | ||
|
||
const settings = { | ||
apiPath: 'http://localhost:8080/Plone', | ||
slate, | ||
}; | ||
|
||
// @ts-expect-error We need to fix typing | ||
config.set('settings', settings); | ||
|
||
// @ts-expect-error We need to fix typing | ||
config.set('blocks', { blocksConfig }); | ||
|
||
export default config; | ||
import applyAddonConfiguration from '@plone/registry/addons-loader'; | ||
|
||
export default function install() { | ||
applyAddonConfiguration(config); | ||
config.settings.apiPath = | ||
process.env.PLONE_API_PATH || 'http://localhost:3000'; | ||
config.settings.internalApiPath = process.env.PLONE_INTERNAL_API_PATH || ''; | ||
console.log('API_PATH is:', config.settings.apiPath); | ||
console.log( | ||
'INTERNAL_API_PATH is:', | ||
config.settings.internalApiPath || 'not set', | ||
); | ||
return config; | ||
} |
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
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
Oops, something went wrong.