Skip to content

Commit ccd5be9

Browse files
committed
publish a prebuilt dist
Because making github actions work with Node 6 is not practical.
1 parent 96faeee commit ccd5be9

33 files changed

Lines changed: 316433 additions & 42 deletions

.github/workflows/publish-to-npm.yml

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@ name: Publish to npm
33
on:
44
push:
55
tags:
6-
- 'v*'
6+
- "v*"
77

88
jobs:
9-
tests:
10-
uses: ./.github/workflows/ci-jobs.yml
119
release:
1210
name: Release
1311
runs-on: ubuntu-latest
14-
needs: [ tests ]
1512
permissions:
1613
contents: read
1714
id-token: write
@@ -22,42 +19,5 @@ jobs:
2219
node-version: 20
2320
- name: Update npm
2421
run: npm install -g npm@latest # npm >= 11.5.1 is needed
25-
- name: Build for Publish (Alpha)
26-
if: ${{ contains(github.ref, 'alpha') }}
27-
env:
28-
BUILD_TYPE: alpha
29-
OVERRIDE_FEATURES: ''
30-
run: node bin/build-for-publishing.js
31-
- name: Build for Publish
32-
if: ${{ !contains(github.ref, 'alpha') }}
33-
run: node bin/build-for-publishing.js
3422
- name: publish to npm
35-
run: npm publish
36-
notify-failure:
37-
name: Notify Discord of Release Failure
38-
runs-on: ubuntu-latest
39-
needs: [release]
40-
if: failure()
41-
steps:
42-
- uses: sarisia/actions-status-discord@v1
43-
with:
44-
webhook: ${{ secrets.FRAMEWORK_WEBHOOK }}
45-
status: 'Failure'
46-
title: 'Failed to release ember-source ${{ github.ref_name }}'
47-
color: 0xcc0000
48-
url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
49-
username: GitHub Actions
50-
notify-success:
51-
name: Notify Discord of Release Success
52-
runs-on: ubuntu-latest
53-
needs: [release]
54-
if: success()
55-
steps:
56-
- uses: sarisia/actions-status-discord@v1
57-
with:
58-
webhook: ${{ secrets.FRAMEWORK_WEBHOOK }}
59-
status: 'Success'
60-
title: 'Released ember-source ${{ github.ref_name }}'
61-
color: 0x2ecc71
62-
url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
63-
username: GitHub Actions
23+
run: npm publish --tag=old

dist/bower.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "ember",
3+
"version": "2.18.3+96faeee4",
4+
"license": "MIT",
5+
"homepage": "https://github.com/emberjs/ember.js",
6+
"main": [
7+
"./ember.debug.js"
8+
],
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/emberjs/ember.js.git"
12+
},
13+
"dependencies": {
14+
"jquery": ">= 1.7.0 < 4.0.0"
15+
}
16+
}

dist/component.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "ember",
3+
"repo": "components/ember",
4+
"version": "2.18.3+96faeee4",
5+
"license": "MIT",
6+
"homepage": "https://github.com/emberjs/ember.js",
7+
"main": "ember.debug.js",
8+
"scripts": [
9+
"ember.debug.js"
10+
],
11+
"dependencies": {
12+
"components/jquery": ">= 1.7.0 < 4.0.0"
13+
}
14+
}

dist/composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "components/ember",
3+
"description": "A framework for creating ambitious web applications.",
4+
"type": "component",
5+
"license": "MIT",
6+
"homepage": "https://github.com/emberjs/ember.js",
7+
"require": {
8+
"components/jquery": ">=1.7.0, < 4.0.0"
9+
},
10+
"extra": {
11+
"component": {
12+
"scripts": [
13+
"ember.debug.js"
14+
],
15+
"files": [
16+
"ember.debug.js",
17+
"ember.prod.js",
18+
"ember.min.js"
19+
],
20+
"shim": {
21+
"exports": "Ember",
22+
"deps": [
23+
"jquery"
24+
]
25+
}
26+
}
27+
},
28+
"version": "2.18.3+96faeee4"
29+
}

0 commit comments

Comments
 (0)