Skip to content

Commit

Permalink
chore: move to monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
fmvilas committed Oct 25, 2024
1 parent 6498a37 commit 043626f
Show file tree
Hide file tree
Showing 357 changed files with 11,801 additions and 115 deletions.
6 changes: 6 additions & 0 deletions .asyncapi-tool.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: Glee
filters:
technology:
- TypeScript
categories:
- framework
14 changes: 14 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"privatePackages": {
"version": true,
"tag": true
}
}
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
node_modules
.DS_Store
node_modules
.vscode/
/lib
build
dist
coverage
.vscode
.glee
.next
.turbo
.env
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
legacy-peer-deps=true
public-hoist-pattern[]=@asyncapi*
public-hoist-pattern[]=nimma*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.17
2 changes: 1 addition & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#we need to explicitly exclude them as they're not relevant to the source code
sonar.exclusions=examples/**/*
sonar.exclusions=apps/glee/examples/**/*
2 changes: 2 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@

# The default owners are automatically added as reviewers when you open a pull request unless different owners are specified in the file.
* @Souvikns @KhudaDad414 @asyncapi-bot-eve

* packages/glee @Souvikns @KhudaDad414 @asyncapi-bot-eve
3 changes: 0 additions & 3 deletions examples/anime-http/client/.env

This file was deleted.

1 change: 0 additions & 1 deletion examples/crypto-websockets/client/.env

This file was deleted.

1 change: 0 additions & 1 deletion examples/crypto-websockets/server/.env

This file was deleted.

1 change: 0 additions & 1 deletion examples/dummy/.env

This file was deleted.

1 change: 0 additions & 1 deletion examples/kafka-test/.env

This file was deleted.

2 changes: 0 additions & 2 deletions examples/shrek-websockets/.env

This file was deleted.

4 changes: 0 additions & 4 deletions examples/social-network/notifications-service/.env

This file was deleted.

1 change: 0 additions & 1 deletion examples/social-network/websocket-server/.env

This file was deleted.

