-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
4,199 additions
and
1,617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@lshay/eslint-config-flat": patch | ||
--- | ||
|
||
Added default for global files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@lshay/constructs": patch | ||
"@lshay/tsconfig": patch | ||
--- | ||
|
||
Created packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@lshay/prettier-config": minor | ||
--- | ||
|
||
Updated markdown to use spaces instead of tabs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nodejs 18.18.0 | ||
nodejs 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const { existsSync } = require(`fs`) | ||
const { createRequire } = require(`module`) | ||
const { resolve } = require(`path`) | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
const relPnpApiPath = "../../../../.pnp.cjs" | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = createRequire(absPnpApiPath); | ||
const absPnpApiPath = resolve(__dirname, relPnpApiPath) | ||
const absRequire = createRequire(absPnpApiPath) | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/bin/tsc | ||
require(absPnpApiPath).setup(); | ||
} | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/bin/tsc | ||
require(absPnpApiPath).setup() | ||
} | ||
} | ||
|
||
// Defer to the real typescript/bin/tsc your application uses | ||
module.exports = absRequire(`typescript/bin/tsc`); | ||
module.exports = absRequire(`typescript/bin/tsc`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const { existsSync } = require(`fs`) | ||
const { createRequire } = require(`module`) | ||
const { resolve } = require(`path`) | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
const relPnpApiPath = "../../../../.pnp.cjs" | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = createRequire(absPnpApiPath); | ||
const absPnpApiPath = resolve(__dirname, relPnpApiPath) | ||
const absRequire = createRequire(absPnpApiPath) | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/bin/tsserver | ||
require(absPnpApiPath).setup(); | ||
} | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/bin/tsserver | ||
require(absPnpApiPath).setup() | ||
} | ||
} | ||
|
||
// Defer to the real typescript/bin/tsserver your application uses | ||
module.exports = absRequire(`typescript/bin/tsserver`); | ||
module.exports = absRequire(`typescript/bin/tsserver`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,7 @@ | |
"changeset": "CHANGESET=1 changeset", | ||
"lint": "yarn workspaces foreach run lint", | ||
"lint:fix": "yarn workspaces foreach run lint:fix", | ||
"prettier": "prettier --check .", | ||
"prettier:fix": "yarn prettier --write", | ||
"format": "prettier --write --check .", | ||
"release": "changeset version && yarn prettier:fix && git add . && git commit -m 'new versions' && changeset publish && git push --follow-tags" | ||
}, | ||
"lint-staged": { | ||
|
@@ -26,21 +25,21 @@ | |
] | ||
}, | ||
"dependencies": { | ||
"@changesets/changelog-github": "^0.4.8" | ||
"@changesets/changelog-github": "^0.5.0" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.26.2", | ||
"@changesets/cli": "^2.27.1", | ||
"@lshay/eslint-config": "workspace:^", | ||
"@lshay/eslint-config-flat": "workspace:^", | ||
"@lshay/prettier-config": "workspace:^", | ||
"@tsconfig/node18": "^18.2.0", | ||
"@types/node": "^18", | ||
"@tsconfig/node18": "^18.2.2", | ||
"@types/node": "^20", | ||
"@vercel/git-hooks": "^1.0.0", | ||
"eslint": "^8.45.0", | ||
"lint-staged": "^13.2.3", | ||
"prettier": "^3.0.0", | ||
"rimraf": "^5.0.1", | ||
"typescript": "^5.1.6" | ||
"eslint": "^8.54.0", | ||
"lint-staged": "^15.1.0", | ||
"prettier": "^3.1.0", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.3.2" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dist/ | ||
node_modules/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Luke Shay | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# @lshay/constructs | ||
|
||
Useful constructs for AWS CDK. | ||
|
||
## Getting Started | ||
|
||
Install using the package manager of your choice. | ||
|
||
```sh | ||
npm i @lshay/constructs | ||
``` | ||
|
||
```sh | ||
pnpm i @lshay/constructs | ||
``` | ||
|
||
```sh | ||
yarn add @lshay/constructs | ||
``` | ||
|
||
# API Reference | ||
|
||
[Docs](./docs/modules.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@lshay/constructs / [Exports](modules.md) | ||
|
||
# @lshay/constructs | ||
|
||
Useful constructs for AWS CDK. | ||
|
||
## Getting Started | ||
|
||
Install using the package manager of your choice. | ||
|
||
```sh | ||
npm i @lshay/constructs | ||
``` | ||
|
||
```sh | ||
pnpm i @lshay/constructs | ||
``` | ||
|
||
```sh | ||
yarn add @lshay/constructs | ||
``` | ||
|
||
# API Reference | ||
|
||
[Docs](./docs/modules.md) |
Oops, something went wrong.