forked from LemmyNet/lemmy-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch from yarn to pnpm. * Moving from yarn to pnpm. * Try 2 * Try 3 * Try 4 * Try 5 * Try 6 * Adding qs. * Try corepack. * Remove comment. * Adding prebuild:dev. * Some fixes. * Fixing up husky. * Fixing up version and others.
- Loading branch information
1 parent
1787a77
commit 140ff82
Showing
9 changed files
with
7,769 additions
and
10,400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged | ||
pnpm lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,51 +8,49 @@ | |
"analyze": "webpack --mode=none", | ||
"build:dev": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=development", | ||
"build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=production", | ||
"clean": "yarn run rimraf dist", | ||
"dev": "yarn build:dev --watch", | ||
"lint": "yarn translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"", | ||
"postinstall": "husky install", | ||
"prebuild:dev": "yarn clean && node generate_translations.js", | ||
"prebuild:prod": "yarn clean && node generate_translations.js", | ||
"prepare": "husky install", | ||
"clean": "pnpm rimraf dist", | ||
"dev": "pnpm build:dev --watch", | ||
"lint": "pnpm translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"", | ||
"prebuild:dev": "pnpm clean && node generate_translations.js", | ||
"prebuild:prod": "pnpm clean && node generate_translations.js", | ||
"prepare": "husky", | ||
"themes:build": "sass src/assets/css/themes/:src/assets/css/themes", | ||
"themes:watch": "sass --watch src/assets/css/themes/:src/assets/css/themes", | ||
"translations:generate": "node generate_translations.js", | ||
"translations:init": "git submodule init && yarn translations:update", | ||
"translations:init": "git submodule init && pnpm translations:update", | ||
"translations:update": "git submodule update --remote --recursive" | ||
}, | ||
"repository": "https://github.com/LemmyNet/lemmy-ui", | ||
"engines": { | ||
"node": ">=8.9.0" | ||
}, | ||
"dependencies": { | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@babel/plugin-proposal-decorators": "^7.23.7", | ||
"@babel/plugin-transform-runtime": "^7.23.7", | ||
"@babel/plugin-proposal-decorators": "^7.23.9", | ||
"@babel/plugin-transform-class-properties": "^7.23.3", | ||
"@babel/plugin-transform-runtime": "^7.23.9", | ||
"@babel/plugin-transform-typescript": "^7.23.6", | ||
"@babel/preset-env": "^7.23.8", | ||
"@babel/preset-typescript": "^7.21.5", | ||
"@babel/runtime": "^7.23.8", | ||
"@emoji-mart/data": "^1.1.0", | ||
"@shortcm/qr-image": "^9.0.2", | ||
"@babel/preset-env": "^7.23.9", | ||
"@babel/preset-typescript": "^7.23.3", | ||
"@babel/runtime": "^7.23.9", | ||
"@emoji-mart/data": "^1.1.2", | ||
"@shortcm/qr-image": "^9.0.4", | ||
"autosize": "^6.0.1", | ||
"babel-loader": "^9.1.3", | ||
"babel-plugin-inferno": "^6.7.1", | ||
"bootstrap": "^5.3.1", | ||
"bootstrap": "^5.3.2", | ||
"check-password-strength": "^2.0.7", | ||
"classnames": "^2.5.1", | ||
"clean-webpack-plugin": "^4.0.0", | ||
"cookie": "^0.6.0", | ||
"copy-webpack-plugin": "^12.0.2", | ||
"css-loader": "^6.9.1", | ||
"date-fns": "^3.2.0", | ||
"emoji-mart": "^5.4.0", | ||
"date-fns": "^3.3.1", | ||
"emoji-mart": "^5.5.2", | ||
"emoji-short-name": "^2.0.0", | ||
"express": "~4.18.2", | ||
"history": "^5.3.0", | ||
"html-to-text": "^9.0.5", | ||
"husky": "^8.0.3", | ||
"i18next": "^23.7.16", | ||
"i18next": "^23.8.0", | ||
"inferno": "^8.2.3", | ||
"inferno-create-element": "^8.2.3", | ||
"inferno-helmet": "^5.2.1", | ||
|
@@ -86,44 +84,46 @@ | |
"tippy.js": "^6.3.7", | ||
"toastify-js": "^1.12.0", | ||
"tributejs": "^5.1.3", | ||
"webpack": "^5.89.0", | ||
"webpack": "^5.90.0", | ||
"webpack-cli": "^5.1.4", | ||
"webpack-node-externals": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.7", | ||
"@types/autosize": "^4.0.0", | ||
"@types/bootstrap": "^5.2.6", | ||
"@babel/core": "^7.23.9", | ||
"@types/autosize": "^4.0.3", | ||
"@types/bootstrap": "^5.2.10", | ||
"@types/cookie": "^0.6.0", | ||
"@types/express": "^4.17.17", | ||
"@types/html-to-text": "^9.0.0", | ||
"@types/lodash.isequal": "^4.5.6", | ||
"@types/express": "^4.17.21", | ||
"@types/html-to-text": "^9.0.4", | ||
"@types/lodash.isequal": "^4.5.8", | ||
"@types/markdown-it": "^13.0.7", | ||
"@types/markdown-it-container": "^2.0.6", | ||
"@types/node": "^20.11.5", | ||
"@types/path-browserify": "^1.0.0", | ||
"@types/sanitize-html": "^2.9.0", | ||
"@types/serialize-javascript": "^5.0.1", | ||
"@types/toastify-js": "^1.12.0", | ||
"@typescript-eslint/eslint-plugin": "^6.19.0", | ||
"@typescript-eslint/parser": "^6.19.0", | ||
"@types/markdown-it-container": "^2.0.9", | ||
"@types/node": "^20.11.10", | ||
"@types/path-browserify": "^1.0.2", | ||
"@types/sanitize-html": "^2.9.5", | ||
"@types/serialize-javascript": "^5.0.4", | ||
"@types/toastify-js": "^1.12.3", | ||
"@typescript-eslint/eslint-plugin": "^6.19.1", | ||
"@typescript-eslint/parser": "^6.19.1", | ||
"eslint": "^8.56.0", | ||
"eslint-plugin-inferno": "^7.33.3", | ||
"eslint-plugin-jsx-a11y": "^6.7.1", | ||
"eslint-plugin-jsx-a11y": "^6.8.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"husky": "^9.0.6", | ||
"import-sort-style-module": "^6.0.0", | ||
"lint-staged": "^15.2.0", | ||
"prettier": "^3.2.4", | ||
"prettier-plugin-import-sort": "^0.0.7", | ||
"prettier-plugin-organize-imports": "^3.2.3", | ||
"prettier-plugin-organize-imports": "^3.2.4", | ||
"prettier-plugin-packagejson": "^2.4.9", | ||
"rimraf": "^5.0.0", | ||
"qs": "^6.11.2", | ||
"rimraf": "^5.0.5", | ||
"sortpack": "^2.4.0", | ||
"style-loader": "^3.3.4", | ||
"terser": "^5.27.0", | ||
"typescript": "^5.3.3", | ||
"typescript-language-server": "^4.3.1", | ||
"webpack-bundle-analyzer": "^4.9.0", | ||
"webpack-bundle-analyzer": "^4.10.1", | ||
"webpack-dev-server": "4.15.1" | ||
}, | ||
"lint-staged": { | ||
|
@@ -138,7 +138,7 @@ | |
"sortpack" | ||
] | ||
}, | ||
"packageManager": "[email protected]", | ||
"packageManager": "[email protected]", | ||
"engineStrict": true, | ||
"importSort": { | ||
".js, .jsx, .ts, .tsx": { | ||
|
Oops, something went wrong.