Skip to content

Commit

Permalink
Merge pull request #49 from commercelayer/milestone/v3.0.0
Browse files Browse the repository at this point in the history
Milestone/v3.0.0
  • Loading branch information
pviti authored Apr 29, 2024
2 parents 2e39403 + 284fa50 commit ed172b2
Show file tree
Hide file tree
Showing 17 changed files with 6,181 additions and 6,778 deletions.
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
148 changes: 144 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,150 @@
## [2.0.1](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0...v2.0.1) (2024-04-23)
# [3.0.0-rc.1](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.1...v3.0.0-rc.1) (2024-04-23)


### Reverts
### Bug Fixes

* fix dependencies ([af51013](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/af51013d5103b9491ddb325d19f06349bf1727c6))
* fix dependencies ([78e4666](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/78e4666cd733a96e404f492ef0d7fb17b5b50b93))
* fix release config ([26e390d](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/26e390d6f6a3b4e40d08cfca27871a239e538385))
* fix ts-node ([fa1b53c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/fa1b53c3b6f1acc3dae7e4e52794ab5cf03855bd))
* fix update package ([5db682c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/5db682c441f98426a5414926e52de17c113e56a8))
* replace ts-node with tsx ([9d9707c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/9d9707c128112ce78706ca62c1a25008e7b96994))
* update cli dependencies ([a6d1c17](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/a6d1c17768e4673c71c2c187db99771443f9a2ab))
* update dependencies ([a67a0c1](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/a67a0c197fd011e8efb2363e0e85f029beba146b))
* update dependencies ([4f1a3c0](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/4f1a3c0a8a6f96dd238a5a031212832adc20de65))
* update dependencies ([7dde2e8](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/7dde2e87ff8f618725b56d24c761189fb71ce717))


### Features

* prerelease ([80bd0a1](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/80bd0a199faa44a5eaa2eca13f46a5c5980f7854))


### Performance Improvements

* update engine ([2b41c33](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/2b41c33ef8f5cc737a280d850ee4b5a6e43d698a))


### BREAKING CHANGES

* remove support for node.js <20

# [2.0.0-rc.4](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2024-04-15)


### Bug Fixes

* update dependencies ([a67a0c1](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/a67a0c197fd011e8efb2363e0e85f029beba146b))

# [2.0.0-rc.3](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2024-04-15)


### Bug Fixes

* update cli dependencies ([a6d1c17](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/a6d1c17768e4673c71c2c187db99771443f9a2ab))

# [2.0.0-rc.2](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2024-04-15)


### Bug Fixes

* fix dependencies ([af51013](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/af51013d5103b9491ddb325d19f06349bf1727c6))
* fix dependencies ([78e4666](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/78e4666cd733a96e404f492ef0d7fb17b5b50b93))

# [2.0.0-rc.1](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v1.6.2...v2.0.0-rc.1) (2024-04-12)


### Bug Fixes

* fix release config ([26e390d](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/26e390d6f6a3b4e40d08cfca27871a239e538385))
* fix ts-node ([fa1b53c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/fa1b53c3b6f1acc3dae7e4e52794ab5cf03855bd))
* fix update package ([5db682c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/5db682c441f98426a5414926e52de17c113e56a8))
* replace ts-node with tsx ([9d9707c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/9d9707c128112ce78706ca62c1a25008e7b96994))
* update dependencies ([4f1a3c0](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/4f1a3c0a8a6f96dd238a5a031212832adc20de65))
* update dependencies ([7dde2e8](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/7dde2e87ff8f618725b56d24c761189fb71ce717))


### Features

* prerelease ([80bd0a1](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/80bd0a199faa44a5eaa2eca13f46a5c5980f7854))


### Performance Improvements

* update engine ([2b41c33](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/2b41c33ef8f5cc737a280d850ee4b5a6e43d698a))
* upgrade to oclif 3 ([7a64c49](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/7a64c496c8c6645251299a853d5280837d577a3d))


