diff --git a/.codeclimate.yml b/.codeclimate.yml index befcc99e..0afcbcb2 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -8,10 +8,10 @@ engines: enabled: true ratings: paths: - - "**.js" + - '**.js' exclude_paths: -- config/ -- app/ -- addon/ -- tests/ -- vendor/ + - config/ + - app/ + - addon/ + - tests/ + - vendor/ diff --git a/.eslintrc.js b/.eslintrc.js index 8a0755d0..ba2b291e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,54 +1,19 @@ module.exports = { - root: true, + extends: ['eslint:recommended', 'plugin:n/recommended', 'prettier'], + overrides: [ + { + env: { mocha: true }, + files: ['test/**/*.js'], + }, + ], parser: '@babel/eslint-parser', parserOptions: { ecmaVersion: 'latest', requireConfigFile: false, - sourceType: 'module' + sourceType: 'script', + }, + root: true, + rules: { + 'n/no-process-exit': 'off', }, - extends: [ - 'eslint:recommended', - 'plugin:prettier/recommended', - ], - rules: {}, - overrides: [ - // node files - { - files: [ - '.template-lintrc.js', - 'ember-cli-build.js', - 'index.js', - 'testem.js', - 'blueprints/*/index.js', - 'config/**/*.js', - 'tests/dummy/config/**/*.js', - 'test/**/*.js', - 'lib/**/*.js' - ], - excludedFiles: [ - 'addon/**', - 'addon-test-support/**', - 'app/**', - 'tests/dummy/app/**' - ], - parserOptions: { - sourceType: 'script', - ecmaVersion: 2018 - }, - env: { - browser: false, - node: true - }, - extends: ['plugin:node/recommended'], - rules: { - // add your custom rules and overrides for node files here - 'no-process-exit': 'off' - } - }, - // test files - { - env: { mocha: true }, - files: ['test/**/*.js'], - } - ] }; diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8e041332..7b3214e6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,91 +1,88 @@ version: 2 updates: -- package-ecosystem: npm - directory: "/" - schedule: - interval: weekly - day: wednesday - time: "03:00" - open-pull-requests-limit: 10 - ignore: - - dependency-name: ember-cli - versions: - - 3.24.0 - - 3.25.0 - - 3.25.1 - - 3.25.2 - - 3.25.3 - - 3.26.0 - - dependency-name: eslint - versions: - - 7.18.0 - - 7.19.0 - - 7.20.0 - - 7.21.0 - - 7.22.0 - - 7.23.0 - - 7.24.0 - - dependency-name: eslint-config-prettier - versions: - - 7.2.0 - - 8.0.0 - - 8.1.0 - - 8.2.0 - - dependency-name: release-it - versions: - - 14.2.2 - - 14.3.0 - - 14.4.0 - - 14.4.1 - - 14.5.0 - - 14.5.1 - - dependency-name: y18n - versions: - - 4.0.1 - - 4.0.2 - - dependency-name: eslint-plugin-prettier - versions: - - 3.3.1 - - dependency-name: fs-extra - update-types: ["version-update:semver-major"] -- package-ecosystem: npm - directory: "/smoke-test-app" - schedule: - interval: weekly - day: wednesday - time: "03:00" - open-pull-requests-limit: 10 - ignore: - - dependency-name: ember-cli - versions: - - 3.24.0 - - 3.25.0 - - 3.25.1 - - 3.25.2 - - 3.25.3 - - 3.26.0 - - dependency-name: y18n - versions: - - 4.0.1 - - 4.0.2 - - dependency-name: ember-cli-babel - versions: - - 7.23.1 - - 7.26.2 - - dependency-name: ember-source - versions: - - 3.24.1 - - 3.25.0 - - 3.25.1 - - 3.25.3 - - 3.26.0 - - dependency-name: ember-cli-htmlbars - versions: - - 5.3.2 - - 5.6.2 - - 5.6.4 - - 5.6.5 - - dependency-name: ember-data - versions: - - 3.24.0 - - 3.25.0 + - package-ecosystem: npm + directory: '/' + schedule: + interval: weekly + day: wednesday + time: '03:00' + open-pull-requests-limit: 10 + ignore: + - dependency-name: ember-cli + versions: + - 3.24.0 + - 3.25.0 + - 3.25.1 + - 3.25.2 + - 3.25.3 + - 3.26.0 + - dependency-name: eslint + versions: + - 7.18.0 + - 7.19.0 + - 7.20.0 + - 7.21.0 + - 7.22.0 + - 7.23.0 + - 7.24.0 + - dependency-name: eslint-config-prettier + versions: + - 7.2.0 + - 8.0.0 + - 8.1.0 + - 8.2.0 + - dependency-name: release-it + versions: + - 14.2.2 + - 14.3.0 + - 14.4.0 + - 14.4.1 + - 14.5.0 + - 14.5.1 + - dependency-name: y18n + versions: + - 4.0.1 + - 4.0.2 + - dependency-name: fs-extra + update-types: ['version-update:semver-major'] + - package-ecosystem: npm + directory: '/smoke-test-app' + schedule: + interval: weekly + day: wednesday + time: '03:00' + open-pull-requests-limit: 10 + ignore: + - dependency-name: ember-cli + versions: + - 3.24.0 + - 3.25.0 + - 3.25.1 + - 3.25.2 + - 3.25.3 + - 3.26.0 + - dependency-name: y18n + versions: + - 4.0.1 + - 4.0.2 + - dependency-name: ember-cli-babel + versions: + - 7.23.1 + - 7.26.2 + - dependency-name: ember-source + versions: + - 3.24.1 + - 3.25.0 + - 3.25.1 + - 3.25.3 + - 3.26.0 + - dependency-name: ember-cli-htmlbars + versions: + - 5.3.2 + - 5.6.2 + - 5.6.4 + - 5.6.5 + - dependency-name: ember-data + versions: + - 3.24.0 + - 3.25.0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da9d73fa..08ead61c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - run: yarn install - run: yarn lint test: - name: "Tests" + name: 'Tests' runs-on: ubuntu-latest timeout-minutes: 10 @@ -46,9 +46,8 @@ jobs: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} - floating: - name: "Floating Dependencies" + name: 'Floating Dependencies' runs-on: ubuntu-latest timeout-minutes: 10 @@ -178,7 +177,7 @@ jobs: - name: install smoke-test-app deps run: npm install working-directory: smoke-test-app - - run: ./node_modules/.bin/ember try:one test2 --config-path='../test/fixtures/dummy-ember-try-config-with-npm-scenarios.js' + - run: ./node_modules/.bin/ember try:one test2 --config-path='../test/fixtures/dummy-ember-try-config-with-npm-scenarios.js' working-directory: smoke-test-app yarn-smoke-tests: @@ -206,7 +205,7 @@ jobs: - name: install smoke-test-app deps run: yarn install working-directory: smoke-test-app - - run: ./node_modules/.bin/ember try:one test2 --config-path='../test/fixtures/dummy-ember-try-config-with-yarn-scenarios.js' + - run: ./node_modules/.bin/ember try:one test2 --config-path='../test/fixtures/dummy-ember-try-config-with-yarn-scenarios.js' working-directory: smoke-test-app windows-smoke-tests: @@ -229,5 +228,5 @@ jobs: - name: install smoke-test-app deps run: npm install working-directory: smoke-test-app - - run: ./node_modules/.bin/ember try:one test2 --config-path='../test/fixtures/dummy-ember-try-config-with-npm-scenarios.js' + - run: ./node_modules/.bin/ember try:one test2 --config-path='../test/fixtures/dummy-ember-try-config-with-npm-scenarios.js' working-directory: smoke-test-app diff --git a/.gitignore b/.gitignore index 2d3d5313..4622456d 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ /testem.log /yarn-error.log +/.eslintcache /.nyc_output *.tgz .scratch diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..20b126aa --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +/CHANGELOG.md diff --git a/README.md b/README.md index f740f142..1077470e 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ or ``` When running in a CI environment where changes are discarded you can skip resetting your environment back to its original state by specifying --skip-cleanup=true as an option to ember try. -*Warning: If you use this option and, without cleaning up, build and deploy as the result of a passing test suite, it will build with the last set of dependencies ember try was run with.* +_Warning: If you use this option and, without cleaning up, build and deploy as the result of a passing test suite, it will build with the last set of dependencies ember try was run with._ ``` ember try:one ember-beta --skip-cleanup=true --- ember test @@ -74,6 +74,7 @@ Displays the configuration that will be used. Also takes an optional `--config-p ### Config ##### versionCompatibility + If you're using `ember-try` with an Ember addon, there is a short cut to test many Ember versions. In your `package.json` under the `ember-addon` key, add the following: ```json @@ -226,6 +227,7 @@ in `package.json`, allowing you to try scenarios in monorepo style repositories. [Yarn's documentation of workspaces](https://yarnpkg.com/lang/en/docs/workspaces/) for more details. ### Video + [![How to use EmberTry](https://i.vimeocdn.com/video/559399937_500.jpg)](https://vimeo.com/157688157) See an example of using `ember-try` for CI [here](https://github.com/kategengler/ember-feature-flags/commit/aaf0226975c76630c875cf6b923fdc23b025aa79), and the resulting build [output](https://travis-ci.org/kategengler/ember-feature-flags/builds/55597086). @@ -234,7 +236,6 @@ See an example of using `ember-try` for CI [here](https://github.com/kategengler - Much credit is due to [Edward Faulkner](https://github.com/ef4) The scripts in [liquid-fire](https://github.com/ef4/liquid-fire) that test against multiple ember versions were the inspiration for this project. - ### Developing - Be sure to run `npm link` and `npm link ember-try`, otherwise any `ember try` commands you run will use the version of ember-try included by ember-cli itself. diff --git a/RELEASE.md b/RELEASE.md index 55e91ed6..4d6ee282 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -17,24 +17,24 @@ guiding principle here is that changelogs are for humans, not machines. When reviewing merged PR's the labels to be used are: -* breaking - Used when the PR is considered a breaking change. -* enhancement - Used when the PR adds a new feature or enhancement. -* bug - Used when the PR fixes a bug included in a previous release. -* documentation - Used when the PR adds or updates documentation. -* internal - Used for internal changes that still require a mention in the +- breaking - Used when the PR is considered a breaking change. +- enhancement - Used when the PR adds a new feature or enhancement. +- bug - Used when the PR fixes a bug included in a previous release. +- documentation - Used when the PR adds or updates documentation. +- internal - Used for internal changes that still require a mention in the changelog/release notes. ## Release Once the prep work is completed, the actual release is straight forward: -* First, ensure that you have installed your projects dependencies: +- First, ensure that you have installed your projects dependencies: ```sh yarn install ``` -* Second, ensure that you have obtained a +- Second, ensure that you have obtained a [GitHub personal access token][generate-token] with the `repo` scope (no other permissions are needed). Make sure the token is available as the `GITHUB_AUTH` environment variable. @@ -47,7 +47,7 @@ yarn install [generate-token]: https://github.com/settings/tokens/new?scopes=repo&description=GITHUB_AUTH+env+variable -* And last (but not least 😁) do your release. +- And last (but not least 😁) do your release. ```sh npx release-it diff --git a/package.json b/package.json index 798ef749..404f1dc6 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,12 @@ "test": "tests" }, "scripts": { - "lint": "eslint .", + "format": "prettier . --cache --write", + "lint": "concurrently --group --prefix-colors auto --timings \"yarn:lint:*(!fix)\"", + "lint:fix": "concurrently --group --prefix-colors auto --timings \"yarn:lint:*:fix\" && yarn format", + "lint:format": "prettier . --cache --check", + "lint:js": "eslint . --cache", + "lint:js:fix": "eslint . --fix", "node-test": "mocha test/**/*.js", "node-test-with-coverage": "nyc --reporter lcov npm run-script node-test", "start": "ember serve", @@ -42,16 +47,17 @@ "walk-sync": "^2.2.0" }, "devDependencies": { + "@babel/core": "^7.26.0", "@babel/eslint-parser": "^7.25.9", "@release-it-plugins/lerna-changelog": "^7.0.0", "chai": "^4.4.1", "chai-as-promised": "^7.1.1", "codecov": "^3.8.3", + "concurrently": "^9.1.0", "ember-cli": "~5.12.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-n": "^17.15.0", "mocha": "^10.8.2", "mockery": "^2.1.0", "nyc": "^17.1.0", diff --git a/smoke-test-app/README.md b/smoke-test-app/README.md index 96a5bd07..8cc5fbac 100644 --- a/smoke-test-app/README.md +++ b/smoke-test-app/README.md @@ -2,13 +2,11 @@ [Short description of the addon.] - ## Compatibility -* Ember.js v3.28 or above -* Ember CLI v3.28 or above -* Node.js v14 or above - +- Ember.js v3.28 or above +- Ember CLI v3.28 or above +- Node.js v14 or above ## Installation @@ -16,17 +14,14 @@ ember install smoke-test-app ``` - ## Usage [Longer description of how to use the addon in apps.] - ## Contributing See the [Contributing](CONTRIBUTING.md) guide for details. - ## License This project is licensed under the [MIT License](LICENSE.md). diff --git a/smoke-test-app/tests/dummy/app/index.html b/smoke-test-app/tests/dummy/app/index.html index 8c195bc4..54f8190d 100644 --- a/smoke-test-app/tests/dummy/app/index.html +++ b/smoke-test-app/tests/dummy/app/index.html @@ -1,15 +1,15 @@ - + - + Dummy - - + + {{content-for "head"}} - - + + {{content-for "head-footer"}} diff --git a/smoke-test-app/tests/dummy/config/ember-cli-update.json b/smoke-test-app/tests/dummy/config/ember-cli-update.json index eaccc83a..3e178f83 100644 --- a/smoke-test-app/tests/dummy/config/ember-cli-update.json +++ b/smoke-test-app/tests/dummy/config/ember-cli-update.json @@ -10,10 +10,7 @@ "outputRepo": "https://github.com/ember-cli/ember-addon-output", "codemodsSource": "ember-addon-codemods-manifest@1", "isBaseBlueprint": true, - "options": [ - "--yarn", - "--no-welcome" - ] + "options": ["--yarn", "--no-welcome"] } ] } diff --git a/smoke-test-app/tests/dummy/config/ember-try.js b/smoke-test-app/tests/dummy/config/ember-try.js index 2fd8f9bb..1ae731e3 100644 --- a/smoke-test-app/tests/dummy/config/ember-try.js +++ b/smoke-test-app/tests/dummy/config/ember-try.js @@ -11,7 +11,7 @@ module.exports = async function () { npm: { devDependencies: { 'ember-source': '~3.28.0', - 'ember-resolver': "^8.0.0", + 'ember-resolver': '^8.0.0', }, }, }, @@ -20,7 +20,7 @@ module.exports = async function () { npm: { devDependencies: { 'ember-source': '~4.4.0', - 'ember-resolver': "^8.0.0", + 'ember-resolver': '^8.0.0', }, }, }, diff --git a/smoke-test-app/tests/index.html b/smoke-test-app/tests/index.html index 85ef6c23..f60bb243 100644 --- a/smoke-test-app/tests/index.html +++ b/smoke-test-app/tests/index.html @@ -1,24 +1,21 @@ - + - + SmokeTestApp Tests - - + + - {{content-for "head"}} - {{content-for "test-head"}} + {{content-for "head"}} {{content-for "test-head"}} - - - + + + - {{content-for "head-footer"}} - {{content-for "test-head-footer"}} + {{content-for "head-footer"}} {{content-for "test-head-footer"}} - {{content-for "body"}} - {{content-for "test-body"}} + {{content-for "body"}} {{content-for "test-body"}}
@@ -33,7 +30,6 @@ - {{content-for "body-footer"}} - {{content-for "test-body-footer"}} + {{content-for "body-footer"}} {{content-for "test-body-footer"}} diff --git a/test/fixtures/package-with-workspaces.json b/test/fixtures/package-with-workspaces.json index 2fa202ad..bfb045d7 100644 --- a/test/fixtures/package-with-workspaces.json +++ b/test/fixtures/package-with-workspaces.json @@ -1,6 +1,4 @@ { "name": "a-test-project-with-workspaces", - "workspaces": [ - "packages/*" - ] + "workspaces": ["packages/*"] } diff --git a/test/fixtures/package.json b/test/fixtures/package.json index 1a259295..26283422 100644 --- a/test/fixtures/package.json +++ b/test/fixtures/package.json @@ -1,7 +1,6 @@ { "name": "a-test-project", - "devDependencies": { - }, + "devDependencies": {}, "repository": "kategengler/ember-try", "private": true, "version": "1.0.0", diff --git a/yarn.lock b/yarn.lock index eddba9af..c41bdee6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -70,7 +70,7 @@ json5 "^2.2.3" semver "^6.3.1" -"@babel/core@^7.23.9": +"@babel/core@^7.23.9", "@babel/core@^7.26.0": version "7.26.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.26.0.tgz#d78b6023cc8f3114ccf049eb219613f74a747b40" integrity sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg== @@ -460,6 +460,13 @@ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== +"@eslint-community/eslint-utils@^4.1.2", "@eslint-community/eslint-utils@^4.4.1": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz#d1145bf2c20132d6400495d6df4bf59362fd9d56" + integrity sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA== + dependencies: + eslint-visitor-keys "^3.4.3" + "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" @@ -467,6 +474,11 @@ dependencies: eslint-visitor-keys "^3.3.0" +"@eslint-community/regexpp@^4.11.0": + version "4.12.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz#cfc6cffe39df390a3841cde2abccf92eaa7ae0e0" + integrity sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ== + "@eslint-community/regexpp@^4.6.1": version "4.10.0" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" @@ -746,11 +758,6 @@ dependencies: "@octokit/openapi-types" "^22.2.0" -"@pkgr/core@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31" - integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA== - "@pnpm/config.env-replace@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c" @@ -2423,6 +2430,19 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= +concurrently@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-9.1.0.tgz#8da6d609f4321752912dab9be8710232ac496aa0" + integrity sha512-VxkzwMAn4LP7WyMnJNbHN5mKV9L2IbyDjpzemKr99sXNR3GqRNMMHdm7prV1ws9wg7ETj6WUkNOigZVsptwbgg== + dependencies: + chalk "^4.1.2" + lodash "^4.17.21" + rxjs "^7.8.1" + shell-quote "^1.8.1" + supports-color "^8.1.1" + tree-kill "^1.2.2" + yargs "^17.7.2" + config-chain@^1.1.11: version "1.1.13" resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" @@ -3111,6 +3131,14 @@ engine.io@~6.5.2: engine.io-parser "~5.2.1" ws "~8.11.0" +enhanced-resolve@^5.17.1: + version "5.17.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz#67bfbbcc2f81d511be77d686a90267ef7f898a15" + integrity sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + ensure-posix-path@^1.0.0, ensure-posix-path@^1.0.1, ensure-posix-path@^1.0.2, ensure-posix-path@^1.1.0, ensure-posix-path@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ensure-posix-path/-/ensure-posix-path-1.1.1.tgz#3c62bdb19fa4681544289edb2b382adc029179ce" @@ -3203,38 +3231,40 @@ escodegen@^2.1.0: optionalDependencies: source-map "~0.6.1" +eslint-compat-utils@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/eslint-compat-utils/-/eslint-compat-utils-0.5.1.tgz#7fc92b776d185a70c4070d03fd26fde3d59652e4" + integrity sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q== + dependencies: + semver "^7.5.4" + eslint-config-prettier@^9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== -eslint-plugin-es@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893" - integrity sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ== - dependencies: - eslint-utils "^2.0.0" - regexpp "^3.0.0" - -eslint-plugin-node@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d" - integrity sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g== - dependencies: - eslint-plugin-es "^3.0.0" - eslint-utils "^2.0.0" - ignore "^5.1.1" - minimatch "^3.0.4" - resolve "^1.10.1" - semver "^6.1.0" - -eslint-plugin-prettier@^5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz#d1c8f972d8f60e414c25465c163d16f209411f95" - integrity sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw== - dependencies: - prettier-linter-helpers "^1.0.0" - synckit "^0.9.1" +eslint-plugin-es-x@^7.8.0: + version "7.8.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.8.0.tgz#a207aa08da37a7923f2a9599e6d3eb73f3f92b74" + integrity sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ== + dependencies: + "@eslint-community/eslint-utils" "^4.1.2" + "@eslint-community/regexpp" "^4.11.0" + eslint-compat-utils "^0.5.1" + +eslint-plugin-n@^17.15.0: + version "17.15.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.15.0.tgz#c6ab639a7d7761085cff05313753413d898b087e" + integrity sha512-xF3zJkOfLlFOm5TvmqmsnA9/fO+/z2pYs0dkuKXKN/ymS6UB1yEcaoIkqxLKQ9Dw/WmLX/Tdh6/5ZS5azVixFQ== + dependencies: + "@eslint-community/eslint-utils" "^4.4.1" + enhanced-resolve "^5.17.1" + eslint-plugin-es-x "^7.8.0" + get-tsconfig "^4.8.1" + globals "^15.11.0" + ignore "^5.3.2" + minimatch "^9.0.5" + semver "^7.6.3" eslint-scope@5.1.1: version "5.1.1" @@ -3252,18 +3282,6 @@ eslint-scope@^7.2.2: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-utils@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" - integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== - dependencies: - eslint-visitor-keys "^1.1.0" - -eslint-visitor-keys@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== - eslint-visitor-keys@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" @@ -3609,11 +3627,6 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== - fast-glob@^3.0.3: version "3.2.4" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" @@ -4144,6 +4157,13 @@ get-stream@^8.0.1: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2" integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== +get-tsconfig@^4.8.1: + version "4.8.1" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.8.1.tgz#8995eb391ae6e1638d251118c7b56de7eb425471" + integrity sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg== + dependencies: + resolve-pkg-maps "^1.0.0" + get-uri@^6.0.1: version "6.0.3" resolved "https://registry.yarnpkg.com/get-uri/-/get-uri-6.0.3.tgz#0d26697bc13cf91092e519aa63aa60ee5b6f385a" @@ -4271,6 +4291,11 @@ globals@^13.19.0: dependencies: type-fest "^0.20.2" +globals@^15.11.0: + version "15.13.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-15.13.0.tgz#bbec719d69aafef188ecd67954aae76a696010fc" + integrity sha512-49TewVEz0UxZjr1WYYsWpPrhyC/B/pA8Bq0fUmet2n+eR7yn0IvNzNaoBwnK6mdkzcN+se7Ez9zUgULTz2QH4g== + globby@10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.0.tgz#abfcd0630037ae174a88590132c2f6804e291072" @@ -4341,7 +4366,7 @@ graceful-fs@^4.2.0: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== -graceful-fs@^4.2.11: +graceful-fs@^4.2.11, graceful-fs@^4.2.4: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -4702,6 +4727,11 @@ ignore@^5.2.0, ignore@^5.2.4: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== +ignore@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" + integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== + import-fresh@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" @@ -6139,6 +6169,13 @@ minimatch@^7.4.3: dependencies: brace-expansion "^2.0.1" +minimatch@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== + dependencies: + brace-expansion "^2.0.1" + minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" @@ -7054,13 +7091,6 @@ prepend-http@^2.0.0: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= -prettier-linter-helpers@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" - integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== - dependencies: - fast-diff "^1.1.2" - prettier@^2.5.1: version "2.8.8" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" @@ -7331,11 +7361,6 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexpp@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" - integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== - registry-auth-token@^4.0.0: version "4.2.0" resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.0.tgz#1d37dffda72bbecd0f581e4715540213a65eb7da" @@ -7487,12 +7512,17 @@ resolve-path@^1.4.0: http-errors "~1.6.2" path-is-absolute "1.0.1" +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.1.6, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.1: +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.1: version "1.20.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== @@ -7709,7 +7739,7 @@ semver@^5.5.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== -semver@^6.0.0, semver@^6.1.0, semver@^6.2.0, semver@^6.3.0: +semver@^6.0.0, semver@^6.2.0, semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== @@ -7871,6 +7901,11 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== +shell-quote@^1.8.1: + version "1.8.2" + resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.2.tgz#d2d83e057959d53ec261311e9e9b8f51dcb2934a" + integrity sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA== + shelljs@0.8.5: version "0.8.5" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" @@ -8365,14 +8400,6 @@ sync-disk-cache@^1.3.3: rimraf "^2.2.8" username-sync "^1.0.2" -synckit@^0.9.1: - version "0.9.2" - resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.2.tgz#a3a935eca7922d48b9e7d6c61822ee6c3ae4ec62" - integrity sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw== - dependencies: - "@pkgr/core" "^0.1.0" - tslib "^2.6.2" - tap-parser@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/tap-parser/-/tap-parser-7.0.0.tgz#54db35302fda2c2ccc21954ad3be22b2cba42721" @@ -8382,6 +8409,11 @@ tap-parser@^7.0.0: js-yaml "^3.2.7" minipass "^2.2.0" +tapable@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + tar@^6.0.2: version "6.2.1" resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" @@ -8600,6 +8632,11 @@ toidentifier@1.0.1: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== +tree-kill@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" + integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== + tree-sync@^1.2.2: version "1.4.0" resolved "https://registry.yarnpkg.com/tree-sync/-/tree-sync-1.4.0.tgz#314598d13abaf752547d9335b8f95d9a137100d6" @@ -8627,7 +8664,7 @@ tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== -tslib@^2.0.1, tslib@^2.1.0, tslib@^2.6.2: +tslib@^2.0.1, tslib@^2.1.0: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== @@ -9208,7 +9245,7 @@ yargs@^16.0.0, yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" -yargs@^17.1.0: +yargs@^17.1.0, yargs@^17.7.2: version "17.7.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==