Skip to content

Commit dfc29ce

Browse files
committed
fix: add gitignore
1 parent 474a22b commit dfc29ce

3 files changed

Lines changed: 41 additions & 10 deletions

File tree

‎.github/workflows/extract-templates.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ jobs:
2121
# copy template to output directory
2222
cp -r apps/nativescript-starter-${{ matrix.starter }} dist/
2323
24+
# copy gitignore from template
25+
cp tools/assets/dot.gitignore dist/.gitignore
26+
2427
# enter template directory
2528
cd dist/nativescript-starter-${{ matrix.starter }}
2629
2730
# Remove nx project config
2831
rm project.json
29-
32+
3033
# Replace App_Resources path in the config
3134
sed -i 's/\.\.\/\.\.\/tools\/assets\/App_Resources/App_Resources/g' nativescript.config.ts
3235
@@ -37,4 +40,4 @@ jobs:
3740
BRANCH: ${{ matrix.starter }}
3841
MESSAGE: "chore(update): {target-branch} to {sha}"
3942
FOLDER: dist/nativescript-starter-${{ matrix.starter }}
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +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
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
2626

2727
<details>
2828

@@ -40,4 +40,4 @@ Full URLS (used in redirects)
4040
/vue https://stackblitz.com/fork/github/NativeScript/stackblitz-templates/tree/vue?file=app%2Fcomponents%2FHome.vue&title=NativeScript%20Starter%20Vue
4141
```
4242

43-
</details>
43+
</details>

‎tools/assets/dot.gitignore‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# NativeScript
2+
hooks/
3+
node_modules/
4+
platforms/
5+
6+
# Logs
7+
logs
8+
*.log
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
13+
# General
14+
.DS_Store
15+
.AppleDouble
16+
.LSOverride
17+
.idea
18+
.cloud
19+
.project
20+
tmp/
21+
typings/
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json

0 commit comments

Comments
 (0)