Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
5d2fd82
Merge pull request #129 from bigcommerce/bookernath-patch-1
junedkazi Aug 28, 2020
a594c72
Release 6.x
Aug 28, 2020
2db0f9e
Merge pull request #130 from junedkazi/release-6.x
bookernath Aug 28, 2020
0ded10a
refactor: STRF-8599 Renamed ex-jquery on method to subscribe
jairo-bc Sep 1, 2020
a5b3c5d
Merge pull request #131 from jairo-bc/STRF-8599-updates
junedkazi Sep 3, 2020
4dbd19a
Release 6.1.0
Sep 3, 2020
d6bdd7b
Merge pull request #132 from junedkazi/release-6-1
junedkazi Sep 3, 2020
10ae9b4
fix: STRF-8599 Passed down the target (current) element from the gene…
jairo-bc Sep 4, 2020
f3d8d51
Merge pull request #133 from jairo-bc/STRF-8599-fixes
junedkazi Sep 10, 2020
17db26b
Release 6.2.0
Sep 14, 2020
8b1bf2d
Merge pull request #135 from junedkazi/release-6-2
junedkazi Sep 14, 2020
c7620ee
refactor(storefront): STRF-8607 Update all dev dependecies on stencil…
jairo-bc Aug 27, 2020
2a040ae
Merge pull request #128 from jairo-bc/STRF-8607
junedkazi Sep 22, 2020
45bfd41
STRF-8769 Investigate issue on cornerstore
jairo-bc Oct 22, 2020
d1a29c6
STRF-8771 Stencil utils: Handle 404 on emptying cart
jairo-bc Oct 23, 2020
a768031
Merge pull request #136 from jairo-bc/STRF-8769
junedkazi Nov 2, 2020
c26ffe8
Release 6.3.0
jairo-bc Nov 4, 2020
373f303
Merge pull request #138 from jairo-bc/release-6.3
jairo-bc Nov 4, 2020
457a53a
switch to github actions
Nov 4, 2020
19608c5
Merge pull request #141 from junedkazi/github-action
junedkazi Nov 4, 2020
c263ed9
Drop travis in favor of github action
Nov 4, 2020
a3c824b
Merge pull request #142 from junedkazi/test-github-acrtion
junedkazi Nov 4, 2020
f58531a
Release 6.4: Add prepublish and gitignores for package-lock and dist …
jairo-bc Nov 4, 2020
58a68eb
Merge pull request #140 from jairo-bc/add-prepublish-script
jairo-bc Nov 4, 2020
73da497
Add dist and src files to the npm explicitly
jairo-bc Nov 4, 2020
e5909f7
Merge pull request #143 from jairo-bc/add-dist-files
jairo-bc Nov 4, 2020
7747dfc
Send x-requested-with with requests
bookernath Nov 4, 2020
48c5a20
Merge pull request #144 from bookernath/x-requested-with
bookernath Nov 5, 2020
a8b2267
Bump stencil utils to 6.6.0
junedkazi Nov 5, 2020
68a99f0
Merge pull request #145 from bigcommerce/junedkazi-patch-1
junedkazi Nov 5, 2020
85c6438
fixed build and added gitattributes
jairo-bc Nov 5, 2020
26ecc0f
Merge pull request #146 from jairo-bc/github-actions-tests
jairo-bc Nov 5, 2020
c822247
Merge pull request #137 from jairo-bc/STRF-8771
jairo-bc Nov 12, 2020
3619eb4
Bump stencil utils to 6.7.0
jairo-bc Dec 3, 2020
51a39ba
Merge pull request #147 from jairo-bc/jairo-release-6.7
jairo-bc Dec 7, 2020
30ccb1d
STRF-8898 Fixing delimiter using GET request
jairo-bc Jan 6, 2021
6874871
Merge pull request #149 from jairo-bc/STRF-8898
jairo-bc Jan 11, 2021
7dbf93c
Bump stencil utils to 6.8.0
jairo-bc Jan 11, 2021
add756d
Merge pull request #150 from jairo-bc/6.8.0
jairo-bc Jan 11, 2021
49a882e
STRF-8948 Fix Sort By on Search Page
jairo-bc Jan 25, 2021
601c647
Bump stencil utils to 6.8.0
jairo-bc Jan 25, 2021
0dd4ad5
Merge pull request #151 from jairo-bc/STRF-8948
jairo-bc Jan 25, 2021
bc2bcc2
Merge pull request #152 from jairo-bc/6.8.1
jairo-bc Jan 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
>2%, last 2 versions, Firefox ESR
10 changes: 7 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignorePatterns": ["dist"],
"rules": {
"indent": [
2,
Expand All @@ -8,11 +9,14 @@
"no-alert": 0,
"consistent-return": 0,
"max-len": 0,
"prefer-rest-params": 0
"prefer-rest-params": 0,
"class-methods-use-this": 0
},
"env": {
"es6": true,
"browser": true
"browser": true,
"jest": true
},
"extends": "airbnb/base"
"extends": "airbnb-base",
"parser": "babel-eslint"
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Set a consistent line-ending styles across different OS to avoid problems with linters
* text eol=lf
42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build

on:
pull_request:
branches: [ master, main ]
push:
branches: [ master, main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node: [10.x, 12.x, 14.x]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node }}

- name: npm cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Install Dependencies
run: npm i

- name: Lint the code
run: npm run lint

- name: Run test with coverage
run: npm run test-with-coverage
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.idea
node_modules/
.DS_Store
.coverage
package-lock.json
dist/stencil-utils.min.js
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

10 changes: 0 additions & 10 deletions Gruntfile.js

This file was deleted.

10 changes: 10 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
presets: [
[
'@babel/preset-env',
],
],
plugins: [
'@babel/plugin-transform-runtime',
],
};
1 change: 0 additions & 1 deletion dist/stencil-utils.min.js

This file was deleted.

44 changes: 0 additions & 44 deletions grunt/build.js

This file was deleted.

6 changes: 0 additions & 6 deletions grunt/eslint.js

This file was deleted.

5 changes: 0 additions & 5 deletions grunt/karma.js

This file was deleted.

20 changes: 20 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
collectCoverage: false,
collectCoverageFrom: [
'src/**',
],
verbose: true,
coverageDirectory: '.coverage',
testMatch: [
'<rootDir>/spec/**',
],
transformIgnorePatterns: ['<rootDir>/node_modules/'],
coverageThreshold: {
global: {
branches: 30,
functions: 30,
lines: 30,
statements: 30,
},
},
};
50 changes: 0 additions & 50 deletions karma.conf.js

This file was deleted.

Loading