Skip to content

Commit 48c798c

Browse files
committed
Added project skeleton
0 parents  commit 48c798c

9 files changed

Lines changed: 111 additions & 0 deletions

File tree

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dist

.eslintrc.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"extends": [
3+
"oclif",
4+
"oclif-typescript",
5+
"prettier"
6+
],
7+
"rules": {
8+
"object-curly-spacing": [
9+
"warn",
10+
"always"
11+
],
12+
"perfectionist/sort-classes": [
13+
"off"
14+
],
15+
"quotes": [
16+
"error",
17+
"single"
18+
]
19+
},
20+
"ignorePatterns": [
21+
"*.test.ts"
22+
]
23+
}

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
**/.DS_Store
2+
*-debug.log
3+
*-error.log
4+
/.idea
5+
/.nyc_output
6+
/dist
7+
/lib
8+
/package-lock.json
9+
/tmp
10+
/yarn.lock
11+
node_modules
12+
oclif.manifest.json

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"@oclif/prettier-config"

codify.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
{
3+
"type": "nvm",
4+
"global": "18.20",
5+
"nodeVersions": [
6+
"18.20"
7+
]
8+
}
9+
]

package.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "codify-plugin-test",
3+
"version": "0.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"start": "tsx ./src/index.ts"
9+
},
10+
"dependencies": {
11+
"ajv": "^8.12.0",
12+
"ajv-formats": "^3.0.1",
13+
"codify-schemas": "1.0.38"
14+
},
15+
"devDependencies": {
16+
"@oclif/prettier-config": "^0.2.1",
17+
"@types/debug": "^4.1.12",
18+
"@types/node": "^18",
19+
"eslint": "^8.51.0",
20+
"eslint-config-oclif": "^5",
21+
"eslint-config-oclif-typescript": "^3",
22+
"eslint-config-prettier": "^9.0.0",
23+
"tsx": "^4.7.3",
24+
"typescript": "^5",
25+
"vitest": "^1.4.0"
26+
},
27+
"keywords": [],
28+
"author": "",
29+
"license": "ISC"
30+
}

src/index.ts

Whitespace-only changes.

tsconfig.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"compilerOptions": {
3+
"declaration": true,
4+
"module": "NodeNext",
5+
"moduleResolution": "Node16",
6+
"esModuleInterop": true,
7+
"resolveJsonModule": true,
8+
"jsx": "react",
9+
"outDir": "dist",
10+
"rootDir": "src",
11+
"strict": true,
12+
"target": "es2022"
13+
},
14+
"include": [
15+
"src/**/*"
16+
],
17+
"exclude": [
18+
"src/**/*.test.ts",
19+
"node_modules"
20+
],
21+
"ts-node": {
22+
"esm": true
23+
}
24+
}

tsconfig.test.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": "tsconfig.json",
3+
"compilerOptions": {
4+
"strictNullChecks": false
5+
},
6+
"include": [
7+
"src/**/*.test.ts",
8+
"test/**/*.test.ts",
9+
"test/**/*.integration-test.ts"
10+
]
11+
}

0 commit comments

Comments
 (0)