-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from yieldmo/upstream-sync
Upstream sync
- Loading branch information
Showing
823 changed files
with
143,237 additions
and
24,981 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
let path = require('path'); | ||
|
||
function useLocal(module) { | ||
return require.resolve(module, { | ||
paths: [ | ||
__dirname | ||
] | ||
}) | ||
} | ||
|
||
module.exports = { | ||
"presets": [ | ||
[ | ||
useLocal('@babel/preset-env'), | ||
{ | ||
"targets": { | ||
"browsers": [ | ||
"chrome >= 61", | ||
"safari >=8", | ||
"edge >= 14", | ||
"ff >= 57", | ||
"ie >= 10", | ||
"ios >= 8" | ||
] | ||
} | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
path.resolve(__dirname, './plugins/pbjsGlobals.js'), | ||
useLocal('babel-plugin-transform-object-assign') | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Javascript Node CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-javascript/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:7.10 | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# - image: circleci/mongo:3.4.4 | ||
|
||
working_directory: ~/Prebid.js | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: npm install | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: sudo npm install -g gulp-cli | ||
# Download and run BrowserStack local | ||
- run: | ||
name : Download BrowserStack Local binary and start it. | ||
command : | | ||
# Download the browserstack binary file | ||
wget "https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip" | ||
# Unzip it | ||
unzip BrowserStackLocal-linux-x64.zip | ||
# Run the file with user's access key | ||
./BrowserStackLocal ${BROWSERSTACK_ACCESS_KEY} & | ||
# run tests! | ||
- run: | ||
name: BrowserStack testing | ||
command: gulp test --browserstack --nolintfix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 14 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 7 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- pinned | ||
- security | ||
- bug | ||
- feature | ||
- on hold | ||
# Label to use when marking an issue as stale | ||
staleLabel: stale | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Prebid versioning and deprecation policy | ||
|
||
## Goals | ||
Provide clear definitions and policy around versioning and breaking changes to APIs that are both publisher and demand partner facing. | ||
|
||
- Limit the number of breaking changes. | ||
- Ensure significant time for updates for breaking changes so that publisher or demand partners do not break. | ||
- Provide a path to deprecation and reduce technical debt and increase security. | ||
- Major versions should not be changed more than once per 30 days. | ||
|
||
## Versioning | ||
|
||
Follow semantic versioning so that all breaking changes occur within a major release. A breaking change includes both demand partner internal APIs* and publisher facing APIs (global APIs). | ||
|
||
*Demand partner APIs may be excluded from breaking change policy at the core teams discretion if the changes are made so to be transparent to the bidders (such as internal refactoring). | ||
|
||
## Deprecation process | ||
|
||
- Open an issue with an "intent to implement" and "API impact" labels. | ||
- Allow 2 weeks for discussion. | ||
- Announce breaking change to the mailing list (TBD needs to be created). | ||
- At least 2 core members needs to provide explicit approval for the deprecation. | ||
- Open a PR against current master for console warning for possible breakage. | ||
- Support the previous major version for a minimum of 30 days. | ||
- Coordinate with the core team to ensure clean merging into feature branch if applicable (future major version branch). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.