Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions ambari-web-next/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*node
*tsconfig.app.tsbuildinfo
*tsconfig.node.json
*tsconfig.node.tsbuildinfo

20 changes: 20 additions & 0 deletions ambari-web-next/apps/admin/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "ambari-admin",
"version": "1.0.0",
"description": "Front-end admin app for the Apache Ambari Admin Project",
"homepage": "http://ambari.apache.org/",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/ambari/repo?p=ambari.git;a=summary"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"packageManager": "pnpm@10.10.0",
"dependencies": {
"@ambari/ui-shared": "workspace:*"
}
}
20 changes: 20 additions & 0 deletions ambari-web-next/apps/web/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "ambari-web",
"version": "1.0.0",
"description": "Front-end web app for the Apache Ambari Admin Project",
"homepage": "http://ambari.apache.org/",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/ambari/repo?p=ambari.git;a=summary"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"packageManager": "pnpm@10.10.0",
"dependencies": {
"@ambari/ui-shared": "workspace:*"
}
}
13 changes: 13 additions & 0 deletions ambari-web-next/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions ambari-web-next/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "ambari-web-next",
"version": "1.0.0",
"description": "Front-end monorepo for the Apache Ambari Project",
"homepage": "http://ambari.apache.org/",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/ambari/repo?p=ambari.git;a=summary"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"packageManager": "pnpm@10.10.0"
}
29 changes: 29 additions & 0 deletions ambari-web-next/packages/ui-shared/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*node
*tsconfig.app.tsbuildinfo
*tsconfig.node.json
*tsconfig.node.tsbuildinfo

1 change: 1 addition & 0 deletions ambari-web-next/packages/ui-shared/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Amberi UI Shared
28 changes: 28 additions & 0 deletions ambari-web-next/packages/ui-shared/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'

export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
)
52 changes: 52 additions & 0 deletions ambari-web-next/packages/ui-shared/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "@ambari/ui-shared",
"private": true,
"version": "1.0.0",
"description": "Front-end ui shared packages for the Apache Ambari Project",
"homepage": "http://ambari.apache.org/",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/ambari/repo?p=ambari.git;a=summary"
},
"type": "module",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"build": "tsc -b",
"lint": "eslint ."
},
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"@tanstack/react-table": "^8.20.5",
"@types/lodash": "^4.17.12",
"axios": "^1.7.7",
"bootstrap": "^5.3.3",
"history": "^5.3.0",
"lodash": "^4.17.21",
"path": "^0.12.7",
"react": "^18.3.1",
"react-bootstrap": "^2.10.5",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1",
"react-router-dom": "^5.3.4",
"react-select": "^5.8.3",
"sass": "^1.77.6"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.9.0",
"jsdom": "^25.0.1",
"typescript": "^5.5.3",
"typescript-eslint": "^8.7.0"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"packageManager": "pnpm@10.10.0"
}
Loading