Giter VIP home page Giter VIP logo

life-art's Introduction

A @contredanse project

build Codacy grade LoC GitHub top language Licence

Open in Gitpod

1. Structure

App

Some shared code

Static shared assets

If needed static resources like locales, images,... can be shared by using symlinks in the repo.

  • See the global static folder.

Folder overview

.
├── apps
│   └── halprin-web-app   
│       ├── public/
│       │   ├── shared-assets/   
│       │   └── shared-locales/  
│       ├── src/
│       │   └── pages/api        
│       ├── CHANGELOG.md
│       ├── jest.config.js
│       ├── next.config.js
│       ├── package.json         
│       └── tsconfig.json        
│
├── packages
│   ├── common                
│   │   ├── src/
│   │   ├── CHANGELOG.md
│   │   ├── package.json
│   │   └── tsconfig.json
│   │
│   └── db-main               
│       ├── prisma/
│       ├── src/
│       ├── CHANGELOG.md
│       ├── package.json
│       └── tsconfig.json
│
├── static                       (no code: images, json, locales,...)
│   ├── assets
│   └── locales
├── .yarnrc.yml
├── docker-compose.yml           (database service for now)
├── package.json                 (the workspace config)
└── tsconfig.base.json           (base typescript config)

3. Quick start

As an example you can start with the halprin-web-app

# Install the monorepo
yarn install
# In another terminal
docker-compose up main-db
# Run the web-app
cd apps/halprin-web-app
yarn dev

4. Monorepo essentials

4.1 Monorepo scripts

Some convenience global scripts are defined in the root package.json, they generally call their counterparts defined in packages and apps.

{
  "scripts": {
    "clean": "yarn workspaces foreach -ptv run clean",
    "test": "run-s 'test:*'",
    "test:unit": "yarn workspaces foreach -ptv run test:unit",
    "fix:staged-files": "yarn workspaces foreach -t run fix:staged-files",
    "fix:all-files": "yarn workspaces foreach -ptv run fix:all-files",
    // Manage versions and releases with atlassion/changesets
    "changeset": "changeset",
    "release": "yarn build && changeset publish",
    // Utility scripts to check/upgrade deps across the entire monorepo
    // use yarn dedupe after install
    "deps:check": "npm-check-updates --deep --dep prod,dev,optional",
    "deps:update": "npm-check-updates -u --deep --dep prod,dev,optional",
    "typecheck": "yarn workspaces foreach -ptv run typecheck",
    "lint": "yarn workspaces foreach -ptv run lint",
    "share:static:symlink": "yarn workspaces foreach -pv --include '*-app' run share:static:symlink",
    "share:static:hardlink": "yarn workspaces foreach -pv --include '*-app' run share:static:hardlink",
    "apps:build": "yarn workspaces foreach -ptv --include '*-app' run build",
    "apps:clean": "yarn workspaces foreach -ptv --include '*-app' run clean",
    "packages:build": "yarn workspaces foreach -ptv --include '@contredanse/*' run build",
    "packages:lint": "yarn workspaces foreach -ptv --include '@contredanse/*' run lint",
    "packages:typecheck": "yarn workspaces foreach -ptv --include '@contredanse/*' run typecheck",
    "packages:clean": "yarn workspaces foreach -ptv --include '@contredanse/*' run clean"
  },
}

License

FOSSA Status

life-art's People

Contributors

belgattitude avatar renovate-bot avatar nils-lopez avatar

Watchers

James Cloos avatar

