@modern-js/sandpack-react 2.59.0 → 2.60.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.
@@ -24,7 +24,8 @@ module.exports = __toCommonJS(common_exports);
24
24
  const commonFiles = {
25
25
  ".codesandbox/environment.json": '{\n "nodeVersion": 18\n}\n',
26
26
  ".codesandbox/tasks.json": '{\n "$schema": "https://codesandbox.io/schemas/tasks.json",\n "setupTasks": [\n {\n "name": "Installing Dependencies",\n "command": "pnpm install"\n }\n ],\n "tasks": {\n "start": {\n "name": "Application",\n "command": "pnpm run start",\n "runAtStart": true,\n "restartOn": {\n "files": ["pnpm-lock.yaml"]\n }\n }\n }\n}\n',
27
- ".gitignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n.pnpm-store/\n*.tsbuildinfo\n.eslintcache\n.changeset/pre.json\n\ndist/\ncoverage/\nrelease/\noutput/\noutput_resource/\nlog/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\n**/*/typings/auto-generated\n\nmodern.config.local.*\n",
27
+ ".gitignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n.pnpm-store/\n*.tsbuildinfo\n.changeset/pre.json\n\ndist/\ncoverage/\nrelease/\noutput/\noutput_resource/\nlog/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\n**/*/typings/auto-generated\n\nmodern.config.local.*\n",
28
+ "biome.json": '{\n "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",\n "vcs": {\n "enabled": true,\n "defaultBranch": "main",\n "clientKind": "git",\n "useIgnoreFile": true\n },\n "formatter": {\n "enabled": true,\n "indentStyle": "space"\n },\n "javascript": {\n "formatter": {\n "quoteStyle": "single",\n "arrowParentheses": "asNeeded",\n "jsxQuoteStyle": "double",\n "lineWidth": 80\n }\n },\n "linter": {\n "enabled": true,\n "rules": {\n "recommended": true\n }\n },\n "organizeImports": {\n "enabled": true\n },\n "files": {\n "ignoreUnknown": true,\n "ignore": [".vscode/**/*", "node_modules/**/*", "dist/**/*"]\n }\n}\n',
28
29
  ".npmrc": "strict-peer-dependencies=false\n"
29
30
  };
30
31
  // Annotate the CommonJS export names for ESM import in node:
