Skip to content

Commit 6bfc241

Browse files
authored
Merge pull request #6 from JS-AK/feat/add-merge-sheets-to-base-file
feat: added mergeSheetsToBaseFile
2 parents 98bf1fe + 6c78931 commit 6bfc241

29 files changed

+3309
-493
lines changed

.editorconfig

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
9+
# Change these settings to your own preference
10+
indent_style = tab
11+
indent_size = 2
12+
space_after_anon_function = true
13+
14+
# We recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
indent_style = space
23+
indent_size = 4
24+
25+
[{package,bower}.json]
26+
indent_style = space
27+
indent_size = 2
28+
29+
[*.{yml,yaml}]
30+
trim_trailing_whitespace = false
31+
indent_style = space
32+
indent_size = 2
33+
34+
[*.{js,ts}]
35+
quote_type = "double"

.github/workflows/add-release-and-publish.yml renamed to .github/workflows/ci-cd-dev.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
name: make-release
1+
name: CI CD dev
22

33
on:
44
push:
5-
branches:
6-
- master
5+
branches: ['dev']
76

87
jobs:
9-
108
runner-job:
119
runs-on: ubuntu-latest
1210

@@ -17,6 +15,9 @@ jobs:
1715
- name: Install dependencies
1816
run: npm ci
1917

18+
- name: Run ESLint
19+
run: npm run lint
20+
2021
- name: Run Tests
2122
run: npm test
2223

.github/workflows/ci-cd-master.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI CD master
2+
3+
on:
4+
push:
5+
branches: ['master']
6+
7+
jobs:
8+
runner-job:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Check out repository code
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies
16+
run: npm ci
17+
18+
- name: Run ESLint
19+
run: npm run lint
20+
21+
- name: Run Tests
22+
run: npm test
23+
24+
release:
25+
name: Release
26+
runs-on: ubuntu-latest
27+
steps:
28+
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
persist-credentials: false
34+
35+
- name: Setup Node.js
36+
uses: actions/setup-node@v4
37+
with:
38+
node-version: '20'
39+
registry-url: 'https://registry.npmjs.org'
40+
41+
- name: Install dependencies and build 🔧
42+
run: npm ci && npm run build
43+
44+
- name: Make Release
45+
run: npx semantic-release
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
48+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/ci-cd-next.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI CD next
2+
3+
on:
4+
push:
5+
branches: ['next']
6+
7+
jobs:
8+
runner-job:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Check out repository code
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies
16+
run: npm ci
17+
18+
- name: Run ESLint
19+
run: npm run lint
20+
21+
- name: Run Tests
22+
run: npm test
23+
24+
release:
25+
name: Release
26+
runs-on: ubuntu-latest
27+
steps:
28+
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
persist-credentials: false
34+
35+
- name: Setup Node.js
36+
uses: actions/setup-node@v4
37+
with:
38+
node-version: '20'
39+
registry-url: 'https://registry.npmjs.org'
40+
41+
- name: Install dependencies and build 🔧
42+
run: npm ci && npm run build
43+
44+
- name: Make Release
45+
run: npx semantic-release
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
48+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/jekyll-gh-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy documentation to GitHub Pages
22

33
on:
44
workflow_run:
5-
workflows: ['make-release']
5+
workflows: ['CI CD master']
66
types:
77
- completed
88

@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@v4
2727

2828
- name: Setup Pages
29-
uses: actions/configure-pages@v3
29+
uses: actions/configure-pages@v5
3030

3131
- name: Build with Jekyll
3232
uses: actions/jekyll-build-pages@v1
@@ -35,7 +35,7 @@ jobs:
3535
destination: ./_site
3636

3737
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v1
38+
uses: actions/upload-pages-artifact@v3
3939

4040
deploy:
4141
environment:
@@ -46,4 +46,4 @@ jobs:
4646
steps:
4747
- name: Deploy to GitHub Pages
4848
id: deployment
49-
uses: actions/deploy-pages@v1
49+
uses: actions/deploy-pages@v4
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint & Test PR
2+
3+
on:
4+
pull_request:
5+
branches: ['dev', 'master', 'next']
6+
7+
jobs:
8+
runner-job:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Check out repository code
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies
16+
run: npm ci
17+
18+
- name: Run ESLint
19+
run: npm run lint
20+
21+
- name: Run Tests
22+
run: npm test

.releaserc.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function getPlugins() {
3131
module.exports = {
3232
branches: [
3333
'master',
34-
{ name: 'dev', prerelease: true, },
34+
{ name: 'dev', prerelease: true },
3535
],
3636
plugins: getPlugins(),
37-
}
37+
};

CHANGELOG.md

