add login-assets

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-08-05 18:47:19 +02:00
parent 97989cf22f
commit 1431456a4c
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0
8 changed files with 89 additions and 45 deletions

View File

@ -6,6 +6,7 @@ specifiers:
'@rush-temp/dev-server': file:./projects/dev-server.tgz '@rush-temp/dev-server': file:./projects/dev-server.tgz
'@rush-temp/dev-storage': file:./projects/dev-storage.tgz '@rush-temp/dev-storage': file:./projects/dev-storage.tgz
'@rush-temp/login': file:./projects/login.tgz '@rush-temp/login': file:./projects/login.tgz
'@rush-temp/login-assets': file:./projects/login-assets.tgz
'@rush-temp/login-resources': file:./projects/login-resources.tgz '@rush-temp/login-resources': file:./projects/login-resources.tgz
'@rush-temp/platform': file:./projects/platform.tgz '@rush-temp/platform': file:./projects/platform.tgz
'@rush-temp/platform-rig': file:./projects/platform-rig.tgz '@rush-temp/platform-rig': file:./projects/platform-rig.tgz
@ -48,6 +49,7 @@ specifiers:
ts-loader: ^9.2.5 ts-loader: ^9.2.5
typescript: ^4.3.5 typescript: ^4.3.5
webpack: ^5.48.0 webpack: ^5.48.0
webpack-bundle-analyzer: ^4.4.2
webpack-cli: ^4.7.2 webpack-cli: ^4.7.2
webpack-dev-server: ^3.11.2 webpack-dev-server: ^3.11.2
ws: ^8.0.0 ws: ^8.0.0
@ -58,6 +60,7 @@ dependencies:
'@rush-temp/dev-server': file:projects/dev-server.tgz_6c259fadfeb3a4b20890aefe87070b8b '@rush-temp/dev-server': file:projects/dev-server.tgz_6c259fadfeb3a4b20890aefe87070b8b
'@rush-temp/dev-storage': file:projects/dev-storage.tgz_6c259fadfeb3a4b20890aefe87070b8b '@rush-temp/dev-storage': file:projects/dev-storage.tgz_6c259fadfeb3a4b20890aefe87070b8b
'@rush-temp/login': file:projects/login.tgz_6c259fadfeb3a4b20890aefe87070b8b '@rush-temp/login': file:projects/login.tgz_6c259fadfeb3a4b20890aefe87070b8b
'@rush-temp/login-assets': file:projects/login-assets.tgz
'@rush-temp/login-resources': file:projects/login-resources.tgz_c38cf1a7a413db8918b0b4754c21e4c5 '@rush-temp/login-resources': file:projects/login-resources.tgz_c38cf1a7a413db8918b0b4754c21e4c5
'@rush-temp/platform': file:projects/platform.tgz_6c259fadfeb3a4b20890aefe87070b8b '@rush-temp/platform': file:projects/platform.tgz_6c259fadfeb3a4b20890aefe87070b8b
'@rush-temp/platform-rig': file:projects/platform-rig.tgz_6ab28797e7a22071465f7d680ae81ae5 '@rush-temp/platform-rig': file:projects/platform-rig.tgz_6ab28797e7a22071465f7d680ae81ae5
@ -100,7 +103,8 @@ dependencies:
ts-loader: 9.2.5_typescript@4.3.5+webpack@5.48.0 ts-loader: 9.2.5_typescript@4.3.5+webpack@5.48.0
typescript: 4.3.5 typescript: 4.3.5
webpack: 5.48.0_webpack-cli@4.7.2 webpack: 5.48.0_webpack-cli@4.7.2
webpack-cli: 4.7.2_e6a3c038781d6207761c29e1aac8eed2 webpack-bundle-analyzer: 4.4.2
webpack-cli: 4.7.2_954feff0479d53ccf5b533f71f40f1af
webpack-dev-server: 3.11.2_webpack-cli@4.7.2+webpack@5.48.0 webpack-dev-server: 3.11.2_webpack-cli@4.7.2+webpack@5.48.0
ws: 8.0.0 ws: 8.0.0
@ -1289,7 +1293,7 @@ packages:
webpack-cli: 4.x.x webpack-cli: 4.x.x
dependencies: dependencies:
webpack: 5.48.0_webpack-cli@4.7.2 webpack: 5.48.0_webpack-cli@4.7.2
webpack-cli: 4.7.2_e6a3c038781d6207761c29e1aac8eed2 webpack-cli: 4.7.2_954feff0479d53ccf5b533f71f40f1af
dev: false dev: false
/@webpack-cli/info/1.3.0_webpack-cli@4.7.2: /@webpack-cli/info/1.3.0_webpack-cli@4.7.2:
@ -1298,7 +1302,7 @@ packages:
webpack-cli: 4.x.x webpack-cli: 4.x.x
dependencies: dependencies:
envinfo: 7.8.1 envinfo: 7.8.1
webpack-cli: 4.7.2_e6a3c038781d6207761c29e1aac8eed2 webpack-cli: 4.7.2_954feff0479d53ccf5b533f71f40f1af
dev: false dev: false
/@webpack-cli/serve/1.5.1_8f539f003d3f73da23f531c906cfc201: /@webpack-cli/serve/1.5.1_8f539f003d3f73da23f531c906cfc201:
@ -1310,7 +1314,7 @@ packages:
webpack-dev-server: webpack-dev-server:
optional: true optional: true
dependencies: dependencies:
webpack-cli: 4.7.2_e6a3c038781d6207761c29e1aac8eed2 webpack-cli: 4.7.2_954feff0479d53ccf5b533f71f40f1af
webpack-dev-server: 3.11.2_webpack-cli@4.7.2+webpack@5.48.0 webpack-dev-server: 3.11.2_webpack-cli@4.7.2+webpack@5.48.0
dev: false dev: false
@ -7347,43 +7351,6 @@ packages:
webpack-merge: 5.8.0 webpack-merge: 5.8.0
dev: false dev: false
/webpack-cli/4.7.2_e6a3c038781d6207761c29e1aac8eed2:
resolution: {integrity: sha512-mEoLmnmOIZQNiRl0ebnjzQ74Hk0iKS5SiEEnpq3dRezoyR3yPaeQZCMCe+db4524pj1Pd5ghZXjT41KLzIhSLw==}
engines: {node: '>=10.13.0'}
hasBin: true
peerDependencies:
'@webpack-cli/generators': '*'
'@webpack-cli/migrate': '*'
webpack: 4.x.x || 5.x.x
webpack-bundle-analyzer: '*'
webpack-dev-server: '*'
peerDependenciesMeta:
'@webpack-cli/generators':
optional: true
'@webpack-cli/migrate':
optional: true
webpack-bundle-analyzer:
optional: true
webpack-dev-server:
optional: true
dependencies:
'@discoveryjs/json-ext': 0.5.3
'@webpack-cli/configtest': 1.0.4_webpack-cli@4.7.2+webpack@5.48.0
'@webpack-cli/info': 1.3.0_webpack-cli@4.7.2
'@webpack-cli/serve': 1.5.1_8f539f003d3f73da23f531c906cfc201
colorette: 1.2.2
commander: 7.2.0
execa: 5.1.1
fastest-levenshtein: 1.0.12
import-local: 3.0.2
interpret: 2.2.0
rechoir: 0.7.1
v8-compile-cache: 2.3.0
webpack: 5.48.0_webpack-cli@4.7.2
webpack-dev-server: 3.11.2_webpack-cli@4.7.2+webpack@5.48.0
webpack-merge: 5.8.0
dev: false
/webpack-dev-middleware/3.7.3_webpack@5.48.0: /webpack-dev-middleware/3.7.3_webpack@5.48.0:
resolution: {integrity: sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ==} resolution: {integrity: sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ==}
engines: {node: '>= 6'} engines: {node: '>= 6'}
@ -7439,7 +7406,7 @@ packages:
supports-color: 6.1.0 supports-color: 6.1.0
url: 0.11.0 url: 0.11.0
webpack: 5.48.0_webpack-cli@4.7.2 webpack: 5.48.0_webpack-cli@4.7.2
webpack-cli: 4.7.2_e6a3c038781d6207761c29e1aac8eed2 webpack-cli: 4.7.2_954feff0479d53ccf5b533f71f40f1af
webpack-dev-middleware: 3.7.3_webpack@5.48.0 webpack-dev-middleware: 3.7.3_webpack@5.48.0
webpack-log: 2.0.0 webpack-log: 2.0.0
ws: 6.2.2 ws: 6.2.2
@ -7500,7 +7467,7 @@ packages:
tapable: 2.2.0 tapable: 2.2.0
terser-webpack-plugin: 5.1.4_webpack@5.48.0 terser-webpack-plugin: 5.1.4_webpack@5.48.0
watchpack: 2.2.0 watchpack: 2.2.0
webpack-cli: 4.7.2_e6a3c038781d6207761c29e1aac8eed2 webpack-cli: 4.7.2_954feff0479d53ccf5b533f71f40f1af
webpack-sources: 3.2.0 webpack-sources: 3.2.0
dev: false dev: false
@ -7777,6 +7744,12 @@ packages:
- typescript - typescript
dev: false dev: false
file:projects/login-assets.tgz:
resolution: {integrity: sha512-9zgHyYjB25jstXaa3q5FitulpLfvdXRJCG9G2klk9WewAXGx5X6brJT7CYZerN9G7p0jCjnz0JnMgJwmnz8ZeA==, tarball: file:projects/login-assets.tgz}
name: '@rush-temp/login-assets'
version: 0.0.0
dev: false
file:projects/login-resources.tgz_c38cf1a7a413db8918b0b4754c21e4c5: file:projects/login-resources.tgz_c38cf1a7a413db8918b0b4754c21e4c5:
resolution: {integrity: sha512-/y0RdsR15OZIqLJx1mwd8oOB51lbw7kKHWmy+CS2qRZufQcUZLU0R3Eo0wnoRynXRby11E6A17LxMglB8R1Txw==, tarball: file:projects/login-resources.tgz} resolution: {integrity: sha512-/y0RdsR15OZIqLJx1mwd8oOB51lbw7kKHWmy+CS2qRZufQcUZLU0R3Eo0wnoRynXRby11E6A17LxMglB8R1Txw==, tarball: file:projects/login-resources.tgz}
id: file:projects/login-resources.tgz id: file:projects/login-resources.tgz
@ -7862,7 +7835,7 @@ packages:
dev: false dev: false
file:projects/prod.tgz_typescript@4.3.5: file:projects/prod.tgz_typescript@4.3.5:
resolution: {integrity: sha512-ti6nz+pb0TRqhi0+pGET0k++WDa/DS+Crnfa0y9ZERFFNJMYFBKcspo5fpKKIUlwTx6O14layZ8h+fAHtKcj4Q==, tarball: file:projects/prod.tgz} resolution: {integrity: sha512-bM0WYb/I0MnLe8uOmNDzrQ8eOyT24MIhWt+d+T10364rGd9HSyCH1GDnrgm4oZEnnHWQz3Pf5Hmz8KyP4J5QRA==, tarball: file:projects/prod.tgz}
id: file:projects/prod.tgz id: file:projects/prod.tgz
name: '@rush-temp/prod' name: '@rush-temp/prod'
version: 0.0.0 version: 0.0.0

