New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@magnetis/astro

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magnetis/astro - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

assets/icons/alert.svg

8

CHANGELOG.md

@@ -5,2 +5,10 @@ # Changelog

### [0.4.0] - 2019-02-26
- Set Yarn as the only dependency manager.
- Add slider components to Controls & Toggles.
- Fix disabled state color inconsistencies in Controls & Toggles.
- Create Inputs page and add standard input components.
- Add SVG's to dist/assets folder in the Astro build.
- Minor improvements in the docs homepage.
### [0.3.0] - 2019-02-08

@@ -7,0 +15,0 @@ - Add toggle and radio button components to Controls & Toggles.

14

CONTRIBUTING.md

@@ -23,15 +23,15 @@ ## Contributing to Astro

3. For the next step, you need to install the dependencies on your machine. Still on your terminal, run `yarn install` or `npm install` (depending on which package manager you're using).
3. For the next step, you need to install the dependencies on your machine. Still on your terminal, run `yarn install`.
4. Create a new branch to work on, with the command `git checkout -b yourbranch` (replace "yourbranch" with your branch name).
5. You're now ready to run Docz with the Astro documentation on your local server. Run `yarn docz:dev` or `npm run docz:dev` and visit [localhost:3000](http://localhost:3000/).
5. You're now ready to run Docz with the Astro documentation on your local server. Run `yarn docz:dev` and visit [localhost:3000](http://localhost:3000/).
6. Find the file(s) you wish to edit in the folders below:
- Design system base CSS files: `src/css` folder - if you create a new file here, please add the import to `src/index.css`.
- Design system base CSS files: `src/css` folder - if you create a new file here, please add the import to `src/index.css`.
- Import fonts to Docz: `public/docz.html`. If you make any changes to this file, you'll only be able to view them if you stop your local server (hit "control + C" on your terminal) and run it again (step 4).
- Import fonts to Docz: `public/docz.html`. If you make any changes to this file, you'll only be able to view them if you stop your local server (hit "control + C" on your terminal) and run it again (step 4).
- Docz documentation pages including components: `docs` folder.
- Docz documentation pages including components: `docs` folder.

@@ -68,3 +68,3 @@ 7. You can view your changes by refreshing the page at [localhost:3000](http://localhost:3000/) (it refreshes automatically as you save files on your editor, though).

The `<Playground>` component is how you can render your component *and* show its code in a single view. See how the above example looks like when it's rendered:
The `<Playground>` component is how you can render your component _and_ show its code in a single view. See how the above example looks like when it's rendered:

@@ -89,3 +89,3 @@ <img src="example.png" alt="Rendered example of a Docz page" width="600">

In your terminal, after merging: checkout to master, do `git pull` and run `yarn docs:publish` or `npm run docs:publish` to deploy.
In your terminal, after merging: checkout to master, do `git pull` and run `yarn docs:publish` to deploy.

@@ -92,0 +92,0 @@ Visit [magnetis.github.io/astro](https://magnetis.github.io/astro/) and make sure your changes go live! 🎉 While you're there, please check if everything still looks okay.

@@ -11,2 +11,3 @@ import { css } from 'docz-plugin-css'

],
modifyBabelRc: (babelrc) => ({ ...babelrc, plugins: [...babelrc.plugins, "babel-plugin-inline-import"] }),
indexHtml: 'public/docz.html',

@@ -28,3 +29,5 @@ themeConfig: {

margin: 12,
},
},'& > .a-slider': {
marginBottom: 22,
}
}

@@ -31,0 +34,0 @@ }

{
"name": "@magnetis/astro",
"version": "0.3.0",
"version": "0.4.0",
"author": "Magnetis (https://github.com/magnetis)",

@@ -23,6 +23,6 @@ "homepage": "https://magnetis.github.io/astro/#/",

"docs:build": "docz build",
"docs:publish": "npm run-script docs:build && gh-pages --dist .docz/dist --message 'Update site [ci skip]'",
"build": "postcss src/index.css -o dist/astro.css",
"docs:publish": "yarn run-script docs:build && gh-pages --dist .docz/dist --message 'Update site [ci skip]'",
"build": "postcss src/index.css -o dist/astro.css && svgo assets/icons/*.svg -o dist/assets/icons",
"lint:css": "stylelint src/css/**/*.css",
"ci:build": "npm run build && npm run lint:css"
"ci:build": "yarn run build && yarn run lint:css"
},

@@ -35,12 +35,16 @@ "dependencies": {

"autoprefixer": "^9.1.5",
"babel-plugin-inline-import": "^3.0.0",
"cssnano": "^4.1.0",
"docz": "^0.12.16",
"docz": "^0.13.7",
"docz-plugin-css": "^0.11.0",
"docz-theme-default": "^0.13.7",
"gh-pages": "^2.0.1",
"postcss-cli": "^6.0.0",
"postcss-css-variables": "^0.9.0",
"postcss-css-variables": "^0.11.0",
"postcss-import": "^12.0.0",
"postcss-url": "^8.0.0",
"stylelint": "^9.6.0",
"stylelint-config-standard": "^18.2.0"
"stylelint-config-standard": "^18.2.0",
"svgo": "^1.1.1"
}
}

@@ -15,4 +15,8 @@ module.exports = {

]
}),
require("postcss-url")({
url: "rebase",
assetsPath: "../"
})
]
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc