Skip to content

Releases: single-spa/create-single-spa

webpack-config-single-spa-react-ts@4.0.3

Patch Changes

Updated dependencies []:
webpack-config-single-spa-react@4.0.3
webpack-config-single-spa-ts@4.1.2

ts-config-single-spa@3.0.0

15 Nov 16:44
Compare
Choose a tag to compare

Major Changes

  • #316 6ca8cbc Thanks @joeldenning! - For typescript projects, automatically emit types during build.

    Migrating

    The create-single-spa api for generating new typescript projects did not change. However, to upgrade existing projects, do the following:

    1. Update your package.json. Make sure to replace <%= packageManager %> with either npm, yarn, or pnpm
    {
      "scripts": {
    -     "build": "webpack --mode=production",
    +     "build": "concurrently <%= packageManager %>:build:*",
    +     "build:webpack": "webpack --mode=production",
    +     "build:types": "tsc"
      }
    }
    1. Update your tsconfig.json. Make sure to replace <%= mainFile %> with the proper value. This is in the format org-project.ts. React projects should have the .tsx file extension
    {
      "compilerOptions": {
    +     "declarationDir": "dist"
      },
    +   "files": ["src/<%= mainFile %>"]
    -   "include": ["src/**/*", "node_modules/@types"],
    +   "include": ["src/**/*"]
    }
    1. Add the "types" property to your package.json:
    {
    +  "types": "dist/<%= mainFile %>.d.ts"
    }
    1. Upgrade ts-config-single-spa to the latest 3.x release, which has new configuration for emitting types.
    npm install --save-dev ts-config-single-spa@^3.0.0
    
    pnpm install --save-dev ts-config-single-spa@^3.0.0
    
    yarn add --dev ts-config-single-spa@^3.0.0
    1. Now run npm run build or npm run build:types and verify that a typescript declaration file is outputted to your dist directory. Verify that the output file name is the same as the "types" property in your package.json.

single-spa-welcome@2.3.0

15 Nov 16:43
Compare
Choose a tag to compare

Minor Changes
#327 5c31d36 Thanks @joeldenning! - Update all dependencies

single-spa-web-server-utils@2.2.0

15 Nov 16:43
Compare
Choose a tag to compare

Minor Changes
#327 5c31d36 Thanks @joeldenning! - Update all dependencies

generator-single-spa@4.1.2

15 Nov 16:42
Compare
Choose a tag to compare

Patch Changes
#336 fb19896 Thanks @joeldenning! - Use single-spa-layout@1 until single-spa@6 is ready

create-single-spa@4.1.2

15 Nov 16:41
Compare
Choose a tag to compare

See CHANGELOG.md

27 Jun 06:10
Compare
Choose a tag to compare

v2.3.0

09 Apr 18:23
Compare
Choose a tag to compare

generator-single-spa

2.3.0

Minor Changes

Patch Changes

create-single-spa

2.2.1

Patch Changes

v2.2.0

05 Apr 16:45
Compare
Choose a tag to compare

create-single-spa

2.2.0

Minor Changes

  • 905c0cc: - The create-single-spa project now uses pnpm workspaces and changesets instead of lerna.
    • Remove deprecated babel-eslint package in favor of new @babel/eslint-parser package.
    • Fix typescript problems in pnpm packages.
    • Add support for creation of pnpm packages. Resolves #211.
    • Add name field for utility packages.
    • No longer depend on beta versions of create-single-spa packages
    • Rename template package.jsons to avoid detection by monorepo tooling
    • Fix usage of @testing-library/jest-dom in yarn pnp and pnpm
    • Switch to Github actions instead of Travis - travis stopped reporting test results
    • prettierignore pnpm-lock.yaml files
    • Improve support for format and check-format commands on Windows

Patch Changes

  • Updated dependencies [905c0cc]
  • Updated dependencies [6f2c13c]
  • Updated dependencies [bf039d0]
    • generator-single-spa@2.2.0

single-spa-welcome

2.2.0

Minor Changes

  • 905c0cc: - The create-single-spa project now uses pnpm workspaces and changesets instead of lerna.
    • Remove deprecated babel-eslint package in favor of new @babel/eslint-parser package.
    • Fix typescript problems in pnpm packages.
    • Add support for creation of pnpm packages. Resolves #211.
    • Add name field for utility packages.
    • No longer depend on beta versions of create-single-spa packages
    • Rename template package.jsons to avoid detection by monorepo tooling
    • Fix usage of @testing-library/jest-dom in yarn pnp and pnpm
    • Switch to Github actions instead of Travis - travis stopped reporting test results
    • prettierignore pnpm-lock.yaml files
    • Improve support for format and check-format commands on Windows
  • 6f2c13c: Move layout definition to microfrontends-layout.html file.

generator-single-spa

2.2.0

Minor Changes

  • 905c0cc: - The create-single-spa project now uses pnpm workspaces and changesets instead of lerna.
    • Remove deprecated babel-eslint package in favor of new @babel/eslint-parser package.
    • Fix typescript problems in pnpm packages.
    • Add support for creation of pnpm packages. Resolves #211.
    • Add name field for utility packages.
    • No longer depend on beta versions of create-single-spa packages
    • Rename template package.jsons to avoid detection by monorepo tooling
    • Fix usage of @testing-library/jest-dom in yarn pnp and pnpm
    • Switch to Github actions instead of Travis - travis stopped reporting test results
    • prettierignore pnpm-lock.yaml files
    • Improve support for format and check-format commands on Windows
  • 6f2c13c: Move layout definition to microfrontends-layout.html file.

