Skip to content

Commit ae94aef

Browse files
committed
moving v4 from beta repo
Signed-off-by: Kevin Provance <[email protected]>
1 parent f3080b0 commit ae94aef

File tree

574 files changed

+95431
-61077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

574 files changed

+95431
-61077
lines changed

.config/rules.js

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
module.exports = [
2+
{
3+
test: /\.js$/,
4+
exclude: /(node_modules|bower_components)/,
5+
use: {
6+
loader: 'babel-loader',
7+
options: {
8+
// presets: ['es2015'],
9+
// Cache compilation results in ./node_modules/.cache/babel-loader/
10+
cacheDirectory: true,
11+
plugins: [
12+
'@babel/plugin-proposal-class-properties',
13+
'@babel/plugin-transform-destructuring',
14+
'@babel/plugin-proposal-object-rest-spread',
15+
[
16+
'@babel/plugin-transform-react-jsx',
17+
{
18+
pragma: 'wp.element.createElement',
19+
},
20+
]
21+
]
22+
}
23+
}
24+
},
25+
{
26+
test: /\.svg$/,
27+
use: ['@svgr/webpack'], // Settings are in .svgrrc
28+
},
29+
{
30+
test: /\.(png|jpg|gif)$/,
31+
use: [
32+
{
33+
loader: 'file-loader',
34+
options: {
35+
outputPath: 'images', // Dump images in dist/images.
36+
publicPath: 'dist/images', // URLs point to dist/images.
37+
regExp: /\/([^\/]+)\/([^\/]+)\/images\/(.+)\.(.*)?$/, // Gather strings for the output filename.
38+
name: '[1]-[2]-[3].[hash:hex:7].[ext]', // Filename e.g. block-accordion-basic.1b659fc.png
39+
},
40+
},
41+
],
42+
},
43+
// Help video snippets
44+
{
45+
test: /help\/videos\/[\w\d-_]+\.(mp4)$/,
46+
use: [
47+
{
48+
loader: 'file-loader',
49+
options: {
50+
outputPath: 'videos/help', // Dump images in dist/videos/help.
51+
publicPath: 'dist/videos/help', // URLs point to dist/videos/help.
52+
regExp: /\/videos\/(.+)\.(.*)?$/, // Gather strings for the output filename.
53+
name: '[1].[ext]', // Filename e.g. borders.mp4
54+
},
55+
},
56+
],
57+
},
58+
{
59+
test: /\.scss$/,
60+
use: ['style-loader', 'css-loader', 'sass-loader'],
61+
},
62+
{
63+
test: /\.(mp4)$/,
64+
exclude: /(help\/videos)/,
65+
use: [
66+
{
67+
loader: 'file-loader',
68+
options: {
69+
outputPath: 'videos', // Dump images in dist/images.
70+
publicPath: 'dist/videos', // URLs point to dist/images.
71+
regExp: /\/([^\/]+)\/([^\/]+)\/videos\/(.+)\.(.*)?$/, // Gather strings for the output filename.
72+
name: '[2]-[3].[hash:hex:7].[ext]', // Filename e.g. help-borders.1b659fc.mp4
73+
},
74+
},
75+
],
76+
},
77+
]

.distignore

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
/.wordpress-org
22
/.git
3+
/.config
4+
/.idea
35
/.github
46
/node_modules
5-
/.tx
6-
/.github
7-
/bin
8-
/codestyles
9-
/tests
107

118
.distignore
129
.gitignore
13-
.travis.yml
14-
ISSUE_TEMPLATE
15-
CONTRIBUTING.md
16-
package-lock.json

.github/ISSUE_TEMPLATE/dev.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Are you a user reporting a bug with a theme or plugin?
1616
======================================================
1717
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.
1818
19-
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).
19+
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).
2020
2121
Have a development usage question?
2222
==================================
2323
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:
2424
25-
- Try Redux: https://demo.reduxframework.com/
26-
- Read the docs: https://docs.reduxframework.com/
25+
- Try Redux: https://demo.redux.io/
26+
- Read the docs: https://devs.redux.io/
2727
- Look for/ask questions on StackOverflow: https://stackoverflow.com/questions/tagged/redux-framework
2828
- Ask in our community Slack channel: http://slack.redux.io/
29-
- For Premium support or advanced customizations we offer premium support. See https://reduxframework.com/extension/premium-support/ for more information.
29+
- For Premium support or advanced customizations we offer premium support. See https://redux.io/extension/premium-support/ for more information.
3030
3131
Questions about a Redux extension?
3232
==================================
@@ -36,7 +36,7 @@ Think you found a bug?
3636
======================
3737
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.
3838
39-
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.
39+
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.
4040
4141
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).
4242
@@ -50,7 +50,7 @@ Sometimes, an issue may be tied to JavaScript. To make this determination, you w
5050

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

