chore: CTA license headers and externals (#1485)

* add common node libs as externals, hides warning

* add license header to vue-cli file
This commit is contained in:
Jacob Bolda
2021-04-14 13:05:04 -05:00
committed by GitHub
parent ec27ca81fe
commit fa99fda0cf
2 changed files with 6 additions and 1 deletions

View File

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

View File

@@ -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 = `