life-art's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @types/graphql Unavailable
npm npm-run-all Available
npm react-query Available

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @types/cors to v2.8.17
  • Update dependency keyword-extractor to v0.0.28
  • Update dependency npm-check-updates to v12.5.12
  • Update react monorepo (@types/react, @types/react-dom, eslint-plugin-react-hooks)
  • Update Font Awesome (@fortawesome/fontawesome-svg-core, @fortawesome/free-solid-svg-icons, @fortawesome/react-fontawesome)
  • Update Yarn to v3.8.4
  • Update commitlint monorepo (@commitlint/cli, @commitlint/config-conventional)
  • Update dependency @babel/core to v7.25.2
  • Update dependency @changesets/cli to v2.27.7
  • Update dependency @headlessui/react to v1.7.19
  • Update dependency @next-auth/mongodb-adapter to v1.1.3
  • Update dependency @sentry/nextjs to v6.19.7
  • Update dependency @tailwindcss/aspect-ratio to v0.4.2
  • Update dependency @tailwindcss/forms to v0.5.7
  • Update dependency @tailwindcss/line-clamp to v0.4.4
  • Update dependency @tailwindcss/typography to v0.5.14
  • Update dependency @tsed/exceptions to v6.133.1
  • Update dependency @types/node to v16.18.105
  • Update dependency autoprefixer to v10.4.20
  • Update dependency axios to v0.28.1
  • Update dependency camelcase to v6.3.0
  • Update dependency dotenv-flow to v3.3.0
  • Update dependency dotenv-flow-cli to v1.1.1
  • Update dependency eslint-config-prettier to v8.10.0
  • Update dependency eslint-plugin-import to v2.29.1
  • Update dependency eslint-plugin-jest-formatting to v3.1.0
  • Update dependency eslint-plugin-jsx-a11y to v6.9.0
  • Update dependency eslint-plugin-prettier to v4.2.1
  • Update dependency eslint-plugin-react to v7.35.0
  • Update dependency expo-jwt to v1.8.0
  • Update dependency express to v4.19.2
  • Update dependency express-session to v1.18.0
  • Update dependency graphql to v15.9.0
  • Update dependency i18next to v21.10.0
  • Update dependency jest to v27.5.1
  • Update dependency jest-css-modules-transform to v4.4.2
  • Update dependency ky to v0.33.3
  • Update dependency lint-staged to v12.5.0
  • Update dependency micro to v9.4.1
  • Update dependency microbundle to v0.15.1
  • Update dependency mongodb to v4.17.2
  • Update dependency mongoose to v6.13.0
  • Update dependency next-connect to v0.13.0
  • Update dependency next-i18next to v8.10.0
  • Update dependency next-seo to v4.29.0
  • Update dependency nodemailer to v6.9.14
  • Update dependency prettier to v2.8.8
  • Update dependency react-hook-form to v7.52.2
  • Update dependency react-i18next to v11.18.6
  • Update dependency react-player to v2.16.0
  • Update dependency react-query to v3.39.3
  • Update dependency react-use-cookie to v1.6.1
  • Update dependency sass to v1.77.8
  • Update dependency sharp to v0.33.5
  • Update dependency shell-quote to v1.8.1
  • Update dependency string-strip-html to v8.5.0
  • Update dependency symlink-dir to v5.2.1
  • Update dependency sync-directory to v4.1.2
  • Update dependency transliteration to v2.3.5
  • Update dependency ts-jest to v27.1.5
  • Update dependency ts-node to v10.9.2
  • Update dependency type-fest to v2.19.0
  • Update dependency typeorm to v0.3.20
  • Update dependency typescript to v4.9.5
  • Update dependency xml2js to v0.6.2 (xml2js, @types/xml2js)
  • Update emotion monorepo (@emotion/babel-plugin, @emotion/react, @emotion/styled)
  • Update prisma monorepo to v3.15.2 (@prisma/client, prisma)
  • Update testing-library monorepo (@testing-library/jest-dom, @testing-library/react)
  • Update typescript-eslint monorepo to v5.62.0 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • Update Yarn to v4
  • Update actions/cache action to v4
  • Update actions/checkout action to v4
  • Update actions/setup-node action to v4
  • Update commitlint monorepo to v19 (major) (@commitlint/cli, @commitlint/config-conventional)
  • Update dependency @headlessui/react to v2
  • Update dependency @heroicons/react to v2
  • Update dependency @sentry/nextjs to v8
  • Update dependency @size-limit/file to v11
  • Update dependency @svgr/webpack to v8
  • Update dependency @tsed/exceptions to v7
  • Update dependency axios to v1
  • Update dependency camelcase to v8
  • Update dependency code-block-writer to v13
  • Update dependency dotenv-flow to v4
  • Update dependency eslint to v9
  • Update dependency eslint-config-prettier to v9
  • Update dependency eslint-plugin-jest to v28
  • Update dependency eslint-plugin-prettier to v5
  • Update dependency eslint-plugin-testing-library to v6
  • Update dependency graphql to v16
  • Update dependency husky to v9
  • Update dependency i18next to v23
  • Update dependency ky to v1
  • Update dependency lint-staged to v15
  • Update dependency micro to v10
  • Update dependency mongodb to v6
  • Update dependency mongoose to v8
  • Update dependency next-connect to v1
  • Update dependency next-i18next to v15
  • Update dependency next-seo to v6
  • Update dependency next-transpile-modules to v10
  • Update dependency npm-check-updates to v17
  • Update dependency postcss-preset-env to v10
  • Update dependency prettier to v3
  • Update dependency react-i18next to v15
  • Update dependency rimraf to v6
  • Update dependency size-limit to v11
  • Update dependency string-strip-html to v13
  • Update dependency symlink-dir to v6
  • Update dependency sync-directory to v6
  • Update dependency tailwindcss to v3
  • Update dependency type-fest to v4
  • Update dependency typescript to v5
  • Update jest monorepo to v29 (major) (jest, ts-jest)
  • Update nextjs monorepo to v14 (major) (@next/bundle-analyzer, eslint-config-next, next)
  • Update node Docker tag to v20 (node, @types/node)
  • Update postgres Docker tag to v16
  • Update prisma monorepo to v5 (major) (@prisma/client, prisma)
  • Update react monorepo to v18 (major) (@types/react, @types/react-dom, react, react-dom)
  • Update testing-library monorepo (major) (@testing-library/jest-dom, @testing-library/react, @testing-library/react-hooks)
  • Update typescript-eslint monorepo to v8 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • 🔐 Create all rate-limited PRs at once 🔐

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.override.sample.yml
docker-compose.yml
  • postgres 14-alpine
