Skip to content

Commit

Permalink
chore: bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhengqbbb committed Jul 22, 2024
1 parent 2cba186 commit 0b853d0
Show file tree
Hide file tree
Showing 9 changed files with 3,942 additions and 3,742 deletions.
2 changes: 1 addition & 1 deletion .czrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://cdn.jsdelivr.net/gh/Zhengqbbb/cz-git@1.6.0/docs/public/schema/cz-git.json",
"$schema": "https://cdn.jsdelivr.net/gh/Zhengqbbb/cz-git@1.9.4/docs/public/schema/cz-git.json",
"path": "node_modules/cz-git",
"scopes": [
"cli",
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,32 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
check:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node_version: ['16', '18', '20']
node_version: ['18', '20']

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 50

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7

- name: Use Node.js ${{ matrix.node }}
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: ${{ matrix.node_version }}
cache: pnpm

- name: Install dependencies
Expand Down
68 changes: 28 additions & 40 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,40 @@
"files.associations": {
"**/.x-cmd/*": "shellscript",
"**/.x-cmd/*.yml": "yaml",
".czrc": "json",
"*.css": "postcss",
".czrc": "json",
"_headers": "properties",
"_redirects": "properties"
},
"files.trimTrailingWhitespace": true,
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,
// (remove this if your ESLint extension above v3.0.5)
"eslint.useFlatConfig": true,

// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},

// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{
"rule": "style/*",
"severity": "off"
},
{
"rule": "*-indent",
"severity": "off"
},
{
"rule": "*-spacing",
"severity": "off"
},
{
"rule": "*-spaces",
"severity": "off"
},
{
"rule": "*-order",
"severity": "off"
},
{
"rule": "*-dangle",
"severity": "off"
},
{
"rule": "*-newline",
"severity": "off"
},
{
"rule": "*quotes",
"severity": "off"
},
{
"rule": "*semi",
"severity": "off"
}
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
Expand All @@ -65,9 +44,18 @@
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
"yaml",
"toml",
"xml",
"gql",
"graphql",
"astro",
"css",
"less",
"scss",
"pcss",
"postcss"
]
}
17 changes: 0 additions & 17 deletions build.config.ts

This file was deleted.

36 changes: 12 additions & 24 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu(
{
yaml: false,
stylistic: { indent: 4 },
ignores: ['components.d.ts'],
},
{
rules: {
'no-new': 'off',
'no-console': 'off',
'import/export': 'off',
},
},
{
files: ['**/*.json'],
rules: {
'indent': ['error', 2],
'jsonc/indent': ['error', 2],
overrides: {
jsonc: {
'indent': ['error', 2],
'jsonc/indent': ['error', 2],
},
javascript: {
'no-console': 'off',
},
typescript: {
'ts/ban-ts-comment': 'off',
},
},
ignores: [],
},
// #region vue
// {
// files: ['**/*.vue'],
// rules: {
// 'vue/html-indent': ['error', 2],
// 'vue/script-indent': ['error', 4],
// },
// },
// #endregion
)
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "@qbbsh/starter-cli",
"type": "module",
"version": "1.5.2-beta.1",
"version": "1.5.2-beta.2",
"packageManager": "[email protected]",
"description": "cli stater",
"author": "Q.Ben Zheng <[email protected]> (https://github.com/Zhengqbbb/)",
"license": "MIT",
Expand Down Expand Up @@ -42,7 +43,7 @@
"postinstall": "simple-git-hooks",
"prepack": "run-s lint build",
"release": "run-s release:bump release:publish",
"release:next": "bumpp --no-commit --no-tag && pnpm publish --tag next --no-git-checks",
"release:next": "bumpp --no-commit --no-push --no-tag && pnpm publish --tag next --no-git-checks",
"release:bump": "bumpp -y -c 'build: :bookmark: publish v%s'",
"release:publish": "pnpm publish"
},
Expand Down
Loading

0 comments on commit 0b853d0

Please sign in to comment.