@modern-js/monorepo-generator 1.0.0-rc.2 → 1.0.0-rc.23

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/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "@modern-js/monorepo-generator",
3
- "version": "1.0.0-rc.2",
3
+ "description": "The meta-framework suite designed from scratch for frontend-focused modern web development.",
4
+ "homepage": "https://modernjs.dev",
5
+ "bugs": "https://github.com/modern-js-dev/modern.js/issues",
6
+ "repository": "modern-js-dev/modern.js",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "react",
10
+ "framework",
11
+ "modern",
12
+ "modern.js"
13
+ ],
14
+ "version": "1.0.0-rc.23",
4
15
  "jsnext:source": "./src/index.ts",
5
16
  "types": "./dist/types/index.d.ts",
6
17
  "main": "./dist/js/node/main.js",
@@ -19,17 +30,19 @@
19
30
  },
20
31
  "devDependencies": {
21
32
  "@babel/runtime": "^7",
22
- "@modern-js/base-generator": "^1.0.0-rc.2",
23
- "@modern-js/changeset-generator": "^1.0.0-rc.2",
24
- "@modern-js/codesmith": "^1.0.0-rc.3",
25
- "@modern-js/codesmith-api-app": "^1.0.0-rc.3",
26
- "@modern-js/codesmith-tools": "^1.0.0-rc.3",
27
- "@modern-js/generator-common": "^1.0.0-rc.2",
33
+ "@modern-js/base-generator": "^1.0.0-rc.23",
34
+ "@modern-js/changeset-generator": "^1.0.0-rc.23",
35
+ "@modern-js/codesmith": "^1.0.0",
36
+ "@modern-js/codesmith-api-app": "^1.0.0",
37
+ "@modern-js/codesmith-tools": "^1.0.0",
38
+ "@modern-js/codesmith-api-json": "^1.0.0",
39
+ "@modern-js/generator-common": "^1.0.0-rc.24",
40
+ "@modern-js/generator-utils": "^1.0.0-rc.23",
41
+ "@modern-js/module-tools": "^1.0.0-rc.23",
42
+ "@modern-js/plugin-testing": "^1.0.0-rc.23",
28
43
  "@types/jest": "^26",
29
44
  "@types/node": "^14",
30
- "typescript": "^4",
31
- "@modern-js/module-tools": "^1.0.0-rc.2",
32
- "@modern-js/plugin-testing": "^1.0.0-rc.2"
45
+ "typescript": "^4"
33
46
  },
34
47
  "sideEffects": false,
35
48
  "modernConfig": {
@@ -38,6 +51,10 @@
38
51
  "disableSourceMap": true
39
52
  }
40
53
  },
54
+ "publishConfig": {
55
+ "registry": "https://registry.npmjs.org/",
56
+ "access": "public"
57
+ },
41
58
  "scripts": {
42
59
  "new": "modern new",
43
60
  "build": "modern build",
@@ -154,4 +154,4 @@
154
154
  "typescript.tsdk": "node_modules/typescript/lib",
155
155
  "deno.enable": false
156
156
  }
157
- }
157
+ }
@@ -3,18 +3,36 @@
3
3
  "name": "monorepo",
4
4
  "scripts": {
5
5
  "new": "modern new",
6
- "reset": "lerna clean --yes && rm -rf node_modules",
6
+ "reset": "modern clear",
7
+ "change": "modern change",
7
8
  "bump": "modern bump",
8
- "change": "modern change"
9
+ "pre": "modern pre",
10
+ "release": "modern release",
11
+ "deploy": "modern deploy"
9
12
  },
10
13
  "engines": {
11
- "node": ">=12.17.0"
14
+ "node": ">=14.17.6"
12
15
  },
13
16
  "eslintConfig": {
14
17
  "extends": [
15
18
  "@modern-js"
16
19
  ]
17
20
  },
21
+ "husky": {
22
+ "hooks": {
23
+ "pre-commit": "lint-staged"
24
+ }
25
+ },
26
+ "lint-staged": {
27
+ "*.{ts,tsx}": [
28
+ "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet",
29
+ "git add"
30
+ ],
31
+ "*.{js,jsx,mjs,mjsx,cjs,cjsx}": [
32
+ "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet",
33
+ "git add"
34
+ ]
35
+ },
18
36
  "eslintIgnore": [
19
37
  "node_modules/",
20
38
  "dist/",
@@ -29,6 +47,11 @@
29
47
  ]
30
48
  },
31
49
  "devDependencies": {
32
- "@modern-js/monorepo-tools": "workspace:^1.0.0-rc.2"
50
+ "@modern-js/monorepo-tools": "^1.0.0-rc.0",
51
+ "@modern-js/plugin-jarvis": "^1.0.0-rc.0"
52
+ },
53
+ "publishConfig": {
54
+ "access": "public",
55
+ "registry": "https://registry.npmjs.org/"
33
56
  }
34
57
  }
@@ -1,4 +1,5 @@
1
1
  {
2
+ "extends": "@modern-js/tsconfig/base",
2
3
  "compilerOptions": {
3
4
  "declaration": false,
4
5
  "jsx": "preserve"
@@ -0,0 +1,14 @@
1
+ public-hoist-pattern[]=@modern-js/eslint-config
2
+ public-hoist-pattern[]=@modern-js-app/eslint-config
3
+ public-hoist-pattern[]=@babel/eslint-plugin
4
+ public-hoist-pattern[]=@modern-js/tsconfig
5
+ public-hoist-pattern[]=@typescript-eslint/eslint-plugin
6
+ public-hoist-pattern[]=@commitlint/cli
7
+ public-hoist-pattern[]=lint-staged
8
+ public-hoist-pattern[]=eslint
9
+ public-hoist-pattern[]=prettier
10
+ public-hoist-pattern[]=@babel/eslint-parser
11
+ public-hoist-pattern[]=eslint-plugin-*
12
+ public-hoist-pattern[]=*eslint*
13
+ public-hoist-pattern[]=ts-transform-paths
14
+ public-hoist-pattern[]=tailwindcss
@@ -0,0 +1,20 @@
1
+ {
2
+ "version": "independent",
3
+ "npmClient": "yarn",
4
+ "command": {
5
+ "publish": {
6
+ "ignoreChanges": [
7
+ "apps/*",
8
+ "examples/*",
9
+ "features/*"
10
+ ],
11
+ "message": "chore(release): publish"
12
+ }
13
+ },
14
+ "packages": [
15
+ "apps/*",
16
+ "examples/*",
17
+ "features/*",
18
+ "packages/*"
19
+ ]
20
+ }
File without changes
@@ -1,11 +0,0 @@
1
- {
2
- "version": "1.0.0-rc.2",
3
- "npmClient": "{{packageManager}}",
4
- "command": {
5
- "publish": {
6
- "ignoreChanges": ["apps/*", "examples/*", "features/*"],
7
- "message": "chore(release): publish"
8
- }
9
- },
10
- "packages": ["apps/*", "examples/*", "features/*", "packages/*"]
11
- }