Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions hello.js/.bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "./assets/"
}
14 changes: 14 additions & 0 deletions hello.js/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# editorconfig.org
root = true

[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml,*.conf,*.sh}]
indent_style = space
indent_size = 2
6 changes: 6 additions & 0 deletions hello.js/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dist
demos
assets
tests/specs/libs/
tests/specs/bundle.js
tests/headless.js
46 changes: 46 additions & 0 deletions hello.js/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"root": true,
"env": {
"browser": true,
"amd": true,
"commonjs": true,
"webextensions": true
},
"globals": {
"hello": "writable"
},
"extends": [
"5app",
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2021
},
"rules": {
"brace-style": 0,
"dot-notation": [2, {"allowKeywords": false}],
"eqeqeq": 0,
"jsdoc/check-tag-names": 0,
"max-params": [2, {"max": 6}],
"no-console": 0,
"no-empty": 0,
"no-param-reassign": 0,
"no-prototype-builtins": 0,
"no-redeclare": 0,
"no-throw-literal": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"no-useless-call": 0,
"no-useless-escape": 0,
"no-useless-return": 0,
"no-var": 0,
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"prefer-template": 0,
"quote-props": [2, "as-needed", {"keywords": true}],
"radix": 0,
"spaced-comment": 0
}
}
48 changes: 48 additions & 0 deletions hello.js/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

name: CI

on: [push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- run: npm i
- run: npm run lint

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
# Browserstack fix https://github.com/browserstack/browserstack-runner/issues/224#issuecomment-803409764
- run: rm ./package-lock.json
- run: npm i
- run: npm test
- run: npm run test:browserstack
env:
BROWSERSTACK_KEY: ${{ secrets.BROWSERSTACK_KEY }}
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}

release:
needs:
- lint
- test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- run: npm i
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
8 changes: 8 additions & 0 deletions hello.js/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
node_modules/
coverage/
_site/
src/*.html
src/**/*.html
tests/specs/bundle.js
.env.sh
58 changes: 58 additions & 0 deletions hello.js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# [1.20.0](https://github.com/MrSwitch/hello.js/compare/v1.19.5...v1.20.0) (2023-01-25)


### Features

* **state:** Base64 encoding instead of uri encoding of state param for yahoo ([#658](https://github.com/MrSwitch/hello.js/issues/658)) ([b196a7b](https://github.com/MrSwitch/hello.js/commit/b196a7b72c265280d16e1296be6b39619c23169c))

## [1.19.5](https://github.com/MrSwitch/hello.js/compare/v1.19.4...v1.19.5) (2021-09-19)


### Bug Fixes

* **redirects:** lock down redirect attempts, fixes [#619](https://github.com/MrSwitch/hello.js/issues/619) ([544e5ea](https://github.com/MrSwitch/hello.js/commit/544e5ea3876116d93689e26b2c6a0b9ad9052e14))

## [1.19.4](https://github.com/MrSwitch/hello.js/compare/v1.19.3...v1.19.4) (2021-06-24)


### Bug Fixes

* **lint:** lint and publish [#622](https://github.com/MrSwitch/hello.js/issues/622) ([c3988b6](https://github.com/MrSwitch/hello.js/commit/c3988b649b18f2d83d80c1ebb9819fd48359484a))

## [1.19.3](https://github.com/MrSwitch/hello.js/compare/v1.19.2...v1.19.3) (2021-04-13)


### Bug Fixes

* **deps:** npm audit localhost ([384bf14](https://github.com/MrSwitch/hello.js/commit/384bf14b87b36028ed1876f9092bde1352ebaa89))

## [1.19.2](https://github.com/MrSwitch/hello.js/compare/v1.19.1...v1.19.2) (2021-03-20)


### Bug Fixes

* **ci:** build dist ([e9be935](https://github.com/MrSwitch/hello.js/commit/e9be9354a4a6d8a2b3388c2d5435220a2b912d75))

## [1.19.1](https://github.com/MrSwitch/hello.js/compare/v1.19.0...v1.19.1) (2021-03-20)


### Bug Fixes

* **ci:** build dist ([8b56eb5](https://github.com/MrSwitch/hello.js/commit/8b56eb539b7cd533b79d56764ea2038519cbbc3d))

# [1.19.0](https://github.com/MrSwitch/hello.js/compare/v1.18.8...v1.19.0) (2021-03-20)


### Bug Fixes

* **global:** remove global variable ([2c378fe](https://github.com/MrSwitch/hello.js/commit/2c378fe680d792b6145ba30dfba1f7b1a01e8993))


### Features

* **build:** build dist from bash ([29ee7a4](https://github.com/MrSwitch/hello.js/commit/29ee7a418dedda2bc8ef82557893102fb2bcc00c))


### Performance Improvements

* remove redundant files from published npm package ([816cbb3](https://github.com/MrSwitch/hello.js/commit/816cbb3c874acee523e662c7c77eff59dd3621b3))
12 changes: 12 additions & 0 deletions hello.js/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# HelloJS Help and Support

If you are having problems implementing HelloJS you might find your answers already discussed. Please see...

* Issues at [Github](https://github.com/MrSwitch/hello.js/issues)
* FAQ's at [Stackoverflow](http://stackoverflow.com/questions/tagged/hello.js)

Want to discuss your implementations?

* Discussions at [Gitter](https://gitter.im/MrSwitch/hello.js)

If you are experiencing a bug in HelloJS or would like the library to support other services and features. Please [create a new issue](https://github.com/MrSwitch/hello.js/issues/new).
20 changes: 20 additions & 0 deletions hello.js/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2018 Andrew Dodson

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading