Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from Yarn to pnpm #379

Merged
merged 53 commits into from
Apr 20, 2023
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
0eba75b
Update installation command
ProchaLu Apr 12, 2023
cbab114
Update to pnpm commands
ProchaLu Apr 12, 2023
c3b0c66
Change github workflow
ProchaLu Apr 12, 2023
6da8209
Delete cache in GH workflow
ProchaLu Apr 12, 2023
94eef3f
Update to pnpm
ProchaLu Apr 12, 2023
d61723e
Update docker and scripts to pnpm
ProchaLu Apr 12, 2023
96009f2
Add package-size.yml solution
ProchaLu Apr 12, 2023
9643ee9
Add hoisting, domhandler, allowJS
ProchaLu Apr 12, 2023
1173961
Delete hoisting, add overrides in package.json
ProchaLu Apr 13, 2023
96aad8e
Change github workflow testing command
ProchaLu Apr 13, 2023
04f6a7e
Change overrides in package.json
ProchaLu Apr 13, 2023
8a649c8
Add pnpm tsc to gh actions yaml
ProchaLu Apr 13, 2023
6dc1004
Update overrides, delete pnpm tsc
ProchaLu Apr 13, 2023
d6e280d
Remove @next/eslint-plugin-next
ProchaLu Apr 13, 2023
8dba167
Change overrides
ProchaLu Apr 13, 2023
cf25e7a
Change overrides path to tsdx/**/
ProchaLu Apr 13, 2023
b9fe181
Revert overrides changes
ProchaLu Apr 13, 2023
571119c
Switch eslint-config-upleveled
ProchaLu Apr 13, 2023
76b3f99
Edit overrides
ProchaLu Apr 13, 2023
e4610cf
Merge branch 'main' of https://github.com/upleveled/preflight into ed…
ProchaLu Apr 14, 2023
ee807c1
Delete allowJS from tsconfig
ProchaLu Apr 14, 2023
f6bdcc7
Merge branch 'main' of https://github.com/upleveled/preflight into ed…
ProchaLu Apr 14, 2023
b4664d1
Update pnpm-lock
ProchaLu Apr 14, 2023
be77bf0
Add 2nd tsconfig
karlhorky Apr 14, 2023
0c3340f
Merge branch 'edit-readme' of https://github.com/upleveled/preflight …
ProchaLu Apr 14, 2023
46a0bce
Work around tsdx build error TS2347
karlhorky Apr 14, 2023
03be588
Fix linting errors
karlhorky Apr 14, 2023
b164fea
Update module and target
karlhorky Apr 14, 2023
2916c15
Separate steps
karlhorky Apr 14, 2023
b9a86d4
Exclude files
karlhorky Apr 14, 2023
40e8f26
Pass arguments to underlying command
karlhorky Apr 14, 2023
6c5fefe
Update src/checks/useSinglePackageManager.ts
ProchaLu Apr 14, 2023
e9a8227
Remove yarn from the error message
ProchaLu Apr 14, 2023
d9dc313
Add pnpm cache, pnpm install to gh workflow
ProchaLu Apr 14, 2023
e44908b
Merge branch 'edit-readme' of https://github.com/upleveled/preflight …
ProchaLu Apr 14, 2023
3b0615d
Switch to shamefully-hoisted=true
ProchaLu Apr 14, 2023
c997916
Revert changes to use node-linker=hoisted
ProchaLu Apr 14, 2023
4826f00
Merge branch 'main' of https://github.com/upleveled/preflight into ed…
ProchaLu Apr 14, 2023
e765086
Update pnpm-lock file
ProchaLu Apr 14, 2023
d5bdc40
Switch docker workflow order
ProchaLu Apr 14, 2023
70e4925
Delete white space
ProchaLu Apr 14, 2023
74825db
Update to new Upleveled ESLint url
ProchaLu Apr 17, 2023
5067366
Merge branch 'main' of https://github.com/upleveled/preflight into ed…
ProchaLu Apr 20, 2023
b92a390
Merge branch 'main' of https://github.com/upleveled/preflight into ed…
ProchaLu Apr 20, 2023
11f35c4
Add logging
karlhorky Apr 20, 2023
5ad83d7
Update prettier.ts
karlhorky Apr 20, 2023
1678c6f
Try --silent
karlhorky Apr 20, 2023
3fbbe18
Update prettier.ts
karlhorky Apr 20, 2023
9823738
Merge branch 'main' into edit-readme
karlhorky Apr 20, 2023
8963af9
Update prettier.ts
karlhorky Apr 20, 2023
4bec4cb
Use path to Prettier bin
karlhorky Apr 20, 2023
dd61d23
Fix path
karlhorky Apr 20, 2023
aa6befa
Update src/checks/useSinglePackageManager.ts
karlhorky Apr 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add logging
karlhorky authored Apr 20, 2023
commit 11f35c4f23b4ce53d4da09f62519a70b00031bf6
3 changes: 2 additions & 1 deletion src/checks/prettier.ts
Original file line number Diff line number Diff line change
@@ -6,9 +6,10 @@ import normalizeNewline from '../util/normalizeNewline';
export const title = 'Prettier';

export default async function prettierCheck() {
console.log(dirname(fileURLToPath(import.meta.url)))
try {
await execaCommand(
`pnpm --silent prettier --list-different ${process.cwd()}/**/*.{js,jsx,ts,jsx} --ignore-path ${process.cwd()}/.eslintignore --config ${process.cwd()}/prettier.config.cjs --end-of-line auto`,
`pnpm prettier --list-different ${process.cwd()}/**/*.{js,jsx,ts,jsx} --ignore-path ${process.cwd()}/.eslintignore --config ${process.cwd()}/prettier.config.cjs --end-of-line auto`,
{ cwd: dirname(fileURLToPath(import.meta.url)) },
);
} catch (error) {