create-next2d-app 2.0.0 → 2.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Next2D
3
+ Copyright (c) 2021 - 2023 Next2D
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -24,36 +24,5 @@ cd sample-app
24
24
  npm start
25
25
  ```
26
26
 
27
- ## Commands
28
-
29
- * Starts the development server.
30
- ```sh
31
- npm start
32
- ```
33
-
34
- * Generate the necessary View and ViewModel classes from the routing JSON file.
35
- ```sh
36
- npm run generate
37
- ```
38
-
39
- * Start the emulator for each platform.
40
- ```sh
41
- npm run preview:(ios|android|windows|macos)
42
- ```
43
-
44
- * Export a production version for each platform.
45
- ```sh
46
- npm run build:web
47
- ```
48
-
49
- ```sh
50
- npx @next2d/builder --platform web --env prd
51
- ```
52
-
53
- * Starts the test runner.
54
- ```sh
55
- npm test
56
- ```
57
-
58
27
  ## License
59
28
  This project is licensed under the [MIT License](https://opensource.org/licenses/MIT) - see the [LICENSE](LICENSE) file for details.
package/dist/index.js CHANGED
@@ -265,7 +265,6 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
265
265
  "description": `Details of ${appName}`,
266
266
  "version": "0.0.1",
267
267
  "private": true,
268
- "main": "src/index.ts",
269
268
  "type": "module",
270
269
  "scripts": {
271
270
  "start": "vite",
@@ -279,7 +278,6 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
279
278
  "build:steam:linux": "npx @next2d/builder --platform steam:linux --env prd",
280
279
  "build:web": "npx @next2d/builder --platform web --env prd",
281
280
  "build": "npx @next2d/builder",
282
- "lint": "eslint src/**/*.ts",
283
281
  "test": "npx vitest",
284
282
  "generate": "npx @next2d/view-generator"
285
283
  }
@@ -318,9 +316,9 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
318
316
  "*.njsproj",
319
317
  "*.sln",
320
318
  "*.sw?",
321
- "src/config/Config.js",
322
- "src/Packages.js",
323
- "electron.index.json"
319
+ "src/config/Config.*",
320
+ "src/Packages.*",
321
+ "electron/resources"
324
322
  ];
325
323
  fs.writeFileSync(path.join(root, ".gitignore"), ignoreList.join(os.EOL));
326
324
  install(root, appName, template, [
@@ -330,7 +328,6 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
330
328
  "jsdom",
331
329
  "vite",
332
330
  "vitest",
333
- "electron",
334
331
  "@capacitor/cli",
335
332
  "@capacitor/core",
336
333
  "@capacitor/ios",
@@ -350,7 +347,7 @@ const execute = () => {
350
347
  .action((name) => { projectName = name; })
351
348
  .option("--info", "print environment debug info")
352
349
  .option("--template <path-to-template>", "specify a template for the created project")
353
- .on("--help", () => {
350
+ .on("-h, --help", () => {
354
351
  console.log();
355
352
  console.log(` A custom ${pc.cyan("--template")} can be one of:`);
356
353
  console.log(` - a custom template published on npm default: ${pc.green("@next2d/framework-template")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next2d-app",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Create Next2D apps with no build configuration.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
6
6
  "license": "MIT",