Skip to content

Commit d7ec836

Browse files
authored
refactor(app): remove old project name
* refactor(app): remove old project name * refactor(docs): add missed old project name
1 parent 1b41eb4 commit d7ec836

File tree

10 files changed

+36
-36
lines changed

10 files changed

+36
-36
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"editorGroup.border": "#1b2c8f"
2828
},
2929
"files.exclude": {
30-
"**/coulson/bin/**/*": true
30+
"**/scully/bin/**/*": true
3131
},
3232
"files.watcherExclude": {
33-
"**/coulson/bin/**": true
33+
"**/scully/bin/**": true
3434
}
3535
}

Documentation/demosteps.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cd demo
88
# start `ng build --prod --sourceMap --watch` in another terminal
99
# we are working with the build files
1010

11-
ng add @herodevs/coulson-generate
11+
ng add @herodevs/scully-generate
1212
# Lets make it look a bit better
1313
# replace app-component.html with snippet-2
1414
# add snippet-3 to styles.css
@@ -22,14 +22,14 @@ ng g m home --route home --module app.module
2222
# paste snippet-4 into home.component.ts
2323
# replace home.component.html with snippet-5
2424

25-
ng g @herodevs/coulson-generate:blog
25+
ng g @herodevs/scully-generate:blog
2626
# the following steps should be done by the blog generator
2727
# add snippet-1 to app-routing.module
2828

2929
ng build
30-
npm run coulson
30+
npm run scully
3131
# serve up the static site.
32-
npm run coulson serve
32+
npm run scully serve
3333

