npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@rioclaid/cdk-constructs

v0.10.69

Published

CDK constructs to build RIO flavored CI/CD pipeline in AWS.

Downloads

52

Readme

RIO CDK Constructs

This package contains CDK constructs and projen projects for RIO teams.

NPM: @rioclaid/cdk-constructs

Projen

Run npx projen new --from @rioclaid/cdk-constructs rio-fargate-web-app

Constructs

See ./API.md for a list of constructs

Open issues

  • DataDog: Use DataDog.jar inside Docker image for profiling (using AWS Artifacts?)

  • Add vulnerability and license-check actions

  • Get self-signed certificate for LB<->Service communication

  • DataDog: Provide aspect to use lambda extensions to send logs to DataDog

  • Introduce immutable tags to RioEcrRepo (waits for https://github.com/aws/aws-cdk/pull/10557))

  • projen template should provide useful tags in pipeline template

  • Replace custom synth action with standard one, once CDK #12061 is fixed

  • Have custom resource to create BitBucket repo and webhook automatically

  • Send container image scan results to OpsGenie

  • Check for security requirements (s3 buckets, ...) - maybe automated as aspect?

  • RDS: Provide RIO-style Aurora

  • Backup: Provide aspect to add automatically backup tags

  • Send build status back to BitBucket (see cdk-codepipeline-bitbucket-build-result-reporter)

  • Support PR builds (using StepFunctions?)

  • Move this library to AWS CodeArtifact

Developing CDK libraries

Provide commit messages according to Conventional Commits. This library uses standard-version to generate the changelog and publish a new version. Example commit message:

fix(watchful): :bug: removing toggle rioclaid-1857-datadog-threshold; removed threshold
rioclaid-1857

Releasing a new version

Make sure that the parameter store /config/npm/token having the npm token to publish is added before releasing.

  1. Create locally a new release by running npm run release. (e.g. npm run release -- --release-as minor)
  2. Check the generated CHANGELOG.md file and adjust thing when necessary

Test projen projects locally

  • Ensure to have the changes compiled (run npm run compile or npm run build)
  • Create a new directory (next to this one)
  • Run npx projen new --from ../cdk-constructs/ rio-fargate-web-app --synth false
  • Open .projenrc.js and change the first line to reference the local one and devDeps to use the published one.
const { RioFargateWebApp } = require('../cdk-constructs/');

const project = new RioFargateWebApp({
  cdkVersion: '1.95.2',
  defaultReleaseBranch: 'main',
  devDeps: ['@rioclaid/cdk-constructs'],
  jsiiFqn: '@rioclaid/cdk-constructs.RioFargateWebApp',
  name: 'rio-projen',
});
project.synth();
  • Run npx projen

FAQ

  • Getting error Could not resolve dependency: jest while running projen newcommand

    The issue is resolved in projen version 0.34.8. Use versions >= 0.34.8