Skip to content

Commit b22155a

Browse files
committed
flatten the blueprint
1 parent 6ea750d commit b22155a

35 files changed

Lines changed: 7707 additions & 6557 deletions

files/.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
try-scenarios:
5252
name: ${{ matrix.try-scenario }}
5353
runs-on: ubuntu-latest
54-
needs: 'test'
54+
needs: "test"
5555
timeout-minutes: 10
5656

5757
strategy:
@@ -77,4 +77,3 @@ jobs:
7777
run: <%= pnpm ? 'pnpm install --frozen-lockfile' : yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %>
7878
- name: Run Tests
7979
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
80-
working-directory: <%= testAppInfo.location %>

files/.github/workflows/push-dist.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ jobs:
3232
with:
3333
branch: dist
3434
token: ${{ secrets.GITHUB_TOKEN }}
35-
working-directory: '<%= addonInfo.location %>'

files/.prettierignore

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Prettier is also run from each package, so the ignores here
2-
# protect against files that may not be within a package
1+
# unconventional js
2+
/blueprints/*/files/
33

4-
# misc
5-
!.*
6-
.lint-todo/
4+
# compiled output
5+
/dist/
6+
/declarations/
77

8-
# ember-try
9-
/.node_modules.ember-try/
10-
/pnpm-lock.ember-try.yaml
8+
# misc
9+
/coverage/
10+
pnpm-lock.yaml

files/.prettierrc.cjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@
22

33
module.exports = {
44
plugins: ['prettier-plugin-ember-template-tag'],
5-
singleQuote: true,
5+
overrides: [
6+
{
7+
files: '*.{js,gjs,ts,gts,mjs,mts,cjs,cts}',
8+
options: {
9+
singleQuote: true,
10+
templateSingleQuote: false,
11+
},
12+
},
13+
],
614
};
File renamed without changes.

files/.yarnrc.yml

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

files/CONTRIBUTING.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
11
# How To Contribute
22

3-
<% if (!isExistingMonorepo) { %>## Installation
3+
## Installation
44

55
- `git clone <repository-url>`
6-
- `cd <%= rootDirectory %>`
6+
- `cd <%= name %>`
77
- `<% if (yarn) { %>yarn<% } else if (pnpm) { %>pnpm<% } else { %>npm<% } %> install`
88

9-
<% } %>## Linting
9+
## Linting
1010

1111
- `<% if (yarn) { %>yarn lint<% } else if (pnpm) { %>pnpm lint<% } else { %>npm run lint<% } %>`
1212
- `<% if (yarn) { %>yarn lint:fix<% } else if (pnpm) { %>pnpm lint:fix<% } else { %>npm run lint:fix<% } %>`
1313

1414
## Building the addon
1515

16-
- `cd <%= addonInfo.location %>`
1716
- `<% if (yarn) { %>yarn<% } else if (pnpm) { %>pnpm<% } else { %>npm<% } %> build`
1817

1918
## Running tests
2019

21-
- `cd <%= testAppInfo.location %>`
2220
- `<% if (yarn) { %>yarn test<% } else if (pnpm) { %>pnpm test<% } else { %>npm run test<% } %>` – Runs the test suite on the current Ember version
2321
- `<% if (yarn) { %>yarn test:watch<% } else if (pnpm) { %>pnpm test:watch<% } else { %>npm run test:watch<% } %>` – Runs the test suite in "watch mode"
2422

2523
## Running the test application
2624

27-
- `cd <%= testAppInfo.location %>`
2825
- `<% if (yarn) { %>yarn start<% } else if (pnpm) { %>pnpm start<% } else { %>npm run start<% } %>`
2926
- Visit the test application at [http://localhost:4200](http://localhost:4200).
3027

files/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# <%= addonName %>
1+
# <%= name %>
22

33
[Short description of the addon.]
44

@@ -10,7 +10,7 @@
1010
## Installation
1111

1212
```
13-
ember install <%= addonName %>
13+
ember install <%= name %>
1414
```
1515

1616
## Usage

files/__addonLocation__/.npmrc

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

files/__addonLocation__/.prettierignore

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

0 commit comments

Comments
 (0)