From 2aa1b096c9838c9be9ac2bac87442493057c0efa Mon Sep 17 00:00:00 2001 From: Yann Thibodeau Date: Sun, 10 Sep 2023 21:55:06 -0400 Subject: [PATCH] feat: updated all dependencies + improved return typing with overloads for the search function --- .editorconfig | 13 + .eslintignore | 1 + .eslintrc.json | 42 + .github/workflows/publish-package.yml | 35 +- .gitignore | 45 +- .prettierignore | 3 + .prettierrc | 10 +- .vscode/extensions.json | 8 + README.md | 23 +- apps/web-app/.eslintrc.json | 18 + apps/web-app/jest.config.ts | 11 + apps/web-app/project.json | 65 + apps/web-app/rspack.config.js | 5 + .../web-app/src/assets}/_redirects | 0 .../web-app/src/assets}/benchmarkResults.json | 0 .../web-app/src/assets}/data-chunk-0.json | 0 .../web-app/src/assets}/data-chunk-1.json | 0 .../web-app/src/assets}/data-chunk-2.json | 0 .../web-app/src/assets}/data-chunk-3.json | 0 .../web-app/src/assets}/data-chunk-4.json | 0 .../web-app/src/assets}/data-chunk-5.json | 0 .../web-app/src/assets}/data-chunk-6.json | 0 .../web-app/src/assets}/data-chunk-7.json | 0 .../web-app/src/assets}/data-chunk-8.json | 0 .../web-app/src/assets}/data-chunk-9.json | 0 .../web-app/src/assets}/index.html | 2 +- .../web-app/src/assets}/manifest.json | 0 .../web-app/src/assets}/robots.txt | 0 apps/web-app/src/components/app-layout.tsx | 167 + apps/web-app/src/components/app.tsx | 95 + .../src/components/backdrop-loader.tsx | 39 + apps/web-app/src/components/data-table.tsx | 68 + apps/web-app/src/favicon.ico | Bin 0 -> 15086 bytes {packages/app => apps/web-app}/src/index.css | 0 apps/web-app/src/index.html | 14 + apps/web-app/src/main.tsx | 14 + apps/web-app/src/models/data.ts | 8 + apps/web-app/src/pages/benchmark-page.tsx | 299 + .../src/pages/benchmark-version-page.tsx | 65 + apps/web-app/src/pages/demo-page.tsx | 85 + .../web-app}/src/react-app-env.d.ts | 0 apps/web-app/src/serviceWorker.ts | 133 + .../app => apps/web-app}/src/setupTests.ts | 0 apps/web-app/src/styles.css | 1 + apps/web-app/tsconfig.app.json | 24 + apps/web-app/tsconfig.json | 20 + apps/web-app/tsconfig.spec.json | 21 + benchmark/.eslintrc.json | 18 + benchmark/jest.config.ts | 11 + benchmark/project.json | 77 + benchmark/src/assets/.gitkeep | 0 .../benchmark => benchmark/src}/data.ts | 0 benchmark/src/main.ts | 72 + benchmark/tsconfig.app.json | 10 + benchmark/tsconfig.json | 16 + benchmark/tsconfig.spec.json | 9 + commitlint.config.js | 1 - jest.config.ts | 5 + jest.preset.js | 3 + lerna.json | 6 - nx.json | 80 + package-lock.json | 37479 ++++++++++------ package.json | 128 +- packages/app/.gitignore | 24 - packages/app/README.md | 44 - packages/app/generateData.js | 23 - packages/app/package-lock.json | 15035 ------- packages/app/package.json | 64 - packages/app/public/favicon.ico | Bin 3150 -> 0 bytes packages/app/public/logo192.png | Bin 5347 -> 0 bytes packages/app/public/logo512.png | Bin 9664 -> 0 bytes packages/app/src/App.tsx | 97 - packages/app/src/AppLayout.tsx | 166 - packages/app/src/BackdropLoader.tsx | 38 - packages/app/src/Benchmark.tsx | 261 - packages/app/src/BenchmarkVersion.tsx | 52 - packages/app/src/DataTable.tsx | 66 - packages/app/src/Demo.tsx | 78 - packages/app/src/index.tsx | 19 - packages/app/src/logo.svg | 7 - packages/app/src/models/data.ts | 6 - packages/app/src/serviceWorker.ts | 134 - packages/app/tsconfig.json | 25 - packages/ss-search/.mocharc.json | 5 - packages/ss-search/CHANGELOG.md | 137 - packages/ss-search/benchmark/benchmark.ts | 63 - .../ss-search/benchmark/package-lock.json | 13 - packages/ss-search/benchmark/package.json | 16 - packages/ss-search/package-lock.json | 2857 -- packages/ss-search/package.json | 83 - .../ss-search/benchmark/package-lock.json | 19 - packages/ss-search/rollup.config.js | 27 - packages/ss-search/src/index.ts | 83 - .../tests/convertToSearchableStrings.test.ts | 198 - packages/ss-search/tests/getScore.test.ts | 86 - packages/ss-search/tests/normalize.test.ts | 42 - packages/ss-search/tests/search.test.ts | 109 - packages/ss-search/tests/tokenize.test.ts | 31 - packages/ss-search/tsconfig.json | 13 - ss-search/.eslintrc.json | 30 + ss-search/.swcrc | 31 + ss-search/README.md | 11 + ss-search/package.json | 10 + ss-search/project.json | 41 + ss-search/rollup.config.js | 7 + ss-search/src/index.ts | 1 + .../lib/convert-to-searchable-strings.test.ts | 196 + ss-search/src/lib/get-score.test.ts | 81 + ss-search/src/lib/normalize.test.ts | 37 + ss-search/src/lib/search.test.ts | 89 + ss-search/src/lib/ss-search.ts | 106 + ss-search/src/lib/tokenize.test.ts | 26 + ss-search/tsconfig.json | 24 + ss-search/tsconfig.lib.json | 10 + ss-search/tsconfig.spec.json | 19 + ss-search/vite.config.ts | 24 + tsconfig.base.json | 22 + tslint.json | 6 - 118 files changed, 27074 insertions(+), 32867 deletions(-) create mode 100644 .editorconfig create mode 100644 .eslintignore create mode 100644 .eslintrc.json create mode 100644 .prettierignore create mode 100644 .vscode/extensions.json create mode 100644 apps/web-app/.eslintrc.json create mode 100644 apps/web-app/jest.config.ts create mode 100644 apps/web-app/project.json create mode 100644 apps/web-app/rspack.config.js rename {packages/app/public => apps/web-app/src/assets}/_redirects (100%) rename {packages/ss-search/benchmark => apps/web-app/src/assets}/benchmarkResults.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-0.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-1.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-2.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-3.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-4.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-5.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-6.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-7.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-8.json (100%) rename {packages/app/public => apps/web-app/src/assets}/data-chunk-9.json (100%) rename {packages/app/public => apps/web-app/src/assets}/index.html (94%) rename {packages/app/public => apps/web-app/src/assets}/manifest.json (100%) rename {packages/app/public => apps/web-app/src/assets}/robots.txt (100%) create mode 100644 apps/web-app/src/components/app-layout.tsx create mode 100644 apps/web-app/src/components/app.tsx create mode 100644 apps/web-app/src/components/backdrop-loader.tsx create mode 100644 apps/web-app/src/components/data-table.tsx create mode 100644 apps/web-app/src/favicon.ico rename {packages/app => apps/web-app}/src/index.css (100%) create mode 100644 apps/web-app/src/index.html create mode 100644 apps/web-app/src/main.tsx create mode 100644 apps/web-app/src/models/data.ts create mode 100644 apps/web-app/src/pages/benchmark-page.tsx create mode 100644 apps/web-app/src/pages/benchmark-version-page.tsx create mode 100644 apps/web-app/src/pages/demo-page.tsx rename {packages/app => apps/web-app}/src/react-app-env.d.ts (100%) create mode 100644 apps/web-app/src/serviceWorker.ts rename {packages/app => apps/web-app}/src/setupTests.ts (100%) create mode 100644 apps/web-app/src/styles.css create mode 100644 apps/web-app/tsconfig.app.json create mode 100644 apps/web-app/tsconfig.json create mode 100644 apps/web-app/tsconfig.spec.json create mode 100644 benchmark/.eslintrc.json create mode 100644 benchmark/jest.config.ts create mode 100644 benchmark/project.json create mode 100644 benchmark/src/assets/.gitkeep rename {packages/ss-search/benchmark => benchmark/src}/data.ts (100%) create mode 100644 benchmark/src/main.ts create mode 100644 benchmark/tsconfig.app.json create mode 100644 benchmark/tsconfig.json create mode 100644 benchmark/tsconfig.spec.json delete mode 100644 commitlint.config.js create mode 100644 jest.config.ts create mode 100644 jest.preset.js delete mode 100644 lerna.json create mode 100644 nx.json delete mode 100644 packages/app/.gitignore delete mode 100644 packages/app/README.md delete mode 100644 packages/app/generateData.js delete mode 100644 packages/app/package-lock.json delete mode 100644 packages/app/package.json delete mode 100644 packages/app/public/favicon.ico delete mode 100644 packages/app/public/logo192.png delete mode 100644 packages/app/public/logo512.png delete mode 100644 packages/app/src/App.tsx delete mode 100644 packages/app/src/AppLayout.tsx delete mode 100644 packages/app/src/BackdropLoader.tsx delete mode 100644 packages/app/src/Benchmark.tsx delete mode 100644 packages/app/src/BenchmarkVersion.tsx delete mode 100644 packages/app/src/DataTable.tsx delete mode 100644 packages/app/src/Demo.tsx delete mode 100644 packages/app/src/index.tsx delete mode 100644 packages/app/src/logo.svg delete mode 100644 packages/app/src/models/data.ts delete mode 100644 packages/app/src/serviceWorker.ts delete mode 100644 packages/app/tsconfig.json delete mode 100644 packages/ss-search/.mocharc.json delete mode 100644 packages/ss-search/CHANGELOG.md delete mode 100644 packages/ss-search/benchmark/benchmark.ts delete mode 100644 packages/ss-search/benchmark/package-lock.json delete mode 100644 packages/ss-search/benchmark/package.json delete mode 100644 packages/ss-search/package-lock.json delete mode 100644 packages/ss-search/package.json delete mode 100644 packages/ss-search/packages/ss-search/benchmark/package-lock.json delete mode 100644 packages/ss-search/rollup.config.js delete mode 100644 packages/ss-search/src/index.ts delete mode 100644 packages/ss-search/tests/convertToSearchableStrings.test.ts delete mode 100644 packages/ss-search/tests/getScore.test.ts delete mode 100644 packages/ss-search/tests/normalize.test.ts delete mode 100644 packages/ss-search/tests/search.test.ts delete mode 100644 packages/ss-search/tests/tokenize.test.ts delete mode 100644 packages/ss-search/tsconfig.json create mode 100644 ss-search/.eslintrc.json create mode 100644 ss-search/.swcrc create mode 100644 ss-search/README.md create mode 100644 ss-search/package.json create mode 100644 ss-search/project.json create mode 100644 ss-search/rollup.config.js create mode 100644 ss-search/src/index.ts create mode 100644 ss-search/src/lib/convert-to-searchable-strings.test.ts create mode 100644 ss-search/src/lib/get-score.test.ts create mode 100644 ss-search/src/lib/normalize.test.ts create mode 100644 ss-search/src/lib/search.test.ts create mode 100644 ss-search/src/lib/ss-search.ts create mode 100644 ss-search/src/lib/tokenize.test.ts create mode 100644 ss-search/tsconfig.json create mode 100644 ss-search/tsconfig.lib.json create mode 100644 ss-search/tsconfig.spec.json create mode 100644 ss-search/vite.config.ts create mode 100644 tsconfig.base.json delete mode 100644 tslint.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6e87a00 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# Editor configuration, see http://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +node_modules diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..0be733b --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,42 @@ +{ + "root": true, + "ignorePatterns": ["**/*"], + "plugins": ["@nx"], + "overrides": [ + { + "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], + "rules": { + "@nx/enforce-module-boundaries": [ + "error", + { + "enforceBuildableLibDependency": true, + "allow": [], + "depConstraints": [ + { + "sourceTag": "*", + "onlyDependOnLibsWithTags": ["*"] + } + ] + } + ] + } + }, + { + "files": ["*.ts", "*.tsx"], + "extends": ["plugin:@nx/typescript"], + "rules": {} + }, + { + "files": ["*.js", "*.jsx"], + "extends": ["plugin:@nx/javascript"], + "rules": {} + }, + { + "files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], + "env": { + "jest": true + }, + "rules": {} + } + ] +} diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index f819c7f..1cf1749 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -10,13 +10,9 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [14.13.1] - steps: - name: Cancel previous runs - uses: styfle/cancel-workflow-action@0.5.0 + uses: styfle/cancel-workflow-action@0.11.0 with: access_token: ${{ github.token }} @@ -25,32 +21,37 @@ jobs: with: fetch-depth: 0 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2-beta + - name: Setup node.js 18 + uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 18 - - name: Install NPM packages - run: npm i + - name: Cache dependencies + id: cache + uses: actions/cache@v3 + with: + path: | + ./node_modules + key: modules-${{ hashFiles('package-lock.json') }} - - name: Bootstrap Lerna - run: npx lerna bootstrap + - name: Install NPM packages + run: npm ci - name: Lint files - run: npx lerna run lint + run: npm run lint:all - name: Run tests - run: npx lerna run test + run: npm run test:all - name: Build apps - run: npx lerna run build + run: npm run build:all - name: Run benchmark - run: npm run benchmark --prefix packages/ss-search + run: npm run benchmark - name: Release + Deploy env: GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - run: npx lerna run semantic-release + run: npm run semantic-release:all diff --git a/.gitignore b/.gitignore index ee783f8..2678ea1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,39 @@ -.idea -node_modules -packages/ss-search/lib -.nyc_output -coverage +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# compiled output dist -packages/api/ -.DS_Store \ No newline at end of file +tmp +/out-tsc + +# dependencies +node_modules + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# IDE - VSCode +.vscode/extensions.json +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# misc +/.sass-cache +/connect.lock +/coverage +/libpeerconnection.log +npm-debug.log +yarn-error.log +testem.log +/typings + +# System Files +.DS_Store +Thumbs.db diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..9481e77 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +# Add files here to ignore them from prettier formatting +/dist +/coverage \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index 772904e..54d0b18 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,7 +1,5 @@ { - "$schema": "http://json.schemastore.org/prettierrc", - "tabWidth": 4, - "printWidth": 160, - "semi": false, - "trailingComma": "all" -} \ No newline at end of file + "singleQuote": true, + "semi": false, + "printWidth": 140 +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..6a302fe --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "nrwl.angular-console", + "esbenp.prettier-vscode", + "dbaeumer.vscode-eslint", + "firsttris.vscode-jest-runner" + ] +} diff --git a/README.md b/README.md index 9aaf0b7..285bc80 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,12 @@ ![](demo.gif) If you're not convinced yet, take a look at this interactive -[demo](https://ss-search.netlify.app/). +[demo](https://ss-search.netlify.app/). ## Install ss-search is available on [npm](https://www.npmjs.com/package/ss-search). It can be installed with the following command: -`npm install ss-search` +`npm install ss-search` ## Usage @@ -107,7 +107,7 @@ const results = search(data, ["object.nestedProperty"], "property") #### Array Providing a key which refers to an array will stringify that array using JSON.stringify - + ```javascript const results = search(data, ["array"], "value2") // results: will return our original dataset @@ -137,16 +137,13 @@ How does it compare to other search libraries? Test out for yourself with this i ### Developing -To better manage dependencies across the monorepo I'm using [lerna](https://github.com/lerna/lerna). - -The following command will install lerna (and other depedencies) and install the depedencies of all the packages of the repository. - -```npm i && npx lerna bootstrap --hoist``` +To better manage dependencies across the monorepo I'm using [NX](https://nx.dev/). -#### Commit format +Install dependencies: +```npm i``` -To make things easier for all contributors, I'm using [commitizen](https://github.com/commitizen/cz-cli) to enforce compatible commit messages with [semantic-release](https://github.com/semantic-release/semantic-release). -Also, to make sure it is enforced, I'm using [husky](https://github.com/typicode/husky) to easily add validation hooks. -When you run `git commit` you will be prompted with an interactive CLI to help you with the formatting of your commit message. +Start the web-app: +```npm run web-app:serve``` -TLDR: making a contribution is easy peasy and you cannot go wrong ;) \ No newline at end of file +Test the library: +```npm run test:all``` diff --git a/apps/web-app/.eslintrc.json b/apps/web-app/.eslintrc.json new file mode 100644 index 0000000..a39ac5d --- /dev/null +++ b/apps/web-app/.eslintrc.json @@ -0,0 +1,18 @@ +{ + "extends": ["plugin:@nx/react", "../../.eslintrc.json"], + "ignorePatterns": ["!**/*"], + "overrides": [ + { + "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], + "rules": {} + }, + { + "files": ["*.ts", "*.tsx"], + "rules": {} + }, + { + "files": ["*.js", "*.jsx"], + "rules": {} + } + ] +} diff --git a/apps/web-app/jest.config.ts b/apps/web-app/jest.config.ts new file mode 100644 index 0000000..c4a484d --- /dev/null +++ b/apps/web-app/jest.config.ts @@ -0,0 +1,11 @@ +/* eslint-disable */ +export default { + displayName: 'web-app', + preset: '../../jest.preset.js', + transform: { + '^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nx/react/plugins/jest', + '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/react/babel'] }], + }, + moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], + coverageDirectory: '../../coverage/apps/web-app', +}; diff --git a/apps/web-app/project.json b/apps/web-app/project.json new file mode 100644 index 0000000..cdaeda5 --- /dev/null +++ b/apps/web-app/project.json @@ -0,0 +1,65 @@ +{ + "name": "web-app", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "apps/web-app/src", + "projectType": "application", + "targets": { + "build": { + "executor": "@nx/rspack:rspack", + "outputs": ["{options.outputPath}"], + "defaultConfiguration": "production", + "options": { + "target": "web", + "outputPath": "dist/apps/web-app", + "main": "apps/web-app/src/main.tsx", + "tsConfig": "apps/web-app/tsconfig.app.json", + "rspackConfig": "apps/web-app/rspack.config.js", + "assets": ["apps/web-app/src/favicon.ico", "apps/web-app/src/assets"] + }, + "configurations": { + "development": { + "mode": "development" + }, + "production": { + "mode": "production", + "optimization": true, + "sourceMap": false + } + } + }, + "serve": { + "executor": "@nx/rspack:dev-server", + "options": { + "buildTarget": "web-app:build:development" + }, + "configurations": { + "development": {}, + "production": { + "buildTarget": "web-app:build:production" + } + } + }, + "lint": { + "executor": "@nx/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["apps/web-app/**/*.{ts,tsx,js,jsx}"] + } + }, + "test": { + "executor": "@nx/jest:jest", + "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], + "options": { + "jestConfig": "apps/web-app/jest.config.ts", + "passWithNoTests": true + }, + "configurations": { + "ci": { + "ci": true, + "codeCoverage": true + } + } + } + }, + "tags": [] +} diff --git a/apps/web-app/rspack.config.js b/apps/web-app/rspack.config.js new file mode 100644 index 0000000..e0c1a49 --- /dev/null +++ b/apps/web-app/rspack.config.js @@ -0,0 +1,5 @@ +const { composePlugins, withNx, withWeb } = require('@nx/rspack') + +module.exports = composePlugins(withNx(), withWeb(), (config) => { + return { ...config, devServer: { ...config.devServer, historyApiFallback: true } } +}) diff --git a/packages/app/public/_redirects b/apps/web-app/src/assets/_redirects similarity index 100% rename from packages/app/public/_redirects rename to apps/web-app/src/assets/_redirects diff --git a/packages/ss-search/benchmark/benchmarkResults.json b/apps/web-app/src/assets/benchmarkResults.json similarity index 100% rename from packages/ss-search/benchmark/benchmarkResults.json rename to apps/web-app/src/assets/benchmarkResults.json diff --git a/packages/app/public/data-chunk-0.json b/apps/web-app/src/assets/data-chunk-0.json similarity index 100% rename from packages/app/public/data-chunk-0.json rename to apps/web-app/src/assets/data-chunk-0.json diff --git a/packages/app/public/data-chunk-1.json b/apps/web-app/src/assets/data-chunk-1.json similarity index 100% rename from packages/app/public/data-chunk-1.json rename to apps/web-app/src/assets/data-chunk-1.json diff --git a/packages/app/public/data-chunk-2.json b/apps/web-app/src/assets/data-chunk-2.json similarity index 100% rename from packages/app/public/data-chunk-2.json rename to apps/web-app/src/assets/data-chunk-2.json diff --git a/packages/app/public/data-chunk-3.json b/apps/web-app/src/assets/data-chunk-3.json similarity index 100% rename from packages/app/public/data-chunk-3.json rename to apps/web-app/src/assets/data-chunk-3.json diff --git a/packages/app/public/data-chunk-4.json b/apps/web-app/src/assets/data-chunk-4.json similarity index 100% rename from packages/app/public/data-chunk-4.json rename to apps/web-app/src/assets/data-chunk-4.json diff --git a/packages/app/public/data-chunk-5.json b/apps/web-app/src/assets/data-chunk-5.json similarity index 100% rename from packages/app/public/data-chunk-5.json rename to apps/web-app/src/assets/data-chunk-5.json diff --git a/packages/app/public/data-chunk-6.json b/apps/web-app/src/assets/data-chunk-6.json similarity index 100% rename from packages/app/public/data-chunk-6.json rename to apps/web-app/src/assets/data-chunk-6.json diff --git a/packages/app/public/data-chunk-7.json b/apps/web-app/src/assets/data-chunk-7.json similarity index 100% rename from packages/app/public/data-chunk-7.json rename to apps/web-app/src/assets/data-chunk-7.json diff --git a/packages/app/public/data-chunk-8.json b/apps/web-app/src/assets/data-chunk-8.json similarity index 100% rename from packages/app/public/data-chunk-8.json rename to apps/web-app/src/assets/data-chunk-8.json diff --git a/packages/app/public/data-chunk-9.json b/apps/web-app/src/assets/data-chunk-9.json similarity index 100% rename from packages/app/public/data-chunk-9.json rename to apps/web-app/src/assets/data-chunk-9.json diff --git a/packages/app/public/index.html b/apps/web-app/src/assets/index.html similarity index 94% rename from packages/app/public/index.html rename to apps/web-app/src/assets/index.html index 1c2337f..b95648f 100644 --- a/packages/app/public/index.html +++ b/apps/web-app/src/assets/index.html @@ -15,7 +15,7 @@ manifest.json provides metadata used when your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> - +