Skip to content

Commit 98bf1fe

Browse files
authored
Initial commit
0 parents  commit 98bf1fe

21 files changed

+11832
-0
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: make-release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
10+
runner-job:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out repository code
15+
uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: npm ci
19+
20+
- name: Run Tests
21+
run: npm test
22+
23+
release:
24+
name: Release
25+
runs-on: ubuntu-latest
26+
steps:
27+
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 0
32+
persist-credentials: false
33+
34+
- name: Setup Node.js
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: '20'
38+
registry-url: 'https://registry.npmjs.org'
39+
40+
- name: Install dependencies and build 🔧
41+
run: npm ci && npm run build
42+
43+
- name: Make Release
44+
run: npx semantic-release
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
47+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy documentation to GitHub Pages
2+
3+
on:
4+
workflow_run:
5+
workflows: ['make-release']
6+
types:
7+
- completed
8+
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: "pages"
18+
cancel-in-progress: true
19+
20+
jobs:
21+
build:
22+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Pages
29+
uses: actions/configure-pages@v3
30+
31+
- name: Build with Jekyll
32+
uses: actions/jekyll-build-pages@v1
33+
with:
34+
source: ./docs
35+
destination: ./_site
36+
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v1
39+
40+
deploy:
41+
environment:
42+
name: github-pages
43+
url: ${{ steps.deployment.outputs.page_url }}
44+
runs-on: ubuntu-latest
45+
needs: build
46+
steps:
47+
- name: Deploy to GitHub Pages
48+
id: deployment
49+
uses: actions/deploy-pages@v1

.gitignore

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# Build folders
2+
build/
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
lerna-debug.log*
11+
12+
# Diagnostic reports (https://nodejs.org/api/report.html)
13+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
14+
15+
# Runtime data
16+
pids
17+
*.pid
18+
*.seed
19+
*.pid.lock
20+
21+
# Directory for instrumented libs generated by jscoverage/JSCover
22+
lib-cov
23+
24+
# Coverage directory used by tools like istanbul
25+
coverage
26+
*.lcov
27+
28+
# nyc test coverage
29+
.nyc_output
30+
31+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
32+
.grunt
33+
34+
# Bower dependency directory (https://bower.io/)
35+
bower_components
36+
37+
# node-waf configuration
38+
.lock-wscript
39+
40+
# Compiled binary addons (https://nodejs.org/api/addons.html)
41+
build/Release
42+
43+
# Dependency directories
44+
node_modules/
45+
jspm_packages/
46+
47+
# TypeScript v1 declaration files
48+
typings/
49+
50+
# TypeScript cache
51+
*.tsbuildinfo
52+
53+
# Optional npm cache directory
54+
.npm
55+
56+
# Optional eslint cache
57+
.eslintcache
58+
59+
# Microbundle cache
60+
.rpt2_cache/
61+
.rts2_cache_cjs/
62+
.rts2_cache_es/
63+
.rts2_cache_umd/
64+
65+
# Optional REPL history
66+
.node_repl_history
67+
68+
# Output of 'npm pack'
69+
*.tgz
70+
71+
# Yarn Integrity file
72+
.yarn-integrity
73+
74+
# dotenv environment variables file
75+
.env
76+
.env.test
77+
78+
# parcel-bundler cache (https://parceljs.org/)
79+
.cache
80+
81+
# Next.js build output
82+
.next
83+
84+
# Nuxt.js build / generate output
85+
.nuxt
86+
dist
87+
88+
# Gatsby files
89+
.cache/
90+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
91+
# https://nextjs.org/blog/next-9-1#public-directory-support
92+
# public
93+
94+
# vuepress build output
95+
.vuepress/dist
96+
97+
# Serverless directories
98+
.serverless/
99+
100+
# FuseBox cache
101+
.fusebox/
102+
103+
# DynamoDB Local files
104+
.dynamodb/
105+
106+
# TernJS port file
107+
.tern-port

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact=true

.releaserc.cjs

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
const ref = process.env.GITHUB_REF;
2+
const branch = ref.split('/').pop();
3+
4+
function getPlugins() {
5+
if (branch === 'master') {
6+
return [
7+
'@semantic-release/commit-analyzer',
8+
'@semantic-release/release-notes-generator',
9+
['@semantic-release/changelog', { changelogFile: 'CHANGELOG.md' }],
10+
['@semantic-release/npm'],
11+
['@semantic-release/git', {
12+
assets: ['CHANGELOG.md', 'package.json', 'package-lock.json'],
13+
message: '${nextRelease.version} CHANGELOG [skip ci]\n\n${nextRelease.notes}',
14+
}],
15+
'@semantic-release/github',
16+
];
17+
}
18+
19+
return [
20+
'@semantic-release/commit-analyzer',
21+
'@semantic-release/release-notes-generator',
22+
['@semantic-release/npm'],
23+
['@semantic-release/git', {
24+
assets: ['package.json'],
25+
message: '${nextRelease.version} CHANGELOG [skip ci]\n\n${nextRelease.notes}',
26+
}],
27+
'@semantic-release/github',
28+
];
29+
}
30+
31+
module.exports = {
32+
branches: [
33+
'master',
34+
{ name: 'dev', prerelease: true, },
35+
],
36+
plugins: getPlugins(),
37+
}

CHANGELOG.md

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
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))

0 commit comments

Comments
 (0)