dockerfile
Dockerfile
  • node 17-alpine
  • node 17-alpine
  • node 17-alpine
  • node 17-alpine
github-actions
.github/workflows/ci-halprin-web-app.yml
  • actions/checkout v2
  • actions/setup-node v2
  • actions/cache v2
  • actions/cache v2
.github/workflows/ci-monorepo-integrity.yml
  • actions/checkout v2
  • actions/setup-node v2
  • actions/cache v2
.github/workflows/ci-packages.yml
  • actions/checkout v2
  • actions/setup-node v2
.github/workflows/release.yml
  • actions/setup-node v2
npm
apps/halprin-web-app/package.json
  • @babel/core 7.15.8
  • @emotion/react 11.7.1
  • @emotion/styled 11.6.0
  • @fortawesome/fontawesome-svg-core 6.1.1
  • @fortawesome/free-solid-svg-icons 6.1.1
  • @fortawesome/react-fontawesome 0.2.0
  • @headlessui/react 1.4.1
  • @heroicons/react 1.0.6
  • @next-auth/mongodb-adapter 1.0.3
  • @sentry/nextjs 6.13.3
  • @tsed/exceptions 6.107.5
  • apollo-server-core 3.4.0
  • apollo-server-micro 3.4.0
  • axios 0.27.2
  • bcryptjs 2.4.3
  • cookie-parser 1.4.6
  • cors 2.8.5
  • cross-env 7.0.3
  • emotion 11.0.0
  • expo-jwt 1.4.1
  • express 4.18.1
  • express-session 1.17.3
  • font-awesome 4.7.0
  • graphql 15.6.1
  • i18next 21.6.14
  • ky 0.28.6
  • micro 9.3.4
  • mongodb 4.6.0
  • mongoose 6.3.3
  • next 11.1.2
  • next-connect 0.11.1
  • next-i18next 8.9.0
  • next-secure-headers 2.2.0
  • next-seo 4.28.1
  • next-transpile-modules 8.0.0
  • nodemailer 6.7.5
  • react 17.0.2
  • react-dom 17.0.2
  • react-hook-form 7.26.0
  • react-i18next 11.12.0
  • react-player 2.9.0
  • react-query 3.27.0
  • react-use-cookie 1.4.0
  • session-file-store 1.5.0
  • sharp 0.29.1
  • transliteration 2.2.0
  • type-fest 2.11.1
  • @emotion/babel-plugin 11.7.2
  • @next/bundle-analyzer 11.1.2
  • @size-limit/file 6.0.4
  • @svgr/webpack 5.5.0
  • @tailwindcss/aspect-ratio 0.3.0
  • @tailwindcss/forms 0.3.4
  • @tailwindcss/line-clamp 0.2.2
  • @tailwindcss/typography 0.4.1
  • @testing-library/jest-dom 5.14.1
  • @testing-library/react 12.1.4
  • @testing-library/react-hooks 7.0.2
  • @types/bcryptjs 2.4.2
  • @types/cors 2.8.12
  • @types/graphql 14.5.0
  • @types/node 16.10.3
  • @types/react 17.0.43
  • @types/react-dom 17.0.9
  • @types/xml2js 0.4.9
  • @typescript-eslint/eslint-plugin 5.10.2
  • @typescript-eslint/parser 5.10.2
  • autoprefixer 10.3.7
  • code-block-writer 10.1.1
  • cross-env 7.0.3
  • dotenv-flow 3.2.0
  • dotenv-flow-cli 1.0.0
  • eslint 7.32.0
  • eslint-config-next 11.1.2
  • eslint-config-prettier 8.3.0
  • eslint-plugin-import 2.25.4
  • eslint-plugin-jest 25.7.0
  • eslint-plugin-jest-formatting 3.0.0
  • eslint-plugin-jsx-a11y 6.4.1
  • eslint-plugin-prettier 4.0.0
  • eslint-plugin-react 7.26.1
  • eslint-plugin-react-hooks 4.2.0
  • eslint-plugin-testing-library 4.12.4
  • jest 27.4.7
  • jest-css-modules-transform 4.3.0
  • npm-run-all 4.1.5
  • postcss 8.4.5
  • postcss-flexbugs-fixes 5.0.2
  • postcss-preset-env 6.7.0
  • prettier 2.4.1
  • rimraf 3.0.2
  • sass 1.43.2
  • shell-quote 1.7.3
  • size-limit 6.0.3
  • string-strip-html 8.3.0
  • symlink-dir 5.0.1
  • sync-directory 4.0.12
  • tailwindcss 2.2.17
  • ts-jest 27.0.7
  • ts-node 10.3.0
  • typeorm 0.2.24
  • typescript 4.4.4
  • xml2js 0.4.23
