Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Feb 29, 2024
0 parents commit aaf77d1
Show file tree
Hide file tree
Showing 17 changed files with 7,022 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .babelrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* eslint-env node, es2018 */
module.exports = function (api) {
const base = require('@jcoreio/toolchain-esnext/.babelrc.cjs')(api)
return {
...base,
}
}
38 changes: 38 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# created by @jcoreio/toolchain-circle

version: 2.1
jobs:
build:
docker:
- image: cimg/node:20.3.0

steps:
- checkout
- run:
name: Setup NPM Token
command: |
npm config set \
"//registry.npmjs.org/:_authToken=$NPM_TOKEN" \
"registry=https://registry.npmjs.org/"
- run:
name: Corepack enable
command: sudo corepack enable
- run:
name: Install Dependencies
command: pnpm install --frozen-lockfile
- run:
name: Prepublish
command: |
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc prepublish
- run:
name: Release
command: |
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc release
workflows:
build:
jobs:
- build:
context:
- npm-release
- github-release
4 changes: 4 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* eslint-env node, es2018 */
module.exports = {
extends: [require.resolve('@jcoreio/toolchain/eslint.config.cjs')],
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/dist
.nyc_output
node_modules
/coverage
5 changes: 5 additions & 0 deletions .mocharc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain-mocha/.mocharc.cjs')
module.exports = {
...base,
}
5 changes: 5 additions & 0 deletions githooks.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/githooks.cjs')
module.exports = {
...base,
}
5 changes: 5 additions & 0 deletions lint-staged.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain/lint-staged.config.cjs')
module.exports = {
...base,
}
5 changes: 5 additions & 0 deletions nyc.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain-mocha/nyc.config.cjs')
module.exports = {
...base,
}
51 changes: 51 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "zod-route-schemas",
"version": "0.0.0-development",
"description": "",
"scripts": {
"tc": "toolchain",
"toolchain": "toolchain",
"test": "toolchain test",
"prepublishOnly": "echo This package is meant to be published by semantic-release from the dist build directory. && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@jcoreio/toolchain": "^3.2.2",
"@jcoreio/toolchain-circle": "^3.2.2",
"@jcoreio/toolchain-esnext": "^3.2.2",
"@jcoreio/toolchain-mocha": "^3.2.2",
"@jcoreio/toolchain-semantic-release": "^3.2.2",
"@jcoreio/toolchain-typescript": "^3.2.2",
"@types/chai": "^4.0.0",
"@types/node": "^20.11.22",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"chai": "^4.0.0",
"eslint": "^8.43.0",
"mocha": "^10.2.0",
"ts-node": "^10.9.2",
"typescript": "^5.1.0"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
}
},
"sideEffects": false,
"engines": {
"node": ">=16"
},
"packageManager": "[email protected]",
"dependencies": {
"@babel/runtime": "^7.18.6",
"zod": "^3.22.4"
}
}
Loading

0 comments on commit aaf77d1

Please sign in to comment.