@atlaskit/teams-app-internal-analytics 1.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/CHANGELOG.md +1 -0
- package/LICENSE.md +11 -0
- package/README.md +189 -0
- package/analytics.spec.yaml +42 -0
- package/dist/cjs/common/test-utils/index.js +102 -0
- package/dist/cjs/common/utils/constants.js +7 -0
- package/dist/cjs/common/utils/generated/analytics.types.js +1 -0
- package/dist/cjs/common/utils/generated/create-event-payload.js +45 -0
- package/dist/cjs/common/utils/generated/use-analytics-events.js +31 -0
- package/dist/cjs/index.js +19 -0
- package/dist/cjs/ui/analytics-context/index.js +33 -0
- package/dist/es2019/common/test-utils/index.js +89 -0
- package/dist/es2019/common/utils/constants.js +1 -0
- package/dist/es2019/common/utils/generated/analytics.types.js +0 -0
- package/dist/es2019/common/utils/generated/create-event-payload.js +28 -0
- package/dist/es2019/common/utils/generated/use-analytics-events.js +24 -0
- package/dist/es2019/index.js +2 -0
- package/dist/es2019/ui/analytics-context/index.js +23 -0
- package/dist/esm/common/test-utils/index.js +93 -0
- package/dist/esm/common/utils/constants.js +1 -0
- package/dist/esm/common/utils/generated/analytics.types.js +0 -0
- package/dist/esm/common/utils/generated/create-event-payload.js +38 -0
- package/dist/esm/common/utils/generated/use-analytics-events.js +23 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/ui/analytics-context/index.js +23 -0
- package/dist/types/common/test-utils/index.d.ts +107 -0
- package/dist/types/common/utils/constants.d.ts +1 -0
- package/dist/types/common/utils/generated/analytics.types.d.ts +39 -0
- package/dist/types/common/utils/generated/create-event-payload.d.ts +27 -0
- package/dist/types/common/utils/generated/use-analytics-events.d.ts +4 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/ui/analytics-context/index.d.ts +12 -0
- package/dist/types-ts4.5/common/test-utils/index.d.ts +107 -0
- package/dist/types-ts4.5/common/utils/constants.d.ts +1 -0
- package/dist/types-ts4.5/common/utils/generated/analytics.types.d.ts +39 -0
- package/dist/types-ts4.5/common/utils/generated/create-event-payload.d.ts +31 -0
- package/dist/types-ts4.5/common/utils/generated/use-analytics-events.d.ts +8 -0
- package/dist/types-ts4.5/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/analytics-context/index.d.ts +12 -0
- package/package.json +102 -0
- package/test-utils/package.json +17 -0
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"atlassian": {
|
|
3
|
+
"team": "People and Teams Collective",
|
|
4
|
+
"website": {
|
|
5
|
+
"name": "TeamsAppInternalAnalytics",
|
|
6
|
+
"category": "Layout and structure"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"repository": "https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
|
|
10
|
+
"main": "dist/cjs/index.js",
|
|
11
|
+
"module": "dist/esm/index.js",
|
|
12
|
+
"module:es2019": "dist/es2019/index.js",
|
|
13
|
+
"types": "dist/types/index.d.ts",
|
|
14
|
+
"typesVersions": {
|
|
15
|
+
">=4.5 <5.9": {
|
|
16
|
+
"*": [
|
|
17
|
+
"dist/types-ts4.5/*",
|
|
18
|
+
"dist/types-ts4.5/index.d.ts"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"*.compiled.css"
|
|
24
|
+
],
|
|
25
|
+
"atlaskit:src": "src/index.ts",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"analytics:codegen": "yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics --output ./src/common/utils/generated"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
31
|
+
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|
|
32
|
+
"@atlaskit/analytics-next": "^11.1.0",
|
|
33
|
+
"@atlaskit/css": "^0.14.0",
|
|
34
|
+
"@atlaskit/primitives": "^14.14.0",
|
|
35
|
+
"@atlaskit/tokens": "^6.3.0",
|
|
36
|
+
"@babel/runtime": "^7.0.0",
|
|
37
|
+
"@compiled/react": "^0.18.3"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"react": "^18.2.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@af/integration-testing": "workspace:^",
|
|
44
|
+
"@af/visual-regression": "workspace:^",
|
|
45
|
+
"@atlaskit/ssr": "workspace:^",
|
|
46
|
+
"@testing-library/react": "^13.4.0",
|
|
47
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
48
|
+
"@testing-library/user-event": "^14.4.3",
|
|
49
|
+
"react-dom": "^18.2.0"
|
|
50
|
+
},
|
|
51
|
+
"techstack": {
|
|
52
|
+
"@atlassian/frontend": {
|
|
53
|
+
"code-structure": [
|
|
54
|
+
"tangerine-next"
|
|
55
|
+
],
|
|
56
|
+
"import-structure": [
|
|
57
|
+
"atlassian-conventions"
|
|
58
|
+
],
|
|
59
|
+
"circular-dependencies": [
|
|
60
|
+
"file-and-folder-level"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"@repo/internal": {
|
|
64
|
+
"dom-events": "use-bind-event-listener",
|
|
65
|
+
"analytics": [
|
|
66
|
+
"analytics-next"
|
|
67
|
+
],
|
|
68
|
+
"design-tokens": [
|
|
69
|
+
"color"
|
|
70
|
+
],
|
|
71
|
+
"theming": [
|
|
72
|
+
"react-context"
|
|
73
|
+
],
|
|
74
|
+
"ui-components": [
|
|
75
|
+
"lite-mode"
|
|
76
|
+
],
|
|
77
|
+
"deprecation": [
|
|
78
|
+
"no-deprecated-imports"
|
|
79
|
+
],
|
|
80
|
+
"styling": [
|
|
81
|
+
"static",
|
|
82
|
+
"compiled"
|
|
83
|
+
],
|
|
84
|
+
"imports": [
|
|
85
|
+
"import-no-extraneous-disable-for-examples-and-docs"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"name": "@atlaskit/teams-app-internal-analytics",
|
|
90
|
+
"version": "1.0.0",
|
|
91
|
+
"description": "A package used by the teams app and platform packages to handle people and teams analytics",
|
|
92
|
+
"author": "Atlassian Pty Ltd",
|
|
93
|
+
"license": "Apache-2.0",
|
|
94
|
+
"publishConfig": {
|
|
95
|
+
"registry": "https://registry.npmjs.org/"
|
|
96
|
+
},
|
|
97
|
+
"platform-feature-flags": {
|
|
98
|
+
"internal.browse-users-allowed": {
|
|
99
|
+
"type": "boolean"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/teams-app-internal-analytics/test-utils",
|
|
3
|
+
"main": "../dist/cjs/common/test-utils/index.js",
|
|
4
|
+
"module": "../dist/esm/common/test-utils/index.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/common/test-utils/index.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/common/test-utils/index.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/common/test-utils/index.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|