Skip to content

Commit

Permalink
Transform peer deps into normal deps, and update installation readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Oct 18, 2023
1 parent 495de09 commit 064e5e1
Show file tree
Hide file tree
Showing 3 changed files with 245 additions and 300 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# Svelte admin, prototype

⚠ This package is totally a **prototype**. It is not complete, and
⚠ This package is totally a **prototype**. It is not complete, and there is a [roadmap](#roadmap) at the end of this documentation to know what features are missing.

It's being rewritten for now, documentation will come when architecture will be stabilized.
## Installation

It is actually the second prototype. The first one is in the [v0](https://github.com/Orbitale/SvelteAdmin/tree/v0) branch.
You can install SvelteAdmin with one of these commands, depending on your package manager:

## Installation
```bash
yarn add "@orbitale/svelte-admin"

npm install --save "@orbitale/svelte-admin"
```

For now, since the package is only a prototype, you can run one of these commands to add it to your project:
If you want to use the latest version committed to Github, you can run one of these commands to add it to your project:

```bash
yarn add "@orbitale/svelte-admin@git://github.com/Orbitale/SvelteAdmin.git"
Expand Down
27 changes: 11 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orbitale/svelte-admin",
"version": "0.2.1",
"version": "0.2.2",
"description": "(prototype) Crud base for Svelte projects",
"main": "src/lib/index.js",
"repository": "https://github.com/Orbitale/SvelteAdmin",
Expand Down Expand Up @@ -30,39 +30,34 @@
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"peerDependencies": {
"carbon-components-svelte": "^0.80.0",
"dependencies": {
"carbon-components-svelte": "^0.81.0",
"carbon-icons-svelte": "^12.3.0",
"svelte": "^4.0.0",
"svelte-i18n": "^3.7.4"
"svelte-i18n": "^4.0.0"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.25.2",
"@sveltejs/kit": "^1.26.0",
"@sveltejs/package": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"carbon-components-svelte": "^0.81.0",
"carbon-icons-svelte": "^12.3.0",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte": "^2.30.0",
"intl-messageformat": "^10.5.3",
"intl-messageformat": "^10.5.4",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.0.3",
"publint": "^0.2.4",
"sass": "^1.69.3",
"svelte": "^4.2.1",
"sass": "^1.69.4",
"svelte-check": "^3.4.3",
"svelte-i18n": "^3.7.4",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.4.2",
"vite": "^4.5.0",
"vitest": "^0.34.6"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"dependencies": {}
"type": "module"
}
Loading

0 comments on commit 064e5e1

Please sign in to comment.