Skip to content

Commit

Permalink
Upgrade to moon v1.25! (#83)
Browse files Browse the repository at this point in the history
* First pass.

* Second pass.

* Turn off eslint.
  • Loading branch information
milesj authored May 27, 2024
1 parent 642aa05 commit 8d8412a
Show file tree
Hide file tree
Showing 19 changed files with 5,790 additions and 5,831 deletions.
46 changes: 23 additions & 23 deletions .moon/tasks/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,29 @@ tasks:
local: true

# https://moonrepo.dev/docs/guides/examples/eslint
lint:
command:
- 'eslint'
- '--ext'
- '.ts,.tsx,.cts,.mts,.js,.jsx,.cjs,.mjs'
- '--fix'
- '--report-unused-disable-directives'
- '--no-error-on-unmatched-pattern'
- '--exit-on-fatal-error'
- '--ignore-path'
- '@in(2)'
- '.'
inputs:
- '*.config.*'
- '**/.eslintrc.*'
- '/.eslintignore'
- '/.eslintrc.*'
- 'tsconfig.json'
- '/tsconfig.eslint.json'
- '/tsconfig.options.json'
- '@group(app)'
- '@globs(sources)'
- '@globs(tests)'
# lint:
# command:
# - 'eslint'
# - '--ext'
# - '.ts,.tsx,.cts,.mts,.js,.jsx,.cjs,.mjs'
# - '--fix'
# - '--report-unused-disable-directives'
# - '--no-error-on-unmatched-pattern'
# - '--exit-on-fatal-error'
# - '--ignore-path'
# - '@in(2)'
# - '.'
# inputs:
# - '*.config.*'
# - '**/.eslintrc.*'
# - '/.eslintignore'
# - '/.eslintrc.*'
# - 'tsconfig.json'
# - '/tsconfig.eslint.json'
# - '/tsconfig.options.json'
# - '@group(app)'
# - '@globs(sources)'
# - '@globs(tests)'

# https://moonrepo.dev/docs/guides/examples/jest
test:
Expand Down
2 changes: 1 addition & 1 deletion .moon/toolchain.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$schema: 'https://moonrepo.dev/schemas/toolchain.json'

node:
version: '18.17.1'
version: '20.13.1'
packageManager: 'pnpm'
pnpm:
version: '9.0.2'
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.17.1
20.13.1
10 changes: 5 additions & 5 deletions apps/angular-app/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ tasks:
outputs:
- 'dist'

lint:
command: 'ng lint'
inputs:
- '@group(app)'
- '@group(sources)'
# lint:
# command: 'ng lint'
# inputs:
# - '@group(app)'
# - '@group(sources)'
36 changes: 18 additions & 18 deletions apps/angular-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^16.2.11",
"@angular/common": "^16.2.11",
"@angular/compiler": "^16.2.11",
"@angular/core": "^16.2.11",
"@angular/forms": "^16.2.11",
"@angular/platform-browser": "^16.2.11",
"@angular/platform-browser-dynamic": "^16.2.11",
"@angular/router": "^16.2.11",
"@angular/animations": "^18.0.0",
"@angular/common": "^18.0.0",
"@angular/compiler": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/forms": "^18.0.0",
"@angular/platform-browser": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/router": "^18.0.0",
"@company/browser-package": "workspace:*",
"rxjs": "~7.8.1",
"tslib": "^2.6.2",
"zone.js": "~0.14.4"
"zone.js": "~0.14.6"
},
"devDependencies": {
"@angular-builders/jest": "^16.0.1",
"@angular-devkit/build-angular": "^16.2.8",
"@angular-eslint/builder": "^16.2.0",
"@angular-eslint/eslint-plugin": "^16.2.0",
"@angular-eslint/eslint-plugin-template": "^16.2.0",
"@angular-eslint/schematics": "^16.2.0",
"@angular-eslint/template-parser": "^16.2.0",
"@angular/cli": "~16.2.8",
"@angular/compiler-cli": "^16.2.11"
"@angular-builders/jest": "^17.0.3",
"@angular-devkit/build-angular": "^18.0.1",
"@angular-eslint/builder": "^17.5.1",
"@angular-eslint/eslint-plugin": "^17.5.1",
"@angular-eslint/eslint-plugin-template": "^17.5.1",
"@angular-eslint/schematics": "^17.5.1",
"@angular-eslint/template-parser": "^17.5.1",
"@angular/cli": "~18.0.1",
"@angular/compiler-cli": "^18.0.0"
}
}
8 changes: 4 additions & 4 deletions apps/astro-app/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tasks:
local: true

# Extends the top-level lint
lint:
args:
- '--ext'
- '.ts,.tsx,.astro'
# lint:
# args:
# - '--ext'
# - '.ts,.tsx,.astro'
8 changes: 4 additions & 4 deletions apps/astro-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"version": "0.0.1",
"private": true,
"dependencies": {
"@astrojs/check": "^0.5.10",
"@astrojs/check": "^0.7.0",
"@company/browser-package": "workspace:*",
"astro": "^4.6.3"
"astro": "^4.9.2"
},
"devDependencies": {
"eslint-plugin-astro": "^0.34.0",
"prettier-plugin-astro": "^0.13.0",
"eslint-plugin-astro": "^1.2.0",
"prettier-plugin-astro": "^0.14.0",
"typescript": "^5.4.5"
}
}
16 changes: 8 additions & 8 deletions apps/nestjs-app/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ tasks:
# - '@group(sources)'
# - '@group(tests)'

