Skip to content

Commit

Permalink
chore(ci, changelog): update ci pipelines and changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
kucherenko committed May 26, 2024
1 parent aac6f4e commit c65e8c2
Show file tree
Hide file tree
Showing 23 changed files with 316 additions and 310 deletions.
16 changes: 0 additions & 16 deletions .changeset/pre.json

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/red-phones-whisper.md

This file was deleted.

27 changes: 21 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,32 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 19.x, 20.x]
node-version: [20.x, 22.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: yarn install, build, and test
- name: pnpm install
run: |
yarn
yarn coverage
env:
CI: true
npm i pnpm -g
- name: Install dependencies
run: pnpm install

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: pnpm audit signatures

- name: Build
run: pnpm build

- name: Lint
run: pnpm lint

- name: Test
run: pnpm test

- name: jscpd
run: ./apps/jscpd/bin/jscpd ./fixtures
43 changes: 43 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release
on:
push:
branches:
- master

permissions:
contents: read # for checkout

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'

- name: Install pnpm
run: npm i pnpm -g

- name: Install dependencies
run: pnpm install

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: pnpm audit signatures

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm publish-packages
312 changes: 127 additions & 185 deletions apps/jscpd/CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/jscpd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jscpd",
"version": "3.5.10",
"version": "4.0.0",
"description": "detector of copy/paste in files",
"author": "Andrey Kucherenko <[email protected]>",
"homepage": "https://github.com/kucherenko/jscpd#readme",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"lint:fix": "turbo run lint:fix",
"test": "turbo run test",
"cleanup": "turbo run cleanup",
"typecheck": "turbo run typecheck"
"typecheck": "turbo run typecheck",
"publish-packages": "turbo run build lint test && changeset version && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.27.3",
Expand Down
7 changes: 7 additions & 0 deletions packages/badge-reporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @jscpd/badge-reporter

## 4.0.0

### Major Changes

- aac6f4e: make great refactoring of the code, update versions of packages (typescript, pug, etc), change builder - use tsup, change test runner to vitest, move monorepo from lerna to turborepo, add changeset as tool for releases
2 changes: 1 addition & 1 deletion packages/badge-reporter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jscpd/badge-reporter",
"version": "3.4.5",
"version": "4.0.0",
"description": "Reporter for jscpd. Generate a badges with copy/paste level.",
"keywords": [
"jscpd",
Expand Down
36 changes: 16 additions & 20 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
## 3.3.0-rc.3 (2020-05-04)

## 4.0.0

### Major Changes

- aac6f4e: make great refactoring of the code, update versions of packages (typescript, pug, etc), change builder - use tsup, change test runner to vitest, move monorepo from lerna to turborepo, add changeset as tool for releases

## 3.3.0-rc.3 (2020-05-02)

* v3.3.0-rc.3 ([9f388ff](https://github.com/kucherenko/jscpd/commit/9f388ff))
* docs: ✏️ update README for the packages ([76492e6](https://github.com/kucherenko/jscpd/commit/76492e6))
* feat: 🎸 start redis store development ([c0a1584](https://github.com/kucherenko/jscpd/commit/c0a1584))
* refactor: 💡 change imports in interfaces ([f72e3e0](https://github.com/kucherenko/jscpd/commit/f72e3e0))
* refactor: 💡 remove cyclic dependency between core and tokenizer ([6615825](https://github.com/kucherenko/jscpd/commit/6615825))
* chore: 🤖 add tool for changing package.json before publishing ([fb9c7ec](https://github.com/kucherenko/jscpd/commit/fb9c7ec))
* chore: 🤖 change npm script to yarn ([3729bf9](https://github.com/kucherenko/jscpd/commit/3729bf9))
* chore: 🤖 change package json ([205136f](https://github.com/kucherenko/jscpd/commit/205136f))
* chore: 🤖 fix issue with yarncompile ([44eef97](https://github.com/kucherenko/jscpd/commit/44eef97))


- v3.3.0-rc.3 ([9f388ff](https://github.com/kucherenko/jscpd/commit/9f388ff))
- docs: ✏️ update README for the packages ([76492e6](https://github.com/kucherenko/jscpd/commit/76492e6))
- feat: 🎸 start redis store development ([c0a1584](https://github.com/kucherenko/jscpd/commit/c0a1584))
- refactor: 💡 change imports in interfaces ([f72e3e0](https://github.com/kucherenko/jscpd/commit/f72e3e0))
- refactor: 💡 remove cyclic dependency between core and tokenizer ([6615825](https://github.com/kucherenko/jscpd/commit/6615825))
- chore: 🤖 add tool for changing package.json before publishing ([fb9c7ec](https://github.com/kucherenko/jscpd/commit/fb9c7ec))
- chore: 🤖 change npm script to yarn ([3729bf9](https://github.com/kucherenko/jscpd/commit/3729bf9))
- chore: 🤖 change package json ([205136f](https://github.com/kucherenko/jscpd/commit/205136f))
- chore: 🤖 fix issue with yarncompile ([44eef97](https://github.com/kucherenko/jscpd/commit/44eef97))

## 3.3.0-rc.2 (2020-04-29)

* v3.3.0-rc.2 ([77890f4](https://github.com/kucherenko/jscpd/commit/77890f4))
* refactor: 💡 change imports in core package ([f33a412](https://github.com/kucherenko/jscpd/commit/f33a412))


- v3.3.0-rc.2 ([77890f4](https://github.com/kucherenko/jscpd/commit/77890f4))
- refactor: 💡 change imports in core package ([f33a412](https://github.com/kucherenko/jscpd/commit/f33a412))

## 3.3.0-rc.1 (2020-04-29)

* v3.3.0-rc.1 ([dd2a39d](https://github.com/kucherenko/jscpd/commit/dd2a39d))
* refactor: 💡 add new branch to git repo ([633a854](https://github.com/kucherenko/jscpd/commit/633a854))



- v3.3.0-rc.1 ([dd2a39d](https://github.com/kucherenko/jscpd/commit/dd2a39d))
- refactor: 💡 add new branch to git repo ([633a854](https://github.com/kucherenko/jscpd/commit/633a854))
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jscpd/core",
"version": "3.5.10",
"version": "4.0.0",
"description": "core functionality of copy/paste detector for jscpd",
"author": "Andrey Kucherenko <[email protected]>",
"homepage": "https://github.com/kucherenko/jscpd#readme",
Expand Down
38 changes: 20 additions & 18 deletions packages/finder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
## 3.3.0-rc.3 (2020-05-04)

## 4.0.0

### Major Changes

- aac6f4e: make great refactoring of the code, update versions of packages (typescript, pug, etc), change builder - use tsup, change test runner to vitest, move monorepo from lerna to turborepo, add changeset as tool for releases

## 3.3.0-rc.3 (2020-05-02)
### Patch Changes

* v3.3.0-rc.3 ([9f388ff](https://github.com/kucherenko/jscpd/commit/9f388ff))
* docs: ✏️ update README for the packages ([76492e6](https://github.com/kucherenko/jscpd/commit/76492e6))
* refactor: 💡 change imports in interfaces ([f72e3e0](https://github.com/kucherenko/jscpd/commit/f72e3e0))
* refactor: 💡 remove cyclic dependency between core and tokenizer ([6615825](https://github.com/kucherenko/jscpd/commit/6615825))
* chore: 🤖 add tool for changing package.json before publishing ([fb9c7ec](https://github.com/kucherenko/jscpd/commit/fb9c7ec))
* chore: 🤖 change npm script to yarn ([3729bf9](https://github.com/kucherenko/jscpd/commit/3729bf9))
* chore: 🤖 change package json ([205136f](https://github.com/kucherenko/jscpd/commit/205136f))
* chore: 🤖 fix issue with yarncompile ([44eef97](https://github.com/kucherenko/jscpd/commit/44eef97))
- Updated dependencies [aac6f4e]
- @jscpd/tokenizer@4.0.0
- @jscpd/core@4.0.0

## 3.3.0-rc.3 (2020-05-02)

- v3.3.0-rc.3 ([9f388ff](https://github.com/kucherenko/jscpd/commit/9f388ff))
- docs: ✏️ update README for the packages ([76492e6](https://github.com/kucherenko/jscpd/commit/76492e6))
- refactor: 💡 change imports in interfaces ([f72e3e0](https://github.com/kucherenko/jscpd/commit/f72e3e0))
- refactor: 💡 remove cyclic dependency between core and tokenizer ([6615825](https://github.com/kucherenko/jscpd/commit/6615825))
- chore: 🤖 add tool for changing package.json before publishing ([fb9c7ec](https://github.com/kucherenko/jscpd/commit/fb9c7ec))
- chore: 🤖 change npm script to yarn ([3729bf9](https://github.com/kucherenko/jscpd/commit/3729bf9))
- chore: 🤖 change package json ([205136f](https://github.com/kucherenko/jscpd/commit/205136f))
- chore: 🤖 fix issue with yarncompile ([44eef97](https://github.com/kucherenko/jscpd/commit/44eef97))

## 3.3.0-rc.2 (2020-04-29)

* v3.3.0-rc.2 ([77890f4](https://github.com/kucherenko/jscpd/commit/77890f4))
* docs: ✏️ add screenshot to documentation ([1271d98](https://github.com/kucherenko/jscpd/commit/1271d98))


- v3.3.0-rc.2 ([77890f4](https://github.com/kucherenko/jscpd/commit/77890f4))
- docs: ✏️ add screenshot to documentation ([1271d98](https://github.com/kucherenko/jscpd/commit/1271d98))

## 3.3.0-rc.1 (2020-04-29)

* v3.3.0-rc.1 ([dd2a39d](https://github.com/kucherenko/jscpd/commit/dd2a39d))
* refactor: 💡 add new branch to git repo ([633a854](https://github.com/kucherenko/jscpd/commit/633a854))



- v3.3.0-rc.1 ([dd2a39d](https://github.com/kucherenko/jscpd/commit/dd2a39d))
- refactor: 💡 add new branch to git repo ([633a854](https://github.com/kucherenko/jscpd/commit/633a854))
2 changes: 1 addition & 1 deletion packages/finder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jscpd/finder",
"version": "3.5.10",
"version": "4.0.0",
"description": "detector of copy/paste in files",
"author": "Andrey Kucherenko <[email protected]>",
"homepage": "https://github.com/kucherenko/jscpd#readme",
Expand Down
12 changes: 12 additions & 0 deletions packages/html-reporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @jscpd/html-reporter

## 4.0.0

### Major Changes

- aac6f4e: make great refactoring of the code, update versions of packages (typescript, pug, etc), change builder - use tsup, change test runner to vitest, move monorepo from lerna to turborepo, add changeset as tool for releases

### Patch Changes

- Updated dependencies [aac6f4e]
- @jscpd/finder@4.0.0
2 changes: 1 addition & 1 deletion packages/html-reporter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jscpd/html-reporter",
"version": "3.5.10",
"version": "4.0.0",
"description": "html reporter for jscpd",
"keywords": [
"jscpd",
Expand Down
40 changes: 21 additions & 19 deletions packages/leveldb-store/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
## 3.3.0-rc.3 (2020-05-04)

## 4.0.0

### Major Changes

- aac6f4e: make great refactoring of the code, update versions of packages (typescript, pug, etc), change builder - use tsup, change test runner to vitest, move monorepo from lerna to turborepo, add changeset as tool for releases

## 3.3.0-rc.3 (2020-05-02)
### Patch Changes

* v3.3.0-rc.3 ([9f388ff](https://github.com/kucherenko/jscpd/commit/9f388ff))
* docs: ✏️ update README for the packages ([76492e6](https://github.com/kucherenko/jscpd/commit/76492e6))
* feat: 🎸 start redis store development ([c0a1584](https://github.com/kucherenko/jscpd/commit/c0a1584))
* refactor: 💡 change imports in interfaces ([f72e3e0](https://github.com/kucherenko/jscpd/commit/f72e3e0))
* refactor: 💡 remove cyclic dependency between core and tokenizer ([6615825](https://github.com/kucherenko/jscpd/commit/6615825))
* chore: 🤖 add tool for changing package.json before publishing ([fb9c7ec](https://github.com/kucherenko/jscpd/commit/fb9c7ec))
* chore: 🤖 change npm script to yarn ([3729bf9](https://github.com/kucherenko/jscpd/commit/3729bf9))
* chore: 🤖 change package json ([205136f](https://github.com/kucherenko/jscpd/commit/205136f))
* chore: 🤖 fix issue with yarncompile ([44eef97](https://github.com/kucherenko/jscpd/commit/44eef97))
- Updated dependencies [aac6f4e]
- @jscpd/tokenizer@4.0.0
- @jscpd/core@4.0.0

## 3.3.0-rc.3 (2020-05-02)

- v3.3.0-rc.3 ([9f388ff](https://github.com/kucherenko/jscpd/commit/9f388ff))
- docs: ✏️ update README for the packages ([76492e6](https://github.com/kucherenko/jscpd/commit/76492e6))
- feat: 🎸 start redis store development ([c0a1584](https://github.com/kucherenko/jscpd/commit/c0a1584))
- refactor: 💡 change imports in interfaces ([f72e3e0](https://github.com/kucherenko/jscpd/commit/f72e3e0))
- refactor: 💡 remove cyclic dependency between core and tokenizer ([6615825](https://github.com/kucherenko/jscpd/commit/6615825))
- chore: 🤖 add tool for changing package.json before publishing ([fb9c7ec](https://github.com/kucherenko/jscpd/commit/fb9c7ec))
- chore: 🤖 change npm script to yarn ([3729bf9](https://github.com/kucherenko/jscpd/commit/3729bf9))
- chore: 🤖 change package json ([205136f](https://github.com/kucherenko/jscpd/commit/205136f))
- chore: 🤖 fix issue with yarncompile ([44eef97](https://github.com/kucherenko/jscpd/commit/44eef97))

## 3.3.0-rc.2 (2020-04-29)

* v3.3.0-rc.2 ([77890f4](https://github.com/kucherenko/jscpd/commit/77890f4))
* docs: ✏️ add screenshot to documentation ([1271d98](https://github.com/kucherenko/jscpd/commit/1271d98))


- v3.3.0-rc.2 ([77890f4](https://github.com/kucherenko/jscpd/commit/77890f4))
- docs: ✏️ add screenshot to documentation ([1271d98](https://github.com/kucherenko/jscpd/commit/1271d98))

## 3.3.0-rc.1 (2020-04-29)

* v3.3.0-rc.1 ([dd2a39d](https://github.com/kucherenko/jscpd/commit/dd2a39d))
* refactor: 💡 add new branch to git repo ([633a854](https://github.com/kucherenko/jscpd/commit/633a854))



- v3.3.0-rc.1 ([dd2a39d](https://github.com/kucherenko/jscpd/commit/dd2a39d))
- refactor: 💡 add new branch to git repo ([633a854](https://github.com/kucherenko/jscpd/commit/633a854))
2 changes: 1 addition & 1 deletion packages/leveldb-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jscpd/leveldb-store",
"version": "3.5.6",
"version": "4.0.0",
"description": "leveldb store for jscpd",
"author": "Andrey Kucherenko <[email protected]>",
"homepage": "https://github.com/kucherenko/jscpd#readme",
Expand Down
17 changes: 12 additions & 5 deletions packages/redis-store/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
## 3.3.0-rc.3 (2020-05-04)

* feat: 🎸 add redis store ([2e33bfe](https://github.com/kucherenko/jscpd/commit/2e33bfe))
## 4.0.0

### Major Changes

- aac6f4e: make great refactoring of the code, update versions of packages (typescript, pug, etc), change builder - use tsup, change test runner to vitest, move monorepo from lerna to turborepo, add changeset as tool for releases

## 3.3.0-rc.3 (2020-05-02)
### Patch Changes

* v3.3.0-rc.3 ([9f388ff](https://github.com/kucherenko/jscpd/commit/9f388ff))
* docs: ✏️ update README for the packages ([76492e6](https://github.com/kucherenko/jscpd/commit/76492e6))
* feat: 🎸 start redis store development ([c0a1584](https://github.com/kucherenko/jscpd/commit/c0a1584))
- Updated dependencies [aac6f4e]
- @jscpd/tokenizer@4.0.0
- @jscpd/core@4.0.0

* feat: 🎸 add redis store ([2e33bfe](https://github.com/kucherenko/jscpd/commit/2e33bfe))

## 3.3.0-rc.3 (2020-05-02)

- v3.3.0-rc.3 ([9f388ff](https://github.com/kucherenko/jscpd/commit/9f388ff))
- docs: ✏️ update README for the packages ([76492e6](https://github.com/kucherenko/jscpd/commit/76492e6))
- feat: 🎸 start redis store development ([c0a1584](https://github.com/kucherenko/jscpd/commit/c0a1584))
2 changes: 1 addition & 1 deletion packages/redis-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jscpd/redis-store",
"version": "3.5.4",
"version": "4.0.0",
"description": "redis store for jscpd",
"author": "Andrey Kucherenko <[email protected]>",
"homepage": "https://github.com/kucherenko/jscpd#readme",
Expand Down
Loading

0 comments on commit c65e8c2

Please sign in to comment.