Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@doggoapp/doggo-ts-admin
Advanced tools
UI for DogGO admin panels
npm install --save @doggoapp/doggo-ts-admin
yarn add @doggoapp/doggo-ts-admin
npm publish
yarn publish
after publish increase last version e.g.
1.0.21 >> 1.0.22
then
commit to master branch
// for styled components, you should import these file in the top level component.
import '@doggoapp/doggo-ts-admin/dist/index.css'
import '@coreui/icons/css/coreui-icons.min.css'
import 'flag-icon-css/css/flag-icon.min.css'
import 'font-awesome/css/font-awesome.min.css'
import 'simple-line-icons/css/simple-line-icons.css'
import 'react-table/react-table.css'
import '@coreui/coreui/dist/css/coreui.css'
import '@coreui/coreui/dist/css/bootstrap.css' // you have to import css file if you want to use styled components
import React, { Component } from 'react'
import { DogList, NeighboorhoodList } from 'doggo-ts-admin'
import 'doggo-ts-admin/dist/index.css'
class Example extends Component {
render() {
return (
<React.Fragment>
<ul>
{DogList.map(({ label, value }) => (
<li>
{label} - {value}
</li>
))}
</ul>
</React.Fragment>
)
}
}
import {
DogList,
DogGOInput,
DogGOSelect,
DogGORadioCheckbox,
NeighboorhoodForm,
DogGOEmailInput,
DogGOPhoneInput,
DogGODateTime,
DogGORateInput,
DogGOBase64PhotoInput,
DogGOButton,
MyReactTable,
DogGOPhotoInput
} from 'doggo-ts-admin'
Those components can be used with react-hook-form. An example exist on example sub folder.
Example usage of DogGOInput
<DogGOInput
label='FullName'
type='text'
placeholder='please enter a number'
reference={register({ required: true })}
name='name'
underline='please enter a name'
error={errors.name}
/>
Example usage of DogGOPhotoInput
<DogGOPhotoInput
label='file'
name='photoInput'
underline='Max Photo Size: 1 MB'
error={errors.photoInput}
control={control}
invalidValueText={'This field is required'}
multiple
walker={{
email: 'suleymanbariseser@gmail.com',
firstName: 'Süleyman Barış',
lastName: 'Eser'
}}
isWalkerPhoto
rules={{ required: true }}
maxSize={1}
/>
import { * as Types } from 'doggo-ts-admin/dist/types'
import { * as Enums } from 'doggo-ts-admin/dist/enums'
const Note: Types.NoteType = {
noteId: "xxxxxxxxxxxxxx",
...
}
<MyReactTable
ref={formTest}
data={values}
columns={columns}
freezeWhenExpanded={false}
/>
First, go to root directory in npm package and run link command.
npm link
This created a local link in the path /usr/lib/node_modules/@doggoapp folder.
Second part is adding local npm as a global dependencies for your current project.
npm link @doggoapp/doggo-ts-admin
example usage
import { PromocodeStatusEnum } from '@doggoapp/doggo-ts-admin'
MIT © DogGO
FAQs
UI for DogGO admin panels
We found that @doggoapp/doggo-ts-admin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.