@inglorious/create-app 0.1.2 → 0.2.0

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
4
 
5
- The official scaffolding tool to quickly create a new web app with the [@inglorious/web](https://github.com/IngloriousCoderz/inglorious-engine) framework.
5
+ The official scaffolding tool to quickly create a new web app with the [@inglorious/web](https://www.npmjs.com/package/@inglorious/web) framework.
6
6
 
7
7
  This package allows you to generate a new project from a set of pre-configured templates, so you can start developing your web app right away.
8
8
 
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@inglorious/create-app",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "A scaffolding tool to quickly create a new app with Inglorious Web.",
5
5
  "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/IngloriousCoderz/inglorious-engine.git",
9
+ "url": "git+https://github.com/IngloriousCoderz/inglorious-forge.git",
10
10
  "directory": "packages/create-app"
11
11
  },
12
12
  "homepage": "https://inglorious-engine.vercel.app/",
13
13
  "bugs": {
14
- "url": "https://github.com/IngloriousCoderz/inglorious-engine/issues"
14
+ "url": "https://github.com/IngloriousCoderz/inglorious-forge/issues"
15
15
  },
16
16
  "keywords": [
17
17
  "cli",
@@ -1 +1,5 @@
1
- export { default } from "@inglorious/eslint-config/browser"
1
+ import browserConfig from "@inglorious/eslint-config/browser"
2
+ import nodeConfig from "@inglorious/eslint-config/node"
3
+ import { defineConfig } from "eslint/config"
4
+
5
+ export default defineConfig([...browserConfig, ...nodeConfig])
@@ -1,3 +1,11 @@
1
+ import { resolve } from "path"
1
2
  import { defineConfig } from "vite"
2
3
 
3
- export default defineConfig({})
4
+ // https://vite.dev/config/
5
+ export default defineConfig({
6
+ resolve: {
7
+ alias: {
8
+ "@": resolve(__dirname, "src"),
9
+ },
10
+ },
11
+ })
@@ -1,6 +1,6 @@
1
1
  # my-app
2
2
 
3
- A new app created with [@inglorious/create-app](https://github.com/Antony-Mistretta/inglorious-engine/tree/main/packages/create-app).
3
+ A new app created with [@inglorious/create-app](https://www.npmjs.com/package/@inglorious/create-app).
4
4
 
5
5
  This template is a minimal setup for running the Inglorious Web framework directly in the browser without any build step.
6
6
 
@@ -1 +1,5 @@
1
- export { default } from "@inglorious/eslint-config/browser"
1
+ import browserConfig from "@inglorious/eslint-config/browser"
2
+ import nodeConfig from "@inglorious/eslint-config/node"
3
+ import { defineConfig } from "eslint/config"
4
+
5
+ export default defineConfig([...browserConfig, ...nodeConfig])
@@ -1,8 +1,13 @@
1
+ import { resolve } from "path"
1
2
  import { defineConfig } from "vite"
2
3
 
3
4
  export default defineConfig({
4
5
  // @see https://github.com/vitejs/vite/issues/1973
5
6
  define: { "process.env": {} },
6
7
 
7
- plugins: [],
8
+ resolve: {
9
+ alias: {
10
+ "@": resolve(__dirname, "src"),
11
+ },
12
+ },
8
13
  })