@tivio/sdk-react 2.1.0 → 2.1.1-alpha1
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/README.md +3 -0
 - package/coverage/clover.xml +113 -0
 - package/coverage/lcov-report/base.css +224 -0
 - package/coverage/lcov-report/block-navigation.js +79 -0
 - package/coverage/lcov-report/favicon.png +0 -0
 - package/coverage/lcov-report/index.html +126 -0
 - package/coverage/lcov-report/prettify.css +1 -0
 - package/coverage/lcov-report/prettify.js +2 -0
 - package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
 - package/coverage/lcov-report/sorter.js +170 -0
 - package/coverage/lcov-report/src/components/TivioProvider.tsx.html +227 -0
 - package/coverage/lcov-report/src/components/TivioWidget.tsx.html +203 -0
 - package/coverage/lcov-report/src/components/TivioWidgetError.tsx.html +122 -0
 - package/coverage/lcov-report/src/components/TivioWidgetLoader.tsx.html +116 -0
 - package/coverage/lcov-report/src/components/index.html +156 -0
 - package/coverage/lcov-report/src/conf.ts.html +239 -0
 - package/coverage/lcov-report/src/index.html +111 -0
 - package/coverage/lcov-report/src/services/bundleLoader.ts.html +698 -0
 - package/coverage/lcov-report/src/services/dependencyResolver.ts.html +212 -0
 - package/coverage/lcov-report/src/services/index.html +141 -0
 - package/coverage/lcov-report/src/services/logger.ts.html +365 -0
 - package/coverage/lcov-report/src/services/packageLoader.ts.html +194 -0
 - package/coverage/lcov-report/src/services/pubSub.ts.html +242 -0
 - package/coverage/lcov-report/src/services/settings.ts.html +218 -0
 - package/coverage/lcov-report/src/setupTests.ts.html +158 -0
 - package/coverage/lcov.info +175 -0
 - package/dist/index.js +1 -1
 - package/package.json +5 -4
 - package/scripts/prepublish.ts +16 -0
 
    
        package/package.json
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
2 
     | 
    
         
             
                "name": "@tivio/sdk-react",
         
     | 
| 
       3 
     | 
    
         
            -
                "version": "2.1. 
     | 
| 
      
 3 
     | 
    
         
            +
                "version": "2.1.1-alpha1",
         
     | 
| 
       4 
4 
     | 
    
         
             
                "main": "dist/index.js",
         
     | 
| 
       5 
5 
     | 
    
         
             
                "typings": "dist/index.d.ts",
         
     | 
| 
       6 
6 
     | 
    
         
             
                "source": "src/index.ts",
         
     | 
| 
         @@ -14,7 +14,8 @@ 
     | 
|
| 
       14 
14 
     | 
    
         
             
                    "start": "yarn run clean && webpack -w --config=webpack.config.dev.js",
         
     | 
| 
       15 
15 
     | 
    
         
             
                    "test": "jest --config=./jest.config.js --coverage",
         
     | 
| 
       16 
16 
     | 
    
         
             
                    "clean": "rm -rf dist",
         
     | 
| 
       17 
     | 
    
         
            -
                    "prepublishOnly": "yarn &&  
     | 
| 
      
 17 
     | 
    
         
            +
                    "prepublishOnly": "yarn && yarn ts-node ./scripts/prepublish.ts && yarn clean && yarn run build",
         
     | 
| 
      
 18 
     | 
    
         
            +
                    "publish:alpha": "npm publish --tag alpha"
         
     | 
| 
       18 
19 
     | 
    
         
             
                },
         
     | 
| 
       19 
20 
     | 
    
         
             
                "peerDependencies": {
         
     | 
| 
       20 
21 
     | 
    
         
             
                    "firebase": "^8.2.3",
         
     | 
| 
         @@ -24,6 +25,7 @@ 
     | 
|
| 
       24 
25 
     | 
    
         
             
                    "styled-components": "^5.2.1"
         
     | 
| 
       25 
26 
     | 
    
         
             
                },
         
     | 
| 
       26 
27 
     | 
    
         
             
                "dependencies": {
         
     | 
| 
      
 28 
     | 
    
         
            +
                    "@tivio/common": "1.1.17",
         
     | 
| 
       27 
29 
     | 
    
         
             
                    "@sentry/browser": "^6.1.0",
         
     | 
| 
       28 
30 
     | 
    
         
             
                    "mobx-react": "^7.1.0"
         
     | 
| 
       29 
31 
     | 
    
         
             
                },
         
     | 
| 
         @@ -55,7 +57,6 @@ 
     | 
|
| 
       55 
57 
     | 
    
         
             
                    "typescript": "^4.1.3",
         
     | 
| 
       56 
58 
     | 
    
         
             
                    "webpack": "^5.15.0",
         
     | 
| 
       57 
59 
     | 
    
         
             
                    "webpack-cli": "^4.4.0",
         
     | 
| 
       58 
     | 
    
         
            -
                    "webpack-merge": "^5.7.3" 
     | 
| 
       59 
     | 
    
         
            -
                    "@tivio/common": "*"
         
     | 
| 
      
 60 
     | 
    
         
            +
                    "webpack-merge": "^5.7.3"
         
     | 
| 
       60 
61 
     | 
    
         
             
                }
         
     | 
| 
       61 
62 
     | 
    
         
             
            }
         
     | 
| 
         @@ -0,0 +1,16 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            import {
         
     | 
| 
      
 2 
     | 
    
         
            +
                execCommand,
         
     | 
| 
      
 3 
     | 
    
         
            +
            } from '@tivio/build-utils'
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            console.info('Publishing latest @tivio/common...')
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            execCommand('yarn --cwd ../common pub;')
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            console.info('Updating version of @tivio/common dependency in package.json...')
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            const tivioCommonPackageJson = require('../../common/package.json')
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            // Using sed instead of fs.write because it does not change the order
         
     | 
| 
      
 14 
     | 
    
         
            +
            // of the other line
         
     | 
| 
      
 15 
     | 
    
         
            +
            // eslint-disable-next-line no-useless-escape
         
     | 
| 
      
 16 
     | 
    
         
            +
            execCommand(`sed -i 's#"@tivio/common":.*#"@tivio/common": "${tivioCommonPackageJson.version}",#g' package.json`)
         
     |