Drop yarn in favor of npm

This commit is contained in:
Paulus Schoutsen 2021-05-30 22:44:17 -07:00
parent 6bd74e886c
commit fc4df1c8bb
6 changed files with 2669 additions and 1221 deletions

View File

@ -15,14 +15,14 @@
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"bierner.lit-html",
"runem.lit-plugin",
"runem.lit-plugin"
],
// 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.
// "postCreateCommand": "yarn install",
"postCreateCommand": "npm install",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
@ -41,5 +41,4 @@
},
"files.trimTrailingWhitespace": true
}
}

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
dist
node_modules
yarn-error.log

2644
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -4,5 +4,5 @@ set -e
cd "$(dirname "$0")/.."
rm -rf dist
NODE_ENV=production yarn tsc
NODE_ENV=production yarn rollup -c
NODE_ENV=production npm exec -- tsc
NODE_ENV=production npm exec -- rollup -c

View File

@ -11,7 +11,7 @@ trap "kill 0" EXIT
# Run tsc once as rollup expects those files
tsc || true
yarn serve &
yarn tsc --watch &
yarn rollup -c --watch &
npm exec -- serve &
npm exec -- tsc --watch &
npm exec -- rollup -c --watch &
wait

1194
yarn.lock

File diff suppressed because it is too large Load Diff