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 = {
printWidth: 100,
singleQuote: true,
};

View file

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

View file

@ -6,18 +6,16 @@
"license": "MIT",
"private": true,
"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/",
"go": "cp exampleSite/go.default.mod exampleSite/go.mod",
"site": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml",
"dev": "yarn open & yarn server",
"build": "yarn go & yarn site"
"dev": "pnpm serve & pnpm open",
"build": "pnpm go & pnpm site"
},
"dependencies": {
"prettier": "^2.3.2",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recess-order": "^2.5.0",
"stylelint-config-standard": "^22.0.0"
"prettier": "^2.7.1",
"stylelint": "^14.9.1",
"stylelint-config-one": "^2.2.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