Skip to content

Commit d330c31

Browse files
committed
Add old import app
1 parent 313a90f commit d330c31

File tree

90 files changed

+15815
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+15815
-6
lines changed

.github/workflows/module-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ jobs:
9797
with:
9898
versionSuffix: ${{ env.VERSION_SUFFIX }}
9999

100+
- name: Build Import App
101+
uses: ./.github/actions/build-import-app
102+
with:
103+
githubToken: ${{ secrets.REPO_TOKEN }}
104+
npmToken: ${{ secrets.NPM_TOKEN }}
105+
100106
- name: Build New Import App
101107
uses: ./.github/actions/build-import-app-new
102108
with:

src/VirtoCommerce.ImportModule.Web/VirtoCommerce.ImportModule.Web.csproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
<Copy SourceFiles="@(NotificationTemplates)" DestinationFiles="$(PublishDir)\..\%(Identity)" />
3333
<Copy SourceFiles="@(ImportApp)" DestinationFiles="$(PublishDir)\..\%(Identity)" />
3434
</Target>
35-
<ItemGroup>
36-
<Compile Remove="import-app\**" />
37-
<Content Remove="import-app\**" />
38-
<EmbeddedResource Remove="import-app\**" />
39-
<None Remove="import-app\**" />
40-
</ItemGroup>
4135

4236

4337
<ItemGroup>
@@ -50,4 +44,8 @@
5044
<Folder Include="Scripts\widgets\" />
5145
</ItemGroup>
5246

47+
<ItemGroup>
48+
<None Include="import-app\.yarn\releases\yarn-4.0.2.cjs" />
49+
</ItemGroup>
50+
5351
</Project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Global rules, override on case-by-case basis
5+
[*]
6+
charset = utf-8
7+
indent_style = space
8+
max_line_length = 120
9+
tab_width = 2
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[*.{vue,js,ts,scss}]
15+
quote_type = double
16+
17+
[*.md]
18+
max_line_length = off
19+
trim_trailing_whitespace = false
20+
21+
[*.svg]
22+
insert_final_newline = false
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
APP_BASE_PATH=/apps/import-app/
2+
APP_I18N_LOCALE=en
3+
APP_I18N_FALLBACK_LOCALE=en
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
APP_PLATFORM_URL=https://vcmp-dev.govirto.com/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
api-client.ts
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
plugins: ["@typescript-eslint", "vue", "import"],
7+
extends: [
8+
"plugin:vue/vue3-recommended",
9+
"eslint:recommended",
10+
"plugin:import/recommended",
11+
"plugin:import/typescript",
12+
"@vue/typescript/recommended",
13+
"@vue/prettier",
14+
"@vue/eslint-config-typescript/recommended",
15+
],
16+
parser: "vue-eslint-parser",
17+
parserOptions: {
18+
sourceType: "module",
19+
ecmaVersion: 2022,
20+
},
21+
settings: {
22+
"import/parsers": {
23+
"@typescript-eslint/parser": [".ts"],
24+
},
25+
"import/resolver": {
26+
typescript: {
27+
project: ["./tsconfig.json", "./src/api_client/tsconfig.json", "./src/modules/tsconfig.json"],
28+
},
29+
},
30+
},
31+
rules: {
32+
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
33+
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
34+
"@typescript-eslint/ban-ts-comment": "warn",
35+
"@typescript-eslint/no-unused-vars": "warn",
36+
"vue/multi-word-component-names": "off",
37+
"vue/require-default-prop": "off",
38+
"vue/no-v-html": "off",
39+
"vue/no-template-shadow": "off",
40+
},
41+
};
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.pnp.*
2+
.yarn/*
3+
!.yarn/patches
4+
!.yarn/plugins
5+
!.yarn/releases
6+
!.yarn/sdks
7+
!.yarn/versions

0 commit comments

Comments
 (0)