Skip to content

Commit 88353be

Browse files
Merge remote-tracking branch 'upstream/master' into spt-test
2 parents 866f8ef + 45bbda3 commit 88353be

File tree

326 files changed

+33594
-14535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

326 files changed

+33594
-14535
lines changed

.babelrc.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
version: 2
22
jobs:
3-
build:
4-
working_directory: ~/repo
5-
docker:
6-
- image: circleci/node:latest-browsers
7-
steps:
8-
- checkout
9-
- restore_cache:
10-
keys:
11-
- v1-dependencies-{{ checksum "package.json" }}
12-
- v1-dependencies-
13-
- run:
14-
name: Install dependencies
15-
command: yarn install
16-
- save_cache:
17-
key: v1-dependencies-{{ checksum "package.json" }}
18-
paths:
19-
- node_modules
20-
- run:
21-
name: Build library
22-
command: yarn run release
23-
- run:
24-
name: Run unit tests
25-
command: yarn run test:coverage
26-
- run:
27-
name: Run e2e tests
28-
command: yarn run test:e2e
29-
- run:
30-
name: Submit to Codecov
31-
command: yarn run codecov
3+
build:
4+
docker:
5+
- image: cimg/node:lts-browsers
6+
resource_class: large
7+
working_directory: ~/repo
8+
steps:
9+
- checkout
10+
- restore_cache:
11+
keys:
12+
- v1-dependencies-{{ checksum "package-lock.json" }}
13+
- v1-dependencies-
14+
- run:
15+
name: Install dependencies
16+
command: npm install
17+
- save_cache:
18+
key: v1-dependencies-{{ checksum "package-lock.json" }}
19+
paths:
20+
- node_modules
21+
- run:
22+
name: Build library
23+
command: npm run release
24+
- run:
25+
name: Run unit tests
26+
command: npm run test
27+
# - run:
28+
# name: Run e2e tests
29+
# command: npm run test:e2e
30+
- run:
31+
name: Submit to Codecov
32+
command: npm run codecov

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ trim_trailing_whitespace = true
77
insert_final_newline = true
88
indent_style = space
99
indent_size = 4
10+
11+
[*.hbs]
12+
indent_style = tab

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist
2+
samples
3+
test/generated
4+
test/e2e/generated
5+
node_modules

.eslintrc.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
22
"parser": "@typescript-eslint/parser",
3-
"extends": [
4-
"plugin:@typescript-eslint/recommended",
5-
"prettier/@typescript-eslint",
6-
"plugin:prettier/recommended"
7-
],
3+
"extends": ["plugin:@typescript-eslint/recommended", "plugin:prettier/recommended", "prettier"],
84
"env": {
95
"es6": true,
106
"node": true,
117
"jest": true
128
},
13-
"plugins": [
14-
"simple-import-sort"
15-
],
9+
"plugins": ["simple-import-sort"],
1610
"rules": {
1711
"@typescript-eslint/no-explicit-any": 0,
1812
"@typescript-eslint/no-inferrable-types": 0,

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [ferdikoomen]

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
ignore:
8+
- dependency-name: "@types/node-fetch"
9+
- dependency-name: "node-fetch"
10+
- dependency-name: "camelcase"
11+
- dependency-name: "@angular-devkit/build-angular"
12+
- dependency-name: "@angular/animations"
13+
- dependency-name: "@angular/cli"
14+
- dependency-name: "@angular/common"
15+
- dependency-name: "@angular/compiler"
16+
- dependency-name: "@angular/compiler-cli"
17+
- dependency-name: "@angular/core"
18+
- dependency-name: "@angular/forms"
19+
- dependency-name: "@angular/platform-browser"
20+
- dependency-name: "@angular/platform-browser-dynamic"
21+
- dependency-name: "@angular/router"
22+
- dependency-name: "typescript"

.github/workflows/auto-merge.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: auto-merge
2+
3+
on: pull_request_target
4+
5+
permissions:
6+
pull-requests: write
7+
contents: write
8+
9+
jobs:
10+
dependabot:
11+
runs-on: ubuntu-latest
12+
if: ${{ github.actor == 'dependabot[bot]' }}
13+
steps:
14+
- name: Fetch Dependabot metadata
15+
id: dependabot-metadata
16+
uses: dependabot/fetch-metadata@v1
17+
with:
18+
github-token: ${{ secrets.GITHUB_TOKEN }}
19+
- name: Approve PR
20+
run: gh pr review --approve "$PR_URL"
21+
env:
22+
PR_URL: ${{ github.event.pull_request.html_url }}
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
- name: Merge PR
25+
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
26+
run: gh pr merge --auto --squash "$PR_URL"
27+
env:
28+
PR_URL: ${{ github.event.pull_request.html_url }}
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
schedule:
9+
- cron: "44 20 * * 3"
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: [ javascript ]
24+
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v3
28+
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@v2
31+
with:
32+
languages: ${{ matrix.language }}
33+
queries: +security-and-quality
34+
35+
- name: Autobuild
36+
uses: github/codeql-action/autobuild@v2
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@v2
40+
with:
41+
category: "/language:${{ matrix.language }}"

.licrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[licenses]
2+
accepted = [
3+
"MIT",
4+
"BSD",
5+
"0BSD",
6+
"BSD-2-Clause",
7+
"BSD-3-Clause",
8+
"Apache-2.0",
9+
"CC-BY-3.0",
10+
"CC-BY-4.0",
11+
"CC0-1.0",
12+
"ISC"
13+
]
14+
15+
[dependencies]
16+
ignored = []
17+
18+
[behavior]
19+
run_only_on_dependency_modification = true
20+
do_not_block_pr = true

0 commit comments

Comments
 (0)