dtwo 2.17.0 → 2.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +42 -42
- package/dist/dtwo.js +4 -4
- package/package.json +16 -16
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023-present Dtwo Team
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-present Dtwo Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
# Dtwo
|
|
2
|
-
|
|
3
|
-
> Build your next Kdu(2) application with confidence using Dtwo: a framework making web development simple and powerful.
|
|
4
|
-
|
|
5
|
-
## Features
|
|
6
|
-
|
|
7
|
-
- Automatic transpilation and bundling (with webpack and babel)
|
|
8
|
-
- Hot code reloading
|
|
9
|
-
- Server-side rendering OR Single Page App OR Static Generated, you choose :fire:
|
|
10
|
-
- Static file serving. `./static/` is mapped to `/`
|
|
11
|
-
- Configurable with a `dtwo.config.js` file
|
|
12
|
-
- Custom layouts with the `layouts/` directory
|
|
13
|
-
- Middleware
|
|
14
|
-
- Code splitting for every `pages/`
|
|
15
|
-
- Loading just the critical CSS (page-level)
|
|
16
|
-
|
|
17
|
-
Learn more at <https://dtwojs-v2.web.app>.
|
|
18
|
-
|
|
19
|
-
## Getting started
|
|
20
|
-
|
|
21
|
-
```sh
|
|
22
|
-
$ npx create-dtwo-app <project-name>
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
It's as simple as that!
|
|
26
|
-
|
|
27
|
-
Learn more at https://dtwojs-2.web.app/guide/installation
|
|
28
|
-
|
|
29
|
-
## Production deployment
|
|
30
|
-
|
|
31
|
-
To deploy, instead of running dtwo, you probably want to build ahead of time. Therefore, building and starting are separate commands:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
dtwo build
|
|
35
|
-
dtwo start
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Learn more at https://dtwojs-v2.web.app/guide/commands#production-deployment
|
|
39
|
-
|
|
40
|
-
## License
|
|
41
|
-
|
|
42
|
-
[MIT](./LICENSE)
|
|
1
|
+
# Dtwo
|
|
2
|
+
|
|
3
|
+
> Build your next Kdu(2) application with confidence using Dtwo: a framework making web development simple and powerful.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Automatic transpilation and bundling (with webpack and babel)
|
|
8
|
+
- Hot code reloading
|
|
9
|
+
- Server-side rendering OR Single Page App OR Static Generated, you choose :fire:
|
|
10
|
+
- Static file serving. `./static/` is mapped to `/`
|
|
11
|
+
- Configurable with a `dtwo.config.js` file
|
|
12
|
+
- Custom layouts with the `layouts/` directory
|
|
13
|
+
- Middleware
|
|
14
|
+
- Code splitting for every `pages/`
|
|
15
|
+
- Loading just the critical CSS (page-level)
|
|
16
|
+
|
|
17
|
+
Learn more at <https://dtwojs-v2.web.app>.
|
|
18
|
+
|
|
19
|
+
## Getting started
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
$ npx create-dtwo-app <project-name>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
It's as simple as that!
|
|
26
|
+
|
|
27
|
+
Learn more at https://dtwojs-2.web.app/guide/installation
|
|
28
|
+
|
|
29
|
+
## Production deployment
|
|
30
|
+
|
|
31
|
+
To deploy, instead of running dtwo, you probably want to build ahead of time. Therefore, building and starting are separate commands:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
dtwo build
|
|
35
|
+
dtwo start
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Learn more at https://dtwojs-v2.web.app/guide/commands#production-deployment
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
|
|
42
|
+
[MIT](./LICENSE)
|
package/dist/dtwo.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* dtwo v2.17.
|
|
2
|
+
* dtwo v2.17.2 (c) 2023-2026
|
|
3
3
|
* Released under the MIT License
|
|
4
4
|
* Repository: https://github.com/d2js/framework
|
|
5
5
|
* Website: https://dtwojs-v2.web.app
|
|
@@ -18,19 +18,19 @@ Object.defineProperty(exports, 'getWebpackConfig', {
|
|
|
18
18
|
get: function () { return cli.getWebpackConfig; }
|
|
19
19
|
});
|
|
20
20
|
Object.keys(core).forEach(function (k) {
|
|
21
|
-
if (k !== 'default' && !
|
|
21
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
22
22
|
enumerable: true,
|
|
23
23
|
get: function () { return core[k]; }
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
26
|
Object.keys(builder).forEach(function (k) {
|
|
27
|
-
if (k !== 'default' && !
|
|
27
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
28
28
|
enumerable: true,
|
|
29
29
|
get: function () { return builder[k]; }
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
32
|
Object.keys(generator).forEach(function (k) {
|
|
33
|
-
if (k !== 'default' && !
|
|
33
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
34
34
|
enumerable: true,
|
|
35
35
|
get: function () { return generator[k]; }
|
|
36
36
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtwo",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.2",
|
|
4
4
|
"description": "A minimalistic framework for server-rendered Kdu.js applications (inspired by Next.js)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dtwo",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"postinstall": "opencollective || exit 0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@dtwo/babel-preset-app": "2.17.
|
|
35
|
-
"@dtwo/builder": "2.17.
|
|
36
|
-
"@dtwo/cli": "2.17.
|
|
37
|
-
"@dtwo/components": "
|
|
38
|
-
"@dtwo/config": "2.17.
|
|
39
|
-
"@dtwo/core": "2.17.
|
|
40
|
-
"@dtwo/generator": "2.17.
|
|
41
|
-
"@dtwo/kdu-app": "2.17.
|
|
42
|
-
"@dtwo/kdu-renderer": "2.17.
|
|
43
|
-
"@dtwo/loading-screen": "
|
|
44
|
-
"@dtwo/opencollective": "
|
|
45
|
-
"@dtwo/server": "2.17.
|
|
46
|
-
"@dtwo/telemetry": "
|
|
47
|
-
"@dtwo/utils": "2.17.
|
|
48
|
-
"@dtwo/webpack": "2.17.
|
|
34
|
+
"@dtwo/babel-preset-app": "2.17.2",
|
|
35
|
+
"@dtwo/builder": "2.17.2",
|
|
36
|
+
"@dtwo/cli": "2.17.2",
|
|
37
|
+
"@dtwo/components": "2.2.1",
|
|
38
|
+
"@dtwo/config": "2.17.2",
|
|
39
|
+
"@dtwo/core": "2.17.2",
|
|
40
|
+
"@dtwo/generator": "2.17.2",
|
|
41
|
+
"@dtwo/kdu-app": "2.17.2",
|
|
42
|
+
"@dtwo/kdu-renderer": "2.17.2",
|
|
43
|
+
"@dtwo/loading-screen": "2.0.4",
|
|
44
|
+
"@dtwo/opencollective": "0.3.3",
|
|
45
|
+
"@dtwo/server": "2.17.2",
|
|
46
|
+
"@dtwo/telemetry": "1.4.1",
|
|
47
|
+
"@dtwo/utils": "2.17.2",
|
|
48
|
+
"@dtwo/webpack": "2.17.2"
|
|
49
49
|
},
|
|
50
50
|
"collective": {
|
|
51
51
|
"url": "https://opencollective.com/kdu-platforms",
|