8.1.2 • Published 8 months ago

@integreat/ts-dev-setup v8.1.2

Weekly downloads
1
License
ISC
Repository
github
Last release
8 months ago

Shared dev setup for Integreat TypeScript projects

!NOTE You are more than welcome to use this setup in your own projects. We will however update this repository according to what we need in the Integreat codebases and take no responsibility for how this may affect your projects. If you want to make changes, we suggest forking.

Breaking changes

  • Version 8: We are now using eslint 9, which comes with a brand new config file format.
  • Version 7: We have dropped Ava as a test framework and c8 for coverage, and have started using the built-in node test runner.

Install

npm install @integreat/ts-dev-setup --save-dev

Then run the following commands in terminal to set up symbolic links to config files:

cp node_modules/@integreat/ts-dev-setup/codeclimate.yml .codeclimate.yml
cp node_modules/@integreat/ts-dev-setup/.editorconfig .editorconfig
cp node_modules/@integreat/ts-dev-setup/eslint.config.js eslint.config.js
cp node_modules/@integreat/ts-dev-setup/.prettierrc.json .prettierrc.json
cp node_modules/@integreat/ts-dev-setup/tsconfig.json tsconfig.json

package.json

"type": "module",
"exports": {
".": {
    "import": "./dist/index.js",
    "types": "./dist/index.d.ts"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
    "test": "node --import tsx --test --enable-source-maps --experimental-test-coverage --test-reporter node-test-reporter 'src/**/*.test.ts'",
    "test:watch": "npm run dev",
    "dev": "node --import tsx --test --enable-source-maps --test-reporter node-test-reporter --watch 'src/**/*.test.ts' || exit 0",
    "build": "tsc",
    "lint": "eslint src",
    "format": "prettier src/**/*.ts",
    "typecheck": "tsc --noEmit --strict",
    "verify": "npm run lint && npm run typecheck && npm test",
}
8.0.0-rc.0

11 months ago

8.0.0-rc.1

11 months ago

7.1.2

11 months ago

8.1.0

8 months ago

8.0.0

11 months ago

8.1.2

8 months ago

8.1.1

8 months ago

6.0.3

1 year ago

6.0.4

1 year ago

7.0.0

1 year ago

7.1.1

1 year ago

7.1.0

1 year ago

7.0.1

1 year ago

7.0.0-rc.0

1 year ago

6.0.2

1 year ago

6.0.1

2 years ago

6.0.0

2 years ago

6.0.0-rc.3

2 years ago

6.0.0-rc.2

2 years ago

6.0.0-rc.1

2 years ago

6.0.0-rc.0

2 years ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.1.1

2 years ago

4.1.0

2 years ago

4.0.1

3 years ago

3.0.0

3 years ago

4.0.0

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago