Skip to content

Commit

Permalink
WIP initialize monorepo
Browse files Browse the repository at this point in the history
WIP scripts npm

WIP install

WIP migrate nx

WIP install

WIP add base for scripts

WIP add scripts for npm

WIP add go work

WIP create scripts

WIP fix scripts

WIP syncpack

WIP script

WIP working scripts

WIP remove old projects

WIP stylelint

WIP mise

WIP golangci, commitlint

WIP makefile, p lock

WIP move actions to inactive for now

Update dependency ejs to v3.1.10 [SECURITY]

Update dependency @fastify/secure-session to v7.3.0 [SECURITY]

Update dependency @fastify/session to v10.9.0 [SECURITY]

WIP commitlint

WIP commitlint

WIP no prepare commit msg

WIP update packages

WIP clean deps

WIP format

WIP update pkgjson

WIP prepare docs folder

WIP docs

WIP readme

WIP license

WIP more deps

WIP move packages

WIP bump packages

WIP finddupes script

WIP remove dupes

WIP p install

WIP pre commit

WIP pre-commit

WIP format scripts

WIP add go project

WIP add libs

WIP fix

WIP go mono module

WIP sentry types

WIP add libs

WIP correct sentry package

WIP precommit prettier

Update angular-cli monorepo to ~17.3.0

Update angular monorepo to v17.3.10

Update dependency drizzle-kit to v0.21.4

Update nrwl monorepo to v19.0.6

Pin dependencies

Update dependency infisical-node to v1.5.1

WIP remove changeset

WIP added changeset test

WIP remove changeset test

WIP add changeset version to npm

Update angular-cli monorepo to v17.3.8

Update dependency bullmq to v5.7.11

Update dependency @playwright/test to v1.44.1

Update pnpm to v8.15.8

Update angular-eslint monorepo to v17.5.1

Update storybook monorepo to v8.1.3

Update dependency @types/react to v18.3.3

Update dependency html-validate to v8.19.1

Update dependency postcss-nesting to v12.1.5

WIP add example taskfile in root

WIP remove changelog

WIP remove changelogs

WIP golancilint

WIP changeset

WIP add wip docs

WIP add changeset pr action

WIP remove changeset

WIP fix changeset action

WIP add readme

WIP add monoreo to changeset config

WIP add changeset

WIP fix changeset

WIP changeset

Update dependency @sinclair/typebox to v0.32.31

Version Packages

Pin dependencies

Update angular monorepo to v17.3.10

Update astro monorepo

Replace dependency npm-run-all with npm-run-all2 5.0.0

Replace dependency eslint-plugin-node with eslint-plugin-n 14.0.0

WIP changeset git

Update sentry-javascript monorepo

Update docker.io/golang:alpine Docker digest to b8ded51

Update aws-sdk-js-v3 monorepo to v3.583.0

Update dependency @vitejs/plugin-react to v4.3.0

Update dependency aws-sdk to v2.1627.0

Update dependency bull to v4.12.9

docs: add express readme

docs: add another comment

WIP add changesets docs

WIP add private true to all package.json

WIP install new deps

WIP nx migrate latest

feat: add say-hello package for release tests

WIP remove prettier mirror deprecated

chore(deps): update dependency npm-run-all2 to v5.0.2

chore(deps): update dependency postcss-preset-env to v9.5.14

fix(deps): update dependency @nx/angular to v19.0.7

fix(deps): update dependency bullmq to v5.7.12

chore(deps): update babel monorepo to v7.24.6

chore(deps): update dependency stylelint-webpack-plugin to v5.0.1

fix(deps): update dependency svelte-legos to v0.2.3

chore(deps): update dependency eslint-plugin-tailwindcss to v3.17.0

fix(deps): update dependency pug to v3.0.3 [security]

chore(deps): update dependency tap to v19.0.1

chore(deps): update dependency eslint-webpack-plugin to v4.2.0

chore(deps): update dependency prettier-plugin-astro to v0.14.0

