Skip to content

Commit df2add2

Browse files
authored
Merge pull request #59 from woocommerce/prep/1.0.3
Prep for releasing 1.0.3
2 parents ae6666a + 6633639 commit df2add2

File tree

9 files changed

+3751
-251
lines changed

9 files changed

+3751
-251
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
vendor/
2+
node_modules/
3+
wc-smooth-generator.zip
24

35
# PHPStorm
46
.idea

Gruntfile.js

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
module.exports = function( grunt ) {
2+
'use strict';
3+
4+
grunt.initConfig({
5+
// Check textdomain errors.
6+
checktextdomain: {
7+
options:{
8+
text_domain: 'wc-smooth-generator',
9+
keywords: [
10+
'__:1,2d',
11+
'_e:1,2d',
12+
'_x:1,2c,3d',
13+
'esc_html__:1,2d',
14+
'esc_html_e:1,2d',
15+
'esc_html_x:1,2c,3d',
16+
'esc_attr__:1,2d',
17+
'esc_attr_e:1,2d',
18+
'esc_attr_x:1,2c,3d',
19+
'_ex:1,2c,3d',
20+
'_n:1,2,4d',
21+
'_nx:1,2,4c,5d',
22+
'_n_noop:1,2,3d',
23+
'_nx_noop:1,2,3c,4d'
24+
]
25+
},
26+
files: {
27+
src: [
28+
'**/*.php',
29+
'!node_modules/**',
30+
'!tests/**',
31+
'!vendor/**',
32+
'!tmp/**'
33+
],
34+
expand: true
35+
}
36+
},
37+
38+
// PHP Code Sniffer.
39+
phpcs: {
40+
options: {
41+
bin: 'vendor/bin/phpcs'
42+
},
43+
dist: {
44+
src: [
45+
'**/*.php', // Include all php files.
46+
'!node_modules/**',
47+
'!vendor/**'
48+
]
49+
}
50+
}
51+
});
52+
53+
// Load NPM tasks to be used here.
54+
grunt.loadNpmTasks( 'grunt-phpcs' );
55+
grunt.loadNpmTasks( 'grunt-checktextdomain' );
56+
};

changelog.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
*** Changelog ***
2+
3+
= 1.0.3 - xxxx-xx-x =
4+
* Add - --status argument to `generate orders` command
5+
* Add - UI support for generating products and orders
6+
* Dev - update Composer support for V2
7+
* Fix - reduce product generation time by reducing the maximum number of attribute terms on variable products
8+
* Fix - disable all email notifications on customer and order generation
9+
10+
11+
= 1.0.2 - 2020-11-19 =
12+
* Change log starts.

composer.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@
77
"prefer-stable": true,
88
"minimum-stability": "dev",
99
"require": {
10-
"composer/installers": "~1.9",
11-
"fakerphp/faker": "^1.14.1",
12-
"jdenticon/jdenticon": "^1.0.0",
13-
"mbezhanov/faker-provider-collection": "^2.0.1"
10+
"composer/installers": "~1.2",
11+
"fzaninotto/faker": "^1.8",
12+
"jdenticon/jdenticon": "^0.10.0",
13+
"mbezhanov/faker-provider-collection": "^1.2.1",
14+
"woocommerce/woocommerce-git-hooks": "*",
15+
"woocommerce/woocommerce-sniffs": "*"
1416
},
1517
"autoload": {
1618
"psr-4": {"WC\\SmoothGenerator\\": "includes/"}
1719
},
18-
"require-dev": {
19-
"woocommerce/woocommerce-git-hooks": "*",
20-
"woocommerce/woocommerce-sniffs": "*"
21-
},
2220
"scripts": {
2321
"pre-update-cmd": [
2422
"WooCommerce\\GitHooks\\Hooks::preHooks"
@@ -44,5 +42,19 @@
4442
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
4543
"phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
4644
}
45+
},
46+
"archive": {
47+
"exclude": [
48+
"/node_modules",
49+
"Gruntfile.js",
50+
"composer.*",
51+
"package*.json",
52+
"phpcs*",
53+
".*",
54+
"!vendor/autoload.php",
55+
"!vendor/composer",
56+
"!vendor/fzaninotto",
57+
"!vendor/mbezhanov"
58+
]
4759
}
4860
}

0 commit comments

Comments
 (0)