mirror of
https://github.com/esphome/esp-web-tools.git
synced 2025-07-18 17:26:35 +00:00
Drop yarn in favor of npm
This commit is contained in:
parent
6bd74e886c
commit
fc4df1c8bb
@ -15,14 +15,14 @@
|
|||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"esbenp.prettier-vscode",
|
"esbenp.prettier-vscode",
|
||||||
"bierner.lit-html",
|
"bierner.lit-html",
|
||||||
"runem.lit-plugin",
|
"runem.lit-plugin"
|
||||||
],
|
],
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
// "forwardPorts": [],
|
"forwardPorts": [5000],
|
||||||
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
// "postCreateCommand": "yarn install",
|
"postCreateCommand": "npm install",
|
||||||
|
|
||||||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
||||||
"remoteUser": "node",
|
"remoteUser": "node",
|
||||||
@ -41,5 +41,4 @@
|
|||||||
},
|
},
|
||||||
"files.trimTrailingWhitespace": true
|
"files.trimTrailingWhitespace": true
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
yarn-error.log
|
|
||||||
|
2644
package-lock.json
generated
Normal file
2644
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -4,5 +4,5 @@ set -e
|
|||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
NODE_ENV=production yarn tsc
|
NODE_ENV=production npm exec -- tsc
|
||||||
NODE_ENV=production yarn rollup -c
|
NODE_ENV=production npm exec -- rollup -c
|
||||||
|
@ -11,7 +11,7 @@ trap "kill 0" EXIT
|
|||||||
# Run tsc once as rollup expects those files
|
# Run tsc once as rollup expects those files
|
||||||
tsc || true
|
tsc || true
|
||||||
|
|
||||||
yarn serve &
|
npm exec -- serve &
|
||||||
yarn tsc --watch &
|
npm exec -- tsc --watch &
|
||||||
yarn rollup -c --watch &
|
npm exec -- rollup -c --watch &
|
||||||
wait
|
wait
|
||||||
|
Loading…
x
Reference in New Issue
Block a user