Skip to content

Commit 87b0842

Browse files
committed
new folder structure
1 parent 8160c3c commit 87b0842

File tree

9 files changed

+24
-30
lines changed

9 files changed

+24
-30
lines changed

.angulardoc.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ jobs:
1616

1717

1818
- restore_cache:
19-
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum "angular-testdrive/package.json" }}
19+
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum "mini-testdrive/package.json" }}
2020
- run: npm i --silent
21-
- run: cd angular-testdrive && npm i --silent
21+
- run: cd mini-testdrive && npm i --silent
2222
- save_cache:
23-
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum "angular-testdrive/package.json" }}
23+
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum "mini-testdrive/package.json" }}
2424
paths:
2525
- node_modules
26-
- angular-testdrive/node_modules
26+
- mini-testdrive/node_modules
2727

2828

29-
- run: cd angular-testdrive && npm run build
29+
- run: cd mini-testdrive && npm run build
3030
- run: chmod +x bin/angular-cli-ghpages
31-
- run: cd angular-testdrive && ../angular-cli-ghpages --repo "$GITHUB_ORG/$NAME.git" --name "$GITHUB_NAME" --email "$GITHUB_EMAIL" --dir=dist/angular-testdrive --cname=angular-cli-ghpages.angular.schule
31+
- run: cd mini-testdrive && ../angular-cli-ghpages --repo "$GITHUB_ORG/$NAME.git" --name "$GITHUB_NAME" --email "$GITHUB_EMAIL" --dir=dist/mini-testdrive --cname=angular-cli-ghpages.angular.schule
3232

3333
branches:
3434
only:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ nvim/doc
2121
nvim/swaps
2222
nvim/colors
2323
dist
24+
25+
/src/angular-testdrive/404.html
26+
/src/angular-testdrive/CNAME
27+
.angulardoc.json

.npmignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"request": "launch",
1010
"name": "Launch Standalone Program",
1111
//"cwd": "${workspaceRoot}",
12-
"program": "${workspaceFolder}/dist/angular-cli-ghpages",
12+
"program": "${workspaceFolder}/src/dist/angular-cli-ghpages",
1313
"outFiles": [
14-
"${workspaceFolder}/dist/**/*.js"
14+
"${workspaceFolder}/src/dist/**/*.js"
1515
],
1616
"args": [
1717
//"--no-silent",
1818
//"--dry-run",
19-
"--dir=angular-testdrive",
19+
"--dir=/src/mini-testdrive",
2020
"--cname=angular-cli-ghpages.angular.schule"
2121
],
2222
"stopOnEntry": true,

docs/README_standalone.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,19 @@ npx angular-cli-ghpages --repo=https://[email protected]/organisation/your-rep
8686

8787
## Options
8888

89-
#### <a id="help">--help</a>
89+
#### --help <a name="help"></a>
9090
* Example: `npx angular-cli-ghpages --help`
9191

9292
Output usage information.
9393

9494

95-
#### <a id="version">--version</a>
95+
#### --version <a name="version"></a>
9696
* Example: `npx angular-cli-ghpages --version`
9797

9898
Output the version number. Please provide the version number on any bug report!
9999

100100

101-
#### <a id="repo">--repo</a>
101+
#### --repo <a name="repo"></a>
102102
* __optional__
103103
* Default: url of the origin remote of the current dir (assumes a git repository)
104104
* Example: `npx angular-cli-ghpages --repo=https://[email protected]/organisation/your-repo.git`
@@ -109,7 +109,7 @@ If instead your files are not in a git repository, or if you want to push to ano
109109
you can provide the repository URL in the `repo` option.
110110

111111

112-
#### <a id="message">--message</a>
112+
#### --message <a name="message"></a>
113113
* __optional__
114114
* Default: `Auto-generated commit`
115115
* Example: `npx angular-cli-ghpages --message="What could possibly go wrong?"`
@@ -119,7 +119,7 @@ Some handy additional text is always added,
119119
if the environment variable `process.env.TRAVIS` exists (for Travis CI).
120120

121121

122-
#### <a id="branch">--branch</a>
122+
#### --branch <a name="branch"></a>
123123
* __optional__
124124
* Default: `gh-pages`
125125
* Example: `npx angular-cli-ghpages --branch=other-branch`
@@ -129,7 +129,7 @@ The default uses GitHub's `gh-pages` branch,
129129
but this can be configured to push to any branch on any remote.
130130

131131

132-
#### <a id="name">--name & --email</a>
132+
#### --name & --email <a name="name"></a>
133133
* __optional__
134134
* Default: value of `git config user.name` and `git config user.email`
135135
* Example: `npx angular-cli-ghpages --name="Displayed Username" [email protected]`
@@ -140,7 +140,7 @@ you must provide user info before git allows you to commit.
140140
In this case provide both `name` and `email` string values to identify the committer.
141141

142142

143-
#### <a id="no-silent">--no-silent</a>
143+
#### --no-silent <a name="no-silent"></a>
144144
* __optional__
145145
* Default: silent `true` (boolean)
146146
* Example:
@@ -156,7 +156,7 @@ Keep this untouched if the repository URL or other information passed to git com
156156
> WARNING: This option should kept like it is if the repository URL or other information passed to git commands is sensitive and should not be logged (== you have a public build server). By default the silent mode is enabled to avoid sensitive data exposure.
157157

158158

159-
#### <a id="dir">--dir</a>
159+
#### --dir <a name="dir"></a>
160160
* __optional__
161161
* Default: `dist`
162162

@@ -169,7 +169,7 @@ which are not related at all to angular.
169169
170170
171171
172-
#### <a id="no-dotfiles">--no-dotfiles</a>
172+
#### --no-dotfiles <a name="no-dotfiles"></a>
173173
* __optional__
174174
* Default: dotfiles `true` (boolean)
175175
* Example:
@@ -181,7 +181,7 @@ With `--no-dotfiles` files starting with `.` are ignored.
181181
182182
183183
184-
#### <a id="dry-run">--dry-run</a>
184+
#### --dry-run <a name="dry-run"></a>
185185
* __optional__
186186
* Default: `undefined`
187187
* Example:
@@ -190,7 +190,7 @@ With `--no-dotfiles` files starting with `.` are ignored.
190190
191191
Run through without making any changes. This can be very usefull, because it outputs what would happend without doing anything.
192192
193-
#### <a id="cname">--cname</a>
193+
#### --cname <a name="cname"></a>
194194
* __optional__
195195
* Default: `No CNAME file is generated`
196196
* Example:

src/angular-testdrive/404.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/angular-testdrive/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)