Skip to content

Commit 93ea7e2

Browse files
authored
Merge pull request #25 from dotkernel/issue-24
updated code to DK light 1.3.0
2 parents 4a20752 + 6e138fb commit 93ea7e2

22 files changed

+161
-14892
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ package-lock.json
4747
.project
4848
.buildpath
4949
.settings/
50+
51+
# Ignore the file .DS_Store in all directories
52+
**/.DS_Store

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The purpose of dotkernel.org
22

33
**Dotkernel.org** is designed to be a presentation site for **Dotkernel API**, a platform based on Enrico Zimuel's Zend Expressive API - Skeleton example.
4-
DotKernel API runs on Laminas and Mezzio components and implements standards like PSR-3, PSR-4, PSR-7, PSR-11 and PSR-15.
4+
Dotkernel API runs on Laminas and Mezzio components and implements standards like PSR-3, PSR-4, PSR-7, PSR-11 and PSR-15.
55

66
The site **highlights**:
77

config/autoload/app.global.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
$app = [
6-
'name' => 'Dotkernel Light V1',
6+
'name' => 'Dotkernel Light | PSR-15 compliant application',
77
];
88

99
return [

package.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "1.0.0",
44
"description": "Minimal project to generate a simple website.",
55
"main": "index.js",
6+
"type": "module",
67
"scripts": {
7-
"dev": "cross-env NODE_ENV=development node_modules/.bin/webpack --progress",
8-
"watch": "cross-env NODE_ENV=development webpack --watch --mode development --progress",
9-
"prod": "cross-env NODE_ENV=production node_modules/.bin/webpack --mode=production --progress"
8+
"watch": "vite build --watch",
9+
"build": "vite build"
1010
},
1111
"repository": {
1212
"type": "git",
@@ -23,41 +23,45 @@
2323
},
2424
"homepage": "https://github.com/dotkernel/light#readme",
2525
"devDependencies": {
26+
"@rollup/plugin-alias": "^5.1.1",
2627
"autoprefixer": "^10.4.20",
2728
"babel-core": "^7.0.0-bridge.0",
2829
"babel-loader": "^9.1.3",
2930
"babel-preset-env": "^1.7.0",
3031
"bootstrap": "^5.3.3",
3132
"bootstrap-fileinput": "^5.5.4",
3233
"bootstrap-sass": "^3.4.3",
33-
"clean-webpack-plugin": "^4.0.0",
34-
"copy-webpack-plugin": "^12.0.2",
3534
"cross-env": "^7.0.3",
3635
"css-loader": "^7.1.2",
3736
"file-loader": "^6.2.0",
38-
"imports-loader": "^5.0.0",
3937
"jquery": "^3.7.1",
4038
"jquery-mousewheel": "^3.1.13",
4139
"mini-css-extract-plugin": "^2.9.1",
4240
"postcss-loader": "^8.1.1",
4341
"pre-commit": "^1.2.2",
44-
"resolve-url-loader": "^5.0.0",
42+
"sass": "^1.86.3",
4543
"sass-loader": "^16.0.1",
4644
"style-loader": "^4.0.0",
4745
"terser-webpack-plugin": "^5.3.10",
4846
"tippy.js": "^6.3.7",
4947
"toastr": "^2.1.4",
5048
"ts-loader": "^9.5.1",
5149
"typescript": "^5.5.4",
52-
"webpack": "^5.94.0",
53-
"webpack-cli": "^5.1.4"
50+
"vite": "^6.3.1",
51+
"vite-plugin-static-copy": "^2.3.1"
5452
},
5553
"dependencies": {
54+
"@babel/core": "^7.26.9",
5655
"@popperjs/core": "^2.11.8",
5756
"bootstrap-slider": "^11.0.2",
57+
"lightningcss": "^1.29.3",
5858
"npm": "^10.8.3",
59-
"pdfjs-dist": "^4.6.82",
60-
"pdfobject": "^2.3.0",
61-
"sass": "^1.77.8"
59+
"npm-check": "^6.0.1",
60+
"popper.js": "^1.16.1",
61+
"vite-jsconfig-paths": "^2.0.1",
62+
"vite-plugin-bundle-css": "^0.1.1",
63+
"vite-plugin-commonjs": "^0.10.4",
64+
"vite-plugin-css-injected-by-js": "^3.5.2",
65+
"vite-plugin-minify": "^2.1.0"
6266
}
6367
}

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
includes:
22
- vendor/phpstan/phpstan-phpunit/extension.neon
33
parameters:
4-
level: 5
4+
level: 8
55
paths:
66
- bin
77
- config

0 commit comments

Comments
 (0)