### BREAKING CHANGES

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

# [2.0.0-oclif3.8](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-oclif3.7...v2.0.0-oclif3.8) (2024-04-12)


### Bug Fixes

* fix release config ([26e390d](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/26e390d6f6a3b4e40d08cfca27871a239e538385))

# [2.0.0-oclif3.7](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-oclif3.6...v2.0.0-oclif3.7) (2024-04-11)


### Bug Fixes

* fix ts-node ([fa1b53c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/fa1b53c3b6f1acc3dae7e4e52794ab5cf03855bd))

# [2.0.0-oclif3.6](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-oclif3.5...v2.0.0-oclif3.6) (2024-04-11)


### Bug Fixes

* replace ts-node with tsx ([9d9707c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/9d9707c128112ce78706ca62c1a25008e7b96994))

# [2.0.0-oclif3.5](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-oclif3.4...v2.0.0-oclif3.5) (2024-04-11)


### Bug Fixes

* update dependencies ([4f1a3c0](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/4f1a3c0a8a6f96dd238a5a031212832adc20de65))

# [2.0.0-oclif3.4](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-oclif3.3...v2.0.0-oclif3.4) (2024-02-23)


### Bug Fixes

* fix update package ([5db682c](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/5db682c441f98426a5414926e52de17c113e56a8))

# [2.0.0-oclif3.3](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-oclif3.2...v2.0.0-oclif3.3) (2024-02-22)


### Performance Improvements

* update engine ([2b41c33](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/2b41c33ef8f5cc737a280d850ee4b5a6e43d698a))


### BREAKING CHANGES

* remove support for node.js <20

# [2.0.0-oclif3.2](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v2.0.0-oclif3.1...v2.0.0-oclif3.2) (2024-02-21)


### Bug Fixes

* update dependencies ([7dde2e8](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/7dde2e87ff8f618725b56d24c761189fb71ce717))

# [2.0.0-oclif3.1](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v1.6.2...v2.0.0-oclif3.1) (2024-02-13)


### Performance Improvements

* upgrade to oclif 3 ([7a64c49](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/7a64c496c8c6645251299a853d5280837d577a3d))


### BREAKING CHANGES

* Revert "perf: upgrade to oclif 3" ([180a9f5](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/180a9f55a421670911e4ce3bb6e7877522dbbbbf))
* Revert "chore(release): 2.0.0 [skip ci]" ([dc14abe](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/commit/dc14abe2013a321bdb0416f4473e567723b2b12d))
* the framework oclif and its plugins have been migrated to next major version

## [1.6.2](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/compare/v1.6.1...v1.6.2) (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})
})()
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@commercelayer/cli-plugin-microstore",
"description": "Commerce Layer CLI microstore plugin",
"version": "2.0.1",
"version": "3.0.0-rc.1",
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-microstore/issues",
"engines": {
"node": "^16.13.0 || >=18.0.0"
"node": ">=20"
},
"files": [
"/bin",
"/bin/run.*",
"/lib",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
Expand Down Expand Up @@ -53,28 +53,28 @@
},
"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": "^2.5.6",
"@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/mocha": "^10.0.6",
"@types/node": "^20.11.13",
"@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.4.2",
"semantic-release": "^22.0.12",
"ts-node": "^10.9.2",
"oclif": "^4.9.0",
"semantic-release": "^23.0.8",
"tsx": "^4.7.3",
"typescript": "5.3.3"
},
"dependencies": {
"@commercelayer/cli-core": "^4.11.4",
"@commercelayer/sdk": "^5.31.0",
"@oclif/core": "^2.15.0",
"@commercelayer/cli-core": "^5.0.0",
"@commercelayer/sdk": "^6.0.0",
"@oclif/core": "^3.26.4",
"open": "^8.4.2",
"tslib": "^2.6.2"
},
Expand Down
Loading

0 comments on commit ed172b2

Please sign in to comment.