5555
## Steps to reproduce
5656
<!-- Please list your steps clearly so that we are able to do the same things you do to reproduce the issue. -->

.github/ISSUE_TEMPLATE/user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The reason is simple. Each theme/plugin author integrates Redux is different wa
1616
1717
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.
1818
19-
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.
19+
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.
2020
2121
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.
2222

.gitignore

Lines changed: 80 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,81 @@
1-
# Editors
2-
project.xml
3-
project.properties
4-
/nbproject/private/
5-
.buildpath
6-
.project
7-
.settings*
8-
sftp-config.json
9-
codekit-config.json
10-
.idea
11-
*.sublime-project
12-
*.sublime-workspace
13-
14-
# Grunt
15-
md5
16-
/docs/
17-
/redux/
18-
/output/
19-
/node_modules/
20-
/grunt-phplint/
21-
/tmp-wp-dev/
22-
npm-debug.log
23-
24-
# OS X metadata
25-
.DS_Store
26-
27-
# Windows junk
1+
# Packages #
2+
############
3+
*.7z
4+
*.dmg
5+
*.gz
6+
*.bz2
7+
*.iso
8+
*.jar
9+
*.rar
10+
*.tar
11+
*.zip
12+
*.tgz
13+
14+
# Logs and databases #
15+
######################
16+
*.log
17+
*.sql
18+
19+
# OS generated files #
20+
######################
21+
**.DS_Store*
22+
ehthumbs.db
2823
Thumbs.db
24+
._*
25+
26+
# Vim generated files #
27+
######################
28+
*.un~
29+
30+
# SASS #
31+
##########
32+
**/.sass-cache
33+
**/.sass-cache/*
34+
35+
# Composer #
36+
##########
37+
vendors/composer/
38+
!assets/js/vendor/
39+
wpcs/
40+
composer.lock
41+
42+
# Bower #
43+
##########
44+
assets/bower_components/*
45+
46+
# Codekit #
47+
##########
48+
/codekit-config.json
49+
*.codekit
50+
**.codekit-cache/*
51+
52+
# NPM #
53+
##########
54+
node_modules
55+
56+
# Compiled Files and Build Dirs #
57+
##########
58+
/README.html
59+
/build/
60+
61+
# PhpStrom Project Files #
62+
.idea/
63+
library/vendors/composer
64+
assets/img/.DS_Store
65+
assets/sass/HTML
66+
assets/sass/Rails
67+
HTML
68+
Rails
69+
70+
logs
71+
*.log
72+
npm-debug.log*
73+
yarn-debug.log*
74+
yarn-error.log*
75+
*/.DS_Store
76+
build
77+
*/.DS_Store
78+
79+
vendor/*
80+
redux-templates/classes/library.json
81+
local_developer.txt

.jshintrc

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,36 @@
11
{
2-
"boss": true,
2+
"boss" : true,
3+
"curly" : true,
4+
"eqeqeq": true,
5+
"eqnull": true,
6+
"esversion": 5,
7+
"expr": true,
38
"immed": true,
49
"noarg": true,
10+
"nonbsp": true,
511
"onevar": true,
6-
"validthis": true,
12+
"quotmark": "single",
13+
"trailing": true,
14+
"undef": true,
15+
"unused": true,
16+
"devel": true,
17+
"jquery": true,
718
"browser": true,
8-
19+
920
"globals": {
1021
"_": false,
11-
"jQuery": true,
22+
"Backbone": false,
23+
"jQuery": false,
24+
"JSON": false,
25+
"wp": false,
26+
"export": false,
27+
"require": true,
1228
"module": true,
1329
"console": true,
1430
"document": true,
15-
"window": true,
31+
"window": true,
1632
"redux_change": true,
17-
"redux": true
33+
"redux": true,
34+
"tinyMCE": true
1835
}
1936
}

0 commit comments

Comments
 (0)