Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update constructs lib #15

Merged
merged 3 commits into from
Dec 31, 2023
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
7 changes: 7 additions & 0 deletions .eslintrc.json

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

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.

1 change: 1 addition & 0 deletions .nvmrc

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

2 changes: 1 addition & 1 deletion .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 .projen/files.json

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

4 changes: 2 additions & 2 deletions .projen/tasks.json

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

28 changes: 15 additions & 13 deletions .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Node20AwsCdkConstructLibrary } from "dkershner6-projen";
import { Node20AwsCdkConstructLibrary } from "dkershner6-projen-typescript";
import { Nvmrc } from "projen-nvm";

const GITHUB_USERNAME_OR_ORG = "dkershner6";
const GITHUB_USERNAME_OR_ORG_PASCAL_CASE = "DKershner6";
Expand All @@ -17,21 +18,17 @@ const project = new Node20AwsCdkConstructLibrary({
repositoryUrl:
"https://github.com/dkershner6/cdk-nextjs-export-s3-dynamic-routing.git",

/* Runtime dependencies of this module. */
deps: ["lodash.set", "uglify-js"],
description:
"Deploy a static export Next.js site to Cloudfront and S3 while maintaining the ability to use dynamic routes." /* The description is just a string that helps people understand the purpose of the package. */,
devDeps: [
"@types/lodash.set",
"@types/uglify-js",
"dkershner6-projen",
"dkershner6-projen-typescript",
"projen-nvm",
] /* Build dependencies for this module. */,
packageName: PROJECT_NAME /* The "name" in package.json. */,
bundledDeps: [
"lodash.set",
"uglify-js",
] /* Bundled dependencies of this module. */,
],
packageName: PROJECT_NAME,
bundledDeps: ["lodash.set", "uglify-js"],

gitignore: [".DS_Store"],

Expand All @@ -51,11 +48,16 @@ const project = new Node20AwsCdkConstructLibrary({
},

// publishToMaven: {
// mavenGroupId: `io.github.${GITHUB_USERNAME_OR_ORG}`,
// javaPackage: `io.github.${GITHUB_USERNAME_OR_ORG}.${PROJECT_NAME.replace('-', '')}`,
// mavenArtifactId: PROJECT_NAME,
// mavenEndpoint: 'https://s01.oss.sonatype.org',
// mavenGroupId: `io.github.${GITHUB_USERNAME_OR_ORG}`,
// javaPackage: `io.github.${GITHUB_USERNAME_OR_ORG}.${PROJECT_NAME.replace(
// "-",
// "",
// )}`,
// mavenArtifactId: PROJECT_NAME,
// mavenEndpoint: "https://s01.oss.sonatype.org",
// },
});

new Nvmrc(project);

project.synth();
3 changes: 2 additions & 1 deletion package.json

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

50 changes: 39 additions & 11 deletions pnpm-lock.yaml

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