chore(deps): update dependency stylelint to v16.6.0

chore(deps): update dependency eslint-plugin-jsonc to v2.16.0

chore(deps): update dependency bun-types to v1.1.10

chore(deps): update dependency esbuild to v0.21.4

chore(deps): update dependency tsx to v4.11.0

WIP test first release

WIP fix npmrc

WIP change say hello message

chore(deps): update dependency lightningcss to v1.25.1

chore(deps): update nrwl monorepo to v19.1.0

chore: update versions

WIP changeset

chore: update versions

WIP add build depends

chore: update versions

WIP no provenance

chore: update versions

WIP access public

WIP fix package.json

chore: update versions

WIP update deps

WIP comment

chore: update versions

WIP taskfile

WIP add lib2

WIP add second package with rollup esm cjs

WIP add changeset

chore: update versions

WIP add depends on build

WIP fix dependson

WIP update say hello cross

WIP npm provenance

chore: update versions

WIP remove codeowner

WIP add url

WIP remove example

WIP export interface

chore: update versions

WIP update homepage and url

WIP homepage url changeset

chore(deps): update dependency nodemon to v3.1.1

WIP add assets to lib

WIP assets changeset

WIP rename sm

chore: update versions

fix(deps): update dependency aws-sdk to v2.1628.0

fix(deps): update dependency glob to v10.4.1

fix(deps): update dependency mapbox-gl to v3.4.0

fix(deps): update dependency pino-pretty to v11.1.0

fix(deps): update dependency pm2 to v5.4.0

fix(deps): update dependency stripe to v15.8.0

chore(deps): update angular-cli monorepo to v18

chore: update versions

WIP add docs to lib

WIP activate semgrep

chore: update versions

WIP test pr

WIP fix provenance

chore: update versions

WIP add dep review

WIP add license to publication

chore(deps): update semgrep/semgrep docker digest to ba8b998

chore(deps): update dependency lint-staged to v15.2.5

WIP test increase, change changeset action

chore: update versions

WIP add provenance publish config

WIP add todo

chore(deps): pin dependencies

fix(deps): update angular monorepo to v18

chore(deps): update dependency npm-run-all2 to v6

WIP add code scans

WIP don't fail pipeline for snyk

WIP add envs

WIP add env

WIP snyk auth

WIP setup global ci setup

WIP add global ci setup

WIP fix checkout

WIP fix actions

WIP add shell

WIP add manual codeql file

chore(deps): update returntocorp/semgrep-action digest to 713efdd

WIP add dotnet

chore(deps): pin dependencies

chore(deps): update pnpm to v9

WIP test semgrep

WIP snyk

fix(deps): update dependency argon2 to v0.40.3

chore(deps): update snyk/actions digest to d406fd2

WIP semgrep

WIP semgrep

WIP add permissions

chore(deps): update dependency tap to v19.0.2

chore(deps): update dependency sveltekit-superforms to v2.14.0

fix(deps): update dependency ajv to v8.14.0

chore(deps): update github/codeql-action action to v3

WIP snyk no monitor, iac

WIP changeseet

WIP add comment to say hello cross

WIP move say hello cross to packages

WIP up p lock

chore: update versions

WIP add MIT

WIP add license

WIP license

WIP license markdown

chore: update versions

WIP add license to say hello cross

WIP add license

chore: update versions

WIP prepare global test action

WIP remove name

WIP fix action setup ci

WIP fix actions setup

WIP pull lfs

feat(nx-cloud): setup nx cloud workspace

This commit set up Nx Cloud for your Nx workspace enabling distributed caching
and GitHub integration for fast CI and improved Developer Experience.

You can access your Nx Cloud workspace by going to
https://cloud.nx.app/orgs/6652fa4333347ec6772fd907/workspaces/6652fac70fff031e13d41bc9

**Note:** This commit attempts to maintain formatting of the nx.json, however you may need to correct formatting by running an nx format command and committing the changes.

WIP format nx

WIP read only token

