mirror of
https://github.com/SomboChea/ui
synced 2026-01-18 00:56:00 +07:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
584f4c141e | ||
|
|
91d818c478 | ||
|
|
ae6e479f16 | ||
|
|
18ef27eac6 | ||
|
|
eabc0b9f5b | ||
|
|
543877a077 |
40
.secrets-baseline
Normal file
40
.secrets-baseline
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"exclude": {
|
||||||
|
"files": null,
|
||||||
|
"lines": null
|
||||||
|
},
|
||||||
|
"generated_at": "2019-09-29T18:19:50Z",
|
||||||
|
"plugins_used": [
|
||||||
|
{
|
||||||
|
"name": "AWSKeyDetector"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ArtifactoryDetector"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"base64_limit": 4.5,
|
||||||
|
"name": "Base64HighEntropyString"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BasicAuthDetector"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"hex_limit": 3,
|
||||||
|
"name": "HexHighEntropyString"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "KeywordDetector"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PrivateKeyDetector"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "SlackDetector"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "StripeDetector"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"results": {},
|
||||||
|
"version": "0.12.4"
|
||||||
|
}
|
||||||
@@ -2,6 +2,13 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||||
|
|
||||||
|
### [0.3.2](https://github.com/verdaccio/ui/compare/v0.3.1...v0.3.2) (2019-09-30)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* sidebar view on small screens ([#136](https://github.com/verdaccio/ui/issues/136)) ([91d818c](https://github.com/verdaccio/ui/commit/91d818c))
|
||||||
|
|
||||||
### [0.3.1](https://github.com/verdaccio/ui/compare/v0.3.0...v0.3.1) (2019-09-29)
|
### [0.3.1](https://github.com/verdaccio/ui/compare/v0.3.0...v0.3.1) (2019-09-29)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -26,14 +26,14 @@ We use `>=yarn@1.13.0`, keep on mind we use lock file.
|
|||||||
|
|
||||||
For development run the following command, it will execute `webpack` and `verdaccio` to
|
For development run the following command, it will execute `webpack` and `verdaccio` to
|
||||||
|
|
||||||
```
|
```bash
|
||||||
yarn dev
|
yarn dev
|
||||||
```
|
```
|
||||||
The configuration file is located on `tools/_config.yaml`.
|
The configuration file is located on `tools/_config.yaml`.
|
||||||
|
|
||||||
Run linting tooling and test to check your code is clean before commit.
|
Run linting tooling and test to check your code is clean before commit.
|
||||||
|
|
||||||
```
|
```bash
|
||||||
yarn lint && yarn test
|
yarn lint && yarn test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
14
package.json
14
package.json
@@ -1,14 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "@verdaccio/ui-theme",
|
"name": "@verdaccio/ui-theme",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "Verdaccio User Interface",
|
"description": "Verdaccio User Interface",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Verdaccio Core Team"
|
"name": "Verdaccio Core Team",
|
||||||
|
"email": "verdaccio.npm@gmail.com"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/verdaccio/ui"
|
"url": "git://github.com/verdaccio/ui"
|
||||||
},
|
},
|
||||||
|
"homepage": "https://verdaccio.org",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "8.2.0",
|
"@commitlint/cli": "8.2.0",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"codecov": "3.6.1",
|
"codecov": "3.6.1",
|
||||||
"concurrently": "4.1.2",
|
"concurrently": "4.1.2",
|
||||||
"cross-env": "6.0.0",
|
"cross-env": "6.0.0",
|
||||||
|
"detect-secrets": "1.0.4",
|
||||||
"css-loader": "3.2.0",
|
"css-loader": "3.2.0",
|
||||||
"date-fns": "1.30.1",
|
"date-fns": "1.30.1",
|
||||||
"emotion": "9.2.12",
|
"emotion": "9.2.12",
|
||||||
@@ -65,6 +68,7 @@
|
|||||||
"js-base64": "2.5.1",
|
"js-base64": "2.5.1",
|
||||||
"js-yaml": "3.13.1",
|
"js-yaml": "3.13.1",
|
||||||
"lint-staged": "8.2.1",
|
"lint-staged": "8.2.1",
|
||||||
|
"lockfile-lint": "2.0.1",
|
||||||
"localstorage-memory": "1.0.3",
|
"localstorage-memory": "1.0.3",
|
||||||
"mini-css-extract-plugin": "0.8.0",
|
"mini-css-extract-plugin": "0.8.0",
|
||||||
"node-mocks-http": "1.8.0",
|
"node-mocks-http": "1.8.0",
|
||||||
@@ -149,9 +153,10 @@
|
|||||||
"test:acceptance:server": "concurrently --kill-others \"npm run verdaccio:server\" \"npm run test:acceptance\"",
|
"test:acceptance:server": "concurrently --kill-others \"npm run verdaccio:server\" \"npm run test:acceptance\"",
|
||||||
"test": "cross-env NODE_ENV=test BABEL_ENV=test TZ=UTC jest --config ./jest/jest.config.js --maxWorkers 2 --passWithNoTests",
|
"test": "cross-env NODE_ENV=test BABEL_ENV=test TZ=UTC jest --config ./jest/jest.config.js --maxWorkers 2 --passWithNoTests",
|
||||||
"test:size": "bundlesize",
|
"test:size": "bundlesize",
|
||||||
"lint": "npm run lint:js && npm run lint:css",
|
"lint": "npm run lint:js && npm run lint:css && npm run lint:lockfile",
|
||||||
"lint:js": "npm run type-check && eslint . --ext .js,.ts,.tsx",
|
"lint:js": "npm run type-check && eslint . --ext .js,.ts,.tsx",
|
||||||
"lint:css": "stylelint \"src/**/styles.ts\"",
|
"lint:css": "stylelint \"src/**/styles.ts\"",
|
||||||
|
"lint:lockfile": "lockfile-lint --path yarn.lock --type yarn --validate-https --allowed-hosts verdaccio npm yarn",
|
||||||
"coverage:publish": "codecov",
|
"coverage:publish": "codecov",
|
||||||
"pre:webpack": "rimraf static/*",
|
"pre:webpack": "rimraf static/*",
|
||||||
"prepublish": "in-publish && npm run build || not-in-publish",
|
"prepublish": "in-publish && npm run build || not-in-publish",
|
||||||
@@ -176,10 +181,11 @@
|
|||||||
"relative": true,
|
"relative": true,
|
||||||
"linters": {
|
"linters": {
|
||||||
"*.{js,tsx,ts}": [
|
"*.{js,tsx,ts}": [
|
||||||
"eslint",
|
"eslint .",
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
],
|
],
|
||||||
"*": [
|
"*": [
|
||||||
|
"detect-secrets-launcher --baseline .secrets-baseline",
|
||||||
"git add"
|
"git add"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ function renderSidebar(): ReactElement<HTMLElement> {
|
|||||||
const Layout: FC<{}> = () => {
|
const Layout: FC<{}> = () => {
|
||||||
return (
|
return (
|
||||||
<Grid className={'container content'} container={true} data-testid="version-layout" spacing={0}>
|
<Grid className={'container content'} container={true} data-testid="version-layout" spacing={0}>
|
||||||
<Grid item={true} xs={8}>
|
<Grid item={true} md={8} xs={12}>
|
||||||
{renderDetail()}
|
{renderDetail()}
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item={true} xs={4}>
|
<Grid item={true} md={4} xs={12}>
|
||||||
{renderSidebar()}
|
{renderSidebar()}
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -4539,6 +4539,14 @@ detect-node@^2.0.4:
|
|||||||
resolved "https://registry.verdaccio.org/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c"
|
resolved "https://registry.verdaccio.org/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c"
|
||||||
integrity sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==
|
integrity sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==
|
||||||
|
|
||||||
|
detect-secrets@1.0.4:
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "https://registry.verdaccio.org/detect-secrets/-/detect-secrets-1.0.4.tgz#28dd8630d8577f6e5b508143272529eed34d2d7c"
|
||||||
|
integrity sha512-XfVywZNrmj5lJqJQb+L9a5C31+XLy7sgoBV5eySUL2oIUbZjdFbLLxVT0010OU1vSpnoLDbJxIEoDNR3iRq8ng==
|
||||||
|
dependencies:
|
||||||
|
debug "^4.1.0"
|
||||||
|
which "^1.3.1"
|
||||||
|
|
||||||
diacritic@0.0.2:
|
diacritic@0.0.2:
|
||||||
version "0.0.2"
|
version "0.0.2"
|
||||||
resolved "https://registry.verdaccio.org/diacritic/-/diacritic-0.0.2.tgz#fc2a887b5a5bc0a0a854fb614c7c2f209061ee04"
|
resolved "https://registry.verdaccio.org/diacritic/-/diacritic-0.0.2.tgz#fc2a887b5a5bc0a0a854fb614c7c2f209061ee04"
|
||||||
|
|||||||
Reference in New Issue
Block a user