Skip to content

Commit

Permalink
chore: bump all upgradable (dev)Dependencies (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 29, 2023
1 parent c0a761f commit 6561a5e
Show file tree
Hide file tree
Showing 44 changed files with 4,832 additions and 4,227 deletions.
14 changes: 14 additions & 0 deletions .changeset/chilled-rivers-wash.md
@@ -0,0 +1,14 @@
---
"@1stg/app-config": major
"@1stg/babel-preset": major
"@1stg/browserslist-config": major
"@1stg/commitlint-config": major
"@1stg/common-config": major
"@1stg/eslint-config": major
"@1stg/lib-config": major
"@1stg/lint-staged": major
"@1stg/postcss-config": major
"@1stg/prettier-config": major
---

chore: bump all upgradable (dev)Dependencies
3 changes: 2 additions & 1 deletion .codesandbox/ci.json
@@ -1,5 +1,6 @@
{
"node": "16",
"node": "18",
"installCommand": "codesandbox:install",
"buildCommand": false,
"sandboxes": []
}
11 changes: 0 additions & 11 deletions .github/FUNDING.yml

This file was deleted.

7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -16,16 +16,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn

- name: Install Dependencies
run: yarn --frozen-lockfile
run: yarn --frozen-lockfile --ignore-engines

- name: Check, Lint and test
run: |
Expand All @@ -38,7 +38,6 @@ jobs:
PARSER_NO_WATCH: true

- name: Check Postcss
if: ${{ matrix.node != 14 }}
run: npx postcss-cli tests/test.css --verbose
env:
NODE_ENV: production
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/codeql.yml
@@ -1,10 +1,12 @@
name: 'CodeQL'
name: CodeQL

on:
push:
branches: ['master']
branches:
- master
pull_request:
branches: ['master']
branches:
- master
schedule:
- cron: '41 7 * * 1'

Expand All @@ -20,11 +22,12 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [javascript]
language:
- javascript

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pkg-size.yml
Expand Up @@ -12,12 +12,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: 16
node-version: lts/*
cache: yarn

- name: Package Size Report
uses: pkg-size/action@v1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 16
uses: actions/setup-node@v3
- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: 16
node-version: lts/*
cache: yarn

- name: Install Dependencies
Expand All @@ -31,8 +31,8 @@ jobs:
with:
commit: 'chore: release package(s)'
title: 'chore: release package(s)'
# This expects you to have a script called release which does a build for your packages and calls `changeset publish`.
publish: yarn release
version: yarn run version
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -20,6 +20,8 @@

## Backers

[![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)

| 1stG | RxTS | UnTS |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
Expand Down
55 changes: 28 additions & 27 deletions package.json
Expand Up @@ -9,48 +9,49 @@
"workspaces": [
"packages/*"
],
"packageManager": "yarn@1.22.19",
"packageManager": "yarn@1.22.21",
"scripts": {
"check": "run-p check:*",
"check:eslint": "eslint-config-prettier .eslintrc.js",
"check:stylelint": "stylelint-config-prettier-check",
"check": "eslint-config-prettier .eslintrc.js",
"codesandbox:install": "yarn --ignore-engines",
"lint": "run-p lint:*",
"lint:es": "eslint . --cache -f friendly",
"lint:style": "stylelint . --cache",
"lint:tsc": "tsc --noEmit",
"prepare": "patch-package && simple-git-hooks && yarn-deduplicate -s fewer || exit 0",
"release": "changeset publish",
"test": "vitest run --coverage",
"typecov": "type-coverage"
"typecov": "type-coverage",
"version": "changeset version && yarn"
},
"devDependencies": {
"@angular/compiler": "^16.1.1",
"@angular/compiler-cli": "^16.1.1",
"@angular/core": "^16.1.1",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@types/babel__core": "^7.20.1",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/react": "^18.2.13",
"@types/unist": "^2.0.6",
"@vitest/coverage-istanbul": "^0.32.2",
"patch-package": "^7.0.0",
"postcss": "^8.4.24",
"@angular/compiler": "^17.0.8",
"@angular/compiler-cli": "^17.0.8",
"@angular/core": "^17.0.8",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/babel__core": "^7.20.5",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@types/react": "^18.2.46",
"@types/unist": "^3.0.2",
"@vitest/coverage-istanbul": "^1.1.0",
"patch-package": "^8.0.0",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"react": "^18.2.0",
"rxjs": "^7.8.1",
"simple-git-hooks": "^2.8.1",
"svelte": "^3.59.1",
"type-coverage": "^2.26.0",
"typescript": "^5.1.3",
"vitest": "^0.32.2",
"vue": "^3.3.4",
"vue-tsc": "^1.8.0",
"simple-git-hooks": "^2.9.0",
"svelte": "^4.2.8",
"type-coverage": "^2.27.1",
"typescript": "^5.3.3",
"vitest": "^1.1.0",
"vue": "^3.4.0",
"vue-tsc": "^1.8.27",
"yarn-deduplicate": "^6.0.2"
},
"resolutions": {
"@typescript-eslint/type-utils": "^5.60.0",
"prettier": "^2.8.8"
"@babel/core": "^7.23.6",
"@typescript-eslint/type-utils": "^6.16.0"
},
"typeCoverage": {
"atLeast": 100,
Expand Down
6 changes: 3 additions & 3 deletions packages/app-config/package.json
Expand Up @@ -17,9 +17,9 @@
"@1stg/stylelint-config": "^5.1.0",
"@pkgr/es-modules": "^0.6.3",
"@pkgr/imagemin": "^4.1.0",
"browserslist": "^4.21.9",
"postcss": "^8.4.24",
"stylelint": "^15.8.0"
"browserslist": "^4.22.2",
"postcss": "^8.4.32",
"stylelint": "^16.1.0"
},
"publishConfig": {
"access": "public"
Expand Down
18 changes: 9 additions & 9 deletions packages/babel-preset/package.json
Expand Up @@ -15,21 +15,21 @@
"dependencies": {
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@pkgr/utils": "^2.4.1",
"@babel/plugin-proposal-decorators": "^7.23.6",
"@babel/preset-env": "^7.23.6",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@pkgr/utils": "^3.0.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/babel-plugin-jsx": "^1.1.1",
"@vue/babel-plugin-jsx": "^1.1.5",
"@vue/babel-preset-jsx": "^1.4.0",
"babel-plugin-import": "^1.13.6",
"babel-plugin-import": "^1.13.8",
"babel-plugin-transform-async-to-promises": "^0.8.18",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"babel-preset-proposal-typescript": "^3.0.0",
"core-js": "^3.31.0",
"babel-preset-proposal-typescript": "^4.0.0",
"core-js": "^3.35.0",
"fast-async": "^7.0.6"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config/latest.js
@@ -1 +1 @@
module.exports = ['defaults and last 1 version']
module.exports = ['defaults and last 1 version and supports es6-module']
4 changes: 1 addition & 3 deletions packages/browserslist-config/modern.js
@@ -1,5 +1,3 @@
module.exports = [
require('.')
.filter(_ => !_.includes('last') && !_.includes('CN'))
.join(',') + ' and > 1% and last 3 versions and supports es6-module',
'defaults and > 10% and last 3 versions and supports es6-module',
]
6 changes: 3 additions & 3 deletions packages/commitlint-config/package.json
Expand Up @@ -10,9 +10,9 @@
"node": "^14.18.0 || >=16.0.0"
},
"dependencies": {
"@commitlint/config-conventional": "^17.6.5",
"@commitlint/config-lerna-scopes": "^17.6.3",
"@pkgr/utils": "^2.4.1"
"@commitlint/config-conventional": "^18.4.3",
"@commitlint/config-lerna-scopes": "^18.4.3",
"@pkgr/utils": "^3.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
16 changes: 8 additions & 8 deletions packages/common-config/package.json
Expand Up @@ -14,20 +14,20 @@
"@1stg/babel-preset": "^3.2.3",
"@1stg/commitlint-config": "^3.2.0",
"@1stg/eslint-config": "^7.0.1",
"@1stg/lint-staged": "^3.4.1",
"@1stg/lint-staged": "^3.4.2",
"@1stg/markuplint-config": "^3.0.1",
"@1stg/prettier-config": "^3.9.2",
"@1stg/remark-preset": "^2.0.0",
"@1stg/simple-git-hooks": "^0.2.3",
"@1stg/tsconfig": "^2.3.3",
"@babel/core": "^7.22.5",
"@commitlint/cli": "^17.6.5",
"eslint": "^8.43.0",
"lint-staged": "^13.2.2",
"@babel/core": "^7.23.6",
"@commitlint/cli": "^18.4.3",
"eslint": "^8.56.0",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.8.1",
"tslib": "^2.5.3"
"prettier": "^3.1.1",
"simple-git-hooks": "^2.9.0",
"tslib": "^2.6.2"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 5 additions & 3 deletions packages/eslint-config/_util.js
Expand Up @@ -4,12 +4,12 @@ const { preferPrettier } = require('@1stg/config')
const {
isMonorepo,
isPkgAvailable,
monorepoPkgs,
getMonorepoPkgs,
tryRequirePkg,
} = require('@pkgr/utils')

if (isMonorepo) {
exports.allowModules = monorepoPkgs.reduce((acc, pkg) => {
if (isMonorepo()) {
exports.allowModules = getMonorepoPkgs().reduce((acc, pkg) => {
const pkgJson = tryRequirePkg(path.resolve(pkg, 'package.json'))
if (!pkgJson) {
return acc
Expand All @@ -24,6 +24,8 @@ if (isMonorepo) {
}, [])
}

exports.isTsAvailable = isPkgAvailable('typescript')

exports.isWebpackAvailable = isPkgAvailable('webpack')

// https://webpack.js.org/api/module-variables/#__resourcequery-webpack-specific
Expand Down
5 changes: 3 additions & 2 deletions packages/eslint-config/base.js
@@ -1,7 +1,8 @@
const { isTsAvailable } = require('@pkgr/utils')
const { isPkgAvailable } = require('@pkgr/utils')
const { getGlobals } = require('eslint-plugin-mdx')

const {
isTsAvailable,
isWebpackAvailable,
magicNumbers,
webpackSpecVars,
Expand All @@ -18,7 +19,7 @@ module.exports = {
'plugin:promise/recommended',
'plugin:regexp/recommended',
'plugin:sonarjs/recommended',
isTsAvailable && 'plugin:sonar/recommended',
isPkgAvailable('typescript') && 'plugin:sonar/recommended',
'plugin:unicorn/recommended',
'standard',
...prettierExtends,
Expand Down

0 comments on commit 6561a5e

Please sign in to comment.