Patch Changes

  • bf039d0: Use ts-important-stuff in eslintrc for typescript root-configs

webpack-config-single-spa

2.2.0

Minor Changes

  • 905c0cc: - The create-single-spa project now uses pnpm workspaces and changesets instead of lerna.
    • Remove deprecated babel-eslint package in favor of new @babel/eslint-parser package.
    • Fix typescript problems in pnpm packages.
    • Add support for creation of pnpm packages. Resolves #211.
    • Add name field for utility packages.
    • No longer depend on beta versions of create-single-spa packages
    • Rename template package.jsons to avoid detection by monorepo tooling
    • Fix usage of @testing-library/jest-dom in yarn pnp and pnpm
    • Switch to Github actions instead of Travis - travis stopped reporting test results
    • prettierignore pnpm-lock.yaml files
    • Improve support for format and check-format commands on Windows
  • 6f2c13c: Move layout definition to microfrontends-layout.html file.

single-spa-web-server-utils

2.1.0

Minor Changes

  • 905c0cc: - The create-single-spa project now uses pnpm workspaces and changesets instead of lerna.
    • Remove deprecated babel-eslint package in favor of new @babel/eslint-parser package.
    • Fix typescript problems in pnpm packages.
    • Add support for creation of pnpm packages. Resolves #211.
    • Add name field for utility packages.
    • No longer depend on beta versions of create-single-spa packages
    • Rename template package.jsons to avoid detection by monorepo tooling
    • Fix usage of @testing-library/jest-dom in yarn pnp and pnpm
    • Switch to Github actions instead of Travis - travis stopped reporting test results
    • prettierignore pnpm-lock.yaml files
    • Improve support for format and check-format commands on Windows

webpack-config-single-spa-ts

2.2.0

Minor Changes

  • 905c0cc: - The create-single-spa project now uses pnpm workspaces and changesets instead of lerna.
    • Remove deprecated babel-eslint package in favor of new @babel/eslint-parser package.
    • Fix typescript problems in pnpm packages.
    • Add support for creation of pnpm packages. Resolves #211.
    • Add name field for utility packages.
    • No longer depend on beta versions of create-single-spa packages
    • Rename template package.jsons to avoid detection by monorepo tooling
    • Fix usage of @testing-library/jest-dom in yarn pnp and pnpm
    • Switch to Github actions instead of Travis - travis stopped reporting test results
    • prettierignore pnpm-lock.yaml files
    • Improve support for format and check-format commands on Windows

Patch Changes

  • Updated dependencies [905c0cc]
  • Updated dependencies [6f2c13c]
    • webpack-config-single-spa@2.2.0

webpack-config-single-spa-ts

2.2.0

Minor Changes

  • 905c0cc: - The create-single-spa project now uses pnpm workspaces and changesets instead of lerna.
    • Remove deprecated babel-eslint package in favor of new @babel/eslint-parser package.
    • Fix typescript problems in pnpm packages.
    • Add support for creation of pnpm packages. Resolves #211.
    • Add name field for utility packages.
    • No longer depend on beta versions of create-single-spa packages
    • Rename template package.jsons to avoid detection by monorepo tooling
    • Fix usage of @testing-library/jest-dom in yarn pnp and pnpm
    • Switch to Github actions instead of Travis - travis stopped reporting test results
    • prettierignore pnpm-lock.yaml files
    • Improve support for format and check-format commands on Windows

Patch Changes

  • Updated dependencies [905c0cc]
  • Updated dependencies [6f2c13c]
    • webpack-config-single-spa@2.2.0

webpack-config-single-spa-react-ts

2.2.0

Minor Changes

  • 905c0cc: - The create-single-spa project now uses pnpm workspaces and changesets instead of lerna.
    • Remove deprecated babel-eslint package in favor of new @babel/eslint-parser package.
    • Fix typescript problems in pnpm packages.
    • Add support for creation of pnpm packages. Resolves #211.
    • Add name field for utility packages.
    • No longer depend on beta versions of create-single-spa packages
    • Rename template package.jsons to avoid detection by monorepo tooling
    • Fix usage of @testing-library/jest-dom in yarn pnp and pnpm
    • Switch to Github actions instead of Travis - travis stopped reporting test results
    • prettierignore pnpm-lock.yaml files
    • Improve support for format and check-format commands on Windows

Patch Changes

  • Updated dependencies [905c0cc]
    • webpack-config-single-spa-react@2.2.0
    • webpack-config-single-spa-ts@2.2.0

v2.1.1

15 Feb 21:23
Compare
Choose a tag to compare

Features

  • Increase typescript build times by using write-references. (#256)
  • Upgrade single-spa-react to v4 (#260)

Fixes

  • Scope single-spa-welcome css. (#259)
  • Remove unneded version of html-webpack-plugin. Resolves #261. (#262)
  • Don't use beta versions of create-single-spa packages anymore. (594dcdb)