Skip to content

Commit

Permalink
Fix adapter Java package name
Browse files Browse the repository at this point in the history
  • Loading branch information
sdvg committed Jun 13, 2024
1 parent ece2f6b commit 3998d20
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ out
pnpmfile.js
.npmrc
frontend/generated
src/main/java/kolibri
src/main/java/io/github/public_ui/kolibriVaadinAdapter
4 changes: 2 additions & 2 deletions adapter/vaadin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { rimraf, rimrafSync, native, nativeSync } = require('rimraf');
const ELEMENTS = require('@public-ui/components/custom-elements.json');
const PACKAGE_JSON = require('@public-ui/components/package.json');

const FILE_HEAD = `package com.example.adapters;
const FILE_HEAD = `package io.github.public_ui.kolibriVaadinAdapter;
import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.Tag;
Expand All @@ -15,7 +15,7 @@ import java.util.Optional;
`;

const LOCATION = path.resolve(__dirname, '../', 'src/main/java/kolibri');
const LOCATION = path.resolve(__dirname, '../', 'src/main/java/io/github/public_ui/kolibriVaadinAdapter');

console.log('LOCATION', LOCATION);

Expand Down
24 changes: 21 additions & 3 deletions kolibri-vaadin.iws
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="2f211b17-166a-40eb-a86c-494444f8a1bf" name="Changes" comment="">
<list default="true" id="2f211b17-166a-40eb-a86c-494444f8a1bf" name="Changes" comment="Add Intellij specific files to Git">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/adapter/vaadin.js" beforeDir="false" afterPath="$PROJECT_DIR$/adapter/vaadin.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/kolibri-vaadin.iws" beforeDir="false" afterPath="$PROJECT_DIR$/kolibri-vaadin.iws" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
Expand Down Expand Up @@ -73,6 +75,7 @@
</system>
</component>
<component name="Git.Settings">
<option name="PREVIEW_PUSH_PROTECTED_ONLY" value="true" />
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="ModuleEditorState">
Expand All @@ -98,7 +101,11 @@
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.ShowReadmeOnStart": "true",
"git-widget-placeholder": "main",
"git-widget-placeholder": "6365-kolibri-adapter-components",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"vue.rearranger.settings.migration": "true"
}
Expand Down Expand Up @@ -193,14 +200,25 @@
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1718263273976</updated>
<workItem from="1718263274435" duration="97000" />
<workItem from="1718263274435" duration="1131000" />
</task>
<task id="LOCAL-00001" summary="Add Intellij specific files to Git">
<option name="closed" value="true" />
<created>1718263430162</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1718263430162</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="Add Intellij specific files to Git" />
<option name="LAST_COMMIT_MESSAGE" value="Add Intellij specific files to Git" />
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
</component>
</project>

0 comments on commit 3998d20

Please sign in to comment.