Merge pull request #383 from hashicorp/rename-core-to-admin
Rename ui/core to ui/admin
This commit is contained in:
534 files changed
+35
-33
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ ui:
|
||||
- ui/**/*
|
||||
|
||||
admin:
|
||||
- ui/core/**/*
|
||||
- ui/admin/**/*
|
||||
|
||||
desktop:
|
||||
- ui/desktop/**/*
|
||||
@@ -21,7 +21,7 @@ subproject, e.g. running or testing.
|
||||
- [Contributing](#contributing)
|
||||
- [Branching](#branching)
|
||||
- [Building ToC](#building-toc)
|
||||
- [Building Core UI for Production](#building-core-ui-for-production)
|
||||
- [Building Admin UI for Production](#building-admin-ui-for-production)
|
||||
- [Building with a Container](#building-with-a-container)
|
||||
- [Committing](#committing)
|
||||
- [License Checking](#license-checking)
|
||||
@@ -57,7 +57,7 @@ List of available project commands. `yarn run <command-name>`
|
||||
|
||||
| Command | Description |
|
||||
|---------------------|---|
|
||||
| build | Builds Core UI. |
|
||||
| build | Builds Admin UI. |
|
||||
| test | Runs tests in CI mode. |
|
||||
| commit | Replaces `git commit`, ensures compliance, audit, lint, and test checks pass before commit is allowed and normalizes commit messages across authors. |
|
||||
| lint | Runs ember-template-lint on all of the hbs, js, and sass files. |
|
||||
@@ -77,20 +77,20 @@ To autogenerate a ToC (table of contents) for this README,
|
||||
run `yarn doc:toc`. Please update the ToC whenever editing the structure
|
||||
of README.
|
||||
|
||||
### Building Core UI for Production
|
||||
### Building Admin UI for Production
|
||||
|
||||
See ui/core/README.md Building for Production for more information on how to
|
||||
build the Core UI. Be sure to set build-related environment variables as
|
||||
necessary for your target environment, as described in the Core UI readme.
|
||||
See ui/admin/README.md Building for Production for more information on how to
|
||||
build the Admin UI. Be sure to set build-related environment variables as
|
||||
necessary for your target environment, as described in the Admin UI readme.
|
||||
|
||||
To quickly produce a production build of Core UI, run from this folder:
|
||||
To quickly produce a production build of Admin UI, run from this folder:
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
yarn build
|
||||
```
|
||||
|
||||
Assets are saved to `ui/core/dist/`.
|
||||
Assets are saved to `ui/admin/dist/`.
|
||||
|
||||
#### Building with a Container
|
||||
|
||||
@@ -100,7 +100,7 @@ Optionally, you may build the UI within a container. Execute the following comm
|
||||
docker-compose -f docker-compose-embedding.yml run build
|
||||
```
|
||||
|
||||
Assets are saved to `ui/core/dist/`.
|
||||
Assets are saved to `ui/admin/dist/`.
|
||||
|
||||
### Committing
|
||||
|
||||
|
||||
@@ -13,17 +13,17 @@ services:
|
||||
- 'icu_addons_api_node_modules:/src/addons/api/node_modules'
|
||||
- 'icu_addons_auth_node_modules:/src/addons/auth/node_modules'
|
||||
- 'icu_addons_rose_node_modules:/src/addons/rose/node_modules'
|
||||
- 'icu_ui_core_node_modules:/src/ui/core/node_modules'
|
||||
- 'icu_ui_admin_node_modules:/src/ui/admin/node_modules'
|
||||
working_dir: /src
|
||||
|
||||
build:
|
||||
<<: *node
|
||||
entrypoint: bash
|
||||
command: '-c "yarn install && yarn build:ui:core && chmod -R 777 ."'
|
||||
command: '-c "yarn install && yarn build:ui:admin && chmod -R 777 ."'
|
||||
|
||||
volumes:
|
||||
icu_node_modules:
|
||||
icu_addons_api_node_modules:
|
||||
icu_addons_auth_node_modules:
|
||||
icu_addons_rose_node_modules:
|
||||
icu_ui_core_node_modules:
|
||||
icu_ui_admin_node_modules:
|
||||
+5
-5
@@ -16,25 +16,25 @@
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn build:ui:core",
|
||||
"build:ui:core": "cd ui/core && yarn build",
|
||||
"build": "yarn build:ui:admin",
|
||||
"build:ui:admin": "cd ui/admin && yarn build",
|
||||
"build:ui:desktop": "cd ui/desktop && yarn build",
|
||||
"lint": "npm-run-all lint:*",
|
||||
"lint:addons-api": "cd addons/api && yarn lint",
|
||||
"lint:addons-auth": "cd addons/auth && yarn lint",
|
||||
"lint:addons-rose": "cd addons/rose && yarn lint",
|
||||
"lint:ui-core": "cd ui/core && yarn lint",
|
||||
"lint:ui-admin": "cd ui/admin && yarn lint",
|
||||
"lint:ui-desktop": "cd ui/desktop && yarn lint",
|
||||
"test": "npm-run-all test:*",
|
||||
"test:addons-api": "cd addons/api && yarn test",
|
||||
"test:addons-auth": "cd addons/auth && yarn test",
|
||||
"test:addons-rose": "cd addons/rose && yarn test",
|
||||
"test:ui-core": "cd ui/core && yarn test",
|
||||
"test:ui-admin": "cd ui/admin && yarn test",
|
||||
"test:ui-desktop": "cd ui/desktop && yarn test",
|
||||
"compliance:audit": "bash ./scripts/yarn-audit.sh",
|
||||
"precommit": "yarn compliance:licenses && yarn compliance:audit && yarn lint && yarn test",
|
||||
"commit": "git-cz",
|
||||
"compliance:licenses": "license-checker --onlyAllow 'Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages 'boundary-ui;core@0.0.0;desktop@0.0.0;base64-js@0.0.2'",
|
||||
"compliance:licenses": "license-checker --onlyAllow 'Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages 'boundary-ui;admin@0.0.0;desktop@0.0.0;base64-js@0.0.2'",
|
||||
"doc:toc": "doctoc README.md"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
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.
@@ -1,6 +1,6 @@
|
||||
# Core UI
|
||||
# Admin UI
|
||||
|
||||
The core UI for Boundary.
|
||||
The admin UI for Boundary.
|
||||
|
||||
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
||||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||
@@ -1,7 +1,7 @@
|
||||
import Application from '@ember/application';
|
||||
import Resolver from 'ember-resolver';
|
||||
import loadInitializers from 'ember-load-initializers';
|
||||
import config from 'core/config/environment';
|
||||
import config from 'admin/config/environment';
|
||||
|
||||
export default class App extends Application {
|
||||
modulePrefix = config.modulePrefix;
|
||||
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.
Loaded 100 of 534 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user