Skip to content

Commit

Permalink
feat: NativeScript 8.8 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker authored Jul 11, 2024
1 parent 0bf46bd commit c9e90c5
Show file tree
Hide file tree
Showing 35 changed files with 3,948 additions and 1,620 deletions.
23 changes: 17 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"plugins": ["@nx"],
"overrides": [
{
"files": "*.json",
"parser": "jsonc-eslint-parser",
"rules": {}
},
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
Expand All @@ -23,13 +28,19 @@
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {}
"extends": ["plugin:@nx/typescript"],
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"rules": {}
"extends": ["plugin:@nx/javascript"],
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
}
]
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ package-lock.json
# System Files
.DS_Store
Thumbs.db

.nx/cache
.nx/workspace-data
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

/dist
/coverage

/.nx/cache
/.nx/workspace-data
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"recommendations": [

"nrwl.angular-console",
"esbenp.prettier-vscode"
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner"
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"eslint.validate": ["json"]
}
6 changes: 3 additions & 3 deletions apps/nativescript-starter-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
"@angular/platform-browser-dynamic": "~18.0.0",
"@angular/router": "~18.0.0",
"@nativescript/angular": "^18.0.0",
"@nativescript/core": "~8.7.0",
"@nativescript/core": "~8.8.0",
"@nativescript/theme": "~3.0.2",
"rxjs": "~7.8.0",
"zone.js": "~0.14.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~18.0.0",
"@angular/compiler-cli": "~18.0.0",
"@nativescript/preview-cli": "1.0.12",
"@nativescript/preview-cli": "1.0.13",
"@nativescript/stackblitz": "0.0.8",
"@nativescript/tailwind": "^2.1.0",
"@nativescript/types-minimal": "~8.7.0",
"@nativescript/types-minimal": "~8.8.0",
"@nativescript/webpack": "~5.0.0",
"@ngtools/webpack": "~18.0.0",
"tailwindcss": "~3.4.0",
Expand Down
8 changes: 1 addition & 7 deletions apps/nativescript-starter-angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/nativescript-starter-angular/**/*.ts",
"apps/nativescript-starter-angular/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
}
}
}
4 changes: 2 additions & 2 deletions apps/nativescript-starter-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@nativescript/core": "~8.7.0",
"@nativescript/core": "~8.8.0",
"@nativescript/theme": "~3.0.2"
},
"devDependencies": {
"@nativescript/preview-cli": "1.0.12",
"@nativescript/preview-cli": "1.0.13",
"@nativescript/stackblitz": "0.0.8",
"@nativescript/tailwind": "^2.1.0",
"@nativescript/webpack": "~5.0.0",
Expand Down
8 changes: 1 addition & 7 deletions apps/nativescript-starter-javascript/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/nativescript-starter-javascript/**/*.ts",
"apps/nativescript-starter-javascript/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
}
}
}
6 changes: 3 additions & 3 deletions apps/nativescript-starter-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@nativescript/core": "~8.7.0",
"@nativescript/core": "~8.8.0",
"react": "^18.2.0",
"react-nativescript": "^5.0.0",
"react-nativescript-navigation": "^5.0.0"
},
"devDependencies": {
"@nativescript/preview-cli": "1.0.12",
"@nativescript/preview-cli": "1.0.13",
"@nativescript/stackblitz": "0.0.8",
"@nativescript/tailwind": "^2.1.0",
"@nativescript/types-minimal": "~8.7.0",
"@nativescript/types-minimal": "~8.8.0",
"@nativescript/webpack": "~5.0.8",
"@types/react": "npm:types-react-without-jsx-intrinsics@^18.0.17",
"tailwindcss": "~3.4.0",
Expand Down
8 changes: 1 addition & 7 deletions apps/nativescript-starter-react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/nativescript-starter-react/**/*.ts",
"apps/nativescript-starter-react/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
}
}
}
53 changes: 26 additions & 27 deletions apps/nativescript-starter-solid/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
{
"name": "stackblitz-nativescript-solid",
"main": "src/app.js",
"version": "1.0.0",
"private": true,
"scripts": {},
"dependencies": {
"@nativescript-community/solid-js": "^0.0.6",
"@nativescript/core": "~8.7.0",
"dominative": "^0.1.3",
"solid-js": "^1.8.16",
"undom-ng": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@nativescript/preview-cli": "^1.0.13",
"@nativescript/stackblitz": "0.0.8",
"@nativescript/tailwind": "~2.1.0",
"@nativescript/webpack": "~5.0.0",
"babel": "^6.23.0",
"babel-loader": "^9.1.3",
"babel-preset-solid": "^1.8.8",
"solid-refresh": "^0.7.5",
"tailwindcss": "~3.4.3"
}
"name": "stackblitz-nativescript-solid",
"main": "src/app.js",
"version": "1.0.0",
"private": true,
"scripts": {},
"dependencies": {
"@nativescript-community/solid-js": "^0.0.6",
"@nativescript/core": "~8.8.0",
"dominative": "^0.1.3",
"solid-js": "^1.8.16",
"undom-ng": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@nativescript/preview-cli": "^1.0.13",
"@nativescript/stackblitz": "0.0.8",
"@nativescript/tailwind": "~2.1.0",
"@nativescript/webpack": "~5.0.0",
"babel": "^6.23.0",
"babel-loader": "^9.1.3",
"babel-preset-solid": "^1.8.8",
"solid-refresh": "^0.7.5",
"tailwindcss": "~3.4.3"
}
}
8 changes: 1 addition & 7 deletions apps/nativescript-starter-solid/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/nativescript-starter-solid/**/*.ts",
"apps/nativescript-starter-solid/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
}
}
}
6 changes: 3 additions & 3 deletions apps/nativescript-starter-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@nativescript/core": "~8.7.0",
"@nativescript/core": "~8.8.0",
"svelte-native": "~1.0.0"
},
"devDependencies": {
"@nativescript/preview-cli": "1.0.12",
"@nativescript/preview-cli": "1.0.13",
"@nativescript/stackblitz": "0.0.8",
"@nativescript/tailwind": "^2.1.0",
"@nativescript/types-minimal": "~8.7.0",
"@nativescript/types-minimal": "~8.8.0",
"@nativescript/webpack": "~5.0.0",
"svelte": "~4.2.0",
"svelte-loader": "^3.2.0",
Expand Down
8 changes: 1 addition & 7 deletions apps/nativescript-starter-svelte/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/nativescript-starter-svelte/**/*.ts",
"apps/nativescript-starter-svelte/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
}
}
}
6 changes: 3 additions & 3 deletions apps/nativescript-starter-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@nativescript/core": "~8.7.0",
"@nativescript/core": "~8.8.0",
"@nativescript/theme": "~3.0.2"
},
"devDependencies": {
"@nativescript/preview-cli": "1.0.12",
"@nativescript/preview-cli": "1.0.13",
"@nativescript/stackblitz": "0.0.8",
"@nativescript/tailwind": "^2.1.0",
"@nativescript/types-minimal": "~8.7.0",
"@nativescript/types-minimal": "~8.8.0",
"@nativescript/webpack": "~5.0.0",
"tailwindcss": "~3.4.0",
"typescript": "~5.4.0"
Expand Down
8 changes: 1 addition & 7 deletions apps/nativescript-starter-typescript/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/nativescript-starter-typescript/**/*.ts",
"apps/nativescript-starter-typescript/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
}
}
}
6 changes: 3 additions & 3 deletions apps/nativescript-starter-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@nativescript/core": "~8.7.0",
"@nativescript/core": "~8.8.0",
"nativescript-vue": "~2.9.0"
},
"devDependencies": {
"@nativescript/preview-cli": "1.0.12",
"@nativescript/preview-cli": "1.0.13",
"@nativescript/stackblitz": "0.0.8",
"@nativescript/tailwind": "^2.1.0",
"@nativescript/types-minimal": "~8.7.0",
"@nativescript/types-minimal": "~8.8.0",
"@nativescript/webpack": "~5.0.0",
"@types/node": "^20.0.0",
"nativescript-vue-template-compiler": "~2.9.0",
Expand Down
8 changes: 1 addition & 7 deletions apps/nativescript-starter-vue/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/nativescript-starter-vue/**/*.ts",
"apps/nativescript-starter-vue/src/**/*.html"
]
}
"executor": "@nx/eslint:lint"
}
}
}
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getJestProjects } from '@nrwl/jest';
import { getJestProjects } from '@nx/jest';

export default {
projects: getJestProjects(),
Expand Down
2 changes: 1 addition & 1 deletion jest.preset.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const nxPreset = require('@nrwl/jest/preset').default;
const nxPreset = require('@nx/jest/preset').default;

module.exports = { ...nxPreset };
Loading

0 comments on commit c9e90c5

Please sign in to comment.