Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTSHOPSCE-4476: [MUSE] turn off autoloading of pptm.js in JS SDK #191

Closed
wants to merge 9 commits into from
Closed
4 changes: 0 additions & 4 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@ node_modules/post-robot/src/declarations.js
[options]
module.name_mapper='^src\(.*\)$' -> '<PROJECT_ROOT>/src/\1'
experimental.const_params=false
esproposal.export_star_as=enable

esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ jobs:
with:
useLockFile: false

- name: ▶️ Run flow-typed script
run: npm run flow-typed
- name: ▶️ Run lint
run: npm run lint

- name: ▶️ Run flow type check
run: npm run flow

- name: ▶️ Run test script
run: npm run test
run: npm run jest

- name: ⬆️ Upload jest coverage report
uses: codecov/codecov-action@v2
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
node_modules
dist
coverage
flow-typed
npm-debug.log
.idea
.vscode
2 changes: 1 addition & 1 deletion __sdk__.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
},
muse: {
entry: './src/index',
automatic: true
automatic: false
},
tracker: {
entry: './src/tracker',
Expand Down
275 changes: 275 additions & 0 deletions flow-typed/npm/@krakenjs/belter_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,275 @@
// flow-typed signature: cbe7fa0a563ffe88120ea2d039cc2d0b
// flow-typed version: <<STUB>>/@krakenjs/belter_v^2.0.1/flow_v0.155.0

/**
* This is an autogenerated libdef stub for:
*
* '@krakenjs/belter'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@krakenjs/belter' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@krakenjs/belter/dist/belter' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/belter.min' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/constants' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/css' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/decorators' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/device' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/dom' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/experiment' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/global' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/http' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/index.flow' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/screenHeights' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/storage' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/storage.test' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/test' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/types' {
declare module.exports: any;
}

declare module '@krakenjs/belter/dist/module/util' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/constants' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/css' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/decorators' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/device' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/dom' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/experiment' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/global' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/http' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/index.flow' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/screenHeights' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/storage' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/storage.test' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/test' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/types' {
declare module.exports: any;
}

declare module '@krakenjs/belter/src/util' {
declare module.exports: any;
}

// Filename aliases
declare module '@krakenjs/belter/dist/belter.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/belter'>;
}
declare module '@krakenjs/belter/dist/belter.min.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/belter.min'>;
}
declare module '@krakenjs/belter/dist/module/constants.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/constants'>;
}
declare module '@krakenjs/belter/dist/module/css.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/css'>;
}
declare module '@krakenjs/belter/dist/module/decorators.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/decorators'>;
}
declare module '@krakenjs/belter/dist/module/device.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/device'>;
}
declare module '@krakenjs/belter/dist/module/dom.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/dom'>;
}
declare module '@krakenjs/belter/dist/module/experiment.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/experiment'>;
}
declare module '@krakenjs/belter/dist/module/global.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/global'>;
}
declare module '@krakenjs/belter/dist/module/http.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/http'>;
}
declare module '@krakenjs/belter/dist/module/index.flow.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/index.flow'>;
}
declare module '@krakenjs/belter/dist/module/index' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module'>;
}
declare module '@krakenjs/belter/dist/module/index.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module'>;
}
declare module '@krakenjs/belter/dist/module/screenHeights.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/screenHeights'>;
}
declare module '@krakenjs/belter/dist/module/storage.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/storage'>;
}
declare module '@krakenjs/belter/dist/module/storage.test.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/storage.test'>;
}
declare module '@krakenjs/belter/dist/module/test.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/test'>;
}
declare module '@krakenjs/belter/dist/module/types.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/types'>;
}
declare module '@krakenjs/belter/dist/module/util.js' {
declare module.exports: $Exports<'@krakenjs/belter/dist/module/util'>;
}
declare module '@krakenjs/belter/index' {
declare module.exports: $Exports<'@krakenjs/belter'>;
}
declare module '@krakenjs/belter/index.js' {
declare module.exports: $Exports<'@krakenjs/belter'>;
}
declare module '@krakenjs/belter/src/constants.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/constants'>;
}
declare module '@krakenjs/belter/src/css.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/css'>;
}
declare module '@krakenjs/belter/src/decorators.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/decorators'>;
}
declare module '@krakenjs/belter/src/device.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/device'>;
}
declare module '@krakenjs/belter/src/dom.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/dom'>;
}
declare module '@krakenjs/belter/src/experiment.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/experiment'>;
}
declare module '@krakenjs/belter/src/global.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/global'>;
}
declare module '@krakenjs/belter/src/http.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/http'>;
}
declare module '@krakenjs/belter/src/index.flow.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/index.flow'>;
}
declare module '@krakenjs/belter/src/index' {
declare module.exports: $Exports<'@krakenjs/belter/src'>;
}
declare module '@krakenjs/belter/src/index.js' {
declare module.exports: $Exports<'@krakenjs/belter/src'>;
}
declare module '@krakenjs/belter/src/screenHeights.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/screenHeights'>;
}
declare module '@krakenjs/belter/src/storage.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/storage'>;
}
declare module '@krakenjs/belter/src/storage.test.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/storage.test'>;
}
declare module '@krakenjs/belter/src/test.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/test'>;
}
declare module '@krakenjs/belter/src/types.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/types'>;
}
declare module '@krakenjs/belter/src/util.js' {
declare module.exports: $Exports<'@krakenjs/belter/src/util'>;
}
67 changes: 67 additions & 0 deletions flow-typed/npm/@krakenjs/grumbler-scripts_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
// flow-typed signature: 0639a3a3fb8934936440f54bfc4ddbd9
// flow-typed version: <<STUB>>/@krakenjs/grumbler-scripts_v^8.0.7/flow_v0.155.0

/**
* This is an autogenerated libdef stub for:
*
* '@krakenjs/grumbler-scripts'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@krakenjs/grumbler-scripts' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@krakenjs/grumbler-scripts/config/karma.conf' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/config/webpack.config' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/test/component' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/test/dependency' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/test/module' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/webpack.config' {
declare module.exports: any;
}

// Filename aliases
declare module '@krakenjs/grumbler-scripts/config/karma.conf.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/config/karma.conf'>;
}
declare module '@krakenjs/grumbler-scripts/config/webpack.config.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/config/webpack.config'>;
}
declare module '@krakenjs/grumbler-scripts/test/component.jsx' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/test/component'>;
}
declare module '@krakenjs/grumbler-scripts/test/dependency.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/test/dependency'>;
}
declare module '@krakenjs/grumbler-scripts/test/module.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/test/module'>;
}
declare module '@krakenjs/grumbler-scripts/webpack.config.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/webpack.config'>;
}
Loading
Loading