create-next2d-app 2.0.0 → 2.0.1

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
@@ -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",
@@ -278,8 +277,6 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
278
277
  "build:steam:macos": "npx @next2d/builder --platform steam:macos --env prd",
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
- "build": "npx @next2d/builder",
282
- "lint": "eslint src/**/*.ts",
283
280
  "test": "npx vitest",
284
281
  "generate": "npx @next2d/view-generator"
285
282
  }
@@ -318,8 +315,8 @@ const createApp = (app_name, template = "@next2d/framework-template") => {
318
315
  "*.njsproj",
319
316
  "*.sln",
320
317
  "*.sw?",
321
- "src/config/Config.js",
322
- "src/Packages.js",
318
+ "src/config/Config.*",
319
+ "src/Packages.*",
323
320
  "electron.index.json"
324
321
  ];
325
322
  fs.writeFileSync(path.join(root, ".gitignore"), ignoreList.join(os.EOL));
@@ -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.1",
4
4
  "description": "Create Next2D apps with no build configuration.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
6
6
  "license": "MIT",