lint:
command:
- 'eslint'
- '--fix'
inputs:
- '@group(app)'
- '@group(sources)'
- '@group(tests)'
# lint:
# command:
# - 'eslint'
# - '--fix'
# inputs:
# - '@group(app)'
# - '@group(sources)'
# - '@group(tests)'
14 changes: 7 additions & 7 deletions apps/nestjs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
"description": "",
"private": true,
"dependencies": {
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/platform-express": "^10.3.7",
"@nestjs/common": "^10.3.8",
"@nestjs/core": "^10.3.8",
"@nestjs/platform-express": "^10.3.8",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@nestjs/cli": "^10.3.2",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.7",
"@nestjs/testing": "^10.3.8",
"@types/express": "^4.17.21",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"supertest": "^6.3.4"
"supertest": "^7.0.0"
}
}
12 changes: 6 additions & 6 deletions apps/nextjs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"private": true,
"dependencies": {
"@company/browser-package": "workspace:*",
"next": "^14.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"next": "^14.2.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"eslint-config-next": "^14.2.2"
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"eslint-config-next": "^14.2.3"
}
}
12 changes: 6 additions & 6 deletions apps/nuxt-app/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ tasks:
- 'tsconfig.*.json'

# Extends the top-level lint
lint:
args:
- '--ext'
- '.ts,.vue'
deps:
- 'build' # Requires built TS files
# lint:
# args:
# - '--ext'
# - '.ts,.vue'
# deps:
# - 'build' # Requires built TS files
12 changes: 6 additions & 6 deletions apps/nuxt-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"@vue/reactivity": "^3.4.23",
"@vue/runtime-core": "^3.4.23",
"@vue/runtime-dom": "^3.4.23",
"@vue/shared": "^3.4.23",
"vue": "^3.4.23"
"@vue/reactivity": "^3.4.27",
"@vue/runtime-core": "^3.4.27",
"@vue/runtime-dom": "^3.4.27",
"@vue/shared": "^3.4.27",
"vue": "^3.4.27"
},
"devDependencies": {
"nuxt": "^3.11.2",
"vue-tsc": "^2.0.13"
"vue-tsc": "^2.0.19"
}
}
20 changes: 10 additions & 10 deletions apps/remix-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
},
"dependencies": {
"@company/browser-package": "workspace:*",
"@remix-run/css-bundle": "^2.8.1",
"@remix-run/node": "^2.8.1",
"@remix-run/react": "^2.8.1",
"@remix-run/serve": "^2.8.1",
"isbot": "^5.1.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@remix-run/css-bundle": "^2.9.2",
"@remix-run/node": "^2.9.2",
"@remix-run/react": "^2.9.2",
"@remix-run/serve": "^2.9.2",
"isbot": "^5.1.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@remix-run/dev": "^2.8.1",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@remix-run/dev": "^2.9.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"deep-equal": "^2.2.3"
}
}
8 changes: 4 additions & 4 deletions apps/sveltekit/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ tasks:
- 'tsconfig.json'

# Extends the top-level lint
lint:
args:
- '--ext'
- '.ts,.svelte'
# lint:
# args:
# - '--ext'
# - '.ts,.svelte'
16 changes: 8 additions & 8 deletions apps/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"type": "module",
"dependencies": {
"@neoconfetti/svelte": "^2.2.1",
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.6",
"svelte": "^4.2.15",
"svelte-check": "^3.6.9"
"@sveltejs/adapter-auto": "^3.2.1",
"@sveltejs/kit": "^2.5.10",
"svelte": "^4.2.17",
"svelte-check": "^3.7.1"
},
"devDependencies": {
"@fontsource/fira-mono": "^5.0.12",
"@fontsource/fira-mono": "^5.0.13",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@types/cookie": "^0.6.0",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"eslint-plugin-svelte3": "^4.0.0",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.9",
"vitest": "^1.5.0"
"vite": "^5.2.11",
"vitest": "^1.6.0"
}
}
8 changes: 4 additions & 4 deletions apps/vue-vite-app/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ tasks:
- 'tsconfig.*.json'

# Extends the top-level lint
lint:
args:
- '--ext'
- '.js,.ts,.vue'
# lint:
# args:
# - '--ext'
# - '.js,.ts,.vue'
16 changes: 8 additions & 8 deletions apps/vue-vite-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
"private": true,
"dependencies": {
"@company/browser-package": "workspace:*",
"vue": "^3.4.23",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"devDependencies": {
"@types/jsdom": "^21.1.6",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vitest/coverage-v8": "^1.5.0",
"@vue/test-utils": "^2.4.5",
"@vitest/coverage-v8": "^1.6.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"eslint-plugin-vue": "^9.25.0",
"jsdom": "^24.0.0",
"vite": "^5.2.9",
"vitest": "^1.5.0",
"vue-tsc": "^2.0.13"
"eslint-plugin-vue": "^9.26.0",
"jsdom": "^24.1.0",
"vite": "^5.2.11",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.19"
}
}
Loading

0 comments on commit 8d8412a

Please sign in to comment.