Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milestone/v6.0.0 #77

Merged
merged 35 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
382392c
perf: upgrade to oclif 3
pviti Feb 13, 2024
b04c27e
chore(release): 6.0.0-oclif3.1 [skip ci]
semantic-release-bot Feb 13, 2024
f725528
fix: update dependencies
pviti Feb 16, 2024
cac8aa1
chore(release): 6.0.0-oclif3.2 [skip ci]
semantic-release-bot Feb 16, 2024
0b980f3
fix: update dependencies
pviti Feb 21, 2024
898907c
Merge branch 'oclif3' of https://github.com/commercelayer/commercelay…
pviti Feb 21, 2024
9b0da2a
chore(release): 6.0.0-oclif3.3 [skip ci]
semantic-release-bot Feb 21, 2024
46a0600
perf: update engine
pviti Feb 22, 2024
a7fa653
chore(release): 6.0.0-oclif3.4 [skip ci]
semantic-release-bot Feb 22, 2024
daf2b90
fix: fix update package
pviti Feb 23, 2024
5bc56e7
chore(release): 6.0.0-oclif3.5 [skip ci]
semantic-release-bot Feb 23, 2024
3d4eadc
chore: remove secrets
pviti Mar 27, 2024
29ea6a7
fix: update dependencies
pviti Apr 11, 2024
a5a7735
chore(release): 6.0.0-oclif3.6 [skip ci]
semantic-release-bot Apr 11, 2024
88e090d
fix: replace ts-node with tsx
pviti Apr 11, 2024
f8ca855
Merge branch 'oclif3' of https://github.com/commercelayer/commercelay…
pviti Apr 11, 2024
e273d9c
chore(release): 6.0.0-oclif3.7 [skip ci]
semantic-release-bot Apr 11, 2024
2081922
fix: fix ts-node
pviti Apr 11, 2024
5f707dc
Merge branch 'oclif3' of https://github.com/commercelayer/commercelay…
pviti Apr 11, 2024
235696f
chore(release): 6.0.0-oclif3.8 [skip ci]
semantic-release-bot Apr 11, 2024
3c6ce82
fix: fix release config
pviti Apr 12, 2024
1f8cb66
Merge branch 'oclif3' of https://github.com/commercelayer/commercelay…
pviti Apr 12, 2024
1032858
chore(release): 6.0.0-oclif3.9 [skip ci]
semantic-release-bot Apr 12, 2024
422da24
feat: prerelease
pviti Apr 12, 2024
c473aa4
chore(release): 6.0.0-rc.1 [skip ci]
semantic-release-bot Apr 12, 2024
eb7f830
fix: fix dependencies
pviti Apr 15, 2024
30a2f25
Merge branch 'prerelease' of https://github.com/commercelayer/commerc…
pviti Apr 15, 2024
2a21ab6
chore(release): 6.0.0-rc.2 [skip ci]
semantic-release-bot Apr 15, 2024
66e5889
fix: update dependencies
pviti Apr 15, 2024
a23b2ab
Merge branch 'prerelease' of https://github.com/commercelayer/commerc…
pviti Apr 15, 2024
53b6e7f
chore(release): 6.0.0-rc.3 [skip ci]
semantic-release-bot Apr 15, 2024
e7245ce
chore: update dependencies
pviti Apr 23, 2024
cb9ff70
Merge pull request #76 from commercelayer/prerelease
pviti Apr 23, 2024
60673fe
fix: fix sdk dependency
pviti Apr 23, 2024
7c9b579
chore: update dependencies
pviti Apr 30, 2024
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
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": [
"@commercelayer/eslint-config-ts"
],
"ignorePatterns": ["test/**/*.test.ts"],
"ignorePatterns": ["test/**/*.test.ts", "bin/**"],
"rules": {
"prettier/prettier": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release
on:
push:
branches: [ main ]
branches: [ main, beta, prerelease ]
pull_request:
branches: [ main ]
jobs:
Expand Down Expand Up @@ -30,8 +30,8 @@ jobs:
- name: Run specs
env:
CL_CLI_ORGANIZATION: cli-test-org
CL_CLI_CLIENT_ID: SQWYt6tF8bx9uWzxGbrPxEMCEP5dCZbu93r56KRTLPY
CL_CLI_CLIENT_SECRET: DKMUFKTxqjfEc9SMNeG2FKPLqKOdMHYwz1BysAJcObw
CL_CLI_CLIENT_ID: ${{ secrets.CL_CLI_CLIENT_ID }}
CL_CLI_CLIENT_SECRET: ${{ secrets.CL_CLI_CLIENT_SECRET }}
run: pnpm test
- name: Release
env:
Expand Down
3 changes: 1 addition & 2 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"require": "ts-node/register",
"loader": "ts-node/esm"
"import": "tsx"
}
5 changes: 3 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"branches": [
{ "name": "main", "channel": "latest" },
"+([0-9])?(.{+([0-9]),x}).x",
{ "name": "beta", "prerelease": true }
{ "name": "beta", "prerelease": true },
{ "name": "prerelease", "prerelease": "rc" }
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/github",
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
Expand Down
117 changes: 117 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,120 @@
# [6.0.0-rc.3](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-rc.2...v6.0.0-rc.3) (2024-04-15)


### Bug Fixes

* update dependencies ([66e5889](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/66e588909d9575392bc9ad1d43bf5b066ff65752))

# [6.0.0-rc.2](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-rc.1...v6.0.0-rc.2) (2024-04-15)


### Bug Fixes

* fix dependencies ([eb7f830](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/eb7f8304590957225f76856d82d288500c1b788c))

# [6.0.0-rc.1](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v5.6.5...v6.0.0-rc.1) (2024-04-12)


### Bug Fixes

* fix release config ([3c6ce82](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/3c6ce821380fd26319aa66569b3d3cb6fc7c86fc))
* fix ts-node ([2081922](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/208192215c23946b0e786e8379f3e752d291b08b))
* fix update package ([daf2b90](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/daf2b90f29c23f0051ba8cf5268c9f70b6edc2c4))
* replace ts-node with tsx ([88e090d](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/88e090d52f1fac624a8abd7b6f70ddc07bd8437d))
* update dependencies ([29ea6a7](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/29ea6a75fc4a7cb4cb4c3befb6178ffadf8280ba))
* update dependencies ([0b980f3](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/0b980f38d07be99d549c01b5720cd81541d49221))
* update dependencies ([f725528](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/f7255288b79b14eaa2ad8cdfdca2c8d8cd063323))


### Features

* prerelease ([422da24](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/422da24e4a7cf17b1684f2d651876f5f78248fc8))


### Performance Improvements

* update engine ([46a0600](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/46a06003050212f5fe84377bc6f990baf590d57e))
* upgrade to oclif 3 ([382392c](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/382392c7875dac0bcadaa24aab1da864d5b8b311))


### BREAKING CHANGES

* remove support for node.js <20
* the framework oclif and its plugins have been migrated to next major version

# [6.0.0-oclif3.9](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-oclif3.8...v6.0.0-oclif3.9) (2024-04-12)


### Bug Fixes

* fix release config ([3c6ce82](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/3c6ce821380fd26319aa66569b3d3cb6fc7c86fc))

# [6.0.0-oclif3.8](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-oclif3.7...v6.0.0-oclif3.8) (2024-04-11)


### Bug Fixes

* fix ts-node ([2081922](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/208192215c23946b0e786e8379f3e752d291b08b))

# [6.0.0-oclif3.7](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-oclif3.6...v6.0.0-oclif3.7) (2024-04-11)


### Bug Fixes

* replace ts-node with tsx ([88e090d](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/88e090d52f1fac624a8abd7b6f70ddc07bd8437d))

# [6.0.0-oclif3.6](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-oclif3.5...v6.0.0-oclif3.6) (2024-04-11)


### Bug Fixes

* update dependencies ([29ea6a7](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/29ea6a75fc4a7cb4cb4c3befb6178ffadf8280ba))

# [6.0.0-oclif3.5](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-oclif3.4...v6.0.0-oclif3.5) (2024-02-23)


### Bug Fixes

* fix update package ([daf2b90](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/daf2b90f29c23f0051ba8cf5268c9f70b6edc2c4))

# [6.0.0-oclif3.4](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-oclif3.3...v6.0.0-oclif3.4) (2024-02-22)


### Performance Improvements

* update engine ([46a0600](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/46a06003050212f5fe84377bc6f990baf590d57e))


### BREAKING CHANGES

* remove support for node.js <20

# [6.0.0-oclif3.3](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-oclif3.2...v6.0.0-oclif3.3) (2024-02-21)


### Bug Fixes

* update dependencies ([0b980f3](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/0b980f38d07be99d549c01b5720cd81541d49221))

# [6.0.0-oclif3.2](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v6.0.0-oclif3.1...v6.0.0-oclif3.2) (2024-02-16)


### Bug Fixes

* update dependencies ([f725528](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/f7255288b79b14eaa2ad8cdfdca2c8d8cd063323))

# [6.0.0-oclif3.1](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v5.6.5...v6.0.0-oclif3.1) (2024-02-13)


### Performance Improvements

* upgrade to oclif 3 ([382392c](https://github.com/commercelayer/commercelayer-cli-plugin-token/commit/382392c7875dac0bcadaa24aab1da864d5b8b311))


### BREAKING CHANGES

* the framework oclif and its plugins have been migrated to next major version

## [5.6.5](https://github.com/commercelayer/commercelayer-cli-plugin-token/compare/v5.6.4...v5.6.5) (2023-12-14)


Expand Down
6 changes: 6 additions & 0 deletions bin/dev.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node_modules/.bin/tsx

;(async () => {
const oclif = await import('@oclif/core')
await oclif.execute({development: true, dir: __dirname})
})()
File renamed without changes.
3 changes: 3 additions & 0 deletions bin/old/dev.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off

node "%~dp0\dev" %*
File renamed without changes.
3 changes: 3 additions & 0 deletions bin/old/run.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off

node "%~dp0\run" %*
6 changes: 6 additions & 0 deletions bin/run.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node

(async () => {
const oclif = await import('@oclif/core')
await oclif.execute({development: false, dir: __dirname})
})()
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"name": "@commercelayer/cli-plugin-token",
"description": "Commerce Layer CLI Token plugin",
"version": "5.6.5",
"version": "6.0.0-rc.3",
"author": "Pierluigi Viti <[email protected]>",
"homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-token",
"repository": "commercelayer/commercelayer-cli-plugin-token",
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-token/issues",
"engines": {
"node": "^16.13.0 || >=18.0.0"
"node": ">=20"
},
"files": [
"/bin/run.*",
"/lib",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-token",
"keywords": [
"ecommerce",
"cli",
Expand All @@ -40,7 +41,6 @@
],
"topicSeparator": ":"
},
"repository": "commercelayer/commercelayer-cli-plugin-token",
"scripts": {
"postpack": "rm -f oclif.manifest.json",
"posttest": "eslint . --ext .ts --config .eslintrc",
Expand All @@ -53,29 +53,29 @@
},
"types": "lib/index.d.ts",
"devDependencies": {
"@commercelayer/cli-dev": "^2.1.3",
"@commercelayer/eslint-config-ts": "^1.3.0",
"@oclif/plugin-help": "^5.2.20",
"@oclif/test": "^3.1.12",
"@commercelayer/cli-dev": "^3.0.3",
"@commercelayer/eslint-config-ts": "^1.4.5",
"@oclif/plugin-help": "^6.0.21",
"@oclif/test": "^3.2.11",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/chai": "^4.3.11",
"@types/chai": "^4.3.14",
"@types/inquirer": "^8.2.10",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.5",
"@types/node": "^20.12.7",
"chai": "^4.4.1",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"eslint": "^8.57.0",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"oclif": "^4.3.9",
"semantic-release": "^22.0.12",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
"oclif": "^4.9.3",
"semantic-release": "^23.0.8",
"tsx": "^4.7.3",
"typescript": "^5.4.5"
},
"dependencies": {
"@commercelayer/cli-core": "^4.11.4",
"@commercelayer/sdk": "^5.29.0",
"@oclif/core": "^2.15.0",
"@commercelayer/cli-core": "^5.0.0",
"@commercelayer/sdk": "^6.0.0",
"@oclif/core": "^3.26.4",
"inquirer": "^8.2.6",
"tslib": "^2.6.2"
},
Expand Down
Loading
Loading