Skip to content

Commit

Permalink
improve .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
loicknuchel committed Feb 10, 2024
1 parent 134cb53 commit 968a578
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 10 deletions.
4 changes: 3 additions & 1 deletion cli/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
lib
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 1 addition & 1 deletion cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@
"url": "https://github.com/azimuttapp/azimutt/issues"
},
"type": "module",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"main": "./out/index.js",
"types": "./out/index.d.ts",
"bin": {
"azimutt": "./lib/index.js"
"azimutt": "./out/index.js"
},
"scripts": {
"setup": "npm install && npm run build && chmod +x ./lib/index.js",
"setup": "npm install && npm run build && chmod +x ./out/index.js",
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"start:windows": "nodemon --watch 'src/**/*.ts' --exec \"npx ts-node\" src/index.ts",
"test": "jest",
"build": "rm -rf ./lib && tsc",
"build": "rm -rf ./out && tsc",
"update": "npm update --save-dev && npm update --save && npm install",
"exec": "npm run build && node ./lib/index.js",
"exec": "npm run build && node ./out/index.js",
"local": "sudo npm install -g && azimutt",
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
"dry-publish": "npm run build && npm test && npm pack"
Expand Down
4 changes: 2 additions & 2 deletions cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
"outDir": "./lib", /* Specify an output folder for all emitted files. */
"outDir": "./out", /* Specify an output folder for all emitted files. */
// "removeComments": true, /* Disable emitting comments. */
// "noEmit": true, /* Disable emitting files from a compilation. */
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
Expand Down Expand Up @@ -100,6 +100,6 @@
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"exclude": ["node_modules", "lib", "**/*.test.ts"],
"exclude": ["node_modules", "out", "**/*.test.ts"],
"include": ["src"]
}
2 changes: 2 additions & 0 deletions gateway/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js

.env.production
production.env
2 changes: 2 additions & 0 deletions libs/connector-couchbase/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/connector-mariadb/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/connector-mongodb/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/connector-mysql/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/connector-postgres/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/connector-sqlserver/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/json-infer-schema/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/parser-prisma/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/parser-sql/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/shared/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js
2 changes: 2 additions & 0 deletions libs/utils/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
out
*.tgz
src/**/*.js
tests/**/*.js

0 comments on commit 968a578

Please sign in to comment.