1
0
Fork 0

change yarn to pnpm

This commit is contained in:
nanxiaobei 2022-07-01 01:15:59 +08:00
parent 9343f286b2
commit 8466928c17
5 changed files with 1286 additions and 1883 deletions

View file

@ -1,4 +1,3 @@
module.exports = { module.exports = {
printWidth: 100,
singleQuote: true, singleQuote: true,
}; };

View file

@ -1,12 +1,6 @@
module.exports = { module.exports = {
extends: [ extends: ['stylelint-config-one'],
'stylelint-config-standard',
'stylelint-config-recess-order',
'stylelint-config-prettier',
],
rules: { rules: {
'no-descending-specificity': null, // 'no-descending-specificity': null,
'custom-property-empty-line-before': null,
'rule-empty-line-before': ['always', { ignore: ['after-comment', 'first-nested'] }],
}, },
}; };

View file

@ -6,18 +6,16 @@
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"scripts": { "scripts": {
"server": "hugo server -Dw --minify --disableFastRender --themesDir=../.. --source=exampleSite --bind=0.0.0.0", "serve": "hugo server --baseURL=http://0.0.0.0 --bind=0.0.0.0 --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite",
"open": "open http://0.0.0.0:1313/", "open": "open http://0.0.0.0:1313/",
"go": "cp exampleSite/go.default.mod exampleSite/go.mod", "go": "cp exampleSite/go.default.mod exampleSite/go.mod",
"site": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml", "site": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml",
"dev": "yarn open & yarn server", "dev": "pnpm serve & pnpm open",
"build": "yarn go & yarn site" "build": "pnpm go & pnpm site"
}, },
"dependencies": { "dependencies": {
"prettier": "^2.3.2", "prettier": "^2.7.1",
"stylelint": "^13.13.1", "stylelint": "^14.9.1",
"stylelint-config-prettier": "^8.0.2", "stylelint-config-one": "^2.2.0"
"stylelint-config-recess-order": "^2.5.0",
"stylelint-config-standard": "^22.0.0"
} }
} }

1278
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

1866
yarn.lock

File diff suppressed because it is too large Load diff