Skip to content

Commit

Permalink
Bump the development-dependencies group with 10 updates (#37)
Browse files Browse the repository at this point in the history
* Bump the development-dependencies group with 10 updates

Bumps the development-dependencies group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@stylelint/npm-package-json-lint-config](https://github.com/stylelint/npm-package-json-lint-config) | `3.0.0` | `4.0.0` |
| [@stylelint/prettier-config](https://github.com/stylelint/prettier-config) | `2.0.0` | `3.0.0` |
| [@stylelint/remark-preset](https://github.com/stylelint/remark-preset) | `4.0.0` | `5.0.0` |
| [@types/which-pm-runs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/which-pm-runs) | `1.0.0` | `1.0.2` |
| [eslint](https://github.com/eslint/eslint) | `8.44.0` | `8.55.0` |
| [eslint-config-stylelint](https://github.com/stylelint/eslint-config-stylelint) | `18.0.0` | `20.0.0` |
| [np](https://github.com/sindresorhus/np) | `8.0.2` | `9.1.0` |
| [remark-cli](https://github.com/remarkjs/remark) | `11.0.0` | `12.0.0` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.1.3` | `5.3.3` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `0.31.4` | `1.0.2` |


Updates `@stylelint/npm-package-json-lint-config` from 3.0.0 to 4.0.0
- [Release notes](https://github.com/stylelint/npm-package-json-lint-config/releases)
- [Changelog](https://github.com/stylelint/npm-package-json-lint-config/blob/main/CHANGELOG.md)
- [Commits](stylelint/npm-package-json-lint-config@3.0.0...4.0.0)

Updates `@stylelint/prettier-config` from 2.0.0 to 3.0.0
- [Release notes](https://github.com/stylelint/prettier-config/releases)
- [Changelog](https://github.com/stylelint/prettier-config/blob/main/CHANGELOG.md)
- [Commits](stylelint/prettier-config@2.0.0...3.0.0)

Updates `@stylelint/remark-preset` from 4.0.0 to 5.0.0
- [Release notes](https://github.com/stylelint/remark-preset/releases)
- [Changelog](https://github.com/stylelint/remark-preset/blob/main/CHANGELOG.md)
- [Commits](stylelint/remark-preset@4.0.0...5.0.0)

Updates `@types/which-pm-runs` from 1.0.0 to 1.0.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/which-pm-runs)

Updates `eslint` from 8.44.0 to 8.55.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.44.0...v8.55.0)

Updates `eslint-config-stylelint` from 18.0.0 to 20.0.0
- [Release notes](https://github.com/stylelint/eslint-config-stylelint/releases)
- [Changelog](https://github.com/stylelint/eslint-config-stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/eslint-config-stylelint@18.0.0...20.0.0)

Updates `np` from 8.0.2 to 9.1.0
- [Release notes](https://github.com/sindresorhus/np/releases)
- [Commits](sindresorhus/np@v8.0.2...v9.1.0)

Updates `remark-cli` from 11.0.0 to 12.0.0
- [Release notes](https://github.com/remarkjs/remark/releases)
- [Changelog](https://github.com/remarkjs/remark/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/remark/compare/[email protected]@12.0.0)

Updates `typescript` from 5.1.3 to 5.3.3
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.1.3...v5.3.3)

Updates `vitest` from 0.31.4 to 1.0.2
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.0.2/packages/vitest)

---
updated-dependencies:
- dependency-name: "@stylelint/npm-package-json-lint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: "@stylelint/prettier-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: "@stylelint/remark-preset"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: "@types/which-pm-runs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: eslint-config-stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: np
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: remark-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix lint errors

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Masafumi Koba <[email protected]>
  • Loading branch information
dependabot[bot] and ybiquitous authored Dec 8, 2023
1 parent 8bab1bb commit 63575eb
Show file tree
Hide file tree
Showing 5 changed files with 8,955 additions and 4,704 deletions.
16 changes: 6 additions & 10 deletions create-stylelint.mjs
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
#!/usr/bin/env node
/* eslint-disable no-process-exit */
/* eslint-disable no-console */
'use strict';
/* eslint no-console: 'off' */
/* eslint n/no-process-exit: 'off' */

const currentVersion = process.versions.node;
import process from 'node:process';
import { readFileSync } from 'node:fs';

import { fileURLToPath } from 'node:url';
import fs from 'node:fs';
import path from 'node:path';
import semver from 'semver';

const dirname = path.dirname(fileURLToPath(import.meta.url));
const pkg = JSON.parse(fs.readFileSync(path.join(dirname, 'package.json').toString()));
const currentVersion = process.versions.node;
const pkg = JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8'));

if (!semver.satisfies(currentVersion, pkg.engines.node)) {
console.error(`Unsupported Node.js version (v${currentVersion})`);
console.error(`Install a Node.js version within "${pkg.engines.node}" and then try again.`);
process.exit(1);
}

// eslint-disable-next-line node/no-unsupported-features/es-syntax
import('./src/index.mjs').then(({ main }) => main());
Loading

0 comments on commit 63575eb

Please sign in to comment.