Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STCON-167 transpile on publish #236

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Change history for stripes-connect

## 9.3.0 IN PROGRESS
## 10.0.0 IN PROGRESS

* Rearrange source files per JS SOP and transpile on publish. Refs STCON-167.

## [9.2.0](https://github.com/folio-org/stripes-connect/tree/v9.2.0) (2024-10-11)
[Full Changelog](https://github.com/folio-org/stripes-connect/compare/v9.1.0...v9.2.0)
Expand Down
8 changes: 0 additions & 8 deletions Jenkinsfile.deprecated

This file was deleted.

21 changes: 9 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"name": "@folio/stripes-connect",
"version": "9.3.0",
"version": "10.0.0",
"description": "Declarative REST data access for React components",
"repository": "folio-org/stripes-connect",
"repository": {
"type": "git",
"url": "git+https://github.com/folio-org/stripes-connect.git"
},
"sideEffects": [
"*.css"
],
"publishConfig": {
"registry": "https://repository.folio.org/repository/npm-folio/"
},
"main": "index.js",
"author": "Index Data",
"main": "dist/index.js",
"license": "Apache-2.0",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"test": "nyc --reporter lcov --report-dir artifacts/coverage-jest mocha --require babel-test-hook --exit",
"test-watch": "mocha --require babel-test-hook -w --watch-extensions json",
"lint": "eslint ."
"lint": "eslint .",
"prepare": "stripes transpile"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/eslint-parser": "^7.15.0",
"@babel/register": "^7.7.7",
"@folio/eslint-config-stripes": "^7.0.0",
"@folio/stripes-cli": "^3.0.0",
"@folio/stripes-cli": "github:folio-org/stripes-cli#STRIPES-957",
"abort-controller": "^3.0.0",
"chai": "^4.0.2",
"core-js": "^3.6.1",
Expand Down Expand Up @@ -56,8 +56,5 @@
"react-redux": "^8.0.5",
"redux-observable": "^1.2.0",
"rxjs": "^6.6.3"
},
"resolutions": {
"cheerio": "1.0.0-rc.10"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/OkapiResource.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from 'chai';
import { describe, it } from 'mocha';

import OkapiResource from '../OkapiResource';
import OkapiResource from '../src/OkapiResource';

describe('OkapiResource', () => {
describe('optionsFromState', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/RESTResource.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { should, expect } from 'chai';
import { describe, it } from 'mocha';

import { substitute, buildOption } from '../RESTResource/RESTResource';
import { substitute, buildOption } from '../src/RESTResource/RESTResource';

should();

Expand Down
4 changes: 2 additions & 2 deletions test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import thunk from 'redux-thunk';
import fetchMock from 'fetch-mock';
import { create, act } from 'react-test-renderer';

import ConnectContext from '../ConnectContext';
import ConnectContext from '../src/ConnectContext';

import { connect } from '../connect';
import { connect } from '../src/connect';

global.window.AbortController = AbortController;

Expand Down
2 changes: 1 addition & 1 deletion test/reducer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { should } from 'chai';
import { describe, it } from 'mocha';

import reducer from '../RESTResource/reducer';
import reducer from '../src/RESTResource/reducer';

should();

Expand Down
20 changes: 0 additions & 20 deletions webpack.transpile.config.js

This file was deleted.

Loading