Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
90c72a4
initial commit
danielcondemarin Apr 28, 2020
2924afd
implementing upload of HTML pages
danielcondemarin Apr 29, 2020
4f914cf
html pages now upload
danielcondemarin Apr 29, 2020
ce41140
refactor
danielcondemarin Apr 29, 2020
6f989d9
all basic functionality done
danielcondemarin May 2, 2020
2cff138
all basic functionality done
danielcondemarin May 2, 2020
88e405b
Merge branch 'decouple-static-assets-upload' of https://github.com/da…
danielcondemarin May 2, 2020
3dc4115
Merge branch 'master' into decouple-static-assets-upload
danielcondemarin May 2, 2020
29c2e7a
fix tests on CI and refactor
danielcondemarin May 2, 2020
8ebc720
Merge branch 'decouple-static-assets-upload' of https://github.com/da…
danielcondemarin May 2, 2020
117176c
update monorepo deps
danielcondemarin May 2, 2020
c6a00d7
update deps
danielcondemarin May 2, 2020
9ff3e8c
test for credentials
danielcondemarin May 2, 2020
5e47477
handle bucket acceleration
danielcondemarin May 2, 2020
b35d6e6
fix windows specific issues with s3 keys not being posix
danielcondemarin May 2, 2020
df3e09e
move console warn spy to be / ae
danielcondemarin May 2, 2020
63ef130
add a bit more info to warn
danielcondemarin May 2, 2020
8e57a2e
add build scripts
danielcondemarin May 2, 2020
a8fef99
fix issue around aws sdk manual mocks
danielcondemarin May 2, 2020
7f94c4b
missing posix fix
danielcondemarin May 2, 2020
4027b18
fix windows specific issues with s3 keys not being posix (2)
danielcondemarin May 2, 2020
2b74304
use new s3 upload package in serverless component
danielcondemarin May 3, 2020
062b968
upload chunks and runtime build files
danielcondemarin May 3, 2020
9b4e4d9
remove dist from source control
danielcondemarin May 3, 2020
3d4810a
ignore dists
danielcondemarin May 3, 2020
72610eb
fix credentials and refactor tests
danielcondemarin May 3, 2020
dfd41e1
add publish config to s3 package
danielcondemarin May 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ sls-next-build
**/examples/**/package-lock.json
.DS_Store
yarn.lock
dist
1,317 changes: 717 additions & 600 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"homepage": "https://github.com/danielcondemarin/serverless-next.js#readme",
"devDependencies": {
"@babel/preset-typescript": "^7.9.0",
"@sls-next/lambda-at-edge": "file:packages/lambda-at-edge",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
Expand All @@ -49,7 +50,6 @@
"lerna": "^3.16.4",
"next": "^9.1.5",
"next-aws-cloudfront": "file:packages/lambda-at-edge-compat",
"@sls-next/lambda-at-edge": "file:packages/lambda-at-edge",
"prettier": "^1.17.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/lambda-at-edge/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/lambda-at-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"@types/fs-extra": "^8.1.0",
"@types/node": "^13.13.0",
"@types/path-to-regexp": "^1.7.0",
"ts-loader": "^7.0.0"
"ts-loader": "^7.0.0",
"typescript": "^3.8.3"
},
"peerDependencies": {
"next-aws-cloudfront": "file:../cloudfront-lambda@edge-compat"
Expand Down
194 changes: 194 additions & 0 deletions packages/s3-static-assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions packages/s3-static-assets/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "@sls-next/s3-static-assets",
"version": "1.0.0",
"description": "Handles upload to S3 of next.js static assets",
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"dist": "dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/danielcondemarin/serverless-next.js.git",
"directory": "packages/s3-static-assets"
},
"scripts": {
"prepare": "npm run build",
"build": "tsc -p tsconfig.build.json"
},
"keywords": [
"AWS",
"S3",
"Next.js",
"Serverless"
],
"author": "Daniel Conde Marin <danielconde9@gmail.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/danielcondemarin/serverless-next.js/issues"
},
"homepage": "https://github.com/danielcondemarin/serverless-next.js#readme",
"dependencies": {
"aws-sdk": "^2.664.0",
"fs-extra": "^9.0.0",
"klaw": "^3.0.0",
"mime-types": "^2.1.27"
},
"devDependencies": {
"@types/fs-extra": "^8.1.0",
"@types/klaw": "^3.0.1",
"@types/mime-types": "^2.1.0",
"typescript": "^3.8.3"
}
}
Loading