@bigbinary/neeto-playwright-commons 2.2.5 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-playwright-commons",
3
- "version": "2.2.5",
3
+ "version": "3.0.0",
4
4
  "description": "A package encapsulating common playwright code across neeto projects.",
5
5
  "repository": "git@github.com:bigbinary/neeto-playwright-commons.git",
6
6
  "license": "apache-2.0",
@@ -11,7 +11,8 @@
11
11
  "prepare": "husky install",
12
12
  "build": "NODE_ENV=production tsc && rollup -c rollup.config.mjs && yarn build:jsdoc",
13
13
  "watch": "tsc && rollup -c rollup.config.mjs --watch",
14
- "build:jsdoc": "node ./.scripts/jsdoc-builder.mjs"
14
+ "build:jsdoc": "node ./.scripts/jsdoc-builder.mjs",
15
+ "audit": "yarn npm audit --recursive --severity high"
15
16
  },
16
17
  "engines": {
17
18
  "node": ">=22.13",
@@ -44,7 +45,6 @@
44
45
  "@rollup/plugin-node-resolve": "16.0.3",
45
46
  "@types/mailparser": "^3.4.6",
46
47
  "@types/node": "22.9.0",
47
- "@types/pngjs": "^6.0.5",
48
48
  "@types/ramda": "0.31.1",
49
49
  "@typescript-eslint/eslint-plugin": "^8.57.0",
50
50
  "@typescript-eslint/parser": "^8.57.0",
@@ -52,20 +52,19 @@
52
52
  "eslint": "9.27.0",
53
53
  "eslint-import-resolver-typescript": "^4.4.4",
54
54
  "eslint-plugin-import": "^2.32.0",
55
- "eslint-plugin-playwright": "^2.9.0",
55
+ "eslint-plugin-playwright": "^2.10.1",
56
56
  "globals": "^17.4.0",
57
57
  "husky": "9.0.11",
58
58
  "i18next": "22.5.1",
59
- "lint-staged": "16.3.3",
59
+ "lint-staged": "16.4.0",
60
60
  "octokit": "^5.0.5",
61
61
  "prettier": "3.8.1",
62
- "puppeteer": "24.38.0",
63
62
  "puppeteer-extra-plugin-stealth": "2.11.2",
64
63
  "ramda": "0.32.0",
65
64
  "remark-parse": "11.0.0",
66
- "rollup": "^4.59.0",
65
+ "rollup": "^4.60.1",
67
66
  "rollup-plugin-analyzer": "4.0.0",
68
- "rollup-plugin-dts": "^6.4.0",
67
+ "rollup-plugin-dts": "^6.4.1",
69
68
  "rollup-plugin-peer-deps-external": "2.2.4",
70
69
  "tslib": "2.8.1",
71
70
  "typescript": "5.9.3"
@@ -79,14 +78,12 @@
79
78
  "i18next": "25.8.14",
80
79
  "octokit": "^5.0.5",
81
80
  "playwright-i18next-fixture": "1.0.0",
82
- "puppeteer": "24.38.0",
83
81
  "puppeteer-extra-plugin-stealth": "2.11.2",
84
82
  "ramda": "0.32.0"
85
83
  },
86
84
  "dependencies": {
87
- "@bigbinary/neeto-commons-frontend": "^4.13.108",
85
+ "@bigbinary/neeto-commons-frontend": "^4.13.120",
88
86
  "@types/qs": "6.15.0",
89
- "@xmldom/xmldom": "^0.9.8",
90
87
  "countries-list": "^3.3.0",
91
88
  "dotenv": "17.3.1",
92
89
  "dotenv-expand": "12.0.3",
@@ -101,5 +98,5 @@
101
98
  "playwright-i18next-fixture": "1.0.0",
102
99
  "qs": "6.15.0"
103
100
  },