WIP switch to pnpm 8.15

chore(deps): update dependency jsdom to v24.1.0

WIP setup task

WIP fix lint build test

WIP print go env

WIP add zap comments

WIP zap cmt

WIP test global golang install

WIP found cacheable folder for go

WIP nx cloud

WIP fix cloud nx token

chore(deps): update grafana/grafana:latest docker digest to 0dc5a24

WIP action go tools

WIP add action cache

WIP fix cache

WIP no execinquery

WIP remove normal say-hello

WIP p lock

chore(deps): update dependency eslint-plugin-json to v4

chore(deps): pin dependencies

WIP scripts

WIP fix build lint test

WIP rename apps

WIP rename imports

WIP rename names

WIP refactor

WIP rename projects to examples

chore(deps): update dependency cz-git to v1.9.2

WIP eslints

WIP changeset

chore: update versions

WIP rename ci setup changeset action

WIP remove git lfs

WIP useless test

WIP move to precommit

chore(deps): update dependency vite-plugin-image-optimizer to v1.1.8

WIP test

WIP add codecov

WIP ignore scripts

WIP add pre-commit

WIP add codecov

WIP codecov

fix(deps): update dependency @sentry/node to v8

WIP disable broken sentry

WIP fix go tasks

WIP docs on vuln

WIP codecov

WIP codecov

chore(deps): update codecov/codecov-action action to v4.4.1

WIP change lint staged

WIP move to changelog github

WIP remove makefile

WIP removetest file

WIP coverage

WIP codecov

WIP codecov

WIP add some config files

WIP github

WIP remove nx cloud

WIP cache nx

WIP nx cache

WIP fix lint build test

chore(deps): update typescript-eslint monorepo to v7.11.0

WIP no renovate actions

WIP lint test build

chore(deps): update actions/cache action to v4

fix(deps): update sentry-javascript monorepo to v8.5.0

fix(deps): update dependency astro to v4.9.2

chore(deps): update dependency caniuse-lite to v1.0.30001624

chore(deps): update dependency eslint-plugin-promise to v6.2.0

Create devcontainer.json

WIP add composes

WIP eslint

WIP k3s

WIP vscode

WIP readme

WIP readme

WIP readme

WIP remove release config

WIP remove security

WIP script

chore(deps): update storybook monorepo to v8.1.4

WIP rename lint test job

WIP todo

chore(deps): pin dependencies

WIP remove deprecated eslintignore

WIP remove libs
  • Loading branch information
gipo355 committed May 28, 2024
0 parents commit 0c9a965
Show file tree
Hide file tree
Showing 148 changed files with 50,295 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/changelog-github",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
79 changes: 79 additions & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/* eslint-disable unicorn/prefer-module */
/* eslint-disable no-magic-numbers */
// .commitlintrc.js
const fs = require('node:fs');
const path = require('node:path');
const { execSync } = require('child_process');

// can propose scope for commit using folder names
const apps = fs.readdirSync(path.resolve(__dirname, 'apps'));
const libs = fs.readdirSync(path.resolve(__dirname, 'libs'));
const pkgs = fs.readdirSync(path.resolve(__dirname, 'packages'));

// can find issues from branch name if standardized
// @tip: git branch name = feature/33-issuename => auto get defaultIssues = #33
// const issue = execSync("git rev-parse --abbrev-ref HEAD")
// .toString()
// .trim()
// .split("-")[0];

// find the number in the string
const issue = execSync('git rev-parse --abbrev-ref HEAD')
.toString()
.trim()
.match(/\d+/)?.[0];

// manually adding scopes examples
// ...["app", "gradle", "npm", "git-hooks"],
const definedScopes = [
// used to denote global changes
'global',
// spread result of folder names found
...apps.map((app) => `app-${app}`),
...libs.map((lib) => `lib-${lib}`),
...pkgs.map((pkg) => `pkg-${pkg}`),
// "app",
'npm',
'tools',
'git-hooks',
'actions',
'github',
'docs',
];

