Skip to content

Commit

Permalink
[TASK] Add v13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Oct 17, 2024
1 parent e8ca67a commit 3347b2a
Show file tree
Hide file tree
Showing 81 changed files with 911 additions and 3 deletions.
70 changes: 70 additions & 0 deletions resources/packages/bootstrap_package/13.4/src/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# CSS-Files
[*.css]
indent_style = space
indent_size = 4

# HTML-Files
[*.html]
indent_style = space
indent_size = 4

# TMPL-Files
[*.tmpl]
indent_style = space
indent_size = 4

# JS-Files
[*.js]
indent_style = space
indent_size = 4

# PHP-Files
[*.php]
indent_style = space
indent_size = 4

# MD-Files
[*.md]
indent_style = space
indent_size = 4

# ReST-Files
[*.rst]
indent_style = space
indent_size = 3

# TypoScript
[*.typoscript]
indent_style = space
indent_size = 4

# YML-Files
[{*.yml,*.yaml}]
indent_style = space
indent_size = 2

# package.json
[package.json]
indent_style = space
indent_size = 2

# composer.json
[composer.json]
indent_style = space
indent_size = 4

# phpstan
[*.neon]
indent_style = tab
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
- { resource: "EXT:bootstrap_package/Configuration/RTE/Default.yaml" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# BACKENDLAYOUT: EXAMPLE
#
mod {
web_layout {
BackendLayouts {
example {
title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.example
config {
backend_layout {
colCount = 1
rowCount = 1
rows {
1 {
columns {
1 {
name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal
colPos = 0
}
}
}
}
}
}
icon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/BackendLayouts/example.svg
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: {{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}
label: '{{ package.title }}'
dependencies:
- bootstrap-package/full
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@import './PageTsConfig/BackendLayouts/'

RTE {
default {
preset = {{ package.extensionKey }}
}
}

TCEFORM {
pages {

}
tt_content {

}
}

TCEMAIN {

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
plugin:
bootstrap_package:
settings:
scss:
primary: '#eb3e4a'
secondary: '#013859'
view:
layoutRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Layouts/'
partialRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Partials/'
templateRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Templates/'
bootstrap_package_contentelements:
view:
layoutRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/'
partialRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/'
templateRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/'
page:
logo:
file: 'EXT:{{ package.extensionKey }}/Resources/Public/Images/logo.svg'
fileInverted: 'EXT:{{ package.extensionKey }}/Resources/Public/Images/logo-inverted.svg'
width: 192
alt: 'My Sitepackage'
linktitle: 'My Sitepackage'
favicon:
file: 'EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico'
fluidtemplate:
layoutRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/'
partialRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/'
templateRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/'
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
page {
includeCSS {
theme = EXT:{{ package.extensionKey }}/Resources/Public/Scss/Theme/theme.scss
}

includeJSLibs {

}

includeJS {

}

includeJSFooterlibs {

}

includeJSFooter {
{{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/main.js
}
}
4 changes: 4 additions & 0 deletions resources/packages/bootstrap_package/13.4/src/README.md.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Sitepackage for the project "{{ package.title }}"
==============================================================

Add some explanation here.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="{{ 'now'|date('Y-m-d\TH:i:s\Z', 'UTC') }}">
<header>
<authorName>{{ package.author.name }}</authorName>
<authorEmail>{{ package.author.email }}</authorEmail>
</header>
<body>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="{{ 'now'|date('Y-m-d\TH:i:s\Z', 'UTC') }}">
<header>
<authorName>{{ package.author.name }}</authorName>
<authorEmail>{{ package.author.email }}</authorEmail>
</header>
<body>
<trans-unit id="backend_layout.example">
<source>Example</source>
</trans-unit>
<trans-unit id="backend_layout.column.normal">
<source>Normal</source>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="{{ 'now'|date('Y-m-d\TH:i:s\Z', 'UTC') }}">
<header>
<authorName>{{ package.author.name }}</authorName>
<authorEmail>{{ package.author.email }}</authorEmail>
</header>
<body>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
<f:section name="Main">

<div class="container">
<div class="alert alert-info">
<dl>
<dt>Template file</dt>
<dd>
<code>typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html</code>
</dd>
<dt>Backend Configuration</dt>
<dd>
<code>typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig</code>
</dd>
</dl>
</div>
</div>
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0'}" />

</f:section>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log('WE LOVE TYPO3');
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//
// Variables
//
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// Variables
//
@import "variables";

//
// Import needed Bootstrap Package Files
//
@import "EXT:bootstrap_package/Resources/Public/Scss/bootstrap5/theme";
21 changes: 21 additions & 0 deletions resources/packages/bootstrap_package/13.4/src/composer.json.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}",
"type": "typo3-cms-extension",
"description": "{{ package.description}}",{% if package.author.homepage %}
"homepage": "{{ package.author.homepage }}",
{% endif %}"license": ["GPL-2.0-or-later"],
"keywords": ["TYPO3 CMS"],
"require": {
"bk2k/bootstrap-package": "^15.0"
},
"autoload": {
"psr-4": {
"{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/"
}
},
"extra": {
"typo3/cms": {
"extension-key": "{{ package.extensionKey }}"
}
}
}
Loading

0 comments on commit 3347b2a

Please sign in to comment.