@atlaskit/analytics-next 11.1.3 → 11.2.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/AnalyticsReactContext/package.json +15 -0
- package/CHANGELOG.md +14 -20
- package/afm-cc/tsconfig.json +3 -3
- package/afm-jira/tsconfig.json +6 -8
- package/{afm-adminhub → afm-products}/tsconfig.json +5 -5
- package/cleanProps/package.json +15 -0
- package/dist/cjs/components/AnalyticsContext/LegacyAnalyticsContext.js +71 -0
- package/dist/cjs/components/AnalyticsContext/index.js +9 -1
- package/dist/cjs/components/AnalyticsErrorBoundary.js +16 -2
- package/dist/cjs/components/AnalyticsListener/LegacyAnalyticsListener.js +79 -0
- package/dist/cjs/components/AnalyticsListener/index.js +9 -1
- package/dist/cjs/components/AnalyticsReactContext.js +13 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/utils/isModernContextEnabledEnv.js +10 -0
- package/dist/es2019/components/AnalyticsContext/LegacyAnalyticsContext.js +49 -0
- package/dist/es2019/components/AnalyticsContext/index.js +9 -1
- package/dist/es2019/components/AnalyticsErrorBoundary.js +16 -2
- package/dist/es2019/components/AnalyticsListener/LegacyAnalyticsListener.js +56 -0
- package/dist/es2019/components/AnalyticsListener/index.js +9 -1
- package/dist/es2019/components/AnalyticsReactContext.js +1 -0
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/utils/isModernContextEnabledEnv.js +4 -0
- package/dist/esm/components/AnalyticsContext/LegacyAnalyticsContext.js +62 -0
- package/dist/esm/components/AnalyticsContext/index.js +9 -1
- package/dist/esm/components/AnalyticsErrorBoundary.js +16 -2
- package/dist/esm/components/AnalyticsListener/LegacyAnalyticsListener.js +70 -0
- package/dist/esm/components/AnalyticsListener/index.js +9 -1
- package/dist/esm/components/AnalyticsReactContext.js +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/utils/isModernContextEnabledEnv.js +4 -0
- package/dist/types/components/AnalyticsContext/LegacyAnalyticsContext.d.ts +30 -0
- package/dist/types/components/AnalyticsContext/index.d.ts +3 -2
- package/dist/types/components/AnalyticsContext/types.d.ts +1 -1
- package/dist/types/components/AnalyticsListener/LegacyAnalyticsListener.d.ts +34 -0
- package/dist/types/components/AnalyticsListener/index.d.ts +3 -2
- package/dist/types/components/AnalyticsListener/types.d.ts +1 -1
- package/dist/types/components/AnalyticsReactContext.d.ts +2 -0
- package/dist/types/hocs/withAnalyticsEvents.d.ts +1 -1
- package/dist/types/hooks/useAnalyticsEvents.d.ts +1 -1
- package/dist/types/hooks/usePatchedProps.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/types.d.ts +1 -1
- package/dist/types/utils/createAndFireEvent.d.ts +4 -3
- package/dist/types/utils/isModernContextEnabledEnv.d.ts +2 -0
- package/dist/types-ts4.5/components/AnalyticsContext/LegacyAnalyticsContext.d.ts +30 -0
- package/dist/types-ts4.5/components/AnalyticsContext/index.d.ts +3 -2
- package/dist/types-ts4.5/components/AnalyticsContext/types.d.ts +1 -1
- package/dist/types-ts4.5/components/AnalyticsListener/LegacyAnalyticsListener.d.ts +34 -0
- package/dist/types-ts4.5/components/AnalyticsListener/index.d.ts +3 -2
- package/dist/types-ts4.5/components/AnalyticsListener/types.d.ts +1 -1
- package/dist/types-ts4.5/components/AnalyticsReactContext.d.ts +2 -0
- package/dist/types-ts4.5/hocs/withAnalyticsEvents.d.ts +1 -1
- package/dist/types-ts4.5/hooks/useAnalyticsEvents.d.ts +1 -1
- package/dist/types-ts4.5/hooks/usePatchedProps.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/dist/types-ts4.5/utils/createAndFireEvent.d.ts +4 -3
- package/dist/types-ts4.5/utils/isModernContextEnabledEnv.d.ts +2 -0
- package/docs/0-intro.tsx +2 -1
- package/docs/10-concepts.tsx +2 -1
- package/docs/20-usage-with-presentational-components.tsx +2 -1
- package/docs/30-usage-for-container-components.tsx +2 -1
- package/docs/40-listeners.tsx +2 -1
- package/docs/50-error-boundary.tsx +2 -1
- package/docs/60-events.tsx +2 -1
- package/docs/70-advanced-usage.tsx +2 -1
- package/docs/80-upgrade-guide.tsx +2 -1
- package/package.json +9 -5
- package/tsconfig.json +1 -2
- package/usePlatformLeafSyntheticEventHandler/package.json +15 -0
- package/afm-dev-agents/tsconfig.json +0 -32
- package/afm-passionfruit/tsconfig.json +0 -32
- package/afm-post-office/tsconfig.json +0 -32
- package/afm-rovo-extension/tsconfig.json +0 -32
- package/afm-townsquare/tsconfig.json +0 -32
- package/afm-volt/tsconfig.json +0 -32
- package/build/tsconfig.json +0 -25
package/docs/0-intro.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import { md } from '@atlaskit/docs';
|
|
|
4
4
|
import Link from '@atlaskit/link';
|
|
5
5
|
import SectionMessage from '@atlaskit/section-message';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
const _default_1: any = md`
|
|
8
8
|
|
|
9
9
|
${(
|
|
10
10
|
<SectionMessage
|
|
@@ -39,3 +39,4 @@ This package aims to help assist consumers track the way their React components
|
|
|
39
39
|
- [Advanced usage](./analytics-next/docs/advanced-usage)
|
|
40
40
|
- [Ugprade guide](./analytics-next/docs/upgrade-guide)
|
|
41
41
|
`;
|
|
42
|
+
export default _default_1;
|
package/docs/10-concepts.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { code, md } from '@atlaskit/docs';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const _default_1: any = md`
|
|
4
4
|
There are 3 abstract layers as part of \`@atlaskit/analytics-next\`:
|
|
5
5
|
|
|
6
6
|
- [Analytics Listeners](./listeners) (responsible for sending events over the network)
|
|
@@ -119,3 +119,4 @@ ${code`
|
|
|
119
119
|
[legacy-context]: https://reactjs.org/docs/legacy-context.html
|
|
120
120
|
[modern-context]: https://reactjs.org/docs/context.html
|
|
121
121
|
`;
|
|
122
|
+
export default _default_1;
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { code, md } from '@atlaskit/docs';
|
|
4
4
|
import Link from '@atlaskit/link';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
const _default_1: any = md`
|
|
7
7
|
This section will guide how to add analytics tracking to presentational and other
|
|
8
8
|
components that don't fit into the "Container" category.
|
|
9
9
|
|
|
@@ -358,3 +358,4 @@ export MyButton;
|
|
|
358
358
|
`}
|
|
359
359
|
|
|
360
360
|
`;
|
|
361
|
+
export default _default_1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { code, md } from '@atlaskit/docs';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const _default_1: any = md`
|
|
4
4
|
This guide describes how to set up analytics for a React component that is a
|
|
5
5
|
container for children that fire analytics events, and where you wish to include
|
|
6
6
|
contextual information to those children about where it is embeded in the event fired.
|
|
@@ -61,3 +61,4 @@ While it is possible to use the React context from \`@atlaskit/analytics-next-st
|
|
|
61
61
|
we encourage you to use one of these two approaches instead, as they are optimised to ensure the value provided
|
|
62
62
|
to React Context is a stable reference, and won't introduce unnecessary re-renders.
|
|
63
63
|
`;
|
|
64
|
+
export default _default_1;
|
package/docs/40-listeners.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { code, md, Props } from '@atlaskit/docs';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const _default_1: any = md`
|
|
6
6
|
${code`import { AnalyticsListener } from '@atlaskit/analytics-next';`}
|
|
7
7
|
|
|
8
8
|
An \`AnalyticsListener\` wraps your app and listens to any events which are fired within it.
|
|
@@ -14,3 +14,4 @@ export default md`
|
|
|
14
14
|
/>
|
|
15
15
|
)}
|
|
16
16
|
`;
|
|
17
|
+
export default _default_1;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { code, md, Props } from '@atlaskit/docs';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const _default_1: any = md`
|
|
6
6
|
${code`import { AnalyticsErrorBoundary } from '@atlaskit/analytics-next';`}
|
|
7
7
|
|
|
8
8
|
Wrap part of your tree in \`AnalyticsErrorBoundary\` to provide error boundary track to any events created beneath it.
|
|
@@ -52,3 +52,4 @@ class ButtonWithAnalyticsErrorBoundary extends React.Component {
|
|
|
52
52
|
/>
|
|
53
53
|
)}
|
|
54
54
|
`;
|
|
55
|
+
export default _default_1;
|
package/docs/60-events.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { code, md } from '@atlaskit/docs';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const _default_1: any = md`
|
|
4
4
|
<a name="UIAnalyticsEvent"></a>
|
|
5
5
|
### UIAnalyticsEvent
|
|
6
6
|
|
|
@@ -52,3 +52,4 @@ update(
|
|
|
52
52
|
|
|
53
53
|
Please see [UIAnalyticsEvent](#UIAnalyticsEvent) for more information.
|
|
54
54
|
`;
|
|
55
|
+
export default _default_1;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { code, Example, md } from '@atlaskit/docs';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const _default_1: any = md`
|
|
6
6
|
### Contents
|
|
7
7
|
|
|
8
8
|
* [Adding more information to an event](#adding-more-information-to-an-event)
|
|
@@ -268,3 +268,4 @@ const fetchBacon = async () => {
|
|
|
268
268
|
};
|
|
269
269
|
`}
|
|
270
270
|
`;
|
|
271
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/analytics-next",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.0",
|
|
4
4
|
"description": "React components, HOCs and hooks to assist with tracking user activity with React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"react-dom": "^18.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@atlassian/feature-flags-test-utils": "^0.
|
|
45
|
-
"@atlassian/ssr-tests": "
|
|
46
|
-
"@testing-library/react": "^
|
|
44
|
+
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
45
|
+
"@atlassian/ssr-tests": "workspace:^",
|
|
46
|
+
"@testing-library/react": "^16.3.0",
|
|
47
47
|
"storybook-addon-performance": "^0.17.3"
|
|
48
48
|
},
|
|
49
49
|
"overrides": {
|
|
@@ -73,5 +73,9 @@
|
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
-
"platform-feature-flags": {
|
|
76
|
+
"platform-feature-flags": {
|
|
77
|
+
"analytics-next-use-legacy-context": {
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
77
81
|
}
|
package/tsconfig.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/analytics-next/usePlatformLeafSyntheticEventHandler",
|
|
3
|
+
"main": "../dist/cjs/hooks/usePlatformLeafSyntheticEventHandler.js",
|
|
4
|
+
"module": "../dist/esm/hooks/usePlatformLeafSyntheticEventHandler.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/hooks/usePlatformLeafSyntheticEventHandler.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/hooks/usePlatformLeafSyntheticEventHandler.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.5 <5.9": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.5/hooks/usePlatformLeafSyntheticEventHandler.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.dev-agents.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../dev-agents/tsDist/@atlaskit__analytics-next/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/performance/examples.tsx",
|
|
19
|
-
"../docs/*",
|
|
20
|
-
"../src/**/examples.*",
|
|
21
|
-
"../src/**/examples/*",
|
|
22
|
-
"../src/**/examples/**/*",
|
|
23
|
-
"../src/**/*.stories.*",
|
|
24
|
-
"../src/**/stories/*",
|
|
25
|
-
"../src/**/stories/**/*"
|
|
26
|
-
],
|
|
27
|
-
"references": [
|
|
28
|
-
{
|
|
29
|
-
"path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.passionfruit.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../passionfruit/tsDist/@atlaskit__analytics-next/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/performance/examples.tsx",
|
|
19
|
-
"../docs/*",
|
|
20
|
-
"../src/**/examples.*",
|
|
21
|
-
"../src/**/examples/*",
|
|
22
|
-
"../src/**/examples/**/*",
|
|
23
|
-
"../src/**/*.stories.*",
|
|
24
|
-
"../src/**/stories/*",
|
|
25
|
-
"../src/**/stories/**/*"
|
|
26
|
-
],
|
|
27
|
-
"references": [
|
|
28
|
-
{
|
|
29
|
-
"path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../post-office/tsDist/@atlaskit__analytics-next/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/performance/examples.tsx",
|
|
19
|
-
"../docs/*",
|
|
20
|
-
"../src/**/examples.*",
|
|
21
|
-
"../src/**/examples/*",
|
|
22
|
-
"../src/**/examples/**/*",
|
|
23
|
-
"../src/**/*.stories.*",
|
|
24
|
-
"../src/**/stories/*",
|
|
25
|
-
"../src/**/stories/**/*"
|
|
26
|
-
],
|
|
27
|
-
"references": [
|
|
28
|
-
{
|
|
29
|
-
"path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.rovo-extension.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../rovo-extension/tsDist/@atlaskit__analytics-next/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/performance/examples.tsx",
|
|
19
|
-
"../docs/*",
|
|
20
|
-
"../src/**/examples.*",
|
|
21
|
-
"../src/**/examples/*",
|
|
22
|
-
"../src/**/examples/**/*",
|
|
23
|
-
"../src/**/*.stories.*",
|
|
24
|
-
"../src/**/stories/*",
|
|
25
|
-
"../src/**/stories/**/*"
|
|
26
|
-
],
|
|
27
|
-
"references": [
|
|
28
|
-
{
|
|
29
|
-
"path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.townsquare.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../townsquare/tsDist/@atlaskit__analytics-next/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/performance/examples.tsx",
|
|
19
|
-
"../docs/*",
|
|
20
|
-
"../src/**/examples.*",
|
|
21
|
-
"../src/**/examples/*",
|
|
22
|
-
"../src/**/examples/**/*",
|
|
23
|
-
"../src/**/*.stories.*",
|
|
24
|
-
"../src/**/stories/*",
|
|
25
|
-
"../src/**/stories/**/*"
|
|
26
|
-
],
|
|
27
|
-
"references": [
|
|
28
|
-
{
|
|
29
|
-
"path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
package/afm-volt/tsconfig.json
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.volt.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../volt/tsDist/@atlaskit__analytics-next/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/performance/examples.tsx",
|
|
19
|
-
"../docs/*",
|
|
20
|
-
"../src/**/examples.*",
|
|
21
|
-
"../src/**/examples/*",
|
|
22
|
-
"../src/**/examples/**/*",
|
|
23
|
-
"../src/**/*.stories.*",
|
|
24
|
-
"../src/**/stories/*",
|
|
25
|
-
"../src/**/stories/**/*"
|
|
26
|
-
],
|
|
27
|
-
"references": [
|
|
28
|
-
{
|
|
29
|
-
"path": "../../../platform/feature-flags/afm-volt/tsconfig.json"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
package/build/tsconfig.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"paths": {}
|
|
7
|
-
},
|
|
8
|
-
"include": [
|
|
9
|
-
"../src/**/*.ts",
|
|
10
|
-
"../src/**/*.tsx"
|
|
11
|
-
],
|
|
12
|
-
"exclude": [
|
|
13
|
-
"../src/**/__tests__/*",
|
|
14
|
-
"../src/**/*.test.*",
|
|
15
|
-
"../src/**/test.*",
|
|
16
|
-
"../src/performance/examples.tsx",
|
|
17
|
-
"../docs/*",
|
|
18
|
-
"../src/**/examples.*",
|
|
19
|
-
"../src/**/examples/*",
|
|
20
|
-
"../src/**/examples/**/*",
|
|
21
|
-
"../src/**/*.stories.*",
|
|
22
|
-
"../src/**/stories/*",
|
|
23
|
-
"../src/**/stories/**/*"
|
|
24
|
-
]
|
|
25
|
-
}
|