3434
```
3535

@@ -106,7 +106,7 @@ body {
106106
snippet-4
107107
```typescript
108108
index$ = this.crs.available$;
109-
constructor(private crs: CoulsonRoutesService) {}
109+
constructor(private crs: ScullyRoutesService) {}
110110
/** NTS: do not forget to add the import! **/
111111
```
112112

Documentation/gettingStarted.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
# Gettings started with coulson
1+
# Gettings started with scully
22

3-
In an existing Angular app, first install coulson by using the CLI:
3+
In an existing Angular app, first install scully by using the CLI:
44

55
```bash
6-
ng add @herodevs/coulson-generate --blog
6+
ng add @herodevs/scully-generate --blog
77
```
88

99

1010
When that is done, the following things will have happened.
1111

1212
1. We installed all the dependencies most of those are only developer dependencies.
13-
2. We added a `coulson.json` sample configuration.
13+
2. We added a `scully.json` sample configuration.
1414

1515

1616
The `--blog` is optional and will add the below in one step.
1717

1818
1. add a folder `./blog` to the project root.
1919
2. add a lazy loaded blog module to your app.
2020
3. put in a sample route to this module
21-
4. added a blog component, that shows how to sue the `<coulson-content>` component
21+
4. added a blog component, that shows how to sue the `<scully-content>` component
2222
5. put in a sample mardown first blog entry in the folder
2323

2424
You can do this later on by using:
2525

2626
```bash
27-
ng generate @herodevs/coulson-generate:blog
27+
ng generate @herodevs/scully-generate:blog
2828
```
2929

3030
To add a page to the blog you can use:
3131

3232
```bash
33-
ng g @herodevs/coulson-generate:post --title=MyBeautifulWebApp
33+
ng g @herodevs/scully-generate:post --title=MyBeautifulWebApp
3434
```
3535

3636
This will create a new MD file in the `./blog` folder. if you provided the optional `--title` option, it will use the name given, otherwise it will create a file named `blogxxx.md` where xxx is a number. it warns when the file already exists.
3737

3838
A blog file will start with an header. We are using the standard [front-matter](https://github.com/jxson/front-matter) to extract this header.
39-
The meta-data available in there will be available to you by injecting the `CoulsonRoutesService`
39+
The meta-data available in there will be available to you by injecting the `ScullyRoutesService`
4040

4141

42-
Now you are ready run the coulson you can do this by:
42+
Now you are ready run the scully you can do this by:
4343

4444
```bash
45-
npm run coulson:generate
45+
npm run scully:generate
4646
```
4747
When are done with this, inside your dist folder is a static folder, with all pages generated.
4848

Documentation/schematics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# schematics
22

33

4-
### @herodevs/coulson
4+
### @herodevs/scully
55

66
Generate function for create static pages.
77

@@ -10,23 +10,23 @@ Generate function for create static pages.
1010

1111
#### Steps to use
1212

13-
- `ng add @herodevs/coulson`
13+
- `ng add @herodevs/scully`
1414

1515
#### Options
1616

1717
WIP
1818

1919
#### Dev mode
2020

21-
copy the build for get the new coulson version
21+
copy the build for get the new scully version
2222
- run `npm run copy:generate`
2323

2424
Dev mode
2525
- run `npm run dev`
2626
- `npm run schematics`
2727

2828

29-
We use : `"schematics": "schematics .:coulson --debug=false --force"`
29+
We use : `"schematics": "schematics .:scully --debug=false --force"`
3030
- `debug`is for create the files
3131
- `force` is for rewrite the created files
3232

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Coulson
1+
# Scully
22

33
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
44

@@ -18,4 +18,4 @@ This is the initial setup.
1818

1919
## bazel things
2020

21-
All with ibazel is watch mode, the same without the i is no-watch
21+
All with ibazel is watch mode, the same without the i is no-watch

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# See https://docs.bazel.build/versions/master/build-ref.html#workspace
55
workspace(
66
# How this workspace would be referenced with absolute labels from another workspace
7-
name = "coulson",
7+
name = "scully",
88
# Map the @npm bazel workspace to the node_modules directory.
99
# This lets Bazel use the same node_modules as other local tooling.
1010
managed_directories = {"@npm": ["node_modules"]},
@@ -39,4 +39,4 @@ load("@npm_bazel_typescript//:index.bzl", "ts_setup_workspace")
3939
ts_setup_workspace()
4040

4141
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")
42-
node_repositories(package_json = ["//:package.json"])
42+
node_repositories(package_json = ["//:package.json"])

scully.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
// This is a sample Coulson config file
2+
// This is a sample Scully config file
33
// The projectroot is mandatory
44
"projectRoot": "./projects/sampleBlog/src/app",
5-
// Define coulson augmented routes here
5+
// Define scully augmented routes here
66
"routes": {
77
/**
88
* use the exact routename from your Angular application.

scully/BUILD.bazel

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package(default_visibility=["//visibility:public"])
66
load("@npm_bazel_typescript//:index.bzl", "ts_library")
77

88
exports_files([
9-
"tsconfig.coulson.json"
9+
"tsconfig.scully.json"
1010
])
1111

1212
load("@npm//typescript:index.bzl", "tsc")
@@ -21,7 +21,7 @@ tsc(
2121
args = [
2222
"--outDir",
2323
"$@",
24-
"--lib",
24+
"--lib",scully
2525
"es2017,dom",
2626
"--downlevelIteration",
2727
"--declaration",
@@ -32,10 +32,10 @@ tsc(
3232
)
3333

3434
ts_library(
35-
name = "coulson-ts",
36-
tsconfig = "tsconfig.coulson.json",
35+
name = "scully-ts",
36+
tsconfig = "tsconfig.scully.json",
3737
srcs = glob(["*.ts", "**/*.ts"]),
38-
module_name = "@herodevs/coulson",
38+
module_name = "@herodevs/scully",
3939
deps = [
4040
"@npm//fs-extra",
4141
"@npm//rxjs",
@@ -65,7 +65,7 @@ load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
6565

6666
nodejs_binary(
6767
name = "run",
68-
data = [":coulson-ts"],
68+
data = [":scully-ts"],
6969
entry_point = ":index.ts",
7070
args = ["serve"],
7171
visibility = ["//visibility:public"],

scully/tsconfig.scully.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compileOnSave": false,
33
"compilerOptions": {
4-
"baseUrl": "./coulson",
4+
"baseUrl": "./scully",
55
"declaration": true,
66
"downlevelIteration": true,
77
"esModuleInterop": true,

testPlgin/tsconfig.custom-coulson.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"typeRoots": ["../node_modules/@types"],
1717
"paths": {
1818
"*": ["node_modules/*"],
19-
"@herodevs/coulson": ["../coulson"]
19+
"@herodevs/scully": ["../scully"]
2020
}
2121
},
22-
"files": [ "coulson.custom.ts"],
22+
"files": [ "scully.custom.ts"],
2323
"exclude": ["./bin/**/*"]
2424
}

0 commit comments

Comments
 (0)