Skip to content

Commit

Permalink
fix(boilerplates): Made updates to support new default boilerplate na…
Browse files Browse the repository at this point in the history
…mes.

Ignite default boilerplates are now named ignite-andross and ignite-bowser. The old package names are now deprecated.
  • Loading branch information
carlinisaacson authored Dec 10, 2018
1 parent 61594be commit b348967
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions BOILERPLATES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Name | Description |
|------|-------------|
| [ignite-ir-boilerplate-bowser](https://github.com/infinitered/ignite-ir-boilerplate-bowser) | React Navigation, MobX State Tree, & TypeScript |
| [ignite-ir-boilerplate-andross](https://github.com/infinitered/ignite-ir-boilerplate-andross) | React Navigation, Redux, & Redux Sagas |
| [Ignite Bowser](https://github.com/infinitered/ignite-bowser) | React Navigation, MobX State Tree, & TypeScript |
| [ignite-andross](https://github.com/infinitered/ignite-andross) | React Navigation, Redux, & Redux Sagas |
| [ignite-ir-boilerplate-2016](https://github.com/infinitered/ignite-ir-boilerplate-2016) | InfiniteRed's 2016 tech stack |

## 3rd Party
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Infinite Red provides two boilerplates, they are:
* Andross - the tried and true (React Navigation, Redux, & Redux Saga)
* Bowser - the latest and greatest (React Navigation, MobX State Tree, & TypeScript)

### Use Ignite Bowser: [Infinite Red Bowser boilerplate](https://github.com/infinitered/ignite-ir-boilerplate-bowser)
### Use Ignite Bowser: [Infinite Red Bowser boilerplate](https://github.com/infinitered/ignite-bowser)

```
$ npm install -g ignite-cli
Expand All @@ -90,7 +90,7 @@ $ ignite generate component pizza-location
$ ignite i love you
```

### Use Ignite Andross [Infinite Red Andross boilerplate](https://github.com/infinitered/ignite-ir-boilerplate-andross)
### Use Ignite Andross [Infinite Red Andross boilerplate](https://github.com/infinitered/ignite-andross)

```
$ npm install -g ignite-cli
Expand Down
4 changes: 2 additions & 2 deletions src/commands/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ async function command (context) {
])
switch (boilerplate) {
case bowser:
boilerplateName = 'ir-boilerplate-bowser'
boilerplateName = 'bowser'
break
case andross:
default:
boilerplateName = 'ir-boilerplate-andross'
boilerplateName = 'andross'
break
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/ignite-new/new.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ afterEach(() => {
test('spins up a min app and performs various checks', async done => {
// ignite the eternal flame
// If you have to ignite it, how is it eternal?
await system.run(`${IGNITE} new ${APP_NAME} --min -b ignite-ir-boilerplate-andross --debug`, opts)
await system.run(`${IGNITE} new ${APP_NAME} --min -b ignite-andross --debug`, opts)

// Jump into the app directory
process.chdir(APP_NAME)
Expand All @@ -42,7 +42,7 @@ test('spins up a min app and performs various checks', async done => {

// spork a screen and edit it
await system.run(`${IGNITE} spork component.ejs`, opts)
const sporkedFile = `${process.cwd()}/ignite/Spork/ignite-ir-boilerplate-andross/component.ejs`
const sporkedFile = `${process.cwd()}/ignite/Spork/ignite-andross/component.ejs`
await filesystem.write(sporkedFile, 'SPORKED!')
expect(filesystem.inspect(sporkedFile).type).toBe('file')
await system.run(`${IGNITE} generate component Sporkified`, opts)
Expand Down

0 comments on commit b348967

Please sign in to comment.