package.json
  • @changesets/changelog-github 0.4.4
  • @changesets/cli 2.22.0
  • @commitlint/cli 16.2.3
  • @commitlint/config-conventional 16.2.1
  • eslint 7.32.0
  • husky 7.0.4
  • is-ci 3.0.1
  • lint-staged 12.3.7
  • npm-check-updates 12.5.5
  • npm-run-all 4.1.5
  • prettier 2.6.1
  • rimraf 3.0.2
  • shell-quote 1.7.3
  • node >=14
  • yarn >=1.22.0
  • yarn 3.2.0
packages/common/package.json
  • @tsed/exceptions ^6.73.9
  • dequal ^2.0.2
  • @testing-library/jest-dom 5.14.1
  • @testing-library/react 12.1.4
  • @testing-library/react-hooks 7.0.2
  • @types/node 16.10.3
  • @types/react 17.0.43
  • @types/react-dom 17.0.9
  • @typescript-eslint/eslint-plugin 5.10.2
  • @typescript-eslint/parser 5.10.2
  • eslint 7.32.0
  • eslint-config-prettier 8.3.0
  • eslint-plugin-import 2.25.4
  • eslint-plugin-jest 25.7.0
  • eslint-plugin-jest-formatting 3.0.0
  • eslint-plugin-jsx-a11y 6.4.1
  • eslint-plugin-prettier 4.0.0
  • eslint-plugin-react 7.26.1
  • eslint-plugin-react-hooks 4.2.0
  • eslint-plugin-testing-library 4.12.4
  • jest 27.4.7
  • microbundle 0.14.2
  • npm-run-all 4.1.5
  • prettier 2.4.1
  • react 17.0.2
  • react-dom 17.0.2
  • rimraf 3.0.2
  • shell-quote 1.7.3
  • ts-jest 27.0.7
  • typescript 4.4.4
  • react ^16.14.0 || ^17.0.2
  • react-dom ^16.14.0 || ^17.0.2
packages/db-main/package.json
  • @prisma/client 3.6.0
  • @types/node 16.10.3
  • @typescript-eslint/eslint-plugin 5.10.2
  • @typescript-eslint/parser 5.10.2
  • camelcase 6.2.0
  • dotenv-flow 3.2.0
  • dotenv-flow-cli 1.0.0
  • eslint 7.32.0
  • eslint-config-prettier 8.3.0
  • eslint-plugin-import 2.25.4
  • eslint-plugin-jest 25.7.0
  • eslint-plugin-jest-formatting 3.0.0
  • eslint-plugin-prettier 4.0.0
  • jest 27.4.7
  • keyword-extractor 0.0.21
  • npm-run-all 4.1.5
  • prettier 2.4.1
  • prisma 3.6.0
  • rimraf 3.0.2
  • shell-quote 1.7.3
  • transliteration 2.2.0
  • ts-jest 27.0.7
  • ts-node 10.3.0
  • typescript 4.4.4

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.