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
Export non-bundled module #232
Commits on Jul 31, 2019
-
-
Add compiled lib files to the repo,
to make the flow with `npm link` and `npm install` from github work seamlessly
Commits on Aug 1, 2019
-
include "deep-fast-equal" directly in core
because "deep-fast-equal" exposes a CommonJS default export, which cannot be resolved when loading <script type="module"> in a browser
-
change all npm run-scripts to use "tsc" run-script
because the previous setup was inconsistently using "tsc" directly or via the run-script
-
change the default entry point to be an ES module
explain the difference in README.md and add test
-
-
update Jasmine to use ES module
- replaced "jsdom" with "event-target-shim" - replaced "underscore" with "jsonpatch._areEquals" - replaced "jsonfile" with importing a ES module - use custom "jasmine-run.js" script, copied from https://github.com/Palindrom/JSON-Patch-Queue/blob/612caf0646bc4a5b3d5630d9ec37f8f2f83d2464/jasmine-run.js
Commits on Aug 2, 2019
Commits on Aug 6, 2019
Commits on Aug 7, 2019
Commits on Aug 8, 2019
-
-
-
Revert "Remove incorrect __esModule insertion,"
As `__esModule` flag is not a problem, lack of default export is a problem for many users that assumed it exists due to old typescript/webpack conventions This reverts commit 04671e5.
-
-
remove interface that is redundant in "core"
because it is also exported in "duplex"
-
-
-
-
rename "lib" directory to "commonjs"
because there are many directories and the function of "lib" was not clear
Commits on Aug 9, 2019
-
Merge branch 'master' into use-ES6-modules,
run `npm run build && npm run test` after merge Conflicts: .gitignore dist/fast-json-patch.js - ignored, to be rebuilt dist/fast-json-patch.min.js - ignored, to be rebuilt package.json src/core.ts - added `_areEquals` to default export test/jasmine.json test/spec/commonjs/requireSpec.js test/spec/webpack/importSpec.build.js - ignored, to be rebuilt test/spec/webpack/importSpec.src.js webpack.config.js - code formatted
-
Add extensions in duplex.ts for to imports for default re-export,
to fix the merge
-
Commits on Aug 10, 2019
-
Remove redundant default exports from core.ts and duplex.ts,
as it is now covered by index.js and index.mjs
Commits on Aug 22, 2019
-
Change
import { *...
toimport *...
in README.md,as suggested at #232 (review)