ember-promise-modals 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierignore +27 -0
- package/.release-it.js +20 -0
- package/CHANGELOG.md +76 -0
- package/MIGRATION.md +2 -0
- package/README.md +106 -21
- package/addon/components/modal.js +29 -15
- package/addon/modal.js +20 -1
- package/addon/services/modals.js +31 -1
- package/addon/templates/components/modal.hbs +4 -1
- package/index.js +14 -12
- package/package.json +74 -43
- package/pnpm-lock.yaml +14188 -0
- package/renovate.json +29 -0
- package/.github/workflows/ci.yml +0 -67
- package/.github/workflows/deploy.yml +0 -25
- package/.github/workflows/release.yml +0 -22
package/renovate.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": [
|
|
3
|
+
"config:js-lib",
|
|
4
|
+
":automergeLinters",
|
|
5
|
+
":automergeTesters",
|
|
6
|
+
":dependencyDashboard",
|
|
7
|
+
":maintainLockFilesWeekly",
|
|
8
|
+
":semanticCommitsDisabled",
|
|
9
|
+
"github>Turbo87/renovate-config:automergeCaretConstraint"
|
|
10
|
+
],
|
|
11
|
+
"regexManagers": [
|
|
12
|
+
{
|
|
13
|
+
"fileMatch": ["^.github/workflows/[^\\.]+\\.ya?ml$"],
|
|
14
|
+
"matchStrings": ["PNPM_VERSION:\\s*(?<currentValue>.*?)\n"],
|
|
15
|
+
"depNameTemplate": "pnpm",
|
|
16
|
+
"datasourceTemplate": "npm"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"packageRules": [
|
|
20
|
+
{
|
|
21
|
+
"packageNames": [
|
|
22
|
+
"ember-cli",
|
|
23
|
+
"ember-data",
|
|
24
|
+
"ember-source"
|
|
25
|
+
],
|
|
26
|
+
"separateMinorPatch": true
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
package/.github/workflows/ci.yml
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
- 'v*'
|
|
8
|
-
pull_request:
|
|
9
|
-
schedule:
|
|
10
|
-
- cron: '0 3 * * *' # daily, at 3am
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
test:
|
|
14
|
-
name: Tests
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
- uses: actions/checkout@v2
|
|
19
|
-
- uses: actions/setup-node@v1
|
|
20
|
-
with:
|
|
21
|
-
node-version: 10.x
|
|
22
|
-
|
|
23
|
-
- run: yarn install --frozen-lockfile
|
|
24
|
-
- run: yarn lint:hbs
|
|
25
|
-
- run: yarn lint:js
|
|
26
|
-
- run: yarn test
|
|
27
|
-
|
|
28
|
-
floating-dependencies:
|
|
29
|
-
name: "Floating Dependencies"
|
|
30
|
-
runs-on: ubuntu-latest
|
|
31
|
-
|
|
32
|
-
steps:
|
|
33
|
-
- uses: actions/checkout@v2
|
|
34
|
-
- uses: actions/setup-node@v1
|
|
35
|
-
with:
|
|
36
|
-
node-version: 10.x
|
|
37
|
-
|
|
38
|
-
- run: yarn install --no-lockfile
|
|
39
|
-
- run: yarn test
|
|
40
|
-
|
|
41
|
-
try-scenarios:
|
|
42
|
-
name: "Try: ${{ matrix.ember-try-scenario }}"
|
|
43
|
-
|
|
44
|
-
runs-on: ubuntu-latest
|
|
45
|
-
|
|
46
|
-
needs: test
|
|
47
|
-
|
|
48
|
-
strategy:
|
|
49
|
-
matrix:
|
|
50
|
-
ember-try-scenario:
|
|
51
|
-
- ember-lts-3.4
|
|
52
|
-
- ember-lts-3.8
|
|
53
|
-
- ember-lts-3.12
|
|
54
|
-
- ember-lts-3.16
|
|
55
|
-
- ember-release
|
|
56
|
-
- ember-beta
|
|
57
|
-
- ember-canary
|
|
58
|
-
- ember-default-with-jquery
|
|
59
|
-
|
|
60
|
-
steps:
|
|
61
|
-
- uses: actions/checkout@v2
|
|
62
|
-
- uses: actions/setup-node@v1
|
|
63
|
-
with:
|
|
64
|
-
node-version: 12.x
|
|
65
|
-
|
|
66
|
-
- run: yarn install --frozen-lockfile
|
|
67
|
-
- run: yarn ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
name: Deploy
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
- main
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
build-and-deploy:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- name: Checkout 🛎️
|
|
14
|
-
uses: actions/checkout@v2.3.1
|
|
15
|
-
|
|
16
|
-
- name: Install and Build 🔧
|
|
17
|
-
run: |
|
|
18
|
-
yarn
|
|
19
|
-
yarn build
|
|
20
|
-
|
|
21
|
-
- name: Deploy 🚀
|
|
22
|
-
uses: JamesIves/github-pages-deploy-action@4.1.4
|
|
23
|
-
with:
|
|
24
|
-
branch: gh-pages
|
|
25
|
-
folder: dist
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- 'v*'
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
release:
|
|
10
|
-
name: release
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v2
|
|
15
|
-
- uses: actions/setup-node@v1
|
|
16
|
-
with:
|
|
17
|
-
node-version: 10
|
|
18
|
-
registry-url: 'https://registry.npmjs.org'
|
|
19
|
-
|
|
20
|
-
- run: npm publish
|
|
21
|
-
env:
|
|
22
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|