Skip to content

Commit 12c6443

Browse files
committed
🔧 Chore: add workspace suggestions and replace package manager to pnpm
1 parent 142e933 commit 12c6443

File tree

8 files changed

+196
-268
lines changed

8 files changed

+196
-268
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jsconfig.json
1010
node_modules/
1111

1212
# VSCode
13-
.vscode
13+
.vscode/*
14+
!.vscode/extensions.json
15+
!.vscode/settings.json
1416

1517
# OS Files
1618
## Windows

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"budparr.language-hugo-vscode",
4+
"kaellarkin.hugo-shortcode-syntax",
5+
"eliostruyf.vscode-hugo-themer"
6+
]
7+
}

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"todo-tree.tree.scanMode": "workspace only",
3+
"explorer.fileNesting.enabled": true,
4+
"explorer.fileNesting.patterns": {
5+
"tsconfig.json": "tsconfig.*.json, env.d.ts",
6+
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
7+
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .prettier*, prettier*, .editorconfig"
8+
}
9+
}

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ git clone https://github.com/hugo-fixit/FixIt.git && cd FixIt
1515
Then, install the dev dependencies.
1616

1717
```bash
18-
npm install
18+
pnpm install
1919
```
2020

2121
And now you are ready to go!
@@ -24,15 +24,15 @@ Here are some useful commands.
2424

2525
```bash
2626
# run a local debugging server with watch
27-
npm run server
27+
pnpm server
2828
# run a local debugging server with watch in production environment
29-
npm run server:production
29+
pnpm server:production
3030
```
3131

3232
If you want to do docs-related theme changes, the simplest way is to have both `FixIt` and `fixit-docs` cloned as sibling directories, and then run:
3333

3434
```bash
35-
npm run server:docs
35+
pnpm server:docs
3636
```
3737

3838
Finally, create a new pull request at <https://github.com/hugo-fixit/FixIt/pulls> to submit your contribution 🎉

layouts/partials/init/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- .Scratch.Set "version" "v0.3.17-40c5dcb8" -}}
1+
{{- .Scratch.Set "version" "v0.3.17-142e933f" -}}
22
{{- .Scratch.Set "this" dict -}}
33

44
{{- partial "init/detection-env.html" . -}}

package-lock.json

Lines changed: 0 additions & 261 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "fixit-core",
33
"version": "0.3.16",
44
"private": true,
5+
"packageManager": "[email protected]",
56
"description": "Hugo FixIt core theme component source files",
67
"keywords": [
78
"hugo",
@@ -30,7 +31,7 @@
3031
"prepare": "husky"
3132
},
3233
"devDependencies": {
33-
"@hugo-fixit/fixit-releaser": "^1.1.4",
34+
"@hugo-fixit/fixit-releaser": "^1.1.5",
3435
"husky": "^9.1.7"
3536
},
3637
"engines": {

0 commit comments

Comments
 (0)