Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 .gitattributes

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

1 change: 1 addition & 0 deletions .gitignore

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

5 changes: 3 additions & 2 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const turbo = new TurborepoProject({
lintProjenRc: true,
prettier: true,
},
gitignore: [".swc"],
// deps: [], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
// packageName: undefined, /* The "name" in package.json. */
Expand All @@ -38,7 +39,7 @@ new FunctionlessProject({
defaultReleaseBranch: "main",
name: "sample1",
outdir: "packages/sample1",
cdkVersion: "2.33.0",
cdkVersion: "2.39.1",
});

const packageJson = turbo.tryFindObjectFile("package.json");
Expand All @@ -64,7 +65,7 @@ new FunctionlessProject({
defaultReleaseBranch: "main",
name: "sagaFunction",
outdir: "packages/sagaFunction",
cdkVersion: "2.33.0",
cdkVersion: "2.39.1",
});

turbo.synth();
10 changes: 5 additions & 5 deletions package.json

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

1 change: 1 addition & 0 deletions packages/sagaFunction/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ junit.xml
/cdk.out/
.cdk.staging/
.parcel-cache/
!/.swcrc
12 changes: 6 additions & 6 deletions packages/sagaFunction/.projen/deps.json

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

1 change: 1 addition & 0 deletions packages/sagaFunction/.projen/files.json

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

8 changes: 0 additions & 8 deletions packages/sagaFunction/.projen/tasks.json

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

29 changes: 29 additions & 0 deletions packages/sagaFunction/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"jsc": {
"parser": {
"syntax": "typescript",
"dynamicImport": false,
"decorators": false,
"hidden": {
"jest": true
}
},
"transform": null,
"target": "es2021",
"loose": false,
"externalHelpers": false,
"experimental": {
"plugins": [
[
"@functionless/ast-reflection",
{}
]
]
}
},
"minify": false,
"sourceMaps": "inline",
"module": {
"type": "commonjs"
}
}
2 changes: 1 addition & 1 deletion packages/sagaFunction/cdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"app": "npx ts-node -P tsconfig.json --prefer-ts-exts src/app.ts",
"app": "node -r '@swc/register' src/app.ts",
"output": "cdk.out",
"build": "npx projen bundle",
"watch": {
Expand Down
19 changes: 9 additions & 10 deletions packages/sagaFunction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"post-compile": "npx projen post-compile",
"post-upgrade": "npx projen post-upgrade",
"pre-compile": "npx projen pre-compile",
"prepare": "npx projen prepare",
"synth": "npx projen synth",
"synth:silent": "npx projen synth:silent",
"test": "npx projen test",
Expand All @@ -27,11 +26,12 @@
},
"devDependencies": {
"@functionless/language-service": "^0.0.4",
"@swc/jest": "^0.2.22",
"@types/jest": "^28.1.6",
"@types/node": "^14",
"@typescript-eslint/eslint-plugin": "^5",
"@typescript-eslint/parser": "^5",
"aws-cdk": "^2.33.0",
"aws-cdk": "^2.39.1",
"esbuild": "^0.14.49",
"eslint": "^8",
"eslint-import-resolver-node": "^0.3.6",
Expand All @@ -44,14 +44,13 @@
"projen": "^0.59.7",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"ts-patch": "^2.0.1",
"typescript": "^4.7.4"
},
"dependencies": {
"@aws-cdk/aws-appsync-alpha": "^2.33.0-alpha.0",
"aws-cdk-lib": "^2.33.0",
"aws-cdk-lib": "^2.39.1",
"constructs": "^10.0.5",
"functionless": "^0.13.11",
"functionless": "^0.22.6",
"typesafe-dynamodb": "^0.2.2"
},
"license": "Apache-2.0",
Expand Down Expand Up @@ -89,11 +88,11 @@
}
]
],
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.dev.json"
}
"transform": {
"^.+\\.(t|j)sx?$": [
"@swc/jest",
{}
]
}
},
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
Expand Down
6 changes: 1 addition & 5 deletions packages/sagaFunction/tsconfig.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
"strictPropertyInitialization": true,
"stripInternal": true,
"target": "ES2019",
"plugins": [
{
"transform": "functionless/lib/compile"
}
]
"plugins": []
},
"include": [
".projenrc.js",
Expand Down
3 changes: 0 additions & 3 deletions packages/sagaFunction/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
"stripInternal": true,
"target": "ES2019",
"plugins": [
{
"transform": "functionless/lib/compile"
},
{
"name": "@functionless/language-service"
}
Expand Down
1 change: 1 addition & 0 deletions packages/sample1/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ junit.xml
/cdk.out/
.cdk.staging/
.parcel-cache/
!/.swcrc
12 changes: 6 additions & 6 deletions packages/sample1/.projen/deps.json

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

1 change: 1 addition & 0 deletions packages/sample1/.projen/files.json

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

8 changes: 0 additions & 8 deletions packages/sample1/.projen/tasks.json

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

29 changes: 29 additions & 0 deletions packages/sample1/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"jsc": {
"parser": {
"syntax": "typescript",
"dynamicImport": false,
"decorators": false,
"hidden": {
"jest": true
}
},
"transform": null,
"target": "es2021",
"loose": false,
"externalHelpers": false,
"experimental": {
"plugins": [
[
"@functionless/ast-reflection",
{}
]
]
}
},
"minify": false,
"sourceMaps": "inline",
"module": {
"type": "commonjs"
}
}
2 changes: 1 addition & 1 deletion packages/sample1/cdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"app": "npx ts-node -P tsconfig.json --prefer-ts-exts src/app.ts",
"app": "node -r '@swc/register' src/app.ts",
"output": "cdk.out",
"build": "npx projen bundle",
"watch": {
Expand Down
Loading