Skip to content

Commit

Permalink
Support sequences tiles (#59)
Browse files Browse the repository at this point in the history
* Support sequences tiles

* Update packages

* Bump node-version in github actions

* Remove phantomjs dependency

* Fully removed phantomjs dependency

* Remove UnminifiedWebpackPlugin

* Add babel-polyfill

* More updates to get tests running

* Yet another test fix attempt

* Use local tiles

* Remove FetchMockHelper

* Remove log statement

* Restore index.html

* Remove extraneous code
  • Loading branch information
pkerpedjiev authored Jan 10, 2025
1 parent 72dfb00 commit 7aa0f4c
Show file tree
Hide file tree
Showing 14 changed files with 8,286 additions and 12,885 deletions.
13 changes: 8 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"presets": [
["env", {
"modules": false
}],
"react"
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
],
"@babel/preset-react"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Node.js Package
on:
push:
tags:
- "v*"
- 'v*'

jobs:
build:
Expand All @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: sudo apt-get install xvfb
- run: npm ci
- run: npm run build --if-present
Expand All @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run prerelease
Expand Down
7 changes: 3 additions & 4 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var webpackConfig = require('./webpack.config.js');
require('babel-polyfill');

module.exports = function(config) {
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', 'server-side'],
Expand All @@ -10,7 +10,7 @@ module.exports = function(config) {
'node_modules/babel-polyfill/dist/polyfill.js',
'node_modules/react/umd/react.development.js',
'node_modules/react-dom/umd/react-dom.development.js',
'node_modules/pixi.js/dist/pixi.js',
'node_modules/pixi.js/dist/browser/pixi.js',
'node_modules/react-bootstrap/dist/react-bootstrap.js',
'node_modules/bootstrap/dist/css/bootstrap.min.css',
'test/SVGExportTests.js',
Expand All @@ -35,9 +35,8 @@ module.exports = function(config) {
'karma-jasmine',
'karma-sourcemap-loader',
'karma-chrome-launcher',
'karma-phantomjs-launcher',
'karma-server-side',
'karma-verbose-reporter'
'karma-verbose-reporter',
],

babelPreprocessor: {
Expand Down
Loading

0 comments on commit 7aa0f4c

Please sign in to comment.