serverless/scripts/pkg/config.js
Austen bd6a242812
chore: Embed dashboard plugin into framework (#12332)
* chore: initial removal of dashboard plugin as dependency and deprecated logic

* chore: continue refactor

* chore: move dashboard into framework and reduce logic
2024-01-23 00:28:56 -08:00

29 lines
1.1 KiB
JavaScript

'use strict';
module.exports = {
// Open license ensures JS files are accessible as is
// which is important for local templates installation
license: 'MIT',
files: [
// Standalone commands
'../../commands',
// Custom resources
'../../lib/plugins/aws/custom-resources/resources',
// Basic CF templates
'../../lib/plugins/aws/package/lib/*.json',
// Service templates
'../../lib/plugins/create/templates',
// Local invocation artifacts
'../../lib/plugins/aws/invoke-local/runtime-wrappers',
// Ensure npm is bundled as a dependency
'../../node_modules/npm/lib',
'../../node_modules/npm/bin/npm-cli.js',
// Below module is not automatically traced by pkg, we need to point it manually
// See: https://github.com/npm/npm-lifecycle/pull/41
'../../node_modules/node-gyp/bin/node-gyp.js',
'../../node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
'../../node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/bin/node-gyp.js',
'../../node_modules/axios/dist/node/axios.cjs',
],
};