forked from woocommerce/woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making completion utilities available in AI package (woocommerce#39190)
Co-authored-by: github-actions <github-actions@github.com>
- Loading branch information
1 parent
7229221
commit 7cb5cfe
Showing
30 changed files
with
1,770 additions
and
2,076 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ npm-debug.log | |
build/ | ||
build-module/ | ||
build-style/ | ||
build-style.js | ||
build-types/ | ||
dist/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ], | ||
root: true, | ||
overrides: [ | ||
{ | ||
files: [ '**/*.js', '**/*.jsx', '**/*.tsx' ], | ||
rules: { | ||
'react/react-in-jsx-scope': 'off', | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Artificial Intelligence tools | ||
|
||
A collection of WooCommerce tools and utilities to implement ai features. | ||
|
||
## Installation | ||
|
||
Install the module | ||
|
||
```bash | ||
pnpm install @woocommerce/ai --save | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: '../internal-js-tests/babel.config.js', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Changelog | ||
|
||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: update | ||
|
||
Moving text completion hooks into @woocommerce/ai package for reuse. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "woocommerce/ai", | ||
"description": "WooCommerce AI library", | ||
"type": "library", | ||
"license": "GPL-3.0-or-later", | ||
"minimum-stability": "dev", | ||
"require-dev": { | ||
"automattic/jetpack-changelogger": "3.3.0" | ||
}, | ||
"config": { | ||
"platform": { | ||
"php": "7.2" | ||
} | ||
}, | ||
"extra": { | ||
"changelogger": { | ||
"formatter": { | ||
"filename": "../../../tools/changelogger/class-package-formatter.php" | ||
}, | ||
"types": { | ||
"fix": "Fixes an existing bug", | ||
"add": "Adds functionality", | ||
"update": "Update existing functionality", | ||
"dev": "Development related task", | ||
"tweak": "A minor adjustment to the codebase", | ||
"performance": "Address performance issues", | ||
"enhancement": "Improve existing functionality" | ||
}, | ||
"changelog": "CHANGELOG.md" | ||
} | ||
} | ||
} |
Oops, something went wrong.