Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = tab
indent_size = 2
space_after_anon_function = true

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
indent_style = space
indent_size = 4

[{package,bower}.json]
indent_style = space
indent_size = 2

[*.{yml,yaml}]
trim_trailing_whitespace = false
indent_style = space
indent_size = 2

[*.{js,ts}]
quote_type = "double"
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: make-release
name: CI CD dev

on:
push:
branches:
- master
branches: ['dev']

jobs:

runner-job:
runs-on: ubuntu-latest

Expand All @@ -17,6 +15,9 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npm run lint

- name: Run Tests
run: npm test

Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/ci-cd-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI CD master

on:
push:
branches: ['master']

jobs:
runner-job:
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npm run lint

- name: Run Tests
run: npm test

release:
name: Release
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies and build 🔧
run: npm ci && npm run build

- name: Make Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
48 changes: 48 additions & 0 deletions .github/workflows/ci-cd-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI CD next

on:
push:
branches: ['next']

jobs:
runner-job:
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npm run lint

- name: Run Tests
run: npm test

release:
name: Release
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies and build 🔧
run: npm ci && npm run build

- name: Make Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy documentation to GitHub Pages

on:
workflow_run:
workflows: ['make-release']
workflows: ['CI CD master']
types:
- completed

Expand All @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
Expand All @@ -35,7 +35,7 @@ jobs:
destination: ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3

deploy:
environment:
Expand All @@ -46,4 +46,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
22 changes: 22 additions & 0 deletions .github/workflows/lint-and-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint & Test PR

on:
pull_request:
branches: ['dev', 'master', 'next']

jobs:
runner-job:
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npm run lint

- name: Run Tests
run: npm test
4 changes: 2 additions & 2 deletions .releaserc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function getPlugins() {
module.exports = {
branches: [
'master',
{ name: 'dev', prerelease: true, },
{ name: 'dev', prerelease: true },
],
plugins: getPlugins(),
}
};
141 changes: 0 additions & 141 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,141 +0,0 @@
## [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)


### Bug Fixes

* updated uncontrolled resource consumption in braces ([a89cc54](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/a89cc5477cb8e6f6c92e17066e51b69f2c4f4b9c))

# [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)


### Features

* update dev-deps to actual ([6b3a290](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/6b3a2909f5679f0c4d332d29b9797c9577479f84))

# [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)


### Features

* added docu ([97d641e](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/97d641e65758ce35ac74400f0832def1e2d48268))

# [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)


### Bug Fixes

* renamed .releaserc ([6fe1486](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/6fe1486d7ded5758a19aaac80bdbd5532159d2d8))


### Features

* added tests to .github workflow ([bccaef9](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/bccaef9be5e67802a53e8525977f98430aea2328))

## [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)


### Bug Fixes

* updated .npmignore ([bcc709a](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/bcc709a2f203ced059417f4fee8c79dac3f4f240))

## [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)


### Bug Fixes

* updated .npmignore ([64ffe54](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/64ffe548df7de29770d15f721c51486265d0761f))

## [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)


### Bug Fixes

* updated .npmignore ([d18d37f](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/d18d37f23ef83c40793e506da12102a771054e0c))

## [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)


### Bug Fixes

* updated .npmignore ([9ec4d5d](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/9ec4d5dac6a633a540126ce445275fdd1a932b53))
* updated .npmignore ([2253922](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/22539228150c249b0a1c03b00f8508c44c8b3441))

# [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)


### Bug Fixes

* updated .npmignore ([40a7e00](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/40a7e003728e2ad13f4474d3a5e6beaca1d3df14))


### Features

* added .npmignore for test ([37da4b4](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/37da4b406a03b59bd3796acdcc772f94990b9f00))

# [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)


### Features

* added .npmignore for test ([1ebefc1](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/1ebefc14462856faef29394fac9f8296024fc3b6))

# [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)


### Bug Fixes

* updated gha ([8cb2d72](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/8cb2d7212d01029910034ae5e7691f2e65219db3))


### Features

* update dev-deps to actual ([d32678c](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/d32678c2b33f45b6d780818abc743bafd78976d8))

## [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)


### Bug Fixes

* update dev-deps to actual ([805e39a](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/805e39ab6d9f25941e33bf5198a6b88a6eff5527))

## [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)


### Bug Fixes

* update dev-deps to actual ([9e79142](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/9e79142c41295fecb9548ef2f8684ee6aa4048f7))

## [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)


### Bug Fixes

* **deps-dev:** update deps-dev ([06cadb0](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/06cadb03ea0c7bcf3e418dc8c196b603b1621257))

## [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)


### Bug Fixes

* add dependabot.yml ([625d9a7](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/625d9a71bb4972705af08613a574ac9ac816cdad))

## [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)


### Bug Fixes

* rename package ([90a92bc](https://github.com/JS-AK/example-automatic-deploy-ts-app-to-npm-with-scope/commit/90a92bc47bbd6948a930000a970e8583fdf23877))

## [1.0.1](https://github.com/JS-AK/test-dep-44/compare/v1.0.0...v1.0.1) (2023-01-22)


### Bug Fixes

* add package-lock.json to sr ([9de18cd](https://github.com/JS-AK/test-dep-44/commit/9de18cd1c9d4d3651b932adcd06d3cd2ae97eed3))

# 1.0.0 (2023-01-22)


### Bug Fixes

* add index.ts ([9feca86](https://github.com/JS-AK/test-dep-44/commit/9feca8643b16a0211b344cf767debb01e9d6342f))
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Anton K.
Copyright (c) 2025 Anton K.

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