diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bfa636a --- /dev/null +++ b/.gitignore @@ -0,0 +1,141 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.* +!.env.example + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp + +# Sveltekit cache directory +.svelte-kit/ + +# vitepress build output +**/.vitepress/dist + +# vitepress cache directory +**/.vitepress/cache + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# Firebase cache directory +.firebase/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v3 +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions + +# Vite logs files +vite.config.js.timestamp-* +vite.config.ts.timestamp-* + +# Idea +.idea diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..f6fe883 --- /dev/null +++ b/.npmignore @@ -0,0 +1,7 @@ +.github +.idea +.husky +src +examples +.prettierignore +vitest.config.mts \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..1136053 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,10 @@ +# Add files here to ignore them from prettier formatting + +/node_modules + +.idea +.history +.husky +dist +coverage + diff --git a/README.md b/README.md index e5668c0..f98a9f1 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,6 @@ [![GitHub issues](https://img.shields.io/github/issues/MrCheater/jsonormalize?style=for-the-badge&logo=github)](https://github.com/MrCheater/jsonormalize/issues) [![GitHub license](https://img.shields.io/github/license/MrCheater/jsonormalize?style=for-the-badge)](https://github.com/MrCheater/jsonormalize/blob/main/LICENSE) [![Test Coverage](https://raw.githubusercontent.com/MrCheater/jsonormalize/gh-pages/badge.svg)](https://mrcheater.github.io/jsonormalize/) -[![npm version](https://img.shields.io/npm/v/jsonormalize?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/jsonormalize) -[![npm downloads](https://img.shields.io/npm/dm/jsonormalize?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/jsonormalize) -[![bundle size](https://img.shields.io/bundlephobia/min/jsonormalize?style=for-the-badge&logo=npm)](https://bundlephobia.com/package/jsonormalize) [![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/) [![Drizzle](https://img.shields.io/badge/Drizzle-1E88E5?style=for-the-badge&logo=drizzle&logoColor=white)](https://orm.drizzle.team/) [![Node.js](https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=nodedotjs&logoColor=white)](https://nodejs.org/) diff --git a/package-lock.json b/package-lock.json index f87856f..9a89d34 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@analtools/jsonormalize", - "version": "0.0.2", + "version": "0.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@analtools/jsonormalize", - "version": "0.0.2", + "version": "0.0.4", "license": "MIT", "dependencies": { "better-sqlite3": "^12.5.0", diff --git a/package.json b/package.json index fc1790c..4a1c795 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@analtools/jsonormalize", - "version": "0.0.2", + "version": "0.0.4", "description": "JSONormalize — Transform any JSON into a relational database schema. Automatically normalizes nested structures, detects relationships, and generates SQLite migrations. Perfect for rapid prototyping, data migrations, and structured data workflows.", "keywords": [ "json-normalize",