Skip to content

Commit

Permalink
v2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
WPFactoryDev committed Apr 22, 2021
1 parent 57ce6e9 commit 57b2f44
Show file tree
Hide file tree
Showing 27 changed files with 37,901 additions and 580 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.wordpress-org/ export-ignore
.gitignore export-ignore
includes/analytics/README.md export-ignore
includes/analytics/package.json export-ignore
includes/analytics/package-lock.json export-ignore
includes/analytics/node_modules/
includes/analytics/webpack.config.js
includes/analytics/.prettierrc.json export-ignore
includes/analytics/.gitignore export-ignore
includes/analytics/.eslintrc.js export-ignore
6 changes: 3 additions & 3 deletions cost-of-goods-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
Plugin Name: Cost of Goods for WooCommerce
Plugin URI: https://wpfactory.com/item/cost-of-goods-for-woocommerce/
Description: Save product purchase costs (cost of goods) in WooCommerce. Beautifully.
Version: 2.4.0
Version: 2.4.1
Author: WPFactory
Author URI: https://wpfactory.com
Text Domain: cost-of-goods-for-woocommerce
Domain Path: /langs
Copyright: © 2021 WPFactory
WC tested up to: 5.0
WC tested up to: 5.2
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
Expand All @@ -33,7 +33,7 @@ final class Alg_WC_Cost_of_Goods {
* @var string
* @since 1.0.0
*/
public $version = '2.4.0';
public $version = '2.4.1';

/**
* @var Alg_WC_Cost_of_Goods The single instance of the class
Expand Down
12 changes: 12 additions & 0 deletions includes/analytics/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
rules: {
// temporary conversion to warnings until the below are all handled.
'@wordpress/i18n-translator-comments': 'warn',
'@wordpress/valid-sprintf': 'warn',
'jsdoc/check-tag-names': [
'error',
{ definedTags: [ 'jest-environment' ] },
],
},
};
22 changes: 22 additions & 0 deletions includes/analytics/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Directories/files that may be generated by this project
node_modules/
dist
build
build-module
build-style
languages/*
!languages/README.md

# Directories/files that may appear in your environment
.DS_Store
Thumbs.db
wp-cli.local.yml
*.sql
*.tar.gz
*.tgz
*.zip
.idea
.vscode/

# Composer
/vendor/
1 change: 1 addition & 0 deletions includes/analytics/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"@wordpress/prettier-config"
15 changes: 15 additions & 0 deletions includes/analytics/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# cog-analytics

A WooCommerce Admin Extension

## Development

To get started, run the following commands:

```text
npm install
npm start
```

See [wp-scripts](https://github.com/WordPress/gutenberg/tree/master/packages/scripts) for more usage information.

2 changes: 1 addition & 1 deletion includes/analytics/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => 'e06623fcff961b8387c9a9f416714cfd');
<?php return array('dependencies' => array('wc-currency', 'wp-hooks', 'wp-i18n'), 'version' => '2e8756213c4f67d66b71b6d38bab337b');
278 changes: 1 addition & 277 deletions includes/analytics/build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 57b2f44

Please sign in to comment.