Skip to content

Commit

Permalink
build: rename package to aws-prototyping-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
agdimech committed Feb 24, 2022
1 parent 731630b commit f718606
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 35 deletions.
6 changes: 6 additions & 0 deletions .npmignore

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

58 changes: 35 additions & 23 deletions .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

import { JsiiProject } from 'projen/lib/cdk';
import { JsiiProject } from "projen/lib/cdk";

const project = new JsiiProject({
author: "AWS APJ COPE",
authorAddress: "[email protected]",
defaultReleaseBranch: "mainline",
name: "aws-pdk",
name: "aws-prototyping-sdk",
docgen: false,
projenrcTs: true,
keywords: ["aws", "pdk", "jsii", "projen"],
prettier: true,
repositoryUrl: "https://github.com/aws/aws-pdk",
repositoryUrl: "https://github.com/aws/aws-prototyping-sdk",
publishToMaven: {
mavenGroupId: "software.amazon.awspdk",
mavenArtifactId: "aws-pdk",
javaPackage: "software.amazon.awspdk",
mavenGroupId: "aws.prototyping.sdk",
mavenArtifactId: "aws-prototyping-sdk",
javaPackage: "aws.prototyping.sdk",
},
publishToPypi: {
distName: "awspdk",
module: "awspdk",
distName: "aws-prototyping-sdk",
module: "aws-prototyping-sdk",
},
publishToNuget: {
dotNetNamespace: "Amazon.PDK",
packageId: "Amazon.PDK",
dotNetNamespace: "Aws.Prototying.Sdk",
packageId: "Aws.Prototyping.Sdk",
},
devDeps: [
"@commitlint/cli",
Expand All @@ -40,18 +40,16 @@ const project = new JsiiProject({
"license-checker",
"oss-attribution-generator",
],
peerDeps: [
"projen"
]
peerDeps: ["projen"],
});

// Custom targets
project.addTask("prepare", {
exec: "husky install"
exec: "husky install",
});

project.addTask("clean", {
exec: "rm -rf dist build lib test-reports coverage LICENSE-THIRD-PARTY"
exec: "rm -rf dist build lib test-reports coverage LICENSE-THIRD-PARTY",
});

const generateAttributionTask = project.addTask("generate:attribution", {
Expand All @@ -67,10 +65,10 @@ const licenseCheckerTask = project.addTask("license:check", {
project.addFields({
resolutions: {
"ansi-regex": "^5.0.1",
"underscore": "^1.12.1",
underscore: "^1.12.1",
"deep-extend": "^0.5.1",
"debug": "^2.6.9"
}
debug: "^2.6.9",
},
});

// Commit lint and commitizen settings
Expand Down Expand Up @@ -100,16 +98,30 @@ project.eslint?.addRules({
});

// Update .gitignore
project.gitignore.exclude("/.tools/", "/.idea/", "LICENSE-THIRD-PARTY", ".DS_Store", "build");
project.gitignore.exclude(
"/.tools/",
"/.idea/",
"LICENSE-THIRD-PARTY",
".DS_Store",
"build"
);

// Update npmignore
project.addPackageIgnore("/build/");
project.addPackageIgnore("/docs/");
project.addPackageIgnore("/scripts/");
[
"/.gitattributes",
"/.prettierignore",
"/.prettierrc.json",
"/.projenrc.ts",
"/.husky/",
"/.tools/",
"/build/",
"/docs/",
"/scripts/",
].forEach((s) => project.addPackageIgnore(s));

// Generate docs for each supported language into a micro-site
project.addTask("build:docs", {
exec: "./scripts/build-docs.sh"
exec: "./scripts/build-docs.sh",
});

// Add additional tests
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aws-pdk
aws-prototyping-sdk
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aws-pdk
# aws-prototyping-sdk

Prototyping Development Kit (PDK) is a package which contains re-usable L2 and L3 CDK constructs.
AWS Prototyping SDK (PDK) is a package which contains re-usable L2 and L3 CDK constructs.

## Getting Started

Expand Down
18 changes: 9 additions & 9 deletions package.json

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

0 comments on commit f718606

Please sign in to comment.