Skip to content

Commit

Permalink
Neos 8 support (#16)
Browse files Browse the repository at this point in the history
- Add neos 8 
- remove node-sass and use dart-sass as node-sass is deprecated
- fix type in namespace to Networkteam.Neos.Mockup:
- adjust resource build process
  • Loading branch information
nilsjung authored Jun 20, 2023
1 parent 70a533e commit 673c1df
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 1,260 deletions.
1 change: 0 additions & 1 deletion Configuration/NodeTypes.Placeholder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
type: string
ui:
inlineEditable: true
placeholder: i18n
inline:
editorOptions:
autoparagraph: false
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Documents/Document.Page.fusion
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prototype(Networkteam.Neos.Mockup.Page) < prototype(Neos.Neos:Page) {
prototype(Networkteam.Neos.Mockup:Page) < prototype(Neos.Neos:Page) {
head {
# Link tags for stylesheets in the head should go here
stylesheets {
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Override.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ root {
mockup {
@position = 'end'
condition = ${Configuration.setting('Networkteam.Neos.Mockup.active')}
renderer = Networkteam.Neos.Mockup.Page
renderer = Networkteam.Neos.Mockup:Page
}
}
2 changes: 1 addition & 1 deletion Resources/Public/Css/mockup.css

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

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A Neos package providing basic mockup functionality for content-first approach",
"type": "neos-package",
"require": {
"neos/neos": "^4.0 || ^5.0 || ^7.0",
"neos/neos": "^4.0 || ^5.0 || ^7.0 || ^8.0",
"neos/neos-ui": "*",
"neos/fusion-afx": "*"
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"description": "A Neos package providing basic mockup functionality for content-first approach",
"main": "index.js",
"scripts": {
"build": "node_modules/node-sass/bin/node-sass --output-style compressed Resources/Private/Scss/mockup.scss > Resources/Public/Css/mockup.css",
"start": "node_modules/node-sass/bin/node-sass --watch Resources/Private/Scss -o Resources/Public/Css"
"build": "node_modules/.bin/sass --style=compressed Resources/Private/Scss/mockup.scss Resources/Public/Css/mockup.css",
"start": "node_modules/.bin/sass --style=compressed --watch Resources/Private/Scss:Resources/Public/Css"
},
"repository": "[email protected]:networkteam/neos-mockup.git",
"author": "Marcel Tams <[email protected]>",
"license": "MIT",
"devDependencies": {
"node-sass": "^4.13.1"
"sass": "^1.53.0"
}
}
Loading

0 comments on commit 673c1df

Please sign in to comment.