{"action":"created","issue":{"url":"https://api.github.com/repos/prismagraphql/serverless-plugin-typescript/issues/90","repository_url":"https://api.github.com/repos/prismagraphql/serverless-plugin-typescript","labels_url":"https://api.github.com/repos/prismagraphql/serverless-plugin-typescript/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/prismagraphql/serverless-plugin-typescript/issues/90/comments","events_url":"https://api.github.com/repos/prismagraphql/serverless-plugin-typescript/issues/90/events","html_url":"https://github.com/prismagraphql/serverless-plugin-typescript/issues/90","id":299705430,"number":90,"title":"Don't copy devDependencies","user":{"login":"crysislinux","id":5404597,"avatar_url":"https://avatars2.githubusercontent.com/u/5404597?v=4","gravatar_id":"","url":"https://api.github.com/users/crysislinux","html_url":"https://github.com/crysislinux","followers_url":"https://api.github.com/users/crysislinux/followers","following_url":"https://api.github.com/users/crysislinux/following{/other_user}","gists_url":"https://api.github.com/users/crysislinux/gists{/gist_id}","starred_url":"https://api.github.com/users/crysislinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crysislinux/subscriptions","organizations_url":"https://api.github.com/users/crysislinux/orgs","repos_url":"https://api.github.com/users/crysislinux/repos","events_url":"https://api.github.com/users/crysislinux/events{/privacy}","received_events_url":"https://api.github.com/users/crysislinux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-23T13:05:46Z","updated_at":"2018-05-16T21:35:45Z","closed_at":null,"author_association":"NONE","body":"there is an issue about this problem but it's closed.\r\nhttps://github.com/graphcool/serverless-plugin-typescript/issues/13\r\n\r\nSome other ppl and I still have the problem in that issue. So just to reopen it here.\r\n\r\npackage.json\r\n```\r\n{\r\n  \"name\": \"aws-credentials-exp\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"\",\r\n  \"main\": \"handler.js\",\r\n  \"dependencies\": {\r\n    \"aws-sdk\": \"^2.201.0\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"serverless-plugin-typescript\": \"^1.1.5\"\r\n  },\r\n  \"scripts\": {\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\r\n  },\r\n  \"author\": \"\",\r\n  \"license\": \"ISC\"\r\n}\r\n```\r\n\r\nserverless-plugin-typescript is not in the final release, but typescript and the dependencies of typescript do.\r\n\r\nI tried not to include serverless-plugin-typescript plugin in serverless.yml (it's still installed and exist in package.json), the node_modules in zip file will only have aws-sdk and its dependencies."},"comment":{"url":"https://api.github.com/repos/prismagraphql/serverless-plugin-typescript/issues/comments/389673524","html_url":"https://github.com/prismagraphql/serverless-plugin-typescript/issues/90#issuecomment-389673524","issue_url":"https://api.github.com/repos/prismagraphql/serverless-plugin-typescript/issues/90","id":389673524,"user":{"login":"ajmath","id":266679,"avatar_url":"https://avatars0.githubusercontent.com/u/266679?v=4","gravatar_id":"","url":"https://api.github.com/users/ajmath","html_url":"https://github.com/ajmath","followers_url":"https://api.github.com/users/ajmath/followers","following_url":"https://api.github.com/users/ajmath/following{/other_user}","gists_url":"https://api.github.com/users/ajmath/gists{/gist_id}","starred_url":"https://api.github.com/users/ajmath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajmath/subscriptions","organizations_url":"https://api.github.com/users/ajmath/orgs","repos_url":"https://api.github.com/users/ajmath/repos","events_url":"https://api.github.com/users/ajmath/events{/privacy}","received_events_url":"https://api.github.com/users/ajmath/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T21:35:45Z","updated_at":"2018-05-16T21:35:45Z","author_association":"CONTRIBUTOR","body":"I'm also seeing this issue on on both my dev box (macOS High Sierra) and in the build container (node:carbon-alpine).  Both are using:\r\nnpm: 5.6.0\r\nsls: 1.27.2\r\nserverless-plugin-typescript: 1.1.5\r\nyarn: 1.6.0\r\n\r\nI'm seeing the same symptoms where `npm ls --dev=true --parseable=true --long=false --silent` returns the full list when run in the service directory and returns only the top-level dev dependencies in `.build`\r\n\r\n"}}
{"actor":{"display_login":"ajmath"}}