// .commitlintrc.js
/** @type {import('cz-git').UserConfig} */
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
// @see: https://commitlint.js.org/#/reference-rules
'scope-enum': [2, 'always', [...definedScopes]],
},
prompt: {
useEmoji: true,
customIssuePrefixAlign: !issue ? 'top' : 'bottom',
defaultIssues: !issue ? '' : `#${issue}`,
issuePrefixes: [
{
name: 'Close issue',
value: 'closes',
},
{
name: 'Fix issue',
value: 'fixes',
},
{
name: 'Link issue',
value: 'links',
},
{
name: 'Reference issue',
value: 'refs',
},
],

// allow defining multiple scopes with checklist
enableMultipleScopes: true,
scopeEnumSeparator: '/',
},
};
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2@sha256:aade28418ac5c4d8bcf5afd9912ecc75dca083713646e98463656d53388f53bd",
"features": {
"ghcr.io/devcontainers/features/node:1@sha256:6c4f444d8e3eb68594d60ec128bce76a80647edc2b9a94960ca377895855145f": {
"nodeGypDependencies": true
},
"ghcr.io/devcontainers/features/go:1@sha256:6adad519ea1b49989de42ce5bde5add32748cae68eeb6034db4c2d69e87c161b": {},
"ghcr.io/devcontainers/features/python:1@sha256:bf021f1800543f08bf029c449a3f25341be782b620802befa1f8e6ee51cf6cf6": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1@sha256:20761bd733511c1995ee955682cc2778b0a2e556abf88e9b88490c3be3c80bbc": {}
}
}
16 changes: 16 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
node_modules
node_modules/
npm-debug.log
dist/
dist
.git
**/.next
**/build
**/dist
**/dist/
**/node_modules
**/node_modules/
**/.DS_Store
Dockerfile
docs
*.log
65 changes: 65 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
# * @gipo355

# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
# modifies JS files, only @js-owner and not the global
# owner(s) will be requested for a review.
# *.js @js-owner #This is an inline comment.

# You can also use email addresses if you prefer. They'll be
# used to look up users just like we do for commit author
# emails.
# *.go [email protected]

# Teams can be specified as code owners as well. Teams should
# be identified in the format @org/team-name. Teams must have
# explicit write access to the repository. In this example,
# the octocats team in the octo-org organization owns all .txt files.
# *.txt @octo-org/octocats

# In this example, @doctocat owns any files in the build/logs
# directory at the root of the repository and any of its
# subdirectories.
# /build/logs/ @doctocat

# The `docs/*` pattern will match files like
# `docs/getting-started.md` but not further nested files like
# `docs/build-app/troubleshooting.md`.
# docs/* [email protected]

# In this example, @octocat owns any file in an apps directory
# anywhere in your repository.
# apps/ @octocat

# In this example, @doctocat owns any file in the `/docs`
# directory in the root of your repository and any of its
# subdirectories.
# /docs/ @doctocat

# In this example, any change inside the `/scripts` directory
# will require approval from @doctocat or @octocat.
# /scripts/ @doctocat @octocat

# In this example, @octocat owns any file in a `/logs` directory such as
# `/build/logs`, `/scripts/logs`, and `/deeply/nested/logs`. Any changes
# in a `/logs` directory will require approval from @octocat.
# **/logs @octocat

# In this example, @octocat owns any file in the `/apps`
# directory in the root of your repository except for the `/apps/github`
# subdirectory, as its owners are left empty.
# /apps/ @octocat
# /apps/github

# In this example, @octocat owns any file in the `/apps`
# directory in the root of your repository except for the `/apps/github`
# subdirectory, as this subdirectory has its own owner @doctocat
# /apps/ @octocat
# /apps/github @doctocat
74 changes: 74 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
## Code of Conduct

### Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

### Our Standards

Examples of behavior that contributes to creating a positive environment
include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

### Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

### Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

### Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

### Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
Loading

0 comments on commit 0c9a965

Please sign in to comment.