@modern-js/create 1.2.0 → 1.2.1-canary.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.
@@ -218109,8 +218109,6 @@ function getDefaultConfing(projectDir = _path.default.basename(process.cwd()), o
218109
218109
 
218110
218110
  if (process.env.CODESMITH_ENV === 'development') {
218111
218111
  generatorPlugin = _path.default.join(/*require.resolve*/(__webpack_require__(10063).resolve(GENERATOR_PLUGIN)), '../../../../');
218112
- } else if (distTag) {
218113
- generatorPlugin = `${GENERATOR_PLUGIN}@${distTag}`;
218114
218112
  }
218115
218113
 
218116
218114
  initialConfig.plugins = [...(initialConfig.plugins || []), generatorPlugin];
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.0",
14
+ "version": "1.2.1-canary.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/main.js",
@@ -33,17 +33,24 @@
33
33
  "default": "./dist/js/treeshaking/index.js"
34
34
  }
35
35
  },
36
+ "scripts": {
37
+ "prepare": "pnpm build && pnpm build:csmith",
38
+ "new": "modern new",
39
+ "build": "modern build",
40
+ "build:csmith": "csmith-tools build",
41
+ "test": "modern test --passWithNoTests"
42
+ },
36
43
  "devDependencies": {
37
44
  "@babel/runtime": "^7",
38
45
  "@modern-js/codesmith": "^1.0.7",
39
- "@modern-js/codesmith-tools": "^1.0.7",
40
- "@modern-js/module-tools": "^1.1.2",
41
- "@modern-js/plugin-testing": "^1.1.1",
42
- "@modern-js/i18n-cli-language-detector": "^1.1.1",
43
- "@modern-js/generator-plugin-plugin": "^1.0.0",
44
- "@modern-js/plugin-i18n": "^1.1.1",
45
- "@modern-js/repo-generator": "^1.2.0",
46
- "@modern-js/utils": "^1.1.5",
46
+ "@modern-js/codesmith-tools": "^1.0.8",
47
+ "@modern-js/module-tools": "^1.1.3",
48
+ "@modern-js/plugin-testing": "^1.2.0",
49
+ "@modern-js/i18n-cli-language-detector": "workspace:^1.1.1",
50
+ "@modern-js/generator-plugin-plugin": "workspace:^1.0.0",
51
+ "@modern-js/plugin-i18n": "workspace:^1.1.1",
52
+ "@modern-js/repo-generator": "workspace:^1.2.0",
53
+ "@modern-js/utils": "workspace:^1.1.5",
47
54
  "@types/jest": "^26",
48
55
  "@types/node": "^14",
49
56
  "@types/react": "^17",
@@ -62,12 +69,5 @@
62
69
  "publishConfig": {
63
70
  "registry": "https://registry.npmjs.org/",
64
71
  "access": "public"
65
- },
66
- "scripts": {
67
- "new": "modern new",
68
- "build": "modern build",
69
- "build:csmith": "csmith-tools build",
70
- "test": "modern test --passWithNoTests"
71
- },
72
- "readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
73
- }
72
+ }
73
+ }