Skip to content

Commit

Permalink
moving v4 from beta repo
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Provance <kevin.provance@gmail.com>
  • Loading branch information
kprovance committed Jun 29, 2021
1 parent f3080b0 commit ae94aef
Show file tree
Hide file tree
Showing 574 changed files with 95,431 additions and 61,077 deletions.
77 changes: 77 additions & 0 deletions .config/rules.js
@@ -0,0 +1,77 @@
module.exports = [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {
// presets: ['es2015'],
// Cache compilation results in ./node_modules/.cache/babel-loader/
cacheDirectory: true,
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-destructuring',
'@babel/plugin-proposal-object-rest-spread',
[
'@babel/plugin-transform-react-jsx',
{
pragma: 'wp.element.createElement',
},
]
]
}
}
},
{
test: /\.svg$/,
use: ['@svgr/webpack'], // Settings are in .svgrrc
},
{
test: /\.(png|jpg|gif)$/,
use: [
{
loader: 'file-loader',
options: {
outputPath: 'images', // Dump images in dist/images.
publicPath: 'dist/images', // URLs point to dist/images.
regExp: /\/([^\/]+)\/([^\/]+)\/images\/(.+)\.(.*)?$/, // Gather strings for the output filename.
name: '[1]-[2]-[3].[hash:hex:7].[ext]', // Filename e.g. block-accordion-basic.1b659fc.png
},
},
],
},
// Help video snippets
{
test: /help\/videos\/[\w\d-_]+\.(mp4)$/,
use: [
{
loader: 'file-loader',
options: {
outputPath: 'videos/help', // Dump images in dist/videos/help.
publicPath: 'dist/videos/help', // URLs point to dist/videos/help.
regExp: /\/videos\/(.+)\.(.*)?$/, // Gather strings for the output filename.
name: '[1].[ext]', // Filename e.g. borders.mp4
},
},
],
},
{
test: /\.scss$/,
use: ['style-loader', 'css-loader', 'sass-loader'],
},
{
test: /\.(mp4)$/,
exclude: /(help\/videos)/,
use: [
{
loader: 'file-loader',
options: {
outputPath: 'videos', // Dump images in dist/images.
publicPath: 'dist/videos', // URLs point to dist/images.
regExp: /\/([^\/]+)\/([^\/]+)\/videos\/(.+)\.(.*)?$/, // Gather strings for the output filename.
name: '[2]-[3].[hash:hex:7].[ext]', // Filename e.g. help-borders.1b659fc.mp4
},
},
],
},
]
11 changes: 2 additions & 9 deletions .distignore
@@ -1,16 +1,9 @@
/.wordpress-org
/.git
/.config
/.idea
/.github
/node_modules
/.tx
/.github
/bin
/codestyles
/tests

.distignore
.gitignore
.travis.yml
ISSUE_TEMPLATE
CONTRIBUTING.md
package-lock.json
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/dev.md
Expand Up @@ -16,17 +16,17 @@ Are you a user reporting a bug with a theme or plugin?
======================================================
Redux is a tool for developers to include an options panel in their project. Consequently, we do not offer support for folks who have purchased a theme or plugin that uses Redux. The responsibility of support for themes and plugins falls upon it's author. We realize that some authors have included support links for Redux in their projects when they should not have. We do apologize for that confusion and are taking steps to remedy that situtation.
If you have purchased a theme or plugin that utilizes Redux, please contact the author for support. If the author is unavailable for support or has discontinued support, please refer to this before posting to our issue tracker: https://docs.reduxframework.com/core/support-defined/ If you are unable to get support for the author, we might be able to help you with a premium support purchase (https://reduxframework.com/extension/premium-support).
If you have purchased a theme or plugin that utilizes Redux, please contact the author for support. If the author is unavailable for support or has discontinued support, please refer to this before posting to our issue tracker: https://redux.io/contact/ If you are unable to get support for the author, we might be able to help you with a premium support purchase (https://redux.io/extension/premium-support).
Have a development usage question?
==================================
The issue tracker isn't the best place for usage questions. This format is not well-suited for questions & answers and questions here don't have as much visibility as they do elsewhere. Before you ask a question, here are some resources to get help first:
- Try Redux: https://demo.reduxframework.com/
- Read the docs: https://docs.reduxframework.com/
- Try Redux: https://demo.redux.io/
- Read the docs: https://devs.redux.io/
- Look for/ask questions on StackOverflow: https://stackoverflow.com/questions/tagged/redux-framework
- Ask in our community Slack channel: http://slack.redux.io/
- For Premium support or advanced customizations we offer premium support. See https://reduxframework.com/extension/premium-support/ for more information.
- For Premium support or advanced customizations we offer premium support. See https://redux.io/extension/premium-support/ for more information.
Questions about a Redux extension?
==================================
Expand All @@ -36,7 +36,7 @@ Think you found a bug?
======================
Please use the "BUG REPORT" template below. Remember, we are rabid about backwards compatability. Do not submit fixes that break previous ways of doing so or they will be rejected.
Also, unless you provide a Support Hash, your request will also be rejected. NO exceptions. If you do not including this information and we close your ticket, please do not ask why. See See https://docs.reduxframework.com/core/generating-a-support-hash/ for more details.
Also, unless you provide a Support Hash, your request will also be rejected. NO exceptions. If you do not including this information and we close your ticket, please do not ask why. See See https://docsv3.redux.io/core/generating-a-support-hash/index.html for more details.
You MUST be using Redux in dev mode when submitting an issue to us. If you are not, or have circumvented our dev mode protocol, you are on your own. There could be information in your issue that requires dev move active (Compressed Javascript, for example. We are unable to diagnose issues with compressed Javascript and why dev mode needs to be enabled).
Expand All @@ -50,7 +50,7 @@ Sometimes, an issue may be tied to JavaScript. To make this determination, you w

