UNPKG

@ou-imdt/create

Version:

Command line tool to create team boilerplate.

178 lines (111 loc) β€’ 6 kB
# CHANGELOG **CHANGELOG KEY**: `πŸ“¦ NEW`, `πŸ‘Œ IMPROVE`, `πŸ› FIX`, `πŸ“– DOC`, `πŸš€ RELEASE`, `πŸ€– TEST`, and `‼️ BREAKING`. ### RELEASE: 3.0.0 (08/08/2025) πŸš€ - ‼️[Vite v7](https://vite.dev/blog/announcing-vite7) support for Vanilla and Vue templates - πŸ“¦ Added external data handling and dynamic content replacement in the store - πŸ“¦ Added testing support with Vitest - πŸ“¦ Added `vite-plugin-vue-devtools` and updated dependencies in Vue boilerplate - πŸ‘Œ Improved request timeout handling and error reporting in version check for `@ou-imdt/create` - πŸ‘Œ Updated dependency installation messages for clarity - πŸ‘Œ Refactored data fetching and enhanced external config handling - πŸ› Removed global package checks to streamline dependency installation ### RELEASE: 2.1.0 (01/04/2025) πŸš€ - πŸ‘Œ Global data handling: Replaced userKey with currentUserId and urlParams._u - πŸ‘Œ Updated dependencies - @ou-imdt/css, @ou-imdt/utils - πŸ“– Created new VLEAPI/stores related documentation. - πŸ“– Added more useful info on the use of `public` and `assets` folders. ### RELEASE: 2.0.1 (26/02/2025) πŸš€ - πŸ› Added missing method (serialiseDataForSave) in Vanilla template. ### RELEASE: 2.0.0 (18/02/2025) πŸš€ - πŸ“¦ Added global package checks for improved dependency management. - πŸ“¦ Added custom elements support to the VUE template. - πŸ“¦ Added subset of icons for improved performance. - πŸ‘Œ Commented out icon imports in CSS files for optional usage. - πŸ“– Updated CONTRIBUTING.md with clearer beta publishing instructions. - πŸ› Fixed description input validation. - πŸ‘Œ Improved input validation and cleaned up ask.js and questions.js. - πŸ‘Œ Updated VLEAPI stub version. - πŸ› Removed .ico extension from Git LFS attributes to fix the intermittent β€œObject does not exist errorβ€œ. ### RELEASE: 1.3.0 (12/12/2024) πŸš€ - πŸ‘Œ Refactored store.js files for both Vanilla and VUE templates. - πŸ‘Œ Upgraded dependency packages to new versions. - πŸ› Log functions (warn, log, error) now report the correct environment. ### RELEASE: 1.2.8 (11/11/2024) πŸš€ - πŸ› Git credentials not retrieved on macOS ### RELEASE: 1.2.7 (06/11/2024) πŸš€ - πŸ‘Œ Updated to IMDT/CSS 3.0.0. - πŸ‘Œ Added host parameter to npm run dev script for BrowserStack testing. - Note: v1.2.6 is obsolete due to a change to the --host parameter (not specifying a hardcoded IP). Please upgrade to v1.2.7 if you have installed v1.2.6. ### RELEASE: 1.2.5 (01/11/2024) πŸš€ - πŸ‘Œ Added try...catch for parsing empty VLE data ### RELEASE: 1.2.4 (22/10/2024) πŸš€ - πŸ‘Œ Metadata initials are taken automatically from git credentials. ### RELEASE: 1.2.3 (08/10/2024) πŸš€ - πŸ‘Œ VleUtils structural changes e.g. via VleModule, path updates in store.js. - πŸ‘Œ @ou-imdt/utils dependency updated. ### RELEASE: 1.2.2 (19/09/2024) πŸš€ - πŸ“¦ metadata file is placed in build files so that the testing extension can detect upload date. - πŸ‘Œ updated ESLint and Prettier configs to match the latest versions. - πŸ‘Œ updated dependencies. ### RELEASE: 1.2.1 (05/09/2024) πŸš€ - πŸ‘Œ default data store setup call removed in Vanilla template. - πŸ‘Œ package dependencies updated. - πŸ“¦ npm script added to remove _testData from dist. - πŸ‘Œ updated folder structure from an array to an object in the data store. - πŸ“¦ πŸ“– How to support SISE (Students in Secure Environments) with single file plugin is added in the README. - πŸ‘Œ general pipeline improvements, default removed and pipeline will run only for main. ### RELEASE: 1.1.13 (08/07/2024) πŸš€ - πŸ› npmignore updated to make sure specific directories and files are included correctly. ### RELEASE: 1.1.12 (04/07/2024) πŸš€ - πŸ‘Œ Making Fetch and Save awaitable - πŸ‘Œ Updated dependencies <hr> ### RELEASE: 1.1.11 (02/07/2024) πŸš€ - πŸ› Wrong utils version <hr> ### RELEASE: 1.1.10 (01/07/2024) πŸš€ - πŸ“¦ Added utils functions to store for Vue Template - Includes save helpers, VLE param retrieval, attachment and folder parsing, etc. - πŸ“¦ Added utils functions to store for Vanilla Template - Includes save helpers, VLE param retrieval, attachment and folder parsing, etc. <hr> ### RELEASE: 1.1.9 (31/05/2024) πŸš€ - πŸ‘Œ Vite dev and prod modes added - πŸ› data-theme removed from vanilla template <hr> ### RELEASE: 1.1.8 (02/05/2024) πŸš€ - πŸ‘Œ Updated IMDT CSS version - πŸ‘Œ Fixed issue where release directory wasn't created <hr> ### RELEASE: 1.1.7 (02/05/2024) πŸš€ - πŸ“¦ Added version checking utility <hr> ### RELEASE: 1.1.6 (30/04/2024) πŸš€ - πŸ“¦ Added ESlint config (default from Vite/Vue create tools) - πŸ“¦ Added Prettier config (default from Vite/Vue create tools) - πŸ“¦ Added production logging prevention (Re-enable via verbose query param) - πŸ“¦ Added rainbow text for Create title - πŸ‘Œ Utilising IMDT CSS datavis pallette - πŸ‘Œ Removed Bootstrap icons <hr> ### RELEASE: 1.1.5 (09/04/2024) πŸš€ - πŸ“¦ Vite.js config, build targets are changed to `esnext` - version bumped <hr> ### RELEASE: 1.1.4 (09/04/2024) πŸš€ - πŸ› Vite.js bug fix - version bumped <hr> ### RELEASE: 1.1.0 (09/04/2024) πŸš€ - πŸ“¦ Data from attachment JSON file with local fallback via URL parameters. - πŸ‘Œ Docs improvements on file handling, installation guides. - πŸ‘Œ Updated to the latest VLEAPI. <hr> ### RELEASE: 1.0.2 (08/01/2024) πŸš€ - `‼️ BREAKING` imdt-create and imd-create packages deprecated and merged into one package, and is now called 'Create`. - πŸ‘Œ Simplified props. e.g. template (Vanilla JS or VUE), widget name, descriptions and author. - πŸ“¦ Support added for zipping script for VUE template. - πŸ“¦ Populates the readme.md, index.html and package.json with dynamic templating in VUE template. - πŸ“¦ Automatically adds node.js and npm versions used in built to README. - πŸ‘Œ Cache logic improved for credentials, checking name in the order of git credentials||cache||prompt. - πŸ“– docs improvements. <hr>