Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Apr 30, 2024
0 parents commit 72a5612
Show file tree
Hide file tree
Showing 14 changed files with 4,600 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.10.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/eslintConfig.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 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,
}
46 changes: 46 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "@jcoreio/clarity-feature-toolkit",
"version": "0.0.0-development",
"description": "development and deploy CLI for custom Clarity features",
"keywords": [],
"author": "Andy Edwards",
"license": "MIT",
"devDependencies": {
"@jcoreio/eslint-plugin-implicit-dependencies": "^1.1.1",
"@jcoreio/toolchain": "^4.0.1",
"@jcoreio/toolchain-circle": "^4.0.1",
"@jcoreio/toolchain-esnext": "^4.0.1",
"@jcoreio/toolchain-react": "^4.0.1",
"@jcoreio/toolchain-semantic-release": "^4.0.1",
"@jcoreio/toolchain-typescript": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.32.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",
"default": "./dist/index.js"
}
},
"sideEffects": false,
"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"
},
"engines": {
"node": ">=16"
},
"packageManager": "[email protected]",
"dependencies": {
"@babel/runtime": "^7.18.6"
}
}
Loading

0 comments on commit 72a5612

Please sign in to comment.