Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding prettier, speeding up pre-commit, and making clean script cross platform (#391) * Speeding up pre-commit, and making clean script cross platform * Adding prettier * Upgrading nodejs version in Travis (#394) * (5.0): Remove deprecated lifecycles (#390) * (5.0) Improving perf with babel/rollup changes (#392) * Improving perf with babel/rollup changes * Upgrading travis' node version * Removing babel-loader * (5.0): Reducing bundle size by removing class syntax (#393) * Avoiding classes to save bytes * Upgrading node version in travis * (5.0): Various refactors that improve performance (#396) * Various refactors that improve performance * Self review * Self review * (5.0): Refactoring navigateToUrl to reduce byte size (#395) * Refactoring navigateToUrl to reduce byte size * Anthony's feedback * should be functionally the same as it was before. (#403) but now with less duplication! * Switching to error codes for production single-spa (#400) * Switching to error codes for production single-spa * Self review * Self review * Self review * Self review * Self review * Self review * Anthony's feedback * Anthony's feedback * (5.0): Breaking - remove err.name and err.appName from thrown errors. (#404) * Switching to error codes for production single-spa * Self review * Self review * Self review * Self review * Self review * Self review * Anthony's feedback * Switching from name property to appOrParcelName * Self review * Adding support for warningMillis timeout config. Resolves #346. (#389) * Adding support for warningMillis timeout config. Resolves #346. * Self review * Adding more tests, and self review * Excluding failing tests temporarily * Linter errors * Self review * Tests * Self review * Self review * Fixing tests * Uncommenting fit * Updating link to error codes (#406) * Switching from object rest spread to manual assign. (#401) * Switching from object rest spread to manual assign. * More assigns * Self review * Prototype pollution * Self review * Self review * Small updates to parcel-related errors (#407) * Small updates to parcel-related errors * Self review * v5.0.0-beta.0 * Adding banner comment to output bundles (#409) * Adding banner comment to output bundles * Self review * Improving description and keywords (#410) * v5.0.0-beta.1 * Small improvements to error messages (#423) * Migrating references of CanopyTax org to single-spa Co-authored-by: Anthony Frehner <frehner@users.noreply.github.com>
- Loading branch information
1 parent
85f5042
commit 19a8ecd
Showing
102 changed files
with
3,514 additions
and
2,010 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,34 @@ | ||
{ | ||
"presets": [ | ||
["@babel/preset-env", {"modules": false}] | ||
], | ||
"plugins": [ | ||
"@babel/plugin-syntax-dynamic-import", | ||
["@babel/preset-env", { | ||
"modules": false | ||
}] | ||
], | ||
"env": { | ||
"test": { | ||
"presets": [ | ||
"@babel/preset-env", | ||
["@babel/preset-env", { | ||
"targets": { | ||
"browsers": "node >=10" | ||
}, | ||
}], | ||
], | ||
"plugins": [ | ||
"dynamic-import-node" | ||
] | ||
}, | ||
"esm": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"modules": false, | ||
"targets": { | ||
"esmodules": true | ||
} | ||
} | ||
] | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": "canopy" | ||
"extends": [ | ||
"canopy", | ||
"important-stuff" | ||
], | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"__DEV__": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
lib | ||
yarn.lock | ||
LICENSE | ||
.gitignore | ||
.npmignore | ||
.prettierignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: node_js | ||
node_js: | ||
- "8.11.1" | ||
- "node" | ||
script: | ||
- yarn build | ||
- yarn lint | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Code of Conduct | ||
|
||
Single-spa has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://single-spa.js.org/docs/code-of-conduct.html) so that you can understand what actions will and will not be tolerated. | ||
Single-spa has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://single-spa.js.org/docs/code-of-conduct.html) so that you can understand what actions will and will not be tolerated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Contributing to single-spa | ||
|
||
Want to contribute to single-spa? There are a few things you need to know. | ||
Want to contribute to single-spa? There are a few things you need to know. | ||
|
||
We wrote a **[contribution guide](https://single-spa.js.org/docs/contributing-overview.html)** to help you get started. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# single-spa documentation | ||
|
||
This page has moved. Find the single-spa documentation on the [single-spa website](https://single-spa.js.org/docs/getting-started-overview.html) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Registered applications | ||
|
||
This page has moved. Find ["Building Applications"](https://single-spa.js.org/docs/building-applications.html) on the single-spa website. | ||
This page has moved. Find ["Building Applications"](https://single-spa.js.org/docs/building-applications.html) on the single-spa website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Migrating existing SPAs | ||
|
||
This page has moved. Find ["Migrating existing SPAs"](https://single-spa.js.org/docs/migrating-existing-spas.html) on the single-spa website. | ||
This page has moved. Find ["Migrating existing SPAs"](https://single-spa.js.org/docs/migrating-existing-spas.html) on the single-spa website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Parcel API | ||
|
||
This page has moved. Find the [Single-spa Parcels API](https://single-spa.js.org/docs/parcels-api.html) documentation on the single-spa website. | ||
This page has moved. Find the [Single-spa Parcels API](https://single-spa.js.org/docs/parcels-api.html) documentation on the single-spa website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Parcels | ||
|
||
This page has moved. Find the [Single-spa Parcels](https://single-spa.js.org/docs/parcels-overview.html) documentation on the single-spa website. | ||
This page has moved. Find the [Single-spa Parcels](https://single-spa.js.org/docs/parcels-overview.html) documentation on the single-spa website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# Root application | ||
|
||
Root application has been renamed to single-spa-config, to make it clear that the root application/single-spa-config is very different from single-spa-applications | ||
|
||
## Single-spa-config | ||
|
||
[single-spa-config](https://single-spa.js.org/docs/configuration.html) | ||
|
||
## Single-spa-applications | ||
[applications](https://single-spa.js.org/docs/building-applications.html) | ||
|
||
[applications](https://single-spa.js.org/docs/building-applications.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Separating out applications | ||
|
||
This page has moved. Find the [Separating Applications](https://single-spa.js.org/docs/separating-applications.html) documentation on the single-spa website. | ||
This page has moved. Find the [Separating Applications](https://single-spa.js.org/docs/separating-applications.html) documentation on the single-spa website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# single-spa API | ||
This page has moved. Find the [single-spa API](https://single-spa.js.org/docs/api.html) documentation on the single-spa website. | ||
|
||
This page has moved. Find the [single-spa API](https://single-spa.js.org/docs/api.html) documentation on the single-spa website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# Single spa config | ||
This page has moved. Find the [single-spa config](https://single-spa.js.org/docs/configuration.html) documentation on the single-spa website. | ||
|
||
This page has moved. Find the [single-spa config](https://single-spa.js.org/docs/configuration.html) documentation on the single-spa website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Single-spa ecosystem | ||
|
||
This page has moved. Find the [single-spa ecosystem](https://single-spa.js.org/docs/ecosystem.html) documentation on the single-spa website. | ||
This page has moved. Find the [single-spa ecosystem](https://single-spa.js.org/docs/ecosystem.html) documentation on the single-spa website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# Examples | ||
|
||
[See list of examples](https://single-spa.js.org/docs/examples). | ||
There are a variety of single-spa example repositories, each for different use cases: | ||
|
||
- [single-spa-examples](https://github.com/CanopyTax/single-spa-examples) is where you can find a large example showcasing what single-spa can do. You can also visit the [live demo](http://single-spa.surge.sh) for single-spa-examples. | ||
- [simple-single-spa-webpack-example](https://github.com/joeldenning/simple-single-spa-webpack-example) is a small, simple example that can be used as a webpack starter. | ||
- [single-spa-angular-cli-examples](https://github.com/PlaceMe-SAS/single-spa-angular-cli-examples) is an example of multiple angular apps coexisting in the same single page application. Each uses angular-cli to build a bundle lazily loaded by single-spa. | ||
- [single-spa-es5-angularjs](https://github.com/joeldenning/single-spa-es5-angularjs) is a very tiny es5 example with angularjs. | ||
- # [single-spa-portal-example](https://gitlab.com/TheMcMurder/single-spa-portal-example/) is a complete example with SystemJS, common dependencies, and inter-app communication. | ||
[See list of examples](https://single-spa.js.org/docs/examples). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.