We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958b6c8 commit bccae16Copy full SHA for bccae16
package.json
@@ -16,7 +16,8 @@
16
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
17
"dev-compiler": "npm-run-all --parallel \"dev template-explorer\" serve",
18
"serve": "serve",
19
- "open": "open http://localhost:5000/packages/template-explorer/local.html"
+ "open": "open http://localhost:5000/packages/template-explorer/local.html",
20
+ "preinstall": "node ./scripts/checkYarn.js"
21
},
22
"types": "test-dts/index.d.ts",
23
"tsd": {
scripts/checkYarn.js
@@ -0,0 +1,5 @@
1
+if (!/yarn\.js$/.test(process.env.npm_execpath || '')) {
2
+ console.warn(
3
+ "\u001b[33mYou don't seem to be using yarn. This could produce unexpected results.\u001b[39m"
4
+ )
5
+}
0 commit comments