Skip to content

Commit

Permalink
chore: moved all source javascript files to grunt/src, updated packag…
Browse files Browse the repository at this point in the history
…es (WIP)
  • Loading branch information
RinyVT committed Aug 15, 2024
1 parent 24b19e8 commit 049cf71
Show file tree
Hide file tree
Showing 39 changed files with 3,078 additions and 2,423 deletions.
78 changes: 38 additions & 40 deletions grunt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,46 @@
"version": "1.0.0",
"description": "Yoast SEO for TYPO3",
"main": "plugin.js",
"devDependencies": {
"@babel/core": "^7.21.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-react": "^7.16.5",
"@yoast/grunt-plugin-tasks": "^2.2.1",
"babel-loader": "^8.2.3",
"cross-env": "^5.2.1",
"css-loader": "^3.6.0",
"grunt": "^1.4.1",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-glotpress": "git+https://github.com/markoheijnen/grunt-glotpress.git#05a38906b357d5a4785bc57e6287fb6479e674b7",
"grunt-po2json": "git+https://github.com/atimmer/grunt-po2json.git#f26c05653af89ef0f7a72456dbe141eb56bf5471",
"grunt-sass": "^3.1.0",
"grunt-wp-i18n": "^1.0.3",
"load-grunt-config": "^1.0.2",
"react-intl": "^2.9.0",
"dependencies": {
"@wordpress/components": "^13.0.3",
"@wordpress/html-entities": "^3.3.1",
"@wordpress/i18n": "^4.14.0",
"@wordpress/url": "^3.17.0",
"@yoast/analysis-report": "2.0.0-alpha.0",
"@yoast/components": "^3.0.0-alpha.0",
"@yoast/helpers": "^0.17.0-alpha.0",
"@yoast/replacement-variable-editor": "^2.0.0-alpha.0",
"@yoast/search-metadata-previews": "^3.0.0-alpha.0",
"@yoast/social-metadata-forms": "^2.0.0-alpha.0",
"@yoast/ui-library": "^4.0.0",
"classnames": "^2.3.2",
"draft-js": "^0.11.7",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-thunk": "^2.4.1",
"time-grunt": "^2.0.0",
"webpack": "^5.89.0",
"styled-components": "^5.3.6",
"yoastseo": "^2.0.0-alpha.0"
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/polyfill": "^7.12.1",
"@babel/preset-react": "^7.24.7",
"@yoast/babel-preset": "^1.1.1",
"@yoast/browserslist-config": "^1.2.3",
"@yoast/grunt-plugin-tasks": "^2.4",
"@yoast/ui-library": "^4.0.0",
"babel-loader": "^9.1.3",
"babel-plugin-styled-components": "^2.0.6",
"case-sensitive-paths-webpack-plugin": "^2.1.2",
"cross-env": "^7.0.3",
"load-grunt-config": "^1.0.0",
"lodash": "^4.17.21",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-intl": "^2.4.0",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
"webpack-dev-server": "^5.0.4"
},
"scripts": {
"dev": "webpack-dev-server --mode=development --config webpack.config.js",
Expand All @@ -41,26 +59,6 @@
"languageteam": "Yoast Translate <[email protected]>",
"lasttranslator": "Yoast Translate Team <[email protected]>"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"@wordpress/babel-plugin-makepot": "^3.10.0",
"@yoast/analysis-report": "1.21.0",
"@yoast/components": "3.0.0-alpha.0",
"@yoast/helpers": "0.17.0-alpha.0",
"@yoast/search-metadata-previews": "3.0.0-alpha.0",
"@yoast/ui-library": "^4.0.0",
"entities": "^1.1",
"fstream": "^1.0.12",
"lodash": "^4.17.21",
"parse5": "^5.1",
"process": "^0.11.10",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-redux": "^7.2.6",
"url": "^0.11.3",
"util": "^0.12.5",
"yoastseo": "2.0.0-alpha.0"
},
"repository": {
"type": "git",
"url": "https://github.com/YoastSeoForTypo3/t3ext-yoast-seo.git"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 2 additions & 6 deletions grunt/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const PORT = 3333;

module.exports = {
entry: {
plugin: ['@babel/polyfill', './../Resources/Public/JavaScript/plugin.js'],
worker: ['@babel/polyfill', './../Resources/Public/JavaScript/worker.js']
plugin: ['@babel/polyfill', './src/plugin.js'],
worker: ['@babel/polyfill', './src/worker.js']
},
output: {
filename: '[name].js',
Expand All @@ -15,10 +15,6 @@ module.exports = {
},
resolve: {
modules: [path.join(__dirname, 'node_modules')],
fallback: {
"url": require.resolve("url/"),
"util": require.resolve("util/")
},
},
plugins: [
// fix "process is not defined" error:
Expand Down
5,415 changes: 3,038 additions & 2,377 deletions grunt/yarn.lock

Large diffs are not rendered by default.

0 comments on commit 049cf71

Please sign in to comment.