Skip to content

Commit

Permalink
Migrate into v2 addon (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
gossi authored May 25, 2023
1 parent 47220b7 commit 8f8770c
Show file tree
Hide file tree
Showing 82 changed files with 5,217 additions and 8,301 deletions.
15 changes: 0 additions & 15 deletions .eslintrc.js

This file was deleted.

27 changes: 17 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

env:
CI: true
PNPM_VERSION: 6.32.3
PNPM_VERSION: 8.5.1

jobs:
test-locked-deps:
Expand All @@ -36,18 +36,20 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3.5.1
with:
node-version: 12
node-version: 16
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm --filter ember-link build
- name: Lint JS
run: pnpm lint:js
run: pnpm run -r --parallel --aggregate-output lint:js
- name: Lint Types
run: pnpm lint:types
run: pnpm run -r --parallel --aggregate-output lint:types
- name: Lint Handlebars
run: pnpm lint:hbs
run: pnpm run -r --parallel --aggregate-output lint:hbs
- name: Browser Tests
run: pnpm test
run: pnpm run -r --parallel --aggregate-output test

test-old-dependencies:
name: Oldest Supported Env
Expand All @@ -61,12 +63,14 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3.5.1
with:
node-version: 12
node-version: 16
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm --filter ember-link build
- name: Browser Tests
run: pnpm test
run: pnpm run -r --parallel --aggregate-output test

test-try:
name: Ember Try
Expand All @@ -93,9 +97,12 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3.5.1
with:
node-version: 12
node-version: 16
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm --filter ember-link build
- name: Try Scenario
run: pnpm ember try:one ${{ matrix.scenario }}
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
working-directory: test-app
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Release
on:
push:
tags:
- 'v*'
- "v*"

env:
PNPM_VERSION: 6.32.3
PNPM_VERSION: 8.5.1

jobs:
release:
Expand All @@ -20,8 +20,8 @@ jobs:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3.5.1
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
node-version: 16
registry-url: "https://registry.npmjs.org"

- run: pnpm install --frozen-lockfile
- run: npm publish
Expand Down
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist/
/tmp/
dist/

# dependencies
/bower_components/
/node_modules/
node_modules/

# misc
/.env*
/.pnp*
/.pnpm-debug.log
/.sass-cache
.eslintcache
/connect.lock
/coverage/
/libpeerconnection.log
Expand All @@ -21,5 +21,5 @@

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
/yarn.lock.ember-try
36 changes: 0 additions & 36 deletions .npmignore

This file was deleted.

9 changes: 0 additions & 9 deletions addon-test-support/.eslintrc.js

This file was deleted.

8 changes: 0 additions & 8 deletions addon/.eslintrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions app/.eslintrc.js

This file was deleted.

1 change: 0 additions & 1 deletion app/helpers/link.js

This file was deleted.

1 change: 0 additions & 1 deletion app/services/link-manager.js

This file was deleted.

1 change: 0 additions & 1 deletion app/templates/components/link.js

This file was deleted.

79 changes: 0 additions & 79 deletions config/ember-try.js

This file was deleted.

5 changes: 0 additions & 5 deletions config/environment.js

This file was deleted.

18 changes: 0 additions & 18 deletions ember-cli-build.js

This file was deleted.

8 changes: 8 additions & 0 deletions ember-link/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# unconventional js
/blueprints/*/files/

# compiled output
dist/

# misc
/coverage/
5 changes: 5 additions & 0 deletions ember-link/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

const { configs } = require('@gossi/config-eslint');

module.exports = configs.ember();
25 changes: 25 additions & 0 deletions ember-link/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist/
/tmp/

# dependencies
/bower_components/
/node_modules/

# misc
/.env*
/.pnp*
/.sass-cache
/connect.lock
/coverage/
/libpeerconnection.log
/npm-debug.log*
/testem.log
/yarn-error.log

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
25 changes: 25 additions & 0 deletions ember-link/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# unconventional js
/blueprints/*/files/
/vendor/

# compiled output
/dist/
/tmp/

# dependencies
/bower_components/
/node_modules/

# misc
/coverage/
!.*
.eslintcache
.lint-todo/

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
3 changes: 3 additions & 0 deletions ember-link/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('@gossi/config-prettier');
File renamed without changes.
9 changes: 9 additions & 0 deletions ember-link/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The MIT License (MIT)

Copyright (c) 2019

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit 8f8770c

Please sign in to comment.