Lines changed: 0 additions & 141 deletions
Original file line numberDiff line numberDiff line change
@@ -1,141 +0,0 @@
1-
## [1.6.1](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.6.0...v1.6.1) (2024-06-22)
2-
3-
4-
### Bug Fixes
5-
6-
* updated uncontrolled resource consumption in braces ([a89cc54](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/a89cc5477cb8e6f6c92e17066e51b69f2c4f4b9c))
7-
8-
# [1.6.0](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.5.0...v1.6.0) (2024-06-17)
9-
10-
11-
### Features
12-
13-
* update dev-deps to actual ([6b3a290](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/6b3a2909f5679f0c4d332d29b9797c9577479f84))
14-
15-
# [1.5.0](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.4.0...v1.5.0) (2024-03-28)
16-
17-
18-
### Features
19-
20-
* added docu ([97d641e](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/97d641e65758ce35ac74400f0832def1e2d48268))
21-
22-
# [1.4.0](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.3.4...v1.4.0) (2024-03-24)
23-
24-
25-
### Bug Fixes
26-
27-
* renamed .releaserc ([6fe1486](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/6fe1486d7ded5758a19aaac80bdbd5532159d2d8))
28-
29-
30-
### Features
31-
32-
* added tests to .github workflow ([bccaef9](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/bccaef9be5e67802a53e8525977f98430aea2328))
33-
34-
## [1.3.4](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.3.3...v1.3.4) (2024-03-24)
35-
36-
37-
### Bug Fixes
38-
39-
* updated .npmignore ([bcc709a](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/bcc709a2f203ced059417f4fee8c79dac3f4f240))
40-
41-
## [1.3.3](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.3.2...v1.3.3) (2024-03-24)
42-
43-
44-
### Bug Fixes
45-
46-
* updated .npmignore ([64ffe54](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/64ffe548df7de29770d15f721c51486265d0761f))
47-
48-
## [1.3.2](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.3.1...v1.3.2) (2024-03-24)
49-
50-
51-
### Bug Fixes
52-
53-
* updated .npmignore ([d18d37f](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/d18d37f23ef83c40793e506da12102a771054e0c))
54-
55-
## [1.3.1](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.3.0...v1.3.1) (2024-03-24)
56-
57-
58-
### Bug Fixes
59-
60-
* updated .npmignore ([9ec4d5d](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/9ec4d5dac6a633a540126ce445275fdd1a932b53))
61-
* updated .npmignore ([2253922](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/22539228150c249b0a1c03b00f8508c44c8b3441))
62-
63-
# [1.3.0](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.2.0...v1.3.0) (2024-03-24)
64-
65-
66-
### Bug Fixes
67-
68-
* updated .npmignore ([40a7e00](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/40a7e003728e2ad13f4474d3a5e6beaca1d3df14))
69-
70-
71-
### Features
72-
73-
* added .npmignore for test ([37da4b4](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/37da4b406a03b59bd3796acdcc772f94990b9f00))
74-
75-
# [1.2.0](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.1.0...v1.2.0) (2024-03-24)
76-
77-
78-
### Features
79-
80-
* added .npmignore for test ([1ebefc1](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/1ebefc14462856faef29394fac9f8296024fc3b6))
81-
82-
# [1.1.0](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.0.6...v1.1.0) (2024-03-11)
83-
84-
85-
### Bug Fixes
86-
87-
* updated gha ([8cb2d72](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/8cb2d7212d01029910034ae5e7691f2e65219db3))
88-
89-
90-
### Features
91-
92-
* update dev-deps to actual ([d32678c](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/d32678c2b33f45b6d780818abc743bafd78976d8))
93-
94-
## [1.0.6](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.0.5...v1.0.6) (2023-11-06)
95-
96-
97-
### Bug Fixes
98-
99-
* update dev-deps to actual ([805e39a](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/805e39ab6d9f25941e33bf5198a6b88a6eff5527))
100-
101-
## [1.0.5](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.0.4...v1.0.5) (2023-09-16)
102-
103-
104-
### Bug Fixes
105-
106-
* update dev-deps to actual ([9e79142](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/9e79142c41295fecb9548ef2f8684ee6aa4048f7))
107-
108-
## [1.0.4](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.0.3...v1.0.4) (2023-06-23)
109-
110-
111-
### Bug Fixes
112-
113-
* **deps-dev:** update deps-dev ([06cadb0](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/06cadb03ea0c7bcf3e418dc8c196b603b1621257))
114-
115-
## [1.0.3](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.0.2...v1.0.3) (2023-01-23)
116-
117-
118-
### Bug Fixes
119-
120-
* add dependabot.yml ([625d9a7](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/625d9a71bb4972705af08613a574ac9ac816cdad))
121-
122-
## [1.0.2](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/compare/v1.0.1...v1.0.2) (2023-01-23)
123-
124-
125-
### Bug Fixes
126-
127-
* rename package ([90a92bc](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/90a92bc47bbd6948a930000a970e8583fdf23877))
128-
129-
## [1.0.1](https://github.com/JS-AK/test-dep-44/compare/v1.0.0...v1.0.1) (2023-01-22)
130-
131-
132-
### Bug Fixes
133-
134-
* add package-lock.json to sr ([9de18cd](https://github.com/JS-AK/test-dep-44/commit/9de18cd1c9d4d3651b932adcd06d3cd2ae97eed3))
135-
136-
# 1.0.0 (2023-01-22)
137-
138-
139-
### Bug Fixes
140-
141-
* add index.ts ([9feca86](https://github.com/JS-AK/test-dep-44/commit/9feca8643b16a0211b344cf767debb01e9d6342f))

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Anton K.
3+
Copyright (c) 2025 Anton K.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)