104
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
105
- }
101
+ "packageManager": "yarn@4.13.0"
102
+ }
File without changes
@@ -0,0 +1,28 @@
1
+ export * from "./common";
2
+ export * from "./configure";
3
+ export * from "./editor";
4
+ export * from "./embed";
5
+ export * from "./filters";
6
+ export * from "./helpCenter";
7
+ export * from "./imageUploader";
8
+ export * from "./login";
9
+ export * from "./members";
10
+ export * from "./profileSection";
11
+ export * from "./roles";
12
+ export * from "./signup";
13
+ export * from "./tab";
14
+ export * from "./tags";
15
+ export * from "./widgets";
16
+ export * from "./integrations/common";
17
+ export * from "./integrations/google";
18
+ export * from "./integrations/slack";
19
+ export * from "./integrations/webhooks";
20
+ export * from "./integrations/zapier";
21
+ export * from "./integrations/twilio";
22
+ export * from "./table";
23
+ export * from "./themes";
24
+ export * from "./adminPanel";
25
+ export * from "./datePicker";
26
+ export * from "./onboarding";
27
+ export * from "./seo";
28
+ export * from "./integrations/microsoft";
@@ -0,0 +1,12 @@
1
+ import { CustomFixture, commands } from "./commands";
2
+ import { generateStagingData } from "./stagingData";
3
+ import stealthTest from "./stealth";
4
+ import { i18nFixture } from "./translations";
5
+
6
+ export {
7
+ i18nFixture,
8
+ generateStagingData,
9
+ CustomFixture,
10
+ commands,
11
+ stealthTest,
12
+ };
package/src/index.ts ADDED
@@ -0,0 +1,145 @@
1
+ import { ApiKeysApi } from "@apis/apiKeys";
2
+ import { CustomDomainApi } from "@apis/customDomain";
3
+ import { IpRestrictionsApi } from "@apis/ipRestrictions";
4
+ import { MemberApis } from "@apis/members";
5
+ import { NeetoEmailDeliveryApi } from "@apis/neetoEmailDelivery";
6
+ import { RailsEmailApiClient } from "@apis/railsEmailApi";
7
+ import { RoleApis } from "@apis/roles";
8
+ import { SecurityApi } from "@apis/security";
9
+ import { TagsApi } from "@apis/tags";
10
+ import { ThankYouApi } from "@apis/thankYou";
11
+ import { NeetoTowerApi } from "@apis/thirdParty/neetoTower";
12
+ import { SlackApi } from "@apis/thirdParty/slack";
13
+ import { WebhookSiteApi } from "@apis/thirdParty/webhookSite";
14
+ import { TwilioApi } from "@apis/twilio";
15
+ import {
16
+ i18nFixture,
17
+ generateStagingData,
18
+ CustomFixture,
19
+ commands,
20
+ stealthTest,
21
+ } from "@fixtures";
22
+ import ThankYouPage from "@poms/configure/thankYou";
23
+ import EmbedBase from "@poms/embedBase";
24
+ import HelpAndProfilePage from "@poms/helpAndProfile";
25
+ import GooglePage from "@poms/integrations/google";
26
+ import IntegrationBase from "@poms/integrations/integrationBase";
27
+ import MicrosoftPage from "@poms/integrations/microsoft";
28
+ import SlackPage from "@poms/integrations/slack";
29
+ import WebhooksPage from "@poms/integrations/webhooks";
30
+ import ZapierPage from "@poms/integrations/zapier";
31
+ import Member from "@poms/members";
32
+ import EditorPage from "@poms/neeto/editor";
33
+ import ImageUploader from "@poms/neeto/imageUploader";
34
+ import TeamMembers from "@poms/neeto/teamMembers";
35
+ import OrganizationPage from "@poms/organizations";
36
+ import ApiKeysPage from "@poms/settings/apiKeys";
37
+ import AuditLogsPage from "@poms/settings/auditLogs";
38
+ import CustomDomainPage from "@poms/settings/customDomain";
39
+ import IPRestrictionsPage from "@poms/settings/ipRestrictions";
40
+ import RolesPage from "@poms/settings/roles";
41
+ import SidebarSection from "@poms/sidebar";
42
+ import TagsPage from "@poms/tags";
43
+ import CustomCommands from "@utils/commands";
44
+ import { EmailDeliveryUtils } from "@utils/emailDeliveryUtils";
45
+ import MailerUtils from "@utils/mailerUtils";
46
+ import { RailsEmailUtils } from "@utils/railsEmailUtils";
47
+
48
+ // exporting constants
49
+ export * from "@constants/common";
50
+ export * from "@constants/userAgents";
51
+ export * from "@routes";
52
+ export * from "@constants/networkConditions";
53
+ export * from "@constants/fileFormats";
54
+ export * from "@constants/members";
55
+ export * from "@constants/auditLogs";
56
+ export * from "@constants/keyboardShortcuts";
57
+
58
+ // exporting texts
59
+ export * from "@texts";
60
+ export * from "@constants/editorTexts";
61
+ export * from "@constants/phoneNumberFormats";
62
+
63
+ //exporting selectors
64
+ export * from "@selectors";
65
+
66
+ // exporting utils
67
+ export * from "@utils/authentication";
68
+ export * from "@utils/common";
69
+ export * from "@utils/login";
70
+ export * from "@utils/organization";
71
+ export * from "@utils/table";
72
+ export * from "@utils/qrcode";
73
+ export * from "@utils/totp";
74
+ export * from "@utils/throttle";
75
+ export * from "@utils/embed";
76
+ export * from "@utils/filters";
77
+ export * from "@utils/imageUploader";
78
+ export * from "@utils/currencyFormat";
79
+ export * from "@utils/isGithubIssueOpen";
80
+ export * from "@utils/themes";
81
+ export * from "@utils/interactionUtils";
82
+ export * from "@utils/fileUtils";
83
+ export * from "@utils/phoneNumbers";
84
+ export { warmup } from "@utils/warmup";
85
+ export { default as NeetoAuthServer } from "@utils/neetoAuthServer";
86
+
87
+ // exporting initializer
88
+ export * from "./initializer";
89
+
90
+ // exporting email delivery types
91
+ export type {
92
+ EmailDeliveryProvider,
93
+ EmailDeliveryConnectParams,
94
+ EmailDeliveryVerifyEmailParams,
95
+ EmailDeliveryVerifiedEmail,
96
+ EmailDeliveryVerifyEmailResponse,
97
+ } from "@apis/neetoEmailDelivery";
98
+
99
+ // exporting fixtures
100
+ export {
101
+ CustomCommands,
102
+ CustomFixture,
103
+ commands,
104
+ generateStagingData,
105
+ i18nFixture,
106
+ stealthTest,
107
+ WebhooksPage,
108
+ HelpAndProfilePage,
109
+ OrganizationPage,
110
+ MailerUtils,
111
+ IntegrationBase,
112
+ SlackPage,
113
+ ZapierPage,
114
+ EmbedBase,
115
+ SidebarSection,
116
+ TagsPage,
117
+ ImageUploader,
118
+ EditorPage,
119
+ TeamMembers,
120
+ ThankYouPage,
121
+ GooglePage,
122
+ Member,
123
+ AuditLogsPage,
124
+ RolesPage,
125
+ ApiKeysPage,
126
+ CustomDomainPage,
127
+ MemberApis,
128
+ RoleApis,
129
+ TagsApi,
130
+ SecurityApi,
131
+ ThankYouApi,
132
+ TwilioApi,
133
+ NeetoTowerApi,
134
+ SlackApi,
135
+ ApiKeysApi,
136
+ CustomDomainApi,
137
+ IpRestrictionsApi,
138
+ IPRestrictionsPage,
139
+ MicrosoftPage,
140
+ RailsEmailApiClient,
141
+ RailsEmailUtils,
142
+ WebhookSiteApi,
143
+ NeetoEmailDeliveryApi,
144
+ EmailDeliveryUtils,
145
+ };