Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Feb 5, 2024
1 parent ce5164c commit 0b2cb4c
Show file tree
Hide file tree
Showing 11 changed files with 418 additions and 503 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
strict-peer-dependencies=true
auto-install-peers=true
link-workspace-packages=false
registry=https://registry.npmjs.org/
ignore-workspace-root-check=true
shared-workspace-lockfile=false
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@
"devDependencies": {
"@commitlint/cli": "^18.4.1",
"@minko-fe/commitlint-config": "^2.0.7",
"@minko-fe/eslint-config": "^2.0.7",
"@minko-fe/eslint-config": "^2.1.2",
"@minko-fe/tsconfig": "^2.0.7",
"@types/cross-spawn": "^6.0.5",
"@types/node": "^18.14.4",
"@types/prompts": "^2.4.4",
"bumpp": "^9.2.0",
"conventional-changelog-cli": "^4.1.0",
"cross-env": "^7.0.3",
"eslint": "8.53.0",
"eslint": "^8.56.0",
"npm-run-all": "^4.1.5",
"simple-git-hooks": "^2.9.0",
"taze": "^0.12.0",
Expand Down
798 changes: 347 additions & 451 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

35 changes: 21 additions & 14 deletions src/template-next-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"@ant-design/cssinjs": "^1.7.1",
"@ant-design/icons": "^5.2.6",
"@formatjs/intl-localematcher": "^0.4.2",
"@minko-fe/axios-pro": "^0.1.17",
"@minko-fe/lodash-pro": "^0.1.17",
"@minko-fe/react-component": "^0.1.17",
"@minko-fe/react-hook": "^0.1.17",
"@minko-fe/axios-pro": "^0.1.18",
"@minko-fe/lodash-pro": "^0.2.0",
"@minko-fe/react-component": "^0.1.18",
"@minko-fe/react-hook": "^0.2.0",
"antd": "^5.4.0",
"classnames": "^2.3.2",
"context-state": "^2.1.0",
Expand All @@ -54,23 +54,23 @@
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@minko-fe/commitlint-config": "^2.0.7",
"@minko-fe/eslint-config": "^2.0.8",
"@minko-fe/postcss-config": "^0.1.17",
"@minko-fe/eslint-config": "^2.1.2",
"@minko-fe/postcss-config": "^0.1.18",
"@minko-fe/tsconfig": "^2.0.7",
"@types/crypto-js": "^4.1.3",
"@types/js-cookie": "^3.0.5",
"@types/negotiator": "^0.6.2",
"@types/node": "^20.8.10",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/crypto-js": "^4.2.2",
"@types/js-cookie": "^3.0.6",
"@types/negotiator": "^0.6.3",
"@types/node": "^20.11.16",
"@types/react": "^18.2.52",
"@types/react-dom": "^18.2.18",
"@types/url-parse": "^1.4.11",
"cross-env": "^7.0.3",
"eslint": "^8.52.0",
"eslint": "^8.56.0",
"eslint-config-next": "14.0.1",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"next-transpile-modules": "^10.0.1",
"postcss": "^8.4.31",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"turbo": "^1.12.2",
"typescript": "5.0.3",
Expand All @@ -79,6 +79,13 @@
"engines": {
"node": ">=16.8.0"
},
"pnpm": {
"peerDependencyRules": {
"allowAny": [
"tailwindcss"
]
}
},
"lint-staged": {
"!(public/**)/*.{js,jsx,ts,tsx,json}": "npm run lint-staged:js"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { memo } from 'react'

export type FooterProps = {}

function Footer(props: FooterProps) {
function Footer() {
return <footer>footer</footer>
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { memo } from 'react'

export type HeaderProps = {}

function Header(props: HeaderProps) {
function Header() {
return <header>header</header>
}

Expand Down
37 changes: 22 additions & 15 deletions src/template-react-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
},
"dependencies": {
"@ant-design/cssinjs": "^1.17.2",
"@minko-fe/axios-pro": "^0.1.17",
"@minko-fe/lodash-pro": "^0.1.17",
"@minko-fe/react-component": "^0.1.17",
"@minko-fe/react-hook": "^0.1.17",
"@minko-fe/react-locale": "^0.1.17",
"@minko-fe/react-route": "^0.1.17",
"@minko-fe/vite-config": "^0.1.17",
"@minko-fe/axios-pro": "^0.1.18",
"@minko-fe/lodash-pro": "^0.2.0",
"@minko-fe/react-component": "^0.1.18",
"@minko-fe/react-hook": "^0.2.0",
"@minko-fe/react-locale": "^0.1.18",
"@minko-fe/react-route": "^0.1.18",
"@minko-fe/vite-config": "^0.1.18",
"antd": "^5.11.1",
"context-state": "^2.1.0",
"framer-motion": "^6.3.16",
Expand All @@ -40,18 +40,18 @@
"devDependencies": {
"@commitlint/cli": "^17.5.1",
"@minko-fe/commitlint-config": "^2.0.7",
"@minko-fe/eslint-config": "^2.0.8",
"@minko-fe/postcss-config": "^0.1.17",
"@minko-fe/eslint-config": "^2.1.2",
"@minko-fe/postcss-config": "^0.1.18",
"@minko-fe/tsconfig": "^2.0.7",
"@types/node": "^18.14.4",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.4",
"@types/node": "^20.11.16",
"@types/react": "^18.2.53",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"cross-env": "^7.0.3",
"eslint": "^8.52.0",
"eslint": "^8.56.0",
"husky": "^8.0.1",
"lint-staged": "13.1.2",
"tailwindcss": "^3.4.1",
"tailwindcss": "^3.2.7",
"turbo": "^1.12.2",
"typescript": "^5.0.2",
"vite": "^4.4.9",
Expand All @@ -60,6 +60,13 @@
"engines": {
"node": ">=16.18.0"
},
"pnpm": {
"peerDependencyRules": {
"allowAny": [
"tailwindcss"
]
}
},
"lint-staged": {
"!(dist/**)/*.{js,jsx,ts,tsx}": "pnpm run lint-staged:js"
}
Expand Down
3 changes: 1 addition & 2 deletions src/template-react-i18n/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { i18nDetector } from '@minko-fe/react-locale/plugin'
import { injectScripts, overrideConfig } from '@minko-fe/vite-config'
import { Env } from '@minko-fe/vite-config/client'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import { publicTypescript } from 'vite-plugin-public-typescript'

function setupScripts(mode: string) {
function setupScripts(_mode: string) {
const scripts: ReturnType<Parameters<typeof injectScripts>[0]> = []

return injectScripts((manifest) => {
Expand Down
33 changes: 20 additions & 13 deletions src/template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
},
"dependencies": {
"@ant-design/cssinjs": "^1.17.2",
"@minko-fe/axios-pro": "^0.1.17",
"@minko-fe/lodash-pro": "^0.1.17",
"@minko-fe/react-component": "^0.1.17",
"@minko-fe/react-hook": "^0.1.17",
"@minko-fe/react-route": "^0.1.17",
"@minko-fe/vite-config": "^0.1.17",
"@minko-fe/axios-pro": "^0.1.18",
"@minko-fe/lodash-pro": "^0.2.0",
"@minko-fe/react-component": "^0.1.18",
"@minko-fe/react-hook": "^0.2.0",
"@minko-fe/react-route": "^0.1.18",
"@minko-fe/vite-config": "^0.1.18",
"antd": "^5.11.1",
"context-state": "^2.1.0",
"framer-motion": "^6.3.16",
Expand All @@ -39,18 +39,18 @@
"devDependencies": {
"@commitlint/cli": "^17.5.1",
"@minko-fe/commitlint-config": "^2.0.7",
"@minko-fe/eslint-config": "^2.0.7",
"@minko-fe/postcss-config": "^0.1.16",
"@minko-fe/eslint-config": "^2.1.2",
"@minko-fe/postcss-config": "^0.1.18",
"@minko-fe/tsconfig": "^2.0.7",
"@types/node": "^18.14.4",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.4",
"@types/react": "^18.2.52",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"cross-env": "^7.0.3",
"eslint": "^8.52.0",
"eslint": "^8.56.0",
"husky": "^8.0.1",
"lint-staged": "13.1.2",
"tailwindcss": "^3.4.0",
"tailwindcss": "3.2.7",
"turbo": "^1.12.2",
"typescript": "^5.0.2",
"vite": "^4.4.9",
Expand All @@ -59,6 +59,13 @@
"engines": {
"node": ">=16.18.0"
},
"pnpm": {
"peerDependencyRules": {
"allowAny": [
"tailwindcss"
]
}
},
"lint-staged": {
"!(dist/**)/*.{js,jsx,ts,tsx}": "npm run lint-staged:js"
}
Expand Down
3 changes: 1 addition & 2 deletions src/template-react/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { injectScripts, overrideConfig } from '@minko-fe/vite-config'
import { Env } from '@minko-fe/vite-config/client'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import { publicTypescript } from 'vite-plugin-public-typescript'

function setupScripts(mode: string) {
function setupScripts(_mode: string) {
const scripts: ReturnType<Parameters<typeof injectScripts>[0]> = []

return injectScripts((manifest) => {
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from 'tsup'
export const tsup = defineConfig((option) => ({
entry: ['src/index.ts'],
target: 'node16',
dts: true,
dts: false,
clean: !option.watch,
format: ['cjs', 'esm'],
platform: 'node',
Expand Down

0 comments on commit 0b2cb4c

Please sign in to comment.