Jelajahi Sumber

chore: CTA license headers and externals (#1485)

* add common node libs as externals, hides warning

* add license header to vue-cli file
Jacob Bolda 4 tahun lalu
induk
melakukan
fa99fda0cf

+ 2 - 0
tooling/create-tauri-app/rollup.config.js

@@ -14,6 +14,8 @@ export default {
   },
   plugins: [typescript(), commonjs({ extensions: [".js"] })],
   external: [
+    "fs",
+    "path",
     ...Object.keys(pkg.dependencies || {}),
     ...Object.keys(pkg.peerDependencies || {}),
   ],

+ 4 - 1
tooling/create-tauri-app/src/recipes/vue-cli.ts

@@ -1,6 +1,9 @@
+// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-License-Identifier: MIT
+
 import { Recipe } from "..";
 import { join } from "path";
-//@ts-ignore
 import { shell } from "../shell";
 
 const completeLogMsg = `