<!-- BUG TEMPLATE -->
## Support Hash
<!-- Instructions: https://docs.reduxframework.com/core/generating-a-support-hash -->
<!-- Instructions: https://docsv3.redux.io/core/generating-a-support-hash/index.html -->

## Steps to reproduce
<!-- Please list your steps clearly so that we are able to do the same things you do to reproduce the issue. -->
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/user.md
Expand Up @@ -16,7 +16,7 @@ The reason is simple. Each theme/plugin author integrates Redux is different wa
We realize that some authors have included support links for Redux in their projects, when they should not have. We do apologize for that confusion and are taking steps to remedy this confusion.
If you have purchased a theme or plugin that utilizes Redux, please contact the author for support. If the author is unavailable for support or has discontinued support, please refer to this before posting to our issue tracker: https://docs.reduxframework.com/core/support-defined. In extreme cases where support from the author is impossible, we might be able to help you with a premium support purchase: https://reduxframework.com/extension/premium-support. That service is not free. Please read the terms on that page carefully.
If you have purchased a theme or plugin that utilizes Redux, please contact the author for support. If the author is unavailable for support or has discontinued support, please refer to this before posting to our issue tracker: https://devs.redux.io/core/support-defined. In extreme cases where support from the author is impossible, we might be able to help you with a premium support purchase: https://redux.io/extension/premium-support. That service is not free. Please read the terms on that page carefully.
Because of these policies, we will no longer be able to answer the influx of these types of issues individually. They will be closed without reply. We're sorry about this and apologize for this inconvenience.
Expand Down
107 changes: 80 additions & 27 deletions .gitignore
@@ -1,28 +1,81 @@
# Editors
project.xml
project.properties
/nbproject/private/
.buildpath
.project
.settings*
sftp-config.json
codekit-config.json
.idea
*.sublime-project
*.sublime-workspace

# Grunt
md5
/docs/
/redux/
/output/
/node_modules/
/grunt-phplint/
/tmp-wp-dev/
npm-debug.log

# OS X metadata
.DS_Store

# Windows junk
# Packages #
############
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.jar
*.rar
*.tar
*.zip
*.tgz

# Logs and databases #
######################
*.log
*.sql

# OS generated files #
######################
**.DS_Store*
ehthumbs.db
Thumbs.db
._*

# Vim generated files #
######################
*.un~

# SASS #
##########
**/.sass-cache
**/.sass-cache/*

# Composer #
##########
vendors/composer/
!assets/js/vendor/
wpcs/
composer.lock

# Bower #
##########
assets/bower_components/*

# Codekit #
##########
/codekit-config.json
*.codekit
**.codekit-cache/*

# NPM #
##########
node_modules

# Compiled Files and Build Dirs #
##########
/README.html
/build/

# PhpStrom Project Files #
.idea/
library/vendors/composer
assets/img/.DS_Store
assets/sass/HTML
assets/sass/Rails
HTML
Rails

logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*/.DS_Store
build
*/.DS_Store

vendor/*
redux-templates/classes/library.json
local_developer.txt
29 changes: 23 additions & 6 deletions .jshintrc
@@ -1,19 +1,36 @@
{
"boss": true,
"boss" : true,
"curly" : true,
"eqeqeq": true,
"eqnull": true,
"esversion": 5,
"expr": true,
"immed": true,
"noarg": true,
"nonbsp": true,
"onevar": true,
"validthis": true,
"quotmark": "single",
"trailing": true,
"undef": true,
"unused": true,
"devel": true,
"jquery": true,
"browser": true,

"globals": {
"_": false,
"jQuery": true,
"Backbone": false,
"jQuery": false,
"JSON": false,
"wp": false,
"export": false,
"require": true,
"module": true,
"console": true,
"document": true,
"window": true,
"window": true,
"redux_change": true,
"redux": true
"redux": true,
"tinyMCE": true
}
}

0 comments on commit ae94aef

Please sign in to comment.