Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
id: pkg_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
- name: Trigger upfluence-web/deploy
if: ${{ !contains(github.ref, '-') }}
uses: benc-uk/workflow-dispatch@v1
with:
repo: upfluence/upfluence-web
Expand Down
12 changes: 11 additions & 1 deletion ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
'use strict';

const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
const { injectAssetMap } = require('@upfluence/oss-components/build/classic-asset-map.cjs');

module.exports = function (defaults) {
let app = new EmberAddon(defaults, {
fingerprint: {
generateAssetMap: true,
assetMapPath: 'assets/upfluence-asset-map.json',
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'map', 'svg', 'ico', 'woff', 'woff2', 'ttf', 'eot']
}
// Add options here
});

Expand All @@ -15,11 +21,15 @@ module.exports = function (defaults) {
*/

const { maybeEmbroider } = require('@embroider/test-setup');
return maybeEmbroider(app, {
const tree = maybeEmbroider(app, {
skipBabel: [
{
package: 'qunit'
}
]
});
return injectAssetMap(tree, {
fingerprint: app.options.fingerprint,
rootURL: app.project.config(app.env).rootURL
});
};
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "@upfluence/hypertable",
"version": "3.17.3",
"version": "4.0.0-beta.0",
"description": "Datatable under steroïds.",
"keywords": [
"ember-addon"
],
"repository": "https://github.com/upfluence/hypertable",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"registry": "https://npm.pkg.github.com",
"tag": "beta"
},
"license": "MIT",
"author": "",
Expand Down Expand Up @@ -51,7 +52,7 @@
"tether": "^1.4.7"
},
"peerDependencies": {
"@upfluence/oss-components": "^3.x"
"@upfluence/oss-components": "^4.0.0-beta.0"
},
"devDependencies": {
"@ember/jquery": "^2.0.0",
Expand All @@ -68,7 +69,7 @@
"@types/rsvp": "^4.0.4",
"@types/sinon": "^10.0.6",
"@types/tether": "^1.4.6",
"@upfluence/oss-components": "4.0.0-beta.2",
"@upfluence/oss-components": "4.0.0-beta.3",
"@upfluence/w-conf": "^0.4.0",
"broccoli-asset-rev": "^3.0.0",
"ember-cli": "~6.12.0",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
packages:
- '.'

onlyBuiltDependencies:
- '@upfluence/oss-components'
- '@upfluence/oss-components'
2 changes: 2 additions & 0 deletions tests/dummy/app/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html>
<html>
<head>
<meta name="upfluence:asset-map" content="__UPFLUENCE_ASSET_MAP__" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Dummy</title>
Expand All @@ -10,6 +11,7 @@
{{content-for "head"}}

<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css" />
<link rel="stylesheet" href="https://uweb.s3.us-east-1.amazonaws.com/fa-current/css/all.min.css" />
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/dummy.css" />

{{content-for "head-footer"}}
Expand Down
1 change: 1 addition & 0 deletions tests/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html>
<html>
<head>
<meta name="upfluence:asset-map" content="__UPFLUENCE_ASSET_MAP__" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Dummy Tests</title>
Expand Down
Loading