mirror of
https://github.com/yannbertrand/macos-defaults
synced 2024-11-13 23:27:17 +00:00
🏗️ Replace yarn by npm
This commit is contained in:
parent
8ae5524807
commit
d0c6b53c69
5 changed files with 4590 additions and 2422 deletions
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -15,5 +15,5 @@ jobs:
|
|||
with:
|
||||
node-version-file: '.node-version'
|
||||
cache: 'npm'
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn lint
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[build]
|
||||
base = ""
|
||||
command = "yarn build:prod"
|
||||
command = "npm run build:prod"
|
||||
publish = "docs/.vitepress/dist"
|
||||
ignore = "git diff --quiet HEAD^ HEAD docs/ netlify.toml package.json yarn.lock .node-version"
|
||||
ignore = "git diff --quiet HEAD^ HEAD docs/ netlify.toml package.json package-lock.json .node-version"
|
||||
|
||||
[build.processing]
|
||||
skip_processing = true
|
||||
|
|
4585
package-lock.json
generated
Normal file
4585
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,7 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"clean": "rimraf docs/.vitepress/cache docs/.vitepress/dist",
|
||||
"build": "yarn build:prod",
|
||||
"build": "npm run build:prod",
|
||||
"build:prod": "vitepress build docs --dest dist",
|
||||
"start": "vitepress dev docs",
|
||||
"preview": "vitepress preview docs",
|
||||
|
|
Loading…
Reference in a new issue