add ui-next to sdist manifest

This commit is contained in:
Hao Liu
2023-02-21 21:46:19 -05:00
parent 86a4a38be6
commit db6fb2de5e
6 changed files with 20 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ recursive-include awx/templates *.html
recursive-include awx/api/templates *.md *.html *.yml
recursive-include awx/ui/build *.html
recursive-include awx/ui/build *
recursive-include awx/ui-next/ansible-ui/build *
recursive-include awx/playbooks *.yml
recursive-include awx/lib/site-packages *
recursive-include awx/plugins *.ps1

View File

@@ -1,4 +1,4 @@
include awx/ui-next/Makefile
# include awx/ui-next/Makefile
PYTHON ?= python3.9
OFFICIAL ?= no

4
awx/ui-next/Makefile Normal file
View File

@@ -0,0 +1,4 @@
ui-next/clone:
ui-next/build: ui-next/clone
$(MAKE) -C ui-next build

9
awx/ui-next/package.json Normal file
View File

@@ -0,0 +1,9 @@
{
"name": "ui-next",
"homepage": ".",
"private": true,
"engines": {
"node": ">=16.13.1"
},
}

View File

@@ -25,4 +25,7 @@ class MigrationsNotran(TemplateView):
app_name = 'ui-next'
urlpatterns = [re_path(r'^$', IndexView.as_view(), name='index'), re_path(r'^migrations_notran/$', MigrationsNotran.as_view(), name='migrations_notran')]
urlpatterns = [
re_path(r'^$', IndexView.as_view(), name='index'),
re_path(r'^migrations_notran/$', MigrationsNotran.as_view(), name='migrations_notran'),
]

View File

@@ -9,7 +9,7 @@ from awx.main.views import handle_400, handle_403, handle_404, handle_500, handl
urlpatterns = [
re_path(r'', include('awx.ui.urls', namespace='ui')),
re_path(r'^controller/', include('awx.ui-next.urls', namespace='controller')),
re_path(r'^controller/.*$', include('awx.ui-next.urls', namespace='controller')),
# re_path(r'^ui-next/', include('awx.ui-next.urls', namespace='ui-next')),
re_path(r'^api/', include('awx.api.urls', namespace='api')),
re_path(r'^sso/', include('awx.sso.urls', namespace='sso')),