Skip to content

Commit

Permalink
release v1.0.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Feb 26, 2023
1 parent 68da8f5 commit b74de61
Show file tree
Hide file tree
Showing 5 changed files with 963 additions and 983 deletions.
58 changes: 37 additions & 21 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,45 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */

module.exports = {
testEnvironment: 'node',
// preset: 'ts-jest/presets/default-esm',
preset: 'ts-jest',
testEnvironment: 'node',
// setupFilesAfterEnv: ['./scripts/setupJestEnv.ts'],
globals: {
__DEV__: true,
__TEST__: true,
__VERSION__: require('./package.json').version,
__BROWSER__: false,
__GLOBAL__: false,
__ESM_BUNDLER__: true,
__ESM_BROWSER__: false,
__NODE_JS__: true,
// __SSR__: true,
__FEATURE_OPTIONS_API__: true,
__FEATURE_SUSPENSE__: true,
__FEATURE_PROD_DEVTOOLS__: false,
__COMPAT__: true,
'ts-jest': {
useESM: true,
tsconfig: {
target: 'esnext',
sourceMap: true
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
useESM: true,
tsconfig: {
target: 'esnext',
sourceMap: true
}
}
}
]
},
// globals: {
// __DEV__: true,
// __TEST__: true,
// __VERSION__: require('./package.json').version,
// __BROWSER__: false,
// __GLOBAL__: false,
// __ESM_BUNDLER__: true,
// __ESM_BROWSER__: false,
// __NODE_JS__: true,
// // __SSR__: true,
// __FEATURE_OPTIONS_API__: true,
// __FEATURE_SUSPENSE__: true,
// __FEATURE_PROD_DEVTOOLS__: false,
// __COMPAT__: true,
// 'ts-jest': {
// useESM: true,
// tsconfig: {
// target: 'esnext',
// sourceMap: true
// }
// }
// },
transformIgnorePatterns: ['<rootDir>/node_modules/'],
coverageDirectory: 'coverage',
coverageReporters: ['html', 'lcov', 'text'],
collectCoverageFrom: ['src/**/*.ts'],
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
"prettier": "prettier --write \"**/*.{js,ts,jsx,tsx,yml,json,md}\""
},
"dependencies": {
"core-js": "^3.27.2",
"core-js": "^3.28.0",
"js-cool": "^2.8.0"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@eslint-sets/eslint-config-ts": "^4.3.1",
"@babel/preset-typescript": "^7.21.0",
"@eslint-sets/eslint-config-ts": "^5.0.0",
"@microsoft/api-extractor": "^7.34.4",
"@rollup/plugin-alias": "^4.0.3",
"@rollup/plugin-babel": "^6.0.3",
Expand All @@ -62,25 +62,25 @@
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@types/node": "^18.14.1",
"chalk": "^5.2.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.33.0",
"eslint": "^8.35.0",
"fast-glob": "^3.2.12",
"jest": "^29.4.2",
"jest": "^29.4.3",
"load-yml": "^1.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"prettier-config-common": "^1.4.0",
"reinstaller": "^2.3.0",
"rimraf": "^4.1.2",
"rollup": "^3.15.0",
"rollup": "^3.17.3",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-visualizer": "^5.9.0",
"ts-jest": "^29.0.5",
"tsnd": "^1.1.0",
"typedoc": "^0.23.24",
"typedoc": "^0.23.25",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "^4.9.5",
"zx": "^7.1.1"
Expand Down
Loading

0 comments on commit b74de61

Please sign in to comment.