Skip to content

Commit 41966ee

Browse files
switching from npm to composer
1 parent d5d2bfe commit 41966ee

File tree

8 files changed

+42
-292
lines changed

8 files changed

+42
-292
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules
22
dist
33
/public/dist/*
4+
vendor
45
.idea
56
.vscode

composer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "dcode/dsg",
3+
"version": "0.1.0",
4+
"description": "This is intended to be the package for the project starter to use that houses scss etc.",
5+
"type": "library",
6+
"homepage": "https://github.com/DCODE-GROUP/dsg",
7+
"autoload": {
8+
"psr-4": {
9+
"Dcode\\Dsg\\": "src/"
10+
}
11+
},
12+
"authors": [
13+
{
14+
"name": "Dcode",
15+
"email": "[email protected]"
16+
}
17+
],
18+
"extra": {
19+
"laravel": {
20+
"providers": [
21+
"Dcode\\Dsg\\DsgServiceProvider"
22+
]
23+
}
24+
}
25+
}

package-lock.json

Lines changed: 0 additions & 252 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

publish-components.js

Lines changed: 0 additions & 13 deletions
This file was deleted.
File renamed without changes.

src/components/elements/alerts/alert.vue renamed to resources/js/vue/components/dsg/elements/alerts/alert.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="alert alert--info" role="alert">
33
<div class="flex">
44
<div class="flex-shrink-0">
5-
<v-icon icon="InformationCircleIcon" class="alert__icon"></v-icon>
5+
<dsg-icon icon="InformationCircleIcon" class="alert__icon"></dsg-icon>
66
</div>
77
<div class="alert__center">
88
<p v-if="heading" class="alert__heading alert__heading--info">{{ heading }}</p>
@@ -18,7 +18,7 @@
1818
<div class="-mx-1.5 -my-1.5">
1919
<button type="button" class="alert__button alert__button--info">
2020
<span class="sr-only">Dismiss</span>
21-
<v-icon icon="XMarkIcon" class="h-5 w-5"></v-icon>
21+
<dsg-icon icon="XMarkIcon" class="h-5 w-5"></dsg-icon>
2222
</button>
2323
</div>
2424
</div>

src/DsgServiceProvider.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
namespace Dcode\Dsg;
3+
4+
use Illuminate\Support\ServiceProvider;
5+
6+
class DsgServiceProvider extends ServiceProvider
7+
{
8+
public function boot()
9+
{
10+
$this->publishes([
11+
__DIR__.'/../resources' => resource_path(),
12+
]);
13+
}
14+
}

0 commit comments

Comments
 (0)