- Bumps dependencies for
@rei/create-package
- Upgrades Vite 5 and bumps associated dependencies for all initializer templates
- Replaces import assertion with readFile/Parse JSON option to avoid warning and potential breakage in the future
- Removes
eslint
and associated config and dependencies - Adds
lint-staged
to handle formatting staged files with prettier. - Adds pre-commit hook via
husky
to verify changes and executelint-staged
- Adds GitHub actions work-flow to build and test the initializer with changes
- Adds end-to-end (e2e) tests that can be manually executed (
npm run test:e2e
) to ensure each template is properly scaffolded, installed, and built without error.
- Add option include/configure the
@rei/vite-plugin-datadog-rum
plugin to generate additional bundle needed for Datadog monitoring. - Update dependencies
- Get the version from package.json
- Update docs around scaffolding either JS or TS. Since we aren't backporting new features/fixes to the 1.x line as well as our team moving to TS, moving forward, we are strongly encouraging new code to be written in TS
- Updates Cedar versions in
.env
.
- Looks up developer team id and scaffolds out trailmix.yaml file with the owner team id for vanilla and Vue components.
- Changing the call to
metrics.view
to accommodate the stringified__PROJECT_NAME__
global variable from@rei/vite-base-config
.
- Setting dependency versions using variables defined in config. This synchronizes dep versions between templates and reduces the number of manual edits needed.
- Removes
@rei/cov-stats
since it's integrated into GitLab CI pipelines now.
- Update the metrics call using the
__PROJECT_NAME__
global. - Remove extraneous quotes in GL configs.
- Auto-fix sec vuln reported by
npm audit
.
- Removing
@rei/cov-stats
from vanilla and vue templates. This is automatically run in the GL pipeline. - Removing node versions in .env. Defaulting to LTS version in packages now to keep inline with GL pipeline set to LTS.
- Adding
index.html
file for running the dev server during microsite app development. - Update
.nvmrc
to use LTS.
- Extracted types to a designated file
- Sorted templatized
package.json
s - Bumped various deps in templates
- Closes #15 where
.npmrc
was not being packed in the tarball when published to the registry. We pack anpmrc
file instead of.npmrc
and rename it to.npmrc
at runtime - Adds
digret-prod
to templates'.gitlab-ci.yml
- Removes nodejs_version from gitlab-ci template. Packages will use the default node version from the extended
.gitlab-ci.yml
and can override on a per-package basis.
- For Vue and Vanilla NPM package templates, replaces
.chairlift.yml
with.gitlab-ci.yml
.- Adds Node version in
.env
- Adds Node version in
- Adds
tsconfig.tsbuildinfo
to all.gitignore
files - Corrects pointers to type declaration files in
package.json
.
- Fix unit coverage stats calls in package.jsons.
- Fix types/main/module entries in templated
package.json
s.
- Remove unneeded dependency.
- Include the dist directory in the files array in package.json.
- From 2.0.0,
@rei/create-package
will template out TypeScript configuration and entry points. The 1.x versions will continue to template out JavaScript. - Refactor source code to TS.
- Update templates to scaffold TS.
- Add unit tests.
- Update Chairlift Node.js version from 16.13 -> 16.20
- Align
tsconfig.json
and.eslintrc.cjs
to extend from centralized configs in@rei/vite-base-config
.
- Need to call
this.metricsPageView()
inQuickStartPageComponent.vue
. - Reference
__PROJECT_NAME__
(not__PACKAGE_NAME__
). - Add
__PROJECT_NAME__
to eslintrcglobals
config.
- Provide Tier 0 Analytics out-of-the-box:
- Added the
@rei/metrics
NPM package as a dependency topackage.json
. - Imported
@rei/metrics
intoQuickStartPageComponent.vue
and calledmetrics.view()
, passing in the project name.
- Added the
- Adding
--microsite
option to scaffold out QuickStart microsite front-end code and configuration.
- Addresses npm/npm#7252. By design, NPM pack/publish renames
.gitignore
to.npmpublish
. To work around this, we pack agitignore
file instead of.gitignore
and rename it to.gitignore
at runtime.
- Adding repository metadata to
package.json
templates.
- Small change to
README.md
- Adds screencast to
README.md
- Explicitly includes
templates/common/.npmrc
andtemplates/common/.gitignore
in npm packed tarball for publishing.
- The initial release of the NPM initializer. See
README.md
.