Skip to content

Commit 69ffcdf

Browse files
authored
fix(package): adjust files field in package.json for ios and ios-playground (#1251)
1 parent 73d8b23 commit 69ffcdf

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

packages/cli/tests/multi_yaml_android_scripts/twitter-auto-like.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ tasks:
1010
- aiAction: search 'midscene ai'
1111
- aiAction: click the user called 'midscene ai'
1212
- aiAction: click the first tweet
13-
- aiAction: click the like button
13+
- aiAction: click the like button when the tweet is not liked
1414

1515
- name: extract tweets info
1616
flow:
1717
- aiQuery: >
1818
{time: string, content: string}[], return time and content of each tweet
1919
name: tweets
2020
21-
- name: assert @midscene_ai account
21+
- name: assert liked the tweet
2222
flow:
23-
- aiAssert: There is a @midscene_ai account on the page
23+
- aiAssert: The tweet is liked

packages/cli/tests/multi_yaml_ios_scripts/twitter-auto-like.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ tasks:
1010
- aiAction: search 'midscene ai'
1111
- aiAction: click the user called 'midscene ai'
1212
- aiAction: click the first tweet
13-
- aiAction: click the like button
13+
- aiAction: click the like button when the tweet is not liked
1414

1515
- name: extract tweets info
1616
flow:
1717
- aiQuery: >
1818
{time: string, content: string}[], return time and content of each tweet
1919
name: tweets
2020
21-
- name: assert @midscene_ai account
21+
- name: assert liked the tweet
2222
flow:
23-
- aiAssert: There is a @midscene_ai account on the page
23+
- aiAssert: The tweet is liked

packages/ios-playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "./dist/lib/index.js",
66
"types": "./dist/types/index.d.ts",
77
"module": "./dist/es/index.mjs",
8-
"files": ["dist", "static", "bin", "README.md"],
8+
"files": ["dist", "bin", "README.md"],
99
"bin": {
1010
"midscene-ios-playground": "./bin/ios-playground",
1111
"@midscene/ios-playground": "./bin/ios-playground"

packages/ios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"main": "./dist/lib/index.js",
1414
"module": "./dist/es/index.mjs",
1515
"types": "./dist/types/index.d.ts",
16-
"files": ["dist", "bin", "README.md"],
16+
"files": ["dist", "static", "bin", "README.md"],
1717
"bin": {
1818
"midscene-ios-playground": "./bin/ios-playground"
1919
},

0 commit comments

Comments
 (0)