Skip to content

Commit

Permalink
chore: move playground to apps/
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Sep 10, 2024
1 parent 0f21fa0 commit 6e4b4d7
Show file tree
Hide file tree
Showing 221 changed files with 53 additions and 62 deletions.
9 changes: 0 additions & 9 deletions apps/meteor/app/settings/server/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Settings } from '@rocket.chat/models';

import { use } from './Middleware';
import { SettingsRegistry } from './SettingsRegistry';
import { settings } from './cached';
import { initializeSettings } from './startup';
Expand All @@ -12,12 +11,4 @@ export { settings };

export const settingsRegistry = new SettingsRegistry({ store: settings, model: Settings });

settingsRegistry.add = use(settingsRegistry.add, async (context, next) => {
return next(...context) as any;
});

settingsRegistry.addGroup = use(settingsRegistry.addGroup, async (context, next) => {
return next(...context) as any;
});

await initializeSettings({ model: Settings, settings });
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.
102 changes: 51 additions & 51 deletions packages/ui-composer/package.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"name": "@rocket.chat/ui-composer",
"version": "0.2.1",
"private": true,
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"typecheck": "tsc --noEmit",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
"storybook": "start-storybook -p 6006"
},
"devDependencies": {
"@babel/core": "~7.22.20",
"@react-aria/toolbar": "^3.0.0-beta.1",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.59.0",
"@rocket.chat/icons": "~0.38.0",
"@storybook/addon-actions": "~6.5.16",
"@storybook/addon-docs": "~6.5.16",
"@storybook/addon-essentials": "~6.5.16",
"@storybook/builder-webpack4": "~6.5.16",
"@storybook/manager-webpack4": "~6.5.16",
"@storybook/react": "~6.5.16",
"@storybook/testing-library": "~0.0.13",
"@types/babel__core": "~7.20.3",
"@types/react": "~17.0.69",
"@types/react-dom": "~17.0.22",
"eslint": "~8.45.0",
"eslint-plugin-react": "~7.32.2",
"eslint-plugin-react-hooks": "~4.6.0",
"eslint-plugin-storybook": "~0.6.15",
"react": "~17.0.2",
"react-docgen-typescript-plugin": "~1.0.5",
"react-dom": "~17.0.2",
"typescript": "~5.5.4"
},
"peerDependencies": {
"@react-aria/toolbar": "*",
"@rocket.chat/fuselage": "*",
"@rocket.chat/icons": "*",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"volta": {
"extends": "../../package.json"
}
"name": "@rocket.chat/ui-composer",
"version": "0.2.1",
"private": true,
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"typecheck": "tsc --noEmit",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
"storybook": "start-storybook -p 6006"
},
"devDependencies": {
"@babel/core": "~7.22.20",
"@react-aria/toolbar": "^3.0.0-beta.1",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "^0.59.0",
"@rocket.chat/icons": "~0.38.0",
"@storybook/addon-actions": "~6.5.16",
"@storybook/addon-docs": "~6.5.16",
"@storybook/addon-essentials": "~6.5.16",
"@storybook/builder-webpack4": "~6.5.16",
"@storybook/manager-webpack4": "~6.5.16",
"@storybook/react": "~6.5.16",
"@storybook/testing-library": "~0.0.13",
"@types/babel__core": "~7.20.3",
"@types/react": "~17.0.69",
"@types/react-dom": "~17.0.22",
"eslint": "~8.45.0",
"eslint-plugin-react": "~7.32.2",
"eslint-plugin-react-hooks": "~4.6.0",
"eslint-plugin-storybook": "~0.6.15",
"react": "~17.0.2",
"react-docgen-typescript-plugin": "~1.0.5",
"react-dom": "~17.0.2",
"typescript": "~5.5.4"
},
"peerDependencies": {
"@react-aria/toolbar": "*",
"@rocket.chat/fuselage": "*",
"@rocket.chat/icons": "*",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"volta": {
"extends": "../../package.json"
}
}
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10455,9 +10455,9 @@ __metadata:
languageName: unknown
linkType: soft

"@rocket.chat/uikit-playground@workspace:packages/uikit-playground":
"@rocket.chat/uikit-playground@workspace:apps/uikit-playground":
version: 0.0.0-use.local
resolution: "@rocket.chat/uikit-playground@workspace:packages/uikit-playground"
resolution: "@rocket.chat/uikit-playground@workspace:apps/uikit-playground"
dependencies:
"@codemirror/lang-javascript": ^6.1.9
"@codemirror/lang-json": ^6.0.1
Expand Down

0 comments on commit 6e4b4d7

Please sign in to comment.