117 changes: 28 additions & 89 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,97 +1,36 @@
{
"name": "@asyncapi/glee",
"version": "0.37.9",
"description": "The AsyncAPI framework",
"exports": "./dist/moduleIndex.js",
"type": "module",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"bin": {
"glee": "dist/cli/index.js"
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/asyncapi/glee.git"
},
"scripts": {
"build": "tsc",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
"dev": "tsc --watch",
"docs": "typedoc --readme none --githubPages false --out docs/reference --entryPointStrategy expand ./src",
"get:version": "echo $npm_package_version",
"get:name": "echo $npm_package_name",
"generate:assets": "npm run docs",
"lint": "eslint --max-warnings 10 --config .eslintrc .",
"lint:fix": "eslint --max-warnings 10 --config .eslintrc . --fix",
"prepublishOnly": "npm run build",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:dev": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch"
"lint": "turbo run lint",
"dev": "turbo run dev",
"glee": "turbo run dev --no-cache --filter=glee...",
"clean": "turbo run clean && rm -rf node_modules",
"build": "turbo run build",
"test": "turbo run test",
"changeset": "changeset",
"version-packages": "changeset version",
"publish-packages": "turbo run build && changeset publish",
"build:glee": "turbo run build --no-cache --filter=glee...",
"generate:assets": "turbo run generate:assets"
},
"keywords": [
"asyncapi",
"framework"
],
"author": "Fran Mendez",
"publishConfig": {
"access": "public"
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.62.0",
"eslint": "^8.27.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-security": "^3.0.0",
"eslint-plugin-sonarjs": "^0.25.1",
"turbo": "^1.12.4"
},
"license": "Apache-2.0",
"workspaces": [
"apps/*",
"packages/*"
],
"packageManager": "[email protected]",
"dependencies": {
"@asyncapi/generator": "^1.17.25",
"@asyncapi/html-template": "^3.0.0",
"@asyncapi/markdown-template": "^1.6.6",
"@asyncapi/parser": "^3.1.0",
"@next/env": "^14.0.4",
"@types/jest": "^29.5.11",
"@types/qs": "^6.9.7",
"ajv": "^6.12.6",
"async": "^3.2.0",
"better-ajv-errors": "^0.7.0",
"bufferutil": "^4.0.3",
"chalk": "^4.1.1",
"cross-spawn": "^7.0.3",
"debug": "^4.3.1",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"emojis": "^1.0.10",
"eslint-plugin-github": "^4.3.5",
"eslint-plugin-security": "^1.4.0",
"got": "^12.5.3",
"kafkajs": "^2.2.3",
"mqtt": "^4.3.7",
"path-to-regexp": "^6.2.0",
"qs": "^6.11.0",
"redis": "^4.0.2",
"socket.io": "^4.1.2",
"terminal-image": "^2.0.0",
"typescript": "^4.5.4",
"uri-templates": "^0.2.0",
"utf-8-validate": "^5.0.5",
"uuid": "^8.3.2",
"walkdir": "^0.4.1",
"word-wrap": "^1.2.3",
"ws": "^7.4.6"
},
"devDependencies": {
"@tsconfig/node14": "^1.0.1",
"@types/async": "^3.2.11",
"@types/debug": "^4.1.7",
"@types/socket.io": "^3.0.2",
"@types/uri-templates": "^0.1.31",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"all-contributors-cli": "^6.14.2",
"eslint": "^8.6.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-sonarjs": "^0.19.0",
"fs-extra": "^10.1.0",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"jsdoc-to-markdown": "^5.0.3",
"markdown-toc": "^1.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^29.1.1",
"tsc-watch": "^4.5.0",
"typedoc": "^0.23.28",
"typedoc-plugin-markdown": "^3.11.8",
"unixify": "^1.0.0"
"@changesets/cli": "^2.26.2"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions packages/glee/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
.DS_Store
dist
coverage
.vscode
.glee
.next
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
97 changes: 97 additions & 0 deletions packages/glee/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"name": "@asyncapi/glee",
"version": "0.37.9",
"description": "The AsyncAPI framework",
"exports": "./dist/moduleIndex.js",
"type": "module",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"bin": {
"glee": "dist/cli/index.js"
},
"scripts": {
"build": "tsc",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
"dev": "tsc --watch",
"docs": "typedoc --readme none --githubPages false --out docs/reference --entryPointStrategy expand ./src",
"get:version": "echo $npm_package_version",
"get:name": "echo $npm_package_name",
"generate:assets": "npm run docs",
"lint": "eslint --max-warnings 10 --config .eslintrc .",
"lint:fix": "eslint --max-warnings 10 --config .eslintrc . --fix",
"prepublishOnly": "npm run build",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:dev": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch"
},
"keywords": [
"asyncapi",
"framework"
],
"author": "Fran Mendez",
"publishConfig": {
"access": "public"
},
"license": "Apache-2.0",
"dependencies": {
"@asyncapi/generator": "^1.17.25",
"@asyncapi/html-template": "^3.0.0",
"@asyncapi/markdown-template": "^1.6.6",
"@asyncapi/parser": "^3.1.0",
"@next/env": "^14.0.4",
"@types/jest": "^29.5.11",
"@types/qs": "^6.9.7",
"ajv": "^6.12.6",
"async": "^3.2.0",
"better-ajv-errors": "^0.7.0",
"bufferutil": "^4.0.3",
"chalk": "^4.1.1",
"cross-spawn": "^7.0.3",
"debug": "^4.3.1",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"emojis": "^1.0.10",
"eslint-plugin-github": "^4.3.5",
"eslint-plugin-security": "^1.4.0",
"got": "^12.5.3",
"kafkajs": "^2.2.3",
"mqtt": "^4.3.7",
"path-to-regexp": "^6.2.0",
"qs": "^6.11.0",
"redis": "^4.0.2",
"socket.io": "^4.1.2",
"terminal-image": "^2.0.0",
"typescript": "^4.5.4",
"uri-templates": "^0.2.0",
"utf-8-validate": "^5.0.5",
"uuid": "^8.3.2",
"walkdir": "^0.4.1",
"word-wrap": "^1.2.3",
"ws": "^7.4.6"
},
"devDependencies": {
"@tsconfig/node14": "^1.0.1",
"@types/async": "^3.2.11",
"@types/debug": "^4.1.7",
"@types/socket.io": "^3.0.2",
"@types/uri-templates": "^0.1.31",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"all-contributors-cli": "^6.14.2",
"eslint": "^8.6.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-sonarjs": "^0.19.0",
"fs-extra": "^10.1.0",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"jsdoc-to-markdown": "^5.0.3",
"markdown-toc": "^1.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^29.1.1",
"tsc-watch": "^4.5.0",
"typedoc": "^0.23.28",
"typedoc-plugin-markdown": "^3.11.8",
"unixify": "^1.0.0"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 043626f

Please sign in to comment.