Skip to content

Commit

Permalink
* Add JoomShopping integration
Browse files Browse the repository at this point in the history
* Optimization PWA Install Panel
* Change system plugin Events
* Bugs fixed
  • Loading branch information
denysdesign committed Feb 14, 2024
1 parent bb91646 commit f3d21d4
Show file tree
Hide file tree
Showing 16 changed files with 1,064 additions and 477 deletions.
11 changes: 8 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ module.exports = {
"browsers": [
'> 1%',
'last 2 versions',
'Firefox ESR'
'Firefox ESR',
]
}
}
]
],
"plugins": [
"@babel/plugin-transform-runtime"
plugins: [
[
"@babel/plugin-transform-classes",
{
"loose": true
}
]
]
};
25 changes: 24 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
basedir=".">

<property name="VERSION"
value="1.26" />
value="1.27" />
<property name="JOOMLA"
value="4.0" />

Expand Down Expand Up @@ -103,6 +103,24 @@

<!---->

<copy file="packages/plg_jupwa_jshopping/jshopping.xml"
todir="${temp}/temp/plg_jupwa_jshopping">
<filterchain>
<replacetokens>
<token key="version"
value="${VERSION}" />
<token key="date"
value="${DATE}" />
</replacetokens>
</filterchain>
</copy>

<delete file="${temp}/plg_jupwa_jshopping/jshopping.xml" />
<copy file="${temp}/temp/plg_jupwa_jshopping/jshopping.xml"
todir="${temp}/plg_jupwa_jshopping" />

<!---->

<!--
<copy file="packages/plg_jupwa_seblod/seblod.xml"
todir="${temp}/temp/plg_jupwa_seblod">
Expand Down Expand Up @@ -136,6 +154,11 @@
<fileset dir="${temp}/plg_jupwa_content" />
</zip>

<zip destfile="${build}/packages/plg_jupwa_jshopping.zip"
description="plg_jupwa_jshopping">
<fileset dir="${temp}/plg_jupwa_jshopping" />
</zip>

<!--
<zip destfile="${build}/packages/plg_jupwa_seblod.zip"
description="plg_jupwa_seblod">
Expand Down
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jupwa",
"sideEffects": true,
"version": "1.1",
"version": "1.3",
"description": "JUPWA",
"private": true,
"scripts": {
Expand All @@ -17,25 +17,26 @@
"keywords": [],
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/runtime": "^7.23.8",
"@babel/core": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/runtime": "^7.23.9",
"@swc/core": "^1.4.1",
"babel-loader": "^9.1.3",
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^6.9.1",
"css-loader": "^6.10.0",
"cssnano": "^6.0.3",
"cssnano-preset-advanced": "^6.0.3",
"mini-css-extract-plugin": "^2.7.7",
"postcss-loader": "^8.0.0",
"mini-css-extract-plugin": "^2.8.0",
"postcss-loader": "^8.1.0",
"progress-bar-webpack-plugin": "^2.1.0",
"replace-in-file-webpack-plugin": "^1.0.6",
"sass": "^1.70.0",
"sass-loader": "^14.0.0",
"sass-loader": "^14.1.0",
"style-loader": "^3.3.4",
"terser-webpack-plugin": "^5.3.10",
"thread-loader": "^4.0.2",
"webpack": "^5.89.0",
"webpack": "^5.90.1",
"webpack-cli": "^5.1.4",
"yargs": "^17.7.2"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/plg_jupwa_content/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public function onJUPWAArticleOG($article, $params): void
'image_width' => $this->image($article, $params)->width,
'image_height' => $this->image($article, $params)->height,
'description' => $this->core($article)->description
], [
'headline' => $this->core($article)->title
]);

if($og_type_website == 0)
Expand Down
Loading

0 comments on commit f3d21d4

Please sign in to comment.