Skip to content

Commit a6dab21

Browse files
committed
init extension
1 parent 540637f commit a6dab21

File tree

4 files changed

+10
-14
lines changed

4 files changed

+10
-14
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ define(function (require, exports, module) {
8888

8989
if (Phoenix.isNativeApp) {
9090
nodeConnector = NodeConnector.createNodeConnector(
91-
"your-extension-id-1",
91+
"github-phcode-dev-phoenix-code-ai-control",
9292
exports
9393
);
9494
// you can also execute nodejs code in dekstop builds

node/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
**/
1111
console.log("hello world node extension");
1212

13-
const sharp = require("sharp");
14-
1513
const extnNodeConnector = global.createNodeConnector(
16-
"your-extension-id-1",
14+
"github-phcode-dev-phoenix-code-ai-control",
1715
exports
1816
);
1917

node/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@
99
"author": "",
1010
"license": "ISC",
1111
"dependencies": {
12-
"jquery": "^3.7.1",
13-
"sharp": "^0.33.3"
1412
}
1513
}

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"title": "Name of the extension",
3-
"name": "github-<owner>-<repo>",
4-
"description": "A sample extension.",
2+
"title": "Phoenix AI Control",
3+
"name": "github-phcode-dev-phoenix-code-ai-control",
4+
"description": "Control AI features in Phoenix Code",
55
"version": "0.0.1",
66
"license": "MIT",
7-
"author": "your name (https://github.com/<your github id>)",
8-
"homepage": "<project web page url or this github repo url if no website available>",
7+
"author": "Phoenix Code (https://github.com/phcode-dev)",
8+
"homepage": "https://github.com/phcode-dev/phoenix-code-ai-control",
99
"engines": {
10-
"brackets": ">=2.0.0"
10+
"brackets": ">=3.0.0"
1111
},
12-
"categories": "demo",
12+
"categories": "AI",
1313
"keywords": [
14-
"phcode", "extension", "demo"
14+
"phcode", "AI", "control"
1515
],
1616
"files": [
1717
"main.js"

0 commit comments

Comments
 (0)