Skip to content

Commit

Permalink
chore: Monorepo restructure (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcondemarin committed Aug 9, 2020
1 parent d6214a4 commit d0a6300
Show file tree
Hide file tree
Showing 619 changed files with 11,531 additions and 12,798 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ jobs:
#*/*/node_modules
#key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: cd integration/app-with-serverless-offline && yarn --frozen-lockfile && cd ../../
- run: yarn test
- run: yarn integration
9,658 changes: 0 additions & 9,658 deletions documentation/yarn.lock

This file was deleted.

77 changes: 0 additions & 77 deletions integration/__tests__/local-deploy.test.js

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions integration/app-with-serverless-offline/next.config.js

This file was deleted.

13 changes: 0 additions & 13 deletions integration/app-with-serverless-offline/package.json

This file was deleted.

9 changes: 0 additions & 9 deletions integration/app-with-serverless-offline/pages/_error.js

This file was deleted.

9 changes: 0 additions & 9 deletions integration/app-with-serverless-offline/pages/about.js

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions integration/app-with-serverless-offline/pages/index.js

This file was deleted.

16 changes: 0 additions & 16 deletions integration/app-with-serverless-offline/pages/post.js

This file was deleted.

25 changes: 0 additions & 25 deletions integration/app-with-serverless-offline/serverless.yml

This file was deleted.

7 changes: 0 additions & 7 deletions integration/app-with-serverless-offline/yarn.lock

This file was deleted.

3 changes: 1 addition & 2 deletions jest.integration.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"testMatch": ["**/integration/**/*.test.[jt]s?(x)"],
"watchPathIgnorePatterns": ["/fixture/"],
"modulePathIgnorePatterns": ["<rootDir>/integration/basic-app"]
"watchPathIgnorePatterns": ["/fixture/"]
}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"npmClientArgs": ["--no-package-lock"]
}
},
"packages": ["packages/*"]
"packages": ["packages/compat-layers/*", "packages/serverless-components/*", "packages/libs/*", "packages/deprecated/*"]
}
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"homepage": "https://github.com/danielcondemarin/serverless-next.js#readme",
"devDependencies": {
"@babel/preset-typescript": "^7.10.4",
"@sls-next/lambda-at-edge": "link:./packages/lambda-at-edge",
"@sls-next/next-aws-cloudfront": "link:./packages/lambda-at-edge-compat",
"@sls-next/lambda-at-edge": "link:./packages/libs/lambda-at-edge",
"@sls-next/next-aws-cloudfront": "link:./packages/compat-layers/lambda-at-edge-compat",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.3",
"@types/react": "^16.9.41",
Expand Down Expand Up @@ -78,8 +78,8 @@
},
"coverageDirectory": "<rootDir>/coverage/",
"coveragePathIgnorePatterns": [
"<rootDir>/packages/serverless-plugin/utils/yml/cfSchema.js",
"<rootDir>/packages/serverless-plugin/utils/test",
"<rootDir>/packages/deprecated/serverless-plugin/utils/yml/cfSchema.js",
"<rootDir>/packages/deprecated/serverless-plugin/utils/test",
"/.serverless_nextjs/",
"/fixtures/",
"/fixture/",
Expand All @@ -92,6 +92,7 @@
"/fixtures/"
],
"testPathIgnorePatterns": [
"<rootDir>/packages/deprecated/serverless-plugin/*",
"/.next/",
"/node_modules/",
"/fixtures/",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"repository": {
"type": "git",
"url": "git+https://github.com/danielcondemarin/serverless-next.js.git",
"directory": "packages/next-aws-lambda"
"directory": "packages/compat-layers/apigw-lambda-compat"
},
"author": "Daniel Conde Marin <danielconde9@gmail.com>",
"license": "MIT"
Expand Down
4 changes: 4 additions & 0 deletions packages/compat-layers/apigw-lambda-compat/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"repository": {
"type": "git",
"url": "git+https://github.com/danielcondemarin/serverless-next.js.git",
"directory": "packages/lambda-at-edge-compat"
"directory": "packages/compat-layers/lambda-at-edge-compat"
},
"keywords": [
"AWS",
Expand Down
8 changes: 8 additions & 0 deletions packages/compat-layers/lambda-at-edge-compat/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


"@types/aws-lambda@^8.10.50":
version "8.10.59"
resolved "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.59.tgz#64f602aef1cac9b21a74aad6705bf350c4a5173a"
integrity sha512-X/JclTKqHvo3nMTkHzClHhRz0yxn/VAr7J7LO6jBqaksZlhcDAWuU4oT1Yrt3E9MvX5jyyVIZtrwAI7oPXzXIg==
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"dependencies": {
"@mapbox/s3urls": "^1.5.3",
"@sls-next/next-aws-lambda": "link:../apigw-lambda-compat",
"@sls-next/next-aws-lambda": "link:../../compat-layers/apigw-lambda-compat",
"chalk": "^2.4.2",
"debug": "^4.1.1",
"fs-extra": "^7.0.1",
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit d0a6300

Please sign in to comment.