Skip to content

Commit

Permalink
basic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ezr-ondrej committed Sep 14, 2020
1 parent 8bc667a commit b16c512
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -12,4 +12,4 @@ locale/*/*.pox
node_modules
package-lock.json
Gemfile.lock
coverage
coverage
3 changes: 1 addition & 2 deletions .stylelintrc
@@ -1,6 +1,5 @@

{
"extends": [
"stylelint-config-standard",
],
}
}
4 changes: 2 additions & 2 deletions foreman_plugin_template.gemspec
Expand Up @@ -11,8 +11,8 @@ Gem::Specification.new do |s|
# also update locale/gemspec.rb
s.description = 'TODO: Description of ForemanPluginTemplate.'

s.files = Dir['{app,config,db,lib,locale}/**/*'] + ['LICENSE', 'Rakefile', 'README.md']
s.test_files = Dir['test/**/*']
s.files = Dir['{app,config,db,lib,locale,webpack}/**/*'] + ['LICENSE', 'Rakefile', 'README.md', 'package.json']
s.test_files = Dir['test/**/*'] + Dir['webpack/**/__tests__/*.js']

s.add_development_dependency 'rubocop'
s.add_development_dependency 'rdoc'
Expand Down
2 changes: 1 addition & 1 deletion webpack/fills_index.js
@@ -1,4 +1,4 @@
// This example for extanding foreman-core's component via slot&fill
// This is an example of extending foreman-core's component via slot&fill

/*
import React from 'react';
Expand Down
13 changes: 0 additions & 13 deletions webpack/src/Components/EmptyState/EmptyPage.test.js

This file was deleted.

2 changes: 1 addition & 1 deletion webpack/src/Components/EmptyState/EmptyState.js
Expand Up @@ -21,7 +21,7 @@ const EmptyState = ({ description }) => {
<PfEmptyState.Info>{description}</PfEmptyState.Info>
<PfEmptyState.Action>
<Button
href="https://theforeman.github.io/foreman"
href="https://example.com/foreman"
bsStyle="primary"
bsSize="large"
>
Expand Down
8 changes: 4 additions & 4 deletions webpack/src/ForemanPluginTemplate.js
@@ -1,11 +1,11 @@
import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import PluginTemplateRoute from './Router';
import ForemanPluginTemplateRoute from './Router';

const PluginTemplate = () => (
const ForemanPluginTemplate = () => (
<BrowserRouter>
<PluginTemplateRoute />
<ForemanPluginTemplateRoute />
</BrowserRouter>
);

export default PluginTemplate;
export default ForemanPluginTemplate;
14 changes: 0 additions & 14 deletions webpack/src/Router/WelcomePage/__test__/Welcome.test.js

This file was deleted.

4 changes: 2 additions & 2 deletions webpack/src/Router/routes.js
@@ -1,10 +1,10 @@
import WelcomPage from './WelcomePage';
import WelcomePage from './WelcomePage';

const routes = {
welcome: {
path: '/foreman_plugin_template',
exact: true,
component: WelcomPage,
component: WelcomePage,
},
};

Expand Down

0 comments on commit b16c512

Please sign in to comment.