View File

@ -42,6 +42,7 @@
"@anticrm/theme": "~0.6.0", "@anticrm/theme": "~0.6.0",
"svelte": "^3.42.1", "svelte": "^3.42.1",
"@anticrm/login": "~0.6.0", "@anticrm/login": "~0.6.0",
"@anticrm/login-assets": "~0.6.0",
"@anticrm/login-resources": "~0.6.0", "@anticrm/login-resources": "~0.6.0",
"@anticrm/platform": "~0.6.3" "@anticrm/platform": "~0.6.3"
} }

View File

@ -27,7 +27,7 @@ import { loginId } from '@anticrm/login'
// import { chunterServerId } from '@anticrm/chunter-server' // import { chunterServerId } from '@anticrm/chunter-server'
// import '@anticrm/login-assets' import '@anticrm/login-assets'
// import '@anticrm/chunter-assets' // import '@anticrm/chunter-assets'
// import '@anticrm/recruit-assets' // import '@anticrm/recruit-assets'
// import '@anticrm/task-assets' // import '@anticrm/task-assets'

View File

@ -0,0 +1,7 @@
{
"string": {
"LogIn": "Login",
"SignUp": "Sign Up",
"DoNotHaveAnAccount": "Do not have an account?"
}
}

View File

@ -0,0 +1,21 @@
{
"name": "@anticrm/login-assets",
"version": "0.6.0",
"main": "src/index.ts",
"author": "Anticrm Platform Contributors",
"license": "EPL-2.0",
"scripts": {
"build": "",
"build:docs": "api-extractor run --local",
"test": "echo 'no tests'",
"lint": "ts-standard src",
"lint:fix": "ts-standard --fix src",
"format": "prettier --write 'src/**/*.{ts*,js*,yml}' && ts-standard --fix src"
},
"devDependencies": {
},
"dependencies": {
"@anticrm/platform":"~0.6.3",
"@anticrm/login":"~0.6.0"
}
}

View File

@ -0,0 +1,22 @@
//
// Copyright © 2020, 2021 Anticrm Platform Contributors.
// Copyright © 2021 Hardcore Engineering Inc.
//
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. You may
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
import { addStringsLoader } from '@anticrm/platform'
import { loginId } from '@anticrm/login'
addStringsLoader(loginId, async (lang: string) => {
return await import(`../lang/${lang}.json`)
})

View File

@ -0,0 +1,15 @@
{
"compilerOptions": {
"moduleResolution": "node",
"target": "esnext",
"module": "esnext",
"declaration": true,
"outDir": "./lib",
"strict": true,
"esModuleInterop": true,
"lib": [
"esnext",
"dom"
]
}
}

View File

@ -506,6 +506,11 @@
"projectFolder": "plugins/login", "projectFolder": "plugins/login",
"shouldPublish": true "shouldPublish": true
}, },
{
"packageName": "@anticrm/login-assets",
"projectFolder": "plugins/login-assets",
"shouldPublish": true
},
{ {
"packageName": "@anticrm/login-resources", "packageName": "@anticrm/login-resources",
"projectFolder": "plugins/login-resources", "projectFolder": "plugins/login-resources",