Skip to content

Commit 7d74858

Browse files
authored
Merge pull request #88 from NullVoxPopuli/v2-addon
v2 addon conversion
2 parents 535a8ae + 2369f68 commit 7d74858

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+4154
-619
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,50 +9,45 @@ on:
99
tags:
1010
- v*
1111
schedule:
12-
- cron: '0 0 * * *'
12+
- cron: "0 0 * * *"
1313

1414
concurrency:
1515
group: ci-${{ github.head_ref || github.ref }}
1616
cancel-in-progress: true
1717

1818
jobs:
1919
test:
20-
name: 'Tests'
20+
name: "Tests"
2121
runs-on: ubuntu-latest
2222

2323
steps:
2424
- uses: actions/checkout@v2
25-
- name: Install Node
26-
uses: actions/setup-node@v2
27-
with:
28-
node-version: 12.x
29-
cache: yarn
25+
- name: Set up Volta
26+
uses: volta-cli/action@v1
3027
- name: Install Dependencies
3128
run: yarn install --frozen-lockfile
3229
- name: Lint
3330
run: yarn lint
3431
- name: Run Tests
35-
run: yarn test:ember
32+
run: yarn workspace test-app run test:ember
3633

3734
floating:
38-
name: 'Floating Dependencies'
35+
name: "Floating Dependencies"
3936
runs-on: ubuntu-latest
4037

4138
steps:
4239
- uses: actions/checkout@v2
43-
- uses: actions/setup-node@v2
44-
with:
45-
node-version: 12.x
46-
cache: yarn
40+
- name: Set up Volta
41+
uses: volta-cli/action@v1
4742
- name: Install Dependencies
4843
run: yarn install --no-lockfile
4944
- name: Run Tests
50-
run: yarn test:ember
45+
run: yarn workspace test-app run test:ember
5146

5247
try-scenarios:
5348
name: ${{ matrix.try-scenario }}
5449
runs-on: ubuntu-latest
55-
needs: 'test'
50+
needs: "test"
5651

5752
strategy:
5853
fail-fast: false
@@ -64,21 +59,18 @@ jobs:
6459
- ember-beta
6560
- ember-canary
6661
- ember-classic
67-
- ember-default-with-jquery
6862
- embroider-safe
6963
- embroider-optimized
7064

7165
steps:
7266
- uses: actions/checkout@v2
73-
- name: Install Node
74-
uses: actions/setup-node@v2
75-
with:
76-
node-version: 12.x
77-
cache: yarn
67+
- name: Set up Volta
68+
uses: volta-cli/action@v1
7869
- name: Install Dependencies
7970
run: yarn install --frozen-lockfile
8071
- name: Run Tests
8172
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
73+
working-directory: test-app
8274

8375
publish:
8476
name: Publish
@@ -98,3 +90,4 @@ jobs:
9890
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
9991
- name: Publish to npm
10092
run: npm publish
93+
working-directory: ember-element-helper

.gitignore

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
# See https://help.github.com/ignore-files/ for more about ignoring files.
22

33
# compiled output
4-
/dist/
5-
/tmp/
4+
dist/
5+
tmp/
66

77
# dependencies
8-
/node_modules/
8+
node_modules/
99

1010
# misc
11-
/.env*
12-
/.pnp*
13-
/.sass-cache
14-
/.eslintcache
15-
/connect.lock
16-
/coverage/
17-
/libpeerconnection.log
18-
/npm-debug.log*
19-
/testem.log
20-
/yarn-error.log
11+
.env*
12+
.pnp*
13+
.sass-cache
14+
.eslintcache
15+
connect.lock
16+
coverage/
17+
libpeerconnection.log
18+
npm-debug.log*
19+
testem.log
20+
yarn-error.log
2121

2222
# ember-try
23-
/.node_modules.ember-try/
24-
/npm-shrinkwrap.json.ember-try
25-
/package.json.ember-try
26-
/package-lock.json.ember-try
27-
/yarn.lock.ember-try
23+
.node_modules.ember-try/
24+
npm-shrinkwrap.json.ember-try
25+
package.json.ember-try
26+
package-lock.json.ember-try
27+
yarn.lock.ember-try

.npmignore

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

app/components/-dynamic-element-alt.js

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

app/components/-dynamic-element.js

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

app/helpers/element.js

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

config/environment.js

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

ember-element-helper/.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
node_modules/

ember-element-helper/.eslintrc.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
const { configs } = require('@nullvoxpopuli/eslint-configs');
4+
5+
module.exports = configs.ember();

ember-element-helper/.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dist/
2+
node_modules/
3+
.eslintcache
4+
5+
# README is copied from monorepo root each build
6+
README.md

0 commit comments

Comments
 (0)