Skip to content

Commit 61ae234

Browse files
committed
Changed Lib name and some settings. Prepare for release
1 parent a70b01b commit 61ae234

File tree

4 files changed

+18
-21
lines changed

4 files changed

+18
-21
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "cfn-rpdk",
3-
"version": "0.5.0",
2+
"name": "cloudformation-cli-typescript-lib",
3+
"version": "1.0.0",
44
"description": "The CloudFormation Resource Provider Development Kit (RPDK) allows you to author your own resource providers that can be used by CloudFormation. This plugin library helps to provide runtime bindings for the execution of your providers by CloudFormation.",
55
"private": false,
66
"main": "dist/index.js",
@@ -27,14 +27,14 @@
2727
},
2828
"repository": {
2929
"type": "git",
30-
"url": "git+https://github.com/eduardomourar/cloudformation-cli-typescript-plugin.git"
30+
"url": "git+https://github.com/aws-cloudformation/cloudformation-cli-typescript-plugin.git"
3131
},
32-
"author": "eduardomourar",
33-
"license": "MIT",
32+
"author": "Amazon Web Services",
33+
"license": "Apache License 2.0",
3434
"bugs": {
35-
"url": "https://github.com/eduardomourar/cloudformation-cli-typescript-plugin/issues"
35+
"url": "https://github.com/aws-cloudformation/cloudformation-cli-typescript-plugin/issues"
3636
},
37-
"homepage": "https://github.com/eduardomourar/cloudformation-cli-typescript-plugin#readme",
37+
"homepage": "https://github.com/aws-cloudformation/cloudformation-cli-typescript-plugin#readme",
3838
"dependencies": {
3939
"@org-formation/tombok": "^0.0.1",
4040
"autobind-decorator": "^2.4.0",

python/rpdk/typescript/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import logging
22

3-
__version__ = "0.5.0"
3+
__version__ = "1.0.0"
44

55
logging.getLogger(__name__).addHandler(logging.NullHandler())

python/rpdk/typescript/codegen.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@
2222
LOG = logging.getLogger(__name__)
2323

2424
EXECUTABLE = "cfn"
25-
SUPPORT_LIB_NAME = "cfn-rpdk"
26-
SUPPORT_LIB_VERSION = "0.5.0"
25+
SUPPORT_LIB_NAME = "cloudformation-cli-typescript-lib"
26+
SUPPORT_LIB_VERSION = "^1.0.0"
2727
MAIN_HANDLER_FUNCTION = "TypeFunction"
28-
REPO_URL = "https://github.com/eduardomourar/cloudformation-cli-typescript-plugin"
29-
REPO_RELEASE_SUFFIX = f"v{SUPPORT_LIB_VERSION}/cfn-rpdk-{SUPPORT_LIB_VERSION}.tgz"
3028

3129

3230
def validate_no(value):
@@ -40,7 +38,6 @@ class TypescriptLanguagePlugin(LanguagePlugin):
4038
ENTRY_POINT = "dist/handlers.entrypoint"
4139
TEST_ENTRY_POINT = "dist/handlers.testEntrypoint"
4240
CODE_URI = "./"
43-
SUPPORT_LIB_URI = f"{REPO_URL}/releases/download/{REPO_RELEASE_SUFFIX}"
4441

4542
def __init__(self):
4643
self.env = self._setup_jinja_env(
@@ -65,7 +62,7 @@ def _init_from_project(self, project):
6562
self._use_docker = project.settings.get("useDocker", True)
6663
self.package_root = project.root / "src"
6764
self._build_command = project.settings.get("buildCommand", None)
68-
self._lib_path = project.settings.get("supportLibrary", self.SUPPORT_LIB_URI)
65+
self._lib_path = SUPPORT_LIB_VERSION
6966

7067
def _init_settings(self, project):
7168
LOG.debug("Writing settings")

setup.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,27 @@ def find_version(*file_paths):
2828
description=__doc__,
2929
long_description=read("README.md"),
3030
long_description_content_type="text/markdown",
31-
author="eduardomourar",
32-
author_email="eduardomourar@users.noreply.github.com",
33-
url="https://github.com/eduardomourar/cloudformation-cli-typescript-plugin",
31+
author="Amazon Web Services",
32+
author_email="aws-cloudformation-developers@amazon.com",
33+
url="https://github.com/aws-cloudformation/cloudformation-cli-typescript-plugin",
3434
packages=["rpdk.typescript"],
3535
package_dir={"": "python"},
3636
# package_data -> use MANIFEST.in instead
3737
include_package_data=True,
3838
zip_safe=True,
3939
python_requires=">=3.6",
40-
install_requires=["cloudformation-cli>=0.1.14", "zipfile38>=0.0.3,<0.2"],
40+
install_requires=["cloudformation-cli>=0.1.14", "docker>=3.7,<5", "zipfile38>=0.0.3,<0.2"],
4141
entry_points={
4242
"rpdk.v1.languages": [
4343
"typescript = rpdk.typescript.codegen:TypescriptLanguagePlugin",
4444
]
4545
},
46-
license="MIT",
46+
license="Apache License 2.0",
4747
classifiers=[
48-
"Development Status :: 2 - Pre-Alpha",
48+
"Development Status :: 5 - Production/Stable",
4949
"Environment :: Console",
5050
"Intended Audience :: Developers",
51-
"License :: OSI Approved :: MIT/X Consortium License",
51+
"License :: OSI Approved :: Apache Software License",
5252
"Natural Language :: English",
5353
"Topic :: Software Development :: Build Tools",
5454
"Topic :: Software Development :: Code Generators",

0 commit comments

Comments
 (0)