Skip to content

Commit 37b55c3

Browse files
committed
feat: use stackblitz shims
1 parent 7fd42be commit 37b55c3

13 files changed

Lines changed: 25 additions & 13 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ The templates are managed on the `main` branch only - the individual flavor bran
1616
- TypeScript: https://new.nativescript.org/typescript
1717
- Vue: https://new.nativescript.org/vue
1818

19+
https://nativescript.new
20+
https://nativescript.new/angular
21+
https://nativescript.new/javascript
22+
https://nativescript.new/react
23+
https://nativescript.new/svelte
24+
https://nativescript.new/typescript
25+
https://nativescript.new/vue
1926

2027
<details>
2128

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"installDependencies": true,
3-
"startCommand": "./node_modules/.bin/preview-cli --config=https://preview.nativescript.org/api/config"
3+
"startCommand": "./node_modules/.bin/setup-nativescript-stackblitz && ns preview"
44
}

‎apps/nativescript-starter-angular/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"devDependencies": {
2222
"@angular-devkit/build-angular": "~14.0.0",
2323
"@angular/compiler-cli": "~14.0.0",
24-
"@nativescript/preview-cli": "^1.0.0-beta.15",
24+
"@nativescript/preview-cli": "*",
25+
"@nativescript/stackblitz": "*",
2526
"@nativescript/types-minimal": "~8.2.0",
2627
"@nativescript/webpack": "^5.0.7-alpha.3",
2728
"@ngtools/webpack": "~14.0.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"installDependencies": true,
3-
"startCommand": "./node_modules/.bin/preview-cli --config=https://preview.nativescript.org/api/config"
3+
"startCommand": "./node_modules/.bin/setup-nativescript-stackblitz && ns preview"
44
}

‎apps/nativescript-starter-javascript/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"@nativescript/theme": "~3.0.2"
99
},
1010
"devDependencies": {
11-
"@nativescript/preview-cli": "^1.0.0-beta.15",
11+
"@nativescript/preview-cli": "*",
12+
"@nativescript/stackblitz": "*",
1213
"@nativescript/webpack": "^5.0.7-alpha.3"
1314
}
1415
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"installDependencies": true,
3-
"startCommand": "./node_modules/.bin/preview-cli --config=https://preview.nativescript.org/api/config"
3+
"startCommand": "./node_modules/.bin/setup-nativescript-stackblitz && ns preview"
44
}

‎apps/nativescript-starter-react/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"react-nativescript-navigation": "3.0.0-beta.2"
1212
},
1313
"devDependencies": {
14-
"@nativescript/preview-cli": "^1.0.0-beta.15",
14+
"@nativescript/preview-cli": "*",
15+
"@nativescript/stackblitz": "*",
1516
"@nativescript/types-minimal": "^8.2.0",
1617
"@nativescript/webpack": "^5.0.7-alpha.3",
1718
"@types/react": "16.9.34",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"installDependencies": true,
3-
"startCommand": "./node_modules/.bin/preview-cli --config=https://preview.nativescript.org/api/config"
3+
"startCommand": "./node_modules/.bin/setup-nativescript-stackblitz && ns preview"
44
}

‎apps/nativescript-starter-svelte/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"svelte-native": "~1.0.0"
99
},
1010
"devDependencies": {
11-
"@nativescript/preview-cli": "^1.0.0-beta.15",
11+
"@nativescript/preview-cli": "*",
12+
"@nativescript/stackblitz": "*",
1213
"@nativescript/types-minimal": "^8.2.0",
1314
"@nativescript/webpack": "^5.0.7-alpha.3",
1415
"svelte": "~3.44.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"installDependencies": true,
3-
"startCommand": "./node_modules/.bin/preview-cli --config=https://preview.nativescript.org/api/config"
3+
"startCommand": "./node_modules/.bin/setup-nativescript-stackblitz && ns preview"
44
}

0 commit comments

Comments
 (0)