@@ -25,11 +25,11 @@ var import_common = require("./common");
25
25
  const ModuleFiles = {
26
26
  ...import_common.commonFiles,
27
27
  ...{
28
- ".npmignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n*.tsbuildinfo\n.eslintcache\n\ncoverage/\nrelease/\noutput/\noutput_resource/\ntests/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\nsrc/\n\nmodern.config.*\njest.config.js\n.eslintrc.js\n.eslintrc\ntsconfig.json\nCHANGELOG.md\n\n**/*/api/typings/auto-generated\n",
28
+ ".npmignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n*.tsbuildinfo\n\ncoverage/\nrelease/\noutput/\noutput_resource/\ntests/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\nsrc/\n\nmodern.config.*\njest.config.js\ntsconfig.json\nCHANGELOG.md\n\n**/*/api/typings/auto-generated\n",
29
29
  "README.md": "# Modern.js Package\n\n## Setup\n\nInstall the dependencies:\n\n```bash\npnpm install\n```\n\n## Get Started\n\nRun and debug the module:\n\n```bash\npnpm dev\n```\n\nBuild the module for production:\n\n```bash\npnpm build\n```\n\nEnable optional features:\n\n```bash\npnpm new\n```\n\nOther commands:\n\n```bash\npnpm lint # Lint and fix source files\npnpm change # Add a new changeset\npnpm bump # Update version and changelog via changeset\npnpm release # Release the package\n```\n\nFor more information, see the [Modern.js Module documentation](https://modernjs.dev/module-tools/en).\n",
30
- "package.json": '{\n "name": "modern-npm-module",\n "version": "0.1.0",\n "types": "./dist/types/index.d.ts",\n "main": "./dist/lib/index.js",\n "module": "./dist/es/index.js",\n "scripts": {\n "prepare": "modern build && husky install",\n "dev": "modern dev",\n "build": "modern build",\n "build:watch": "modern build -w",\n "reset": "rimraf ./**/node_modules",\n "lint": "modern lint",\n "change": "modern change",\n "bump": "modern bump",\n "pre": "modern pre",\n "change-status": "modern change-status",\n "gen-release-note": "modern gen-release-note",\n "release": "modern release",\n "new": "modern new",\n "upgrade": "modern upgrade"\n },\n "lint-staged": {\n "*.{js,jsx,ts,tsx,mjs,cjs}": [\n "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"\n ]\n },\n "eslintIgnore": [\n "node_modules/",\n "dist/"\n ],\n "dependencies": {},\n "peerDependencies": {},\n "devDependencies": {\n "@modern-js/module-tools": "2.58.3",\n "@modern-js/eslint-config": "2.58.3",\n "typescript": "~5.0.4",\n "@types/node": "~16.11.7",\n "rimraf": "~3.0.2",\n "lint-staged": "~13.1.0",\n "prettier": "~2.8.1",\n "husky": "~8.0.1"\n },\n "sideEffects": [],\n "publishConfig": {\n "access": "public",\n "registry": "https://registry.npmjs.org/"\n }\n}\n',
30
+ "package.json": '{\n "name": "modern-npm-module",\n "version": "0.1.0",\n "types": "./dist/types/index.d.ts",\n "main": "./dist/lib/index.js",\n "module": "./dist/es/index.js",\n "scripts": {\n "prepare": "modern build && simple-git-hooks",\n "dev": "modern dev",\n "build": "modern build",\n "build:watch": "modern build -w",\n "reset": "npx rimraf node_modules ./**/node_modules",\n "lint": "biome check",\n "change": "modern change",\n "bump": "modern bump",\n "pre": "modern pre",\n "change-status": "modern change-status",\n "gen-release-note": "modern gen-release-note",\n "release": "modern release",\n "new": "modern new",\n "upgrade": "modern upgrade"\n },\n "lint-staged": {\n "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [\n "biome check --files-ignore-unknown=true"\n ]\n },\n "simple-git-hooks": {\n "pre-commit": "npx lint-staged"\n },\n "dependencies": {},\n "peerDependencies": {},\n "devDependencies": {\n "@modern-js/module-tools": "2.59.0",\n "@biomejs/biome": "1.8.3",\n "typescript": "~5.0.4",\n "@types/node": "~16.11.7",\n "rimraf": "^6.0.1",\n "lint-staged": "~13.1.0",\n "simple-git-hooks": "^2.11.1"\n },\n "sideEffects": [],\n "publishConfig": {\n "access": "public",\n "registry": "https://registry.npmjs.org/"\n }\n}\n',
31
31
  "src/index.ts": "export default function () {\n return 'hello world';\n}\n",
32
- "modern.config.ts": "import { moduleTools, defineConfig } from '@modern-js/module-tools';\n\nexport default defineConfig({\n plugins: [moduleTools()],\n buildPreset: 'npm-library',\n});\n",
32
+ "modern.config.ts": "import { defineConfig, moduleTools } from '@modern-js/module-tools';\n\nexport default defineConfig({\n plugins: [moduleTools()],\n buildPreset: 'npm-library',\n});\n",
33
33
  "tsconfig.json": '{\n "compilerOptions": {\n "allowJs": true,\n "baseUrl": ".",\n "declaration": true,\n "emitDeclarationOnly": true,\n "esModuleInterop": true,\n "forceConsistentCasingInFileNames": true,\n "isolatedModules": true,\n "jsx": "preserve",\n "lib": ["DOM", "ESNext"],\n "moduleResolution": "node",\n "paths": {\n "@/*": ["./src/*"]\n },\n "resolveJsonModule": true,\n "rootDir": "src",\n "skipLibCheck": true,\n "strict": true\n },\n "exclude": ["**/node_modules"],\n "include": ["src"]\n}\n',
34
34
  "src/modern-app-env.d.ts": "/// <reference types='@modern-js/module-tools/types' />\n"
35
35
  }
@@ -27,7 +27,7 @@ const MWAFiles = {
27
27
  ...{
28
28
  ".browserslistrc": "chrome >= 51\nedge >= 15\nfirefox >= 54\nsafari >= 10\nios_saf >= 10\n",
29
29
  "README.md": "# Modern.js App\n\n## Setup\n\nInstall the dependencies:\n\n```bash\npnpm install\n```\n\n## Get Started\n\nStart the dev server:\n\n```bash\npnpm dev\n```\n\nEnable optional features or add a new entry:\n\n```bash\npnpm new\n```\n\nBuild the app for production:\n\n```bash\npnpm build\n```\n\nPreview the production build locally:\n\n```bash\npnpm serve\n```\n\nFor more information, see the [Modern.js documentation](https://modernjs.dev/en).\n",
30
- "package.json": '{\n "name": "modern-app",\n "version": "0.1.0",\n "scripts": {\n "reset": "npx rimraf ./**/node_modules",\n "dev": "modern dev",\n "build": "modern build",\n "start": "modern start",\n "serve": "modern serve",\n "new": "modern new",\n "lint": "modern lint",\n "prepare": "husky install",\n "upgrade": "modern upgrade"\n },\n "engines": {\n "node": ">=16.18.1"\n },\n "lint-staged": {\n "*.{js,jsx,ts,tsx,mjs,cjs}": [\n "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"\n ]\n },\n "eslintIgnore": [\n "node_modules/",\n "dist/"\n ],\n "dependencies": {\n "@modern-js/runtime": "2.58.3",\n "react": "~18.2.0",\n "react-dom": "~18.2.0"\n },\n "devDependencies": {\n "@modern-js/app-tools": "2.58.3",\n "@modern-js/eslint-config": "2.58.3",\n "@modern-js/tsconfig": "2.58.3",\n "@modern-js-app/eslint-config": "2.58.3",\n "typescript": "~5.0.4",\n "@types/jest": "~29.2.4",\n "@types/node": "~16.11.7",\n "@types/react": "~18.0.26",\n "@types/react-dom": "~18.0.10",\n "lint-staged": "~13.1.0",\n "prettier": "~2.8.1",\n "husky": "~8.0.1",\n "rimraf": "~3.0.2"\n }\n}\n',
30
+ "package.json": '{\n "name": "modern-app",\n "version": "0.1.0",\n "scripts": {\n "reset": "npx rimraf node_modules ./**/node_modules",\n "dev": "modern dev",\n "build": "modern build",\n "start": "modern start",\n "serve": "modern serve",\n "new": "modern new",\n "lint": "biome check",\n "prepare": "simple-git-hooks",\n "upgrade": "modern upgrade"\n },\n "engines": {\n "node": ">=16.18.1"\n },\n "lint-staged": {\n "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [\n "biome check --files-ignore-unknown=true"\n ]\n },\n "simple-git-hooks": {\n "pre-commit": "npx lint-staged"\n },\n "dependencies": {\n "@modern-js/runtime": "2.59.0",\n "react": "~18.2.0",\n "react-dom": "~18.2.0"\n },\n "devDependencies": {\n "@modern-js/app-tools": "2.59.0",\n "@modern-js/tsconfig": "2.59.0",\n "@biomejs/biome": "1.8.3",\n "typescript": "~5.0.4",\n "@types/jest": "~29.2.4",\n "@types/node": "~16.11.7",\n "@types/react": "~18.0.26",\n "@types/react-dom": "~18.0.10",\n "lint-staged": "~13.1.0",\n "simple-git-hooks": "^2.11.1",\n "rimraf": "^6.0.1"\n }\n}\n',
31
31
  "modern.config.ts": "import { appTools, defineConfig } from '@modern-js/app-tools';\n\n// https://modernjs.dev/en/configure/app/usage\nexport default defineConfig({\n runtime: {\n router: true,\n },\n plugins: [\n appTools({\n bundler: \n }),\n ],\n});\n",
32
32
  "tsconfig.json": '{\n "extends": "@modern-js/tsconfig/base",\n "compilerOptions": {\n "declaration": false,\n "jsx": "preserve",\n "baseUrl": "./",\n "paths": {\n "@/*": ["./src/*"],\n "@shared/*": ["./shared/*"]\n }\n },\n "include": ["src", "shared", "config", "modern.config.ts"],\n "exclude": ["**/node_modules"]\n}\n',
33
33
  "src/modern-app-env.d.ts": "/// <reference types='@modern-js/app-tools/types' />\n/// <reference types='@modern-js/runtime/types' />\n/// <reference types='@modern-js/runtime/types/router' />\n",
@@ -71,6 +71,7 @@ const Index = () => (
71
71
  <img
72
72
  className="arrow-right"
73
73
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
74
+ alt="Guide"
74
75
  />
75
76
  </h2>
76
77
  <p>Follow the guides to use all features of Modern.js.</p>
@@ -86,6 +87,7 @@ const Index = () => (
86
87
  <img
87
88
  className="arrow-right"
88
89
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
90
+ alt="Tutorials"
89
91
  />
90
92
  </h2>
91
93
  <p>Learn to use Modern.js to create your first application.</p>
@@ -101,6 +103,7 @@ const Index = () => (
101
103
  <img
102
104
  className="arrow-right"
103
105
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
106
+ alt="Config"
104
107
  />
105
108
  </h2>
106
109
  <p>Find all configuration options provided by Modern.js.</p>
@@ -116,6 +119,7 @@ const Index = () => (
116
119
  <img
117
120
  className="arrow-right"
118
121
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
122
+ alt="Github"
119
123
  />
120
124
  </h2>
121
125
  <p>View the source code of Github, feel free to contribute.</p>
@@ -1,7 +1,8 @@
1
1
  var commonFiles = {
2
2
  ".codesandbox/environment.json": '{\n "nodeVersion": 18\n}\n',
3
3
  ".codesandbox/tasks.json": '{\n "$schema": "https://codesandbox.io/schemas/tasks.json",\n "setupTasks": [\n {\n "name": "Installing Dependencies",\n "command": "pnpm install"\n }\n ],\n "tasks": {\n "start": {\n "name": "Application",\n "command": "pnpm run start",\n "runAtStart": true,\n "restartOn": {\n "files": ["pnpm-lock.yaml"]\n }\n }\n }\n}\n',
4
- ".gitignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n.pnpm-store/\n*.tsbuildinfo\n.eslintcache\n.changeset/pre.json\n\ndist/\ncoverage/\nrelease/\noutput/\noutput_resource/\nlog/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\n**/*/typings/auto-generated\n\nmodern.config.local.*\n",
4
+ ".gitignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n.pnpm-store/\n*.tsbuildinfo\n.changeset/pre.json\n\ndist/\ncoverage/\nrelease/\noutput/\noutput_resource/\nlog/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\n**/*/typings/auto-generated\n\nmodern.config.local.*\n",
5
+ "biome.json": '{\n "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",\n "vcs": {\n "enabled": true,\n "defaultBranch": "main",\n "clientKind": "git",\n "useIgnoreFile": true\n },\n "formatter": {\n "enabled": true,\n "indentStyle": "space"\n },\n "javascript": {\n "formatter": {\n "quoteStyle": "single",\n "arrowParentheses": "asNeeded",\n "jsxQuoteStyle": "double",\n "lineWidth": 80\n }\n },\n "linter": {\n "enabled": true,\n "rules": {\n "recommended": true\n }\n },\n "organizeImports": {\n "enabled": true\n },\n "files": {\n "ignoreUnknown": true,\n "ignore": [".vscode/**/*", "node_modules/**/*", "dist/**/*"]\n }\n}\n',
5
6
  ".npmrc": "strict-peer-dependencies=false\n"
6
7
  };
7
8
  export {
@@ -1,11 +1,11 @@
1
1
  import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
2
  import { commonFiles } from "./common";
3
3
  var ModuleFiles = _object_spread({}, commonFiles, {
4
- ".npmignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n*.tsbuildinfo\n.eslintcache\n\ncoverage/\nrelease/\noutput/\noutput_resource/\ntests/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\nsrc/\n\nmodern.config.*\njest.config.js\n.eslintrc.js\n.eslintrc\ntsconfig.json\nCHANGELOG.md\n\n**/*/api/typings/auto-generated\n",
4
+ ".npmignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n*.tsbuildinfo\n\ncoverage/\nrelease/\noutput/\noutput_resource/\ntests/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\nsrc/\n\nmodern.config.*\njest.config.js\ntsconfig.json\nCHANGELOG.md\n\n**/*/api/typings/auto-generated\n",
5
5
  "README.md": "# Modern.js Package\n\n## Setup\n\nInstall the dependencies:\n\n```bash\npnpm install\n```\n\n## Get Started\n\nRun and debug the module:\n\n```bash\npnpm dev\n```\n\nBuild the module for production:\n\n```bash\npnpm build\n```\n\nEnable optional features:\n\n```bash\npnpm new\n```\n\nOther commands:\n\n```bash\npnpm lint # Lint and fix source files\npnpm change # Add a new changeset\npnpm bump # Update version and changelog via changeset\npnpm release # Release the package\n```\n\nFor more information, see the [Modern.js Module documentation](https://modernjs.dev/module-tools/en).\n",
6
- "package.json": '{\n "name": "modern-npm-module",\n "version": "0.1.0",\n "types": "./dist/types/index.d.ts",\n "main": "./dist/lib/index.js",\n "module": "./dist/es/index.js",\n "scripts": {\n "prepare": "modern build && husky install",\n "dev": "modern dev",\n "build": "modern build",\n "build:watch": "modern build -w",\n "reset": "rimraf ./**/node_modules",\n "lint": "modern lint",\n "change": "modern change",\n "bump": "modern bump",\n "pre": "modern pre",\n "change-status": "modern change-status",\n "gen-release-note": "modern gen-release-note",\n "release": "modern release",\n "new": "modern new",\n "upgrade": "modern upgrade"\n },\n "lint-staged": {\n "*.{js,jsx,ts,tsx,mjs,cjs}": [\n "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"\n ]\n },\n "eslintIgnore": [\n "node_modules/",\n "dist/"\n ],\n "dependencies": {},\n "peerDependencies": {},\n "devDependencies": {\n "@modern-js/module-tools": "2.58.3",\n "@modern-js/eslint-config": "2.58.3",\n "typescript": "~5.0.4",\n "@types/node": "~16.11.7",\n "rimraf": "~3.0.2",\n "lint-staged": "~13.1.0",\n "prettier": "~2.8.1",\n "husky": "~8.0.1"\n },\n "sideEffects": [],\n "publishConfig": {\n "access": "public",\n "registry": "https://registry.npmjs.org/"\n }\n}\n',
6
+ "package.json": '{\n "name": "modern-npm-module",\n "version": "0.1.0",\n "types": "./dist/types/index.d.ts",\n "main": "./dist/lib/index.js",\n "module": "./dist/es/index.js",\n "scripts": {\n "prepare": "modern build && simple-git-hooks",\n "dev": "modern dev",\n "build": "modern build",\n "build:watch": "modern build -w",\n "reset": "npx rimraf node_modules ./**/node_modules",\n "lint": "biome check",\n "change": "modern change",\n "bump": "modern bump",\n "pre": "modern pre",\n "change-status": "modern change-status",\n "gen-release-note": "modern gen-release-note",\n "release": "modern release",\n "new": "modern new",\n "upgrade": "modern upgrade"\n },\n "lint-staged": {\n "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [\n "biome check --files-ignore-unknown=true"\n ]\n },\n "simple-git-hooks": {\n "pre-commit": "npx lint-staged"\n },\n "dependencies": {},\n "peerDependencies": {},\n "devDependencies": {\n "@modern-js/module-tools": "2.59.0",\n "@biomejs/biome": "1.8.3",\n "typescript": "~5.0.4",\n "@types/node": "~16.11.7",\n "rimraf": "^6.0.1",\n "lint-staged": "~13.1.0",\n "simple-git-hooks": "^2.11.1"\n },\n "sideEffects": [],\n "publishConfig": {\n "access": "public",\n "registry": "https://registry.npmjs.org/"\n }\n}\n',
7
7
  "src/index.ts": "export default function () {\n return 'hello world';\n}\n",
8
- "modern.config.ts": "import { moduleTools, defineConfig } from '@modern-js/module-tools';\n\nexport default defineConfig({\n plugins: [moduleTools()],\n buildPreset: 'npm-library',\n});\n",
8
+ "modern.config.ts": "import { defineConfig, moduleTools } from '@modern-js/module-tools';\n\nexport default defineConfig({\n plugins: [moduleTools()],\n buildPreset: 'npm-library',\n});\n",
9
9
  "tsconfig.json": '{\n "compilerOptions": {\n "allowJs": true,\n "baseUrl": ".",\n "declaration": true,\n "emitDeclarationOnly": true,\n "esModuleInterop": true,\n "forceConsistentCasingInFileNames": true,\n "isolatedModules": true,\n "jsx": "preserve",\n "lib": ["DOM", "ESNext"],\n "moduleResolution": "node",\n "paths": {\n "@/*": ["./src/*"]\n },\n "resolveJsonModule": true,\n "rootDir": "src",\n "skipLibCheck": true,\n "strict": true\n },\n "exclude": ["**/node_modules"],\n "include": ["src"]\n}\n',
10
10
  "src/modern-app-env.d.ts": "/// <reference types='@modern-js/module-tools/types' />\n"
11
11
  });
@@ -3,7 +3,7 @@ import { commonFiles } from "./common";
3
3
  var MWAFiles = _object_spread({}, commonFiles, {
4
4
  ".browserslistrc": "chrome >= 51\nedge >= 15\nfirefox >= 54\nsafari >= 10\nios_saf >= 10\n",
5
5
  "README.md": "# Modern.js App\n\n## Setup\n\nInstall the dependencies:\n\n```bash\npnpm install\n```\n\n## Get Started\n\nStart the dev server:\n\n```bash\npnpm dev\n```\n\nEnable optional features or add a new entry:\n\n```bash\npnpm new\n```\n\nBuild the app for production:\n\n```bash\npnpm build\n```\n\nPreview the production build locally:\n\n```bash\npnpm serve\n```\n\nFor more information, see the [Modern.js documentation](https://modernjs.dev/en).\n",
6
- "package.json": '{\n "name": "modern-app",\n "version": "0.1.0",\n "scripts": {\n "reset": "npx rimraf ./**/node_modules",\n "dev": "modern dev",\n "build": "modern build",\n "start": "modern start",\n "serve": "modern serve",\n "new": "modern new",\n "lint": "modern lint",\n "prepare": "husky install",\n "upgrade": "modern upgrade"\n },\n "engines": {\n "node": ">=16.18.1"\n },\n "lint-staged": {\n "*.{js,jsx,ts,tsx,mjs,cjs}": [\n "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"\n ]\n },\n "eslintIgnore": [\n "node_modules/",\n "dist/"\n ],\n "dependencies": {\n "@modern-js/runtime": "2.58.3",\n "react": "~18.2.0",\n "react-dom": "~18.2.0"\n },\n "devDependencies": {\n "@modern-js/app-tools": "2.58.3",\n "@modern-js/eslint-config": "2.58.3",\n "@modern-js/tsconfig": "2.58.3",\n "@modern-js-app/eslint-config": "2.58.3",\n "typescript": "~5.0.4",\n "@types/jest": "~29.2.4",\n "@types/node": "~16.11.7",\n "@types/react": "~18.0.26",\n "@types/react-dom": "~18.0.10",\n "lint-staged": "~13.1.0",\n "prettier": "~2.8.1",\n "husky": "~8.0.1",\n "rimraf": "~3.0.2"\n }\n}\n',
6
+ "package.json": '{\n "name": "modern-app",\n "version": "0.1.0",\n "scripts": {\n "reset": "npx rimraf node_modules ./**/node_modules",\n "dev": "modern dev",\n "build": "modern build",\n "start": "modern start",\n "serve": "modern serve",\n "new": "modern new",\n "lint": "biome check",\n "prepare": "simple-git-hooks",\n "upgrade": "modern upgrade"\n },\n "engines": {\n "node": ">=16.18.1"\n },\n "lint-staged": {\n "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [\n "biome check --files-ignore-unknown=true"\n ]\n },\n "simple-git-hooks": {\n "pre-commit": "npx lint-staged"\n },\n "dependencies": {\n "@modern-js/runtime": "2.59.0",\n "react": "~18.2.0",\n "react-dom": "~18.2.0"\n },\n "devDependencies": {\n "@modern-js/app-tools": "2.59.0",\n "@modern-js/tsconfig": "2.59.0",\n "@biomejs/biome": "1.8.3",\n "typescript": "~5.0.4",\n "@types/jest": "~29.2.4",\n "@types/node": "~16.11.7",\n "@types/react": "~18.0.26",\n "@types/react-dom": "~18.0.10",\n "lint-staged": "~13.1.0",\n "simple-git-hooks": "^2.11.1",\n "rimraf": "^6.0.1"\n }\n}\n',
7
7
  "modern.config.ts": "import { appTools, defineConfig } from '@modern-js/app-tools';\n\n// https://modernjs.dev/en/configure/app/usage\nexport default defineConfig({\n runtime: {\n router: true,\n },\n plugins: [\n appTools({\n bundler: \n }),\n ],\n});\n",
8
8
  "tsconfig.json": '{\n "extends": "@modern-js/tsconfig/base",\n "compilerOptions": {\n "declaration": false,\n "jsx": "preserve",\n "baseUrl": "./",\n "paths": {\n "@/*": ["./src/*"],\n "@shared/*": ["./shared/*"]\n }\n },\n "include": ["src", "shared", "config", "modern.config.ts"],\n "exclude": ["**/node_modules"]\n}\n',
9
9
  "src/modern-app-env.d.ts": "/// <reference types='@modern-js/app-tools/types' />\n/// <reference types='@modern-js/runtime/types' />\n/// <reference types='@modern-js/runtime/types/router' />\n",
@@ -47,6 +47,7 @@ const Index = () => (
47
47
  <img
48
48
  className="arrow-right"
49
49
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
50
+ alt="Guide"
50
51
  />
51
52
  </h2>
52
53
  <p>Follow the guides to use all features of Modern.js.</p>
@@ -62,6 +63,7 @@ const Index = () => (
62
63
  <img
63
64
  className="arrow-right"
64
65
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
66
+ alt="Tutorials"
65
67
  />
66
68
  </h2>
67
69
  <p>Learn to use Modern.js to create your first application.</p>
@@ -77,6 +79,7 @@ const Index = () => (
77
79
  <img
78
80
  className="arrow-right"
79
81
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
82
+ alt="Config"
80
83
  />
81
84
  </h2>
82
85
  <p>Find all configuration options provided by Modern.js.</p>
@@ -92,6 +95,7 @@ const Index = () => (
92
95
  <img
93
96
  className="arrow-right"
94
97
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
98
+ alt="Github"
95
99
  />
96
100
  </h2>
97
101
  <p>View the source code of Github, feel free to contribute.</p>
@@ -1,7 +1,8 @@
1
1
  const commonFiles = {
2
2
  ".codesandbox/environment.json": '{\n "nodeVersion": 18\n}\n',
3
3
  ".codesandbox/tasks.json": '{\n "$schema": "https://codesandbox.io/schemas/tasks.json",\n "setupTasks": [\n {\n "name": "Installing Dependencies",\n "command": "pnpm install"\n }\n ],\n "tasks": {\n "start": {\n "name": "Application",\n "command": "pnpm run start",\n "runAtStart": true,\n "restartOn": {\n "files": ["pnpm-lock.yaml"]\n }\n }\n }\n}\n',
4
- ".gitignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n.pnpm-store/\n*.tsbuildinfo\n.eslintcache\n.changeset/pre.json\n\ndist/\ncoverage/\nrelease/\noutput/\noutput_resource/\nlog/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\n**/*/typings/auto-generated\n\nmodern.config.local.*\n",
4
+ ".gitignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n.pnpm-store/\n*.tsbuildinfo\n.changeset/pre.json\n\ndist/\ncoverage/\nrelease/\noutput/\noutput_resource/\nlog/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\n**/*/typings/auto-generated\n\nmodern.config.local.*\n",
5
+ "biome.json": '{\n "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",\n "vcs": {\n "enabled": true,\n "defaultBranch": "main",\n "clientKind": "git",\n "useIgnoreFile": true\n },\n "formatter": {\n "enabled": true,\n "indentStyle": "space"\n },\n "javascript": {\n "formatter": {\n "quoteStyle": "single",\n "arrowParentheses": "asNeeded",\n "jsxQuoteStyle": "double",\n "lineWidth": 80\n }\n },\n "linter": {\n "enabled": true,\n "rules": {\n "recommended": true\n }\n },\n "organizeImports": {\n "enabled": true\n },\n "files": {\n "ignoreUnknown": true,\n "ignore": [".vscode/**/*", "node_modules/**/*", "dist/**/*"]\n }\n}\n',
5
6
  ".npmrc": "strict-peer-dependencies=false\n"
6
7
  };
7
8
  export {
@@ -2,11 +2,11 @@ import { commonFiles } from "./common";
2
2
  const ModuleFiles = {
3
3
  ...commonFiles,
4
4
  ...{
5
- ".npmignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n*.tsbuildinfo\n.eslintcache\n\ncoverage/\nrelease/\noutput/\noutput_resource/\ntests/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\nsrc/\n\nmodern.config.*\njest.config.js\n.eslintrc.js\n.eslintrc\ntsconfig.json\nCHANGELOG.md\n\n**/*/api/typings/auto-generated\n",
5
+ ".npmignore": ".DS_Store\n\n.pnp\n.pnp.js\n.env.local\n.env.*.local\n.history\n*.log*\n\nnode_modules/\n.yarn-integrity\n*.tsbuildinfo\n\ncoverage/\nrelease/\noutput/\noutput_resource/\ntests/\n\n.vscode/**/*\n!.vscode/settings.json\n!.vscode/extensions.json\n.idea/\n\nsrc/\n\nmodern.config.*\njest.config.js\ntsconfig.json\nCHANGELOG.md\n\n**/*/api/typings/auto-generated\n",
6
6
  "README.md": "# Modern.js Package\n\n## Setup\n\nInstall the dependencies:\n\n```bash\npnpm install\n```\n\n## Get Started\n\nRun and debug the module:\n\n```bash\npnpm dev\n```\n\nBuild the module for production:\n\n```bash\npnpm build\n```\n\nEnable optional features:\n\n```bash\npnpm new\n```\n\nOther commands:\n\n```bash\npnpm lint # Lint and fix source files\npnpm change # Add a new changeset\npnpm bump # Update version and changelog via changeset\npnpm release # Release the package\n```\n\nFor more information, see the [Modern.js Module documentation](https://modernjs.dev/module-tools/en).\n",
7
- "package.json": '{\n "name": "modern-npm-module",\n "version": "0.1.0",\n "types": "./dist/types/index.d.ts",\n "main": "./dist/lib/index.js",\n "module": "./dist/es/index.js",\n "scripts": {\n "prepare": "modern build && husky install",\n "dev": "modern dev",\n "build": "modern build",\n "build:watch": "modern build -w",\n "reset": "rimraf ./**/node_modules",\n "lint": "modern lint",\n "change": "modern change",\n "bump": "modern bump",\n "pre": "modern pre",\n "change-status": "modern change-status",\n "gen-release-note": "modern gen-release-note",\n "release": "modern release",\n "new": "modern new",\n "upgrade": "modern upgrade"\n },\n "lint-staged": {\n "*.{js,jsx,ts,tsx,mjs,cjs}": [\n "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"\n ]\n },\n "eslintIgnore": [\n "node_modules/",\n "dist/"\n ],\n "dependencies": {},\n "peerDependencies": {},\n "devDependencies": {\n "@modern-js/module-tools": "2.58.3",\n "@modern-js/eslint-config": "2.58.3",\n "typescript": "~5.0.4",\n "@types/node": "~16.11.7",\n "rimraf": "~3.0.2",\n "lint-staged": "~13.1.0",\n "prettier": "~2.8.1",\n "husky": "~8.0.1"\n },\n "sideEffects": [],\n "publishConfig": {\n "access": "public",\n "registry": "https://registry.npmjs.org/"\n }\n}\n',
7
+ "package.json": '{\n "name": "modern-npm-module",\n "version": "0.1.0",\n "types": "./dist/types/index.d.ts",\n "main": "./dist/lib/index.js",\n "module": "./dist/es/index.js",\n "scripts": {\n "prepare": "modern build && simple-git-hooks",\n "dev": "modern dev",\n "build": "modern build",\n "build:watch": "modern build -w",\n "reset": "npx rimraf node_modules ./**/node_modules",\n "lint": "biome check",\n "change": "modern change",\n "bump": "modern bump",\n "pre": "modern pre",\n "change-status": "modern change-status",\n "gen-release-note": "modern gen-release-note",\n "release": "modern release",\n "new": "modern new",\n "upgrade": "modern upgrade"\n },\n "lint-staged": {\n "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [\n "biome check --files-ignore-unknown=true"\n ]\n },\n "simple-git-hooks": {\n "pre-commit": "npx lint-staged"\n },\n "dependencies": {},\n "peerDependencies": {},\n "devDependencies": {\n "@modern-js/module-tools": "2.59.0",\n "@biomejs/biome": "1.8.3",\n "typescript": "~5.0.4",\n "@types/node": "~16.11.7",\n "rimraf": "^6.0.1",\n "lint-staged": "~13.1.0",\n "simple-git-hooks": "^2.11.1"\n },\n "sideEffects": [],\n "publishConfig": {\n "access": "public",\n "registry": "https://registry.npmjs.org/"\n }\n}\n',
8
8
  "src/index.ts": "export default function () {\n return 'hello world';\n}\n",
9
- "modern.config.ts": "import { moduleTools, defineConfig } from '@modern-js/module-tools';\n\nexport default defineConfig({\n plugins: [moduleTools()],\n buildPreset: 'npm-library',\n});\n",
9
+ "modern.config.ts": "import { defineConfig, moduleTools } from '@modern-js/module-tools';\n\nexport default defineConfig({\n plugins: [moduleTools()],\n buildPreset: 'npm-library',\n});\n",
10
10
  "tsconfig.json": '{\n "compilerOptions": {\n "allowJs": true,\n "baseUrl": ".",\n "declaration": true,\n "emitDeclarationOnly": true,\n "esModuleInterop": true,\n "forceConsistentCasingInFileNames": true,\n "isolatedModules": true,\n "jsx": "preserve",\n "lib": ["DOM", "ESNext"],\n "moduleResolution": "node",\n "paths": {\n "@/*": ["./src/*"]\n },\n "resolveJsonModule": true,\n "rootDir": "src",\n "skipLibCheck": true,\n "strict": true\n },\n "exclude": ["**/node_modules"],\n "include": ["src"]\n}\n',
11
11
  "src/modern-app-env.d.ts": "/// <reference types='@modern-js/module-tools/types' />\n"
12
12
  }
@@ -4,7 +4,7 @@ const MWAFiles = {
4
4
  ...{
5
5
  ".browserslistrc": "chrome >= 51\nedge >= 15\nfirefox >= 54\nsafari >= 10\nios_saf >= 10\n",
6
6
  "README.md": "# Modern.js App\n\n## Setup\n\nInstall the dependencies:\n\n```bash\npnpm install\n```\n\n## Get Started\n\nStart the dev server:\n\n```bash\npnpm dev\n```\n\nEnable optional features or add a new entry:\n\n```bash\npnpm new\n```\n\nBuild the app for production:\n\n```bash\npnpm build\n```\n\nPreview the production build locally:\n\n```bash\npnpm serve\n```\n\nFor more information, see the [Modern.js documentation](https://modernjs.dev/en).\n",
7
- "package.json": '{\n "name": "modern-app",\n "version": "0.1.0",\n "scripts": {\n "reset": "npx rimraf ./**/node_modules",\n "dev": "modern dev",\n "build": "modern build",\n "start": "modern start",\n "serve": "modern serve",\n "new": "modern new",\n "lint": "modern lint",\n "prepare": "husky install",\n "upgrade": "modern upgrade"\n },\n "engines": {\n "node": ">=16.18.1"\n },\n "lint-staged": {\n "*.{js,jsx,ts,tsx,mjs,cjs}": [\n "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"\n ]\n },\n "eslintIgnore": [\n "node_modules/",\n "dist/"\n ],\n "dependencies": {\n "@modern-js/runtime": "2.58.3",\n "react": "~18.2.0",\n "react-dom": "~18.2.0"\n },\n "devDependencies": {\n "@modern-js/app-tools": "2.58.3",\n "@modern-js/eslint-config": "2.58.3",\n "@modern-js/tsconfig": "2.58.3",\n "@modern-js-app/eslint-config": "2.58.3",\n "typescript": "~5.0.4",\n "@types/jest": "~29.2.4",\n "@types/node": "~16.11.7",\n "@types/react": "~18.0.26",\n "@types/react-dom": "~18.0.10",\n "lint-staged": "~13.1.0",\n "prettier": "~2.8.1",\n "husky": "~8.0.1",\n "rimraf": "~3.0.2"\n }\n}\n',
7
+ "package.json": '{\n "name": "modern-app",\n "version": "0.1.0",\n "scripts": {\n "reset": "npx rimraf node_modules ./**/node_modules",\n "dev": "modern dev",\n "build": "modern build",\n "start": "modern start",\n "serve": "modern serve",\n "new": "modern new",\n "lint": "biome check",\n "prepare": "simple-git-hooks",\n "upgrade": "modern upgrade"\n },\n "engines": {\n "node": ">=16.18.1"\n },\n "lint-staged": {\n "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [\n "biome check --files-ignore-unknown=true"\n ]\n },\n "simple-git-hooks": {\n "pre-commit": "npx lint-staged"\n },\n "dependencies": {\n "@modern-js/runtime": "2.59.0",\n "react": "~18.2.0",\n "react-dom": "~18.2.0"\n },\n "devDependencies": {\n "@modern-js/app-tools": "2.59.0",\n "@modern-js/tsconfig": "2.59.0",\n "@biomejs/biome": "1.8.3",\n "typescript": "~5.0.4",\n "@types/jest": "~29.2.4",\n "@types/node": "~16.11.7",\n "@types/react": "~18.0.26",\n "@types/react-dom": "~18.0.10",\n "lint-staged": "~13.1.0",\n "simple-git-hooks": "^2.11.1",\n "rimraf": "^6.0.1"\n }\n}\n',
8
8
  "modern.config.ts": "import { appTools, defineConfig } from '@modern-js/app-tools';\n\n// https://modernjs.dev/en/configure/app/usage\nexport default defineConfig({\n runtime: {\n router: true,\n },\n plugins: [\n appTools({\n bundler: \n }),\n ],\n});\n",
9
9
  "tsconfig.json": '{\n "extends": "@modern-js/tsconfig/base",\n "compilerOptions": {\n "declaration": false,\n "jsx": "preserve",\n "baseUrl": "./",\n "paths": {\n "@/*": ["./src/*"],\n "@shared/*": ["./shared/*"]\n }\n },\n "include": ["src", "shared", "config", "modern.config.ts"],\n "exclude": ["**/node_modules"]\n}\n',
10
10
  "src/modern-app-env.d.ts": "/// <reference types='@modern-js/app-tools/types' />\n/// <reference types='@modern-js/runtime/types' />\n/// <reference types='@modern-js/runtime/types/router' />\n",
@@ -48,6 +48,7 @@ const Index = () => (
48
48
  <img
49
49
  className="arrow-right"
50
50
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
51
+ alt="Guide"
51
52
  />
52
53
  </h2>
53
54
  <p>Follow the guides to use all features of Modern.js.</p>
@@ -63,6 +64,7 @@ const Index = () => (
63
64
  <img
64
65
  className="arrow-right"
65
66
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
67
+ alt="Tutorials"
66
68
  />
67
69
  </h2>
68
70
  <p>Learn to use Modern.js to create your first application.</p>
@@ -78,6 +80,7 @@ const Index = () => (
78
80
  <img
79
81
  className="arrow-right"
80
82
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
83
+ alt="Config"
81
84
  />
82
85
  </h2>
83
86
  <p>Find all configuration options provided by Modern.js.</p>
@@ -93,6 +96,7 @@ const Index = () => (
93
96
  <img
94
97
  className="arrow-right"
95
98
  src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg"
99
+ alt="Github"
96
100
  />
97
101
  </h2>
98
102
  <p>View the source code of Github, feel free to contribute.</p>
@@ -2,5 +2,6 @@ export declare const commonFiles: {
2
2
  ".codesandbox/environment.json": string;
3
3
  ".codesandbox/tasks.json": string;
4
4
  ".gitignore": string;
5
+ "biome.json": string;
5
6
  ".npmrc": string;
6
7
  };
@@ -9,5 +9,6 @@ export declare const ModuleFiles: {
9
9
  ".codesandbox/environment.json": string;
10
10
  ".codesandbox/tasks.json": string;
11
11
  ".gitignore": string;
12
+ "biome.json": string;
12
13
  ".npmrc": string;
13
14
  };
@@ -12,5 +12,6 @@ export declare const MWAFiles: {
12
12
  ".codesandbox/environment.json": string;
13
13
  ".codesandbox/tasks.json": string;
14
14
  ".gitignore": string;
15
+ "biome.json": string;
15
16
  ".npmrc": string;
16
17
  };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.59.0",
18
+ "version": "2.60.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -32,12 +32,12 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@codesandbox/sandpack-react": "^2.6.9",
35
- "@swc/helpers": "0.5.3",
35
+ "@swc/helpers": "0.5.13",
36
36
  "react": "^18",
37
37
  "react-dom": "^18"
38
38
  },
39
39
  "devDependencies": {
40
- "@modern-js/codesmith-api-handlebars": "2.4.1",
40
+ "@modern-js/codesmith-api-handlebars": "2.4.2",
41
41
  "@types/jest": "^29",
42
42
  "@types/node": "^14",
43
43
  "@types/react": "^18",
@@ -47,15 +47,15 @@
47
47
  "recursive-readdir": "^2.2.3",
48
48
  "ts-node": "^10.9.1",
49
49
  "typescript": "^5",
50
- "@modern-js/base-generator": "3.5.0",
51
- "@modern-js/entry-generator": "3.5.0",
52
- "@modern-js/generator-common": "3.5.0",
53
- "@modern-js/generator-utils": "3.5.0",
54
- "@modern-js/module-generator": "3.5.0",
55
- "@modern-js/mwa-generator": "3.5.0",
56
- "@modern-js/utils": "2.59.0",
57
- "@scripts/build": "2.59.0",
58
- "@scripts/jest-config": "2.59.0"
50
+ "@modern-js/base-generator": "3.6.0",
51
+ "@modern-js/entry-generator": "3.6.0",
52
+ "@modern-js/generator-common": "3.6.0",
53
+ "@modern-js/generator-utils": "3.6.0",
54
+ "@modern-js/module-generator": "3.6.0",
55
+ "@modern-js/mwa-generator": "3.6.0",
56
+ "@modern-js/utils": "2.60.0",
57
+ "@scripts/build": "2.60.0",
58
+ "@scripts/jest-config": "2.60.0"
59
59
  },
60
60
  "sideEffects": false,
61
61
  "publishConfig": {
@@ -7,9 +7,6 @@ import recursive from 'recursive-readdir';
7
7
 
8
8
  const IgnoreFiles = [
9
9
  '.nvmrc',
10
- '.eslintrc.js.handlebars',
11
- 'src/.eslintrc.js.handlebars',
12
- '.prettierrc',
13
10
  '.vscode/extensions.json',
14
11
  '.vscode/settings.json',
15
12
  '.husky/pre-commit',