Skip to content

Commit

Permalink
new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshay committed Dec 1, 2023
1 parent 5159033 commit 867608d
Show file tree
Hide file tree
Showing 12 changed files with 53 additions and 43 deletions.
6 changes: 6 additions & 0 deletions packages/lshay-constructs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lshay/constructs

## 0.0.4

### Patch Changes

- Actually fixed the resolution of support

## 0.0.3

### Patch Changes
Expand Down
14 changes: 7 additions & 7 deletions packages/lshay-constructs/docs/classes/CrossRegionCertificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Construct.constructor

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:133
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:140](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L140)

## Properties

Expand All @@ -65,7 +65,7 @@ packages/lshay-constructs/src/constructs/cross-region-certificate.ts:133

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:128
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:128](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L128)

---

Expand All @@ -75,7 +75,7 @@ packages/lshay-constructs/src/constructs/cross-region-certificate.ts:128

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:131
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:130](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L130)

---

Expand All @@ -85,7 +85,7 @@ packages/lshay-constructs/src/constructs/cross-region-certificate.ts:131

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:126
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:132](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L132)

---

Expand All @@ -95,7 +95,7 @@ packages/lshay-constructs/src/constructs/cross-region-certificate.ts:126

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:127
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:134](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L134)

---

Expand All @@ -121,7 +121,7 @@ node_modules/constructs/lib/construct.d.ts:265

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:129
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:136](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L136)

---

Expand All @@ -131,7 +131,7 @@ packages/lshay-constructs/src/constructs/cross-region-certificate.ts:129

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:130
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:138](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L138)

## Methods

Expand Down
6 changes: 3 additions & 3 deletions packages/lshay-constructs/docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Status of the certificate.

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:90
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:91](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L91)

---

Expand All @@ -45,7 +45,7 @@ Properties for creating a [CrossRegionCertificate](classes/CrossRegionCertificat

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:103
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:104](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L104)

---

Expand All @@ -57,4 +57,4 @@ The validation method for the certificate.

#### Defined in

packages/lshay-constructs/src/constructs/cross-region-certificate.ts:85
[packages/lshay-constructs/src/constructs/cross-region-certificate.ts:86](https://github.com/LukeShay/npm/blob/5159033/packages/lshay-constructs/src/constructs/cross-region-certificate.ts#L86)
21 changes: 5 additions & 16 deletions packages/lshay-constructs/package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
{
"name": "@lshay/constructs",
"version": "0.0.3",
"version": "0.0.4",
"repository": {
"type": "git",
"url": "ssh://[email protected]/lukeshay/npm.git",
"directory": "packages/lshay-constructs"
},
"license": "MIT",
"author": "Luke Shay <https://lukeshay.com>",
"type": "commonjs",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"exports": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"type": "module",
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"files": [
"dist",
"support",
Expand All @@ -30,7 +19,7 @@
],
"scripts": {
"gen": "typedoc && prettier --write docs",
"build": "pkgroll",
"build": "yarn gen && rimraf dist && tsc --project tsconfig.build.json",
"clean": "exit 0",
"test": "exit 0",
"lint": "eslint .",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Code, Function, Runtime } from "aws-cdk-lib/aws-lambda"
import { CustomResource, Duration, Stack } from "aws-cdk-lib/core"
import { Provider } from "aws-cdk-lib/custom-resources"
import { Construct } from "constructs"
import * as path from "node:path"
import * as url from "node:url"

/** @internal */
class CrossRegionCertificateProvider extends Construct {
Expand All @@ -18,16 +18,8 @@ class CrossRegionCertificateProvider extends Construct {
super(scope, id)

const code = Code.fromAsset(
path.resolve(
path.dirname(
// eslint-disable-next-line unicorn/prefer-module
require.resolve(
// eslint-disable-next-line n/no-missing-require
"@lshay/constructs",
),
),
"support",
"cross-region-certificate-provider",
url.fileURLToPath(
new url.URL("../../support/cross-region-certificate", import.meta.url),
),
)

Expand Down
8 changes: 8 additions & 0 deletions packages/lshay-constructs/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"extends": "./tsconfig.json",
"include": ["src"]
}
6 changes: 3 additions & 3 deletions packages/lshay-constructs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"noUncheckedIndexedAccess": true
"outDir": "dist"
},
"extends": "@tsconfig/node18/tsconfig.json",
"include": ["eslint.config.js", "src", "support"],
"extends": "@lshay/tsconfig/tsc.json",
"include": ["eslint.config.js", "src"],
"typedocOptions": {
"entryPoints": ["src/index.ts"],
"out": "docs",
Expand Down
6 changes: 6 additions & 0 deletions packages/lshay-tsconfig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lshay/tsconfig

## 0.0.2

### Patch Changes

- Updated to only require extending from one tsconfig'

## 0.0.1

### Patch Changes
Expand Down
1 change: 0 additions & 1 deletion packages/lshay-tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"isolatedModules": true,
"moduleDetection": "force",
"noUncheckedIndexedAccess": true,
"outDir": "dist",
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
Expand Down
File renamed without changes.
7 changes: 5 additions & 2 deletions packages/lshay-tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lshay/tsconfig",
"version": "0.0.1",
"version": "0.0.2",
"repository": {
"type": "git",
"url": "ssh://[email protected]/lukeshay/npm.git",
Expand All @@ -11,7 +11,10 @@
"type": "commonjs",
"main": "./index.js",
"files": [
"./*.json",
"./bundler-dom.json",
"./bundler.json",
"./tsc-dom.json",
"./tsc.json",
"README.md",
"CHANGELOG.md"
],
Expand Down
7 changes: 7 additions & 0 deletions packages/lshay-tsconfig/tsc-dom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"lib": ["es2022", "dom", "dom.iterable"]
},
"extends": "./tsc.json"
}

0 comments on commit 867608d

Please sign in to comment.