npm

@sassoftware/cra-template-sas-af

0.3.0 • Public • Published

Create-React-App SAS App Factory Cloud Template

Template for App Factory Cloud UI development for React.

Getting started

Create from the template

You can use the afcli for initializing a new project:

npx @sassoftware/afcli@latest create

Alternatively, you can use this template with the typical create-react-app experience:

npx create-react-app example-app --template @sassoftware/cra-template-sas-af

Or via yarn:

yarn create react-app example-app --template @sassoftware/cra-template-sas-af

Getting Started (internal devs)

There are two convenient commands for working with the template locally:

# creates build/test-sas-af folder with the template
npm run template-npm

# creates build/test-sas-af folder with the template.
# NOTE: requires directory to be cra-template-sas-af due to a limitation with local paths using yarn CRA.
yarn run template-yarn

Changes to template.json will result in a matching package.json merged with CRA's defaults when templated.

Changes to src/gitignore will be turned into project's .gitignore

Create from template

If you want to use the local template instead of the version in NPM, you can specify a file path to the local template:

# beside template
npx create-react-app example-app --template file:./cra-template-sas-af

Contributions

This project is currently intended for use by participants in the SAS Hackathon. During this event, the repository will refrain from accepting external contributions. However, we have plans to open source the project in the near future, at which point we will welcome contributions from the community.

Please note that after the SAS Hackathon concludes, this notice will be removed, and we will provide updated guidelines for contributing to the project once it becomes open source. We appreciate your understanding and look forward to collaborating with you in the future.

Package Sidebar

Install

npm i @sassoftware/cra-template-sas-af

Weekly Downloads

2

Version

0.3.0

License

Apache-2.0

Unpacked Size

151 kB

Total Files

34

Last publish

Collaborators

  • daarth
  • martin-coutts-sas
  • romacf
  • mtlhmo
  • timothy.crider-sas
  • mtlstg
  • kenjackson
  • ryanauldsas
  • mtlsmc
  • coalman
  • jefurbee
  • devakumaraswamy
  • ckedwards
  • rbtlevey
  • brmorr
  • bjtomlin
  • jolyna