Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "rxjs-import-test",
"private": true,
"version": "0.0.1",
"main": "./index.js",
"main": "./index.cjs",
"scripts": {
"test": "node ./index.js"
"test": "node ./index.cjs"
},
"dependencies": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "0.0.1",
"scripts": {
"test": "node ./test.js"
"test": "node ./test.cjs"
},
"dependencies": {
"html-webpack-plugin": "^5.5.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const puppeteer = require('puppeteer');
const Webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const webpackConfig = require('./webpack.config.js');
const webpackConfig = require('./webpack.config.cjs');

// const __filename = fileURLToPath(import.meta.url);
// const __dirname = dirname(__filename);
Expand Down
6 changes: 3 additions & 3 deletions packages/rxjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@
"scripts": {
"lint": "eslint --ext=ts,js src spec spec-dtslint",
"dtslint": "npm run lint && tsc -b ./src/tsconfig.types.json",
"test": "cross-env TS_NODE_PROJECT=tsconfig.mocha.json mocha --config spec/support/.mocharc.js \"spec/**/*-spec.ts\"",
"test": "cross-env TS_NODE_PROJECT=tsconfig.mocha.json mocha --config spec/support/.mocharc.cjs \"spec/**/*-spec.ts\"",
"test:esm": "node spec/module-test-spec.mjs",
"test:circular": "dependency-cruiser --validate .dependency-cruiser.json -x \"^node_modules\" dist/esm",
"test:import": "node integration/import/runner.js",
"test:import": "node integration/import/runner.cjs",
"compile": "tsc -b ./src/tsconfig.cjs.json ./src/tsconfig.cjs.spec.json ./src/tsconfig.esm.json ./src/tsconfig.types.json ./src/tsconfig.types.spec.json ./spec/tsconfig.json",
"build:clean": "shx rm -rf ./dist",
"build": "yarn build:clean && yarn compile && node ./tools/generate-alias.js",
"build": "yarn build:clean && yarn compile && node ./tools/generate-alias.cjs",
"watch": "nodemon -w \"src/\" -w \"spec/\" -e ts -x npm test",
"watch:dtslint": "nodemon -w \"src/\" -w \"spec-dtslint/\" -e ts -x yarn dtslint",
"copy_common_package_files": "node ../../scripts/copy-common-package-files.js"
Expand Down