Skip to content

Commit

Permalink
feat/MSSDK-1750: migrate from babel to vite; enable vite's library mo…
Browse files Browse the repository at this point in the history
…de; improve react components file semantics; migrate from jest to vitest (#369)

* feat/MSSDK-1709: implement barebones embeddable script template; migrate from babel to vite; enable vite's library mode; improve react components file semantics; migrate from jest to vitest

* feat/MSSDK-1709: update github workflow to match the new build tools

* feat/MSSDK-1709: update package-lock.json and pnpm-lock.yaml

* feat/MSSDK-1709: finish migration to pnpm; fix another batch of ts errors

* feat/MSSDK-1709: finish migration to pnpm; fix another batch of ts errors

* feat/MSSDK-1709: finish migration to pnpm; fix another batch of ts errors; reconfigure husky and bump to latest

* feat/MSSDK-1709: finish migration to pnpm; fix another batch of ts errors; reconfigure husky and bump to latest

* feat/MSSDK-1709: revert migration to pnpm

* feat/MSSDK-1709: delete pnpm-workspace.yaml

* feat/MSSDK-1709: fix call-publish.yml

* feat/MSSDK-1709: alter vite config to emit msdFont CSS file

* feat/MSSDK-1709: update emitted CSS file's path to keep backwards compatibility

* feat/MSSDK-1709: update vitest config

* feat/MSSDK-1709: swap vite react plugin to SWC to gain performance during builds

* feat/MSSDK-1709: remove cleeng scripts

* feat/MSSDK-1709: update pnpm-lock.yaml

* feat/MSSDK-1709: update pnpm-lock.yaml
  • Loading branch information
Saddage authored Jun 17, 2024
1 parent 85277a2 commit de91256
Show file tree
Hide file tree
Showing 191 changed files with 1,820 additions and 2,500 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
src/serviceWorker.js
config
scripts
node_modules
dist
coverage-ts
13 changes: 3 additions & 10 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
document: true,
ENVIRONMENT_CONFIGURATION: true
ENVIRONMENT_CONFIGURATION: true,
vi: true
},
parser: '@typescript-eslint/parser',
parserOptions: {
Expand Down Expand Up @@ -49,15 +50,7 @@ module.exports = {
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: [
'test.{ts,tsx}',
'**/*{.,_}{test,spec}.{ts,tsx}',
'**/jest.config.ts',
'**/jest.setup.ts',
'**/*.test.ts',
'**/*.test.tsx',
'**/*.test.js'
],
devDependencies: true,
optionalDependencies: false
}
],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
- name: install deps
run: pnpm install

- name: compile the bundle
run: pnpm compile
- name: build the bundle
run: pnpm build

- name: push the bundle to ${{ inputs.access }} registry
run: npm publish --access ${{ inputs.access }}
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sh .husky/scripts/verify_branch_name
pnpm exec lint-staged
pnpm test
pnpm test-ci
52 changes: 0 additions & 52 deletions babel.config.js

This file was deleted.

93 changes: 0 additions & 93 deletions config/env.js

This file was deleted.

90 changes: 0 additions & 90 deletions config/paths.js

This file was deleted.

11 changes: 0 additions & 11 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit de91256

Please sign in to comment.