Skip to content

Commit

Permalink
@oclif/core v4 (#1059)
Browse files Browse the repository at this point in the history
* chore: bump major version

* feat: slimmer ux (#1056)

* chore: bump major version

* feat: slimmer ux module

* test: no fancy-tests

* chore(release): 4.0.0-v4.0 [skip ci]

* chore: code review

* chore(release): 4.0.0-v4.1 [skip ci]

* chore(release): 4.0.0-beta.1 [skip ci]

* chore: remove duplicate dep

* test: windows unit tests

* test: windows unit tests

---------

Co-authored-by: svc-cli-bot <Svc_cli_bot@salesforce.com>

* chore(release): 4.0.0-beta.2 [skip ci]

* feat: add customizable logger

* feat: remove native error logger

* fix: cache child loggers

* chore(release): 4.0.0-beta.3 [skip ci]

* chore(release): 4.0.0-beta.4 [skip ci]

* feat: support rc files (#1067)

* feat: support rc files

* chore: code review

* chore(release): 4.0.0-beta.5 [skip ci]

* chore(release): 4.0.0-beta.6 [skip ci]

* fix: revert ignoreDuplicates in warn

* chore(release): 4.0.0-beta.7 [skip ci]

* feat: improved types and top-level exports (#1076)

* feat: improved PJSON type

* feat: enable exactOptionalPropertyTypes

* feat: theme can be object or file path

* feat: support target and identifier for helpClass

* chore: add jsdocs to Configuration type

* fix: add back scope to pjson type

* feat: top level exports

* fix: simplify ux export

* chore: cleanup

* feat: export logger too

* chore(release): 4.0.0-beta.8 [skip ci]

* feat: remove baseFlags

* test: use oclif/test v4 and improve test coverage

* fix: clarify types

* test: use default sinon sandbox

* test: use new major of oclif/test

* test: add interop test for core v3

* test: skip spinner test on windows

* chore: code review

* chore(release): 4.0.0-beta.9 [skip ci]

* fix: restore baseFlags support (#1085)

* chore(release): 4.0.0-beta.10 [skip ci]

* fix: improve types and ProdOnlyCache

* chore(release): 4.0.0-beta.11 [skip ci]

* fix: update hook type

* chore(release): 4.0.0-beta.12 [skip ci]

* fix: allow empty ux.stdout

* chore(release): 4.0.0-beta.13 [skip ci]

* chore: add ux README

* fix: check supports-color in colorize

* chore(release): 4.0.0-beta.14 [skip ci]

* feat: support tsx for runtime transpilation

* chore(release): 4.0.0-beta.15 [skip ci]

* chore(release): 4.0.0-beta.16 [skip ci]

---------

Co-authored-by: svc-cli-bot <Svc_cli_bot@salesforce.com>
Co-authored-by: Steve Hetzel <shetzel@salesforce.com>
Co-authored-by: Willie Ruemmele <willieruemmele@gmail.com>
  • Loading branch information
4 people authored Jun 4, 2024
1 parent db3ad80 commit 88ca967
Show file tree
Hide file tree
Showing 148 changed files with 4,500 additions and 7,249 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"extends": ["oclif", "oclif-typescript", "prettier"],
"rules": {
"unicorn/prefer-module": "off",
"unicorn/no-array-reduce": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"import/no-named-as-default-member": "off",
"no-useless-constructor": "off",
"perfectionist/sort-intersection-types": "off",
"perfectionist/sort-object-types": "off",
"perfectionist/sort-union-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"unicorn/no-array-reduce": "off",
"unicorn/prefer-module": "off",
"valid-jsdoc": "off"
}
}
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
node_version: [lts/*, latest]
test: [esm, cjs, precore, coreV1, coreV2, esbuild]
test: [esm, cjs, precore, coreV1, coreV2, coreV3, esbuild]
dev_runtime: [default, bun, tsx]
exclude:
- os: windows-latest
Expand All @@ -99,6 +99,10 @@ jobs:
dev_runtime: tsx
- test: coreV2
dev_runtime: bun
- test: coreV3
dev_runtime: tsx
- test: coreV3
dev_runtime: bun
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 75
Expand Down
15 changes: 4 additions & 11 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
"recursive": true,
"reporter": "spec",
"require": [
"test/helpers/init.js",
"ts-node/register"
],
"require": ["test/helpers/init.js", "ts-node/register"],
"timeout": 60000,
"watch-extensions": [
"ts"
],
"watch-files": [
"src",
"test"
]
"watch-extensions": ["ts"],
"watch-files": ["src", "test"],
"watch-ignore": ["test/tmp"]
}
Loading

0 comments on commit 88ca967

Please sign in to comment.