Skip to content

Commit 6dc1a47

Browse files
committed
Fork from Dockyard to ember-cli-deploy
1 parent e46cf7d commit 6dc1a47

File tree

4 files changed

+1791
-76
lines changed

4 files changed

+1791
-76
lines changed

.github/PULL_REQUEST_TEMPLATE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## What Changed & Why
2+
Explain what changed and why.
3+
4+
## Related issues
5+
Link to related issues in this or other repositories (if any)
6+
7+
## PR Checklist
8+
- [ ] Add tests
9+
- [ ] Add documentation
10+
- [ ] Prefix documentation-only commits with [DOC]
11+
12+
## People
13+
Mention people who would be interested in the changeset (if any)

.github/workflows/ci.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
name: Test
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [14.x, 16.x, 18.x, 20.x]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
cache: 'yarn'
21+
- run: yarn install
22+
- run: yarn test
23+
24+
test-floating:
25+
name: Floating Dependencies
26+
runs-on: ubuntu-latest
27+
strategy:
28+
matrix:
29+
node-version: [14.x, 16.x, 18.x, 20.x]
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: Use Node.js ${{ matrix.node-version }}
33+
uses: actions/setup-node@v3
34+
with:
35+
node-version: ${{ matrix.node-version }}
36+
cache: 'yarn'
37+
- name: install dependencies
38+
run: yarn install --no-lockfile
39+
- name: test
40+
run: yarn test

package.json

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
2-
"name": "ember-cli-deploy-compress",
2+
"name": "@ember-cli-deploy/ember-cli-deploy-compress",
33
"version": "0.4.0",
4-
"description": "Ember CLI Deploy plugin to compress files in gzip or brotli automatically depending on supported browsers",
4+
"description": "Ember CLI Deploy plugin to compress files in gzip or brotli automatically depending on supported browsers (forked from Dockyard)",
55
"directories": {
66
"doc": "doc",
77
"test": "tests"
88
},
99
"scripts": {
10-
"start": "ember server",
11-
"build": "ember build",
10+
"release": "release-it",
1211
"test": "mocha tests && eslint index.js tests/**/*.js"
1312
},
14-
"repository": "https://github.com/dockyard/ember-cli-deploy-compress",
13+
"repository": "https://github.com/ember-cli-deploy/ember-cli-deploy-compress",
1514
"engines": {
1615
"node": "14.* || 16.* || 18.* || >= 20.*"
1716
},
@@ -28,6 +27,8 @@
2827
"mocha": "^5.2.0",
2928
"multiline": "^1.0.2",
3029
"node-zopfli-es": "^2.0.2",
30+
"release-it": "14.11.8",
31+
"release-it-lerna-changelog": "^3.1.0",
3132
"rimraf": "^2.3.4"
3233
},
3334
"keywords": [
@@ -44,5 +45,22 @@
4445
},
4546
"ember-addon": {
4647
"configPath": "tests/dummy/config"
48+
},
49+
"publishConfig": {
50+
"registry": "https://registry.npmjs.org/"
51+
},
52+
"release-it": {
53+
"plugins": {
54+
"release-it-lerna-changelog": {
55+
"infile": "CHANGELOG.md",
56+
"launchEditor": false
57+
}
58+
},
59+
"git": {
60+
"requireCleanWorkingDir": false
61+
},
62+
"github": {
63+
"release": true
64+
}
4765
}
4866
}

0 commit comments

Comments
 (0)