Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
update fixtures to adhere to package.json.name specification
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Apr 8, 2021
1 parent 5de9af4 commit d9e74f1
Show file tree
Hide file tree
Showing 30 changed files with 33 additions and 29 deletions.
2 changes: 1 addition & 1 deletion test/integration/demo/fixtures/multiple-demos/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "o-multiple-demos",
"name": "@financial-times/o-multiple-demos",
"description": "a fixture to test the demo command of origami-build-tools",
"main": "main.js"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "no-dependencies"
"name": "@financial-times/no-dependencies"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@financial-times/with-npm-dependencies",
"type": "module",
"dependencies": {
"lodash": "*"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-component",
"name": "@financial-times/test-component",
"type": "module",
"dependencies": {
"o-test-component": "Financial-Times/o-test-component#v1.0.33"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "js-custom-eslint",
"name": "@financial-times/js-custom-eslint",
"version": "1.0.0",
"description": "for a fixture",
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/fixtures/js-es5/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-component",
"name": "@financial-times/test-component",
"description": "for a fixture",
"keywords": [],
"main": [
Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/fixtures/js-es6/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-component",
"name": "@financial-times/test-component",
"description": "for a fixture",
"keywords": [],
"main": [
Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/fixtures/js-es7/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-component",
"name": "@financial-times/test-component",
"description": "for a fixture",
"keywords": [],
"main": [
Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/fixtures/js-invalid/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "js-invalid",
"name": "@financial-times/js-invalid",
"description": "for a fixture",
"keywords": [],
"version": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-component",
"name": "@financial-times/test-component",
"description": "for a fixture",
"keywords": [],
"main": "main.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "no-js-or-sass",
"name": "@financial-times/no-js-or-sass",
"version": "1.0.0",
"description": "for a fixture",
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/fixtures/no-readme/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "no-readme",
"name": "@financial-times/no-readme",
"version": "1.0.0",
"description": "for a fixture",
"keywords": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-component",
"name": "@financial-times/test-component",
"description": "for a fixture",
"keywords": [],
"main": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "no-readme",
"name": "@financial-times/no-readme",
"version": "1.0.0",
"description": "for a fixture",
"keywords": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "invalid-readme",
"name": "@financial-times/invalid-readme",
"version": "1.0.0",
"description": "for a fixture",
"keywords": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "no-readme",
"name": "@financial-times/no-readme",
"version": "1.0.0",
"description": "for a fixture",
"keywords": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "no-readme",
"name": "@financial-times/no-readme",
"version": "1.0.0",
"description": "for a fixture",
"keywords": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "sass-custom-config",
"name": "@financial-times/sass-custom-config",
"version": "1.0.0",
"description": "for a fixture",
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/fixtures/sass-invalid/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "sass-invalid",
"name": "@financial-times/sass-invalid",
"version": "1.0.0",
"description": "for a fixture",
"keywords": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-component",
"name": "@financial-times/test-component",
"description": "for a fixture",
"keywords": [],
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/fixtures/sass/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-component",
"name": "@financial-times/test-component",
"description": "for a fixture",
"keywords": [],
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/verify.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('obt verify', function () {

it('should warn', function () {
return execa(obt, ['verify']).then(output => {
proclaim.include(output.stdout, 'expected "invalid-readme", got "not-the-component-name"');
proclaim.include(output.stdout, 'expected "@financial-times/invalid-readme", got "not-the-component-name"');
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/unit/fixtures/verify/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/unit/fixtures/verify/src/js/error/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/unit/fixtures/verify/src/js/error/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@financial-times/error",
"devDependencies": {
"eslint-config-origami-component": "^2.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/fixtures/verify/src/js/warning/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/unit/fixtures/verify/src/js/warning/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@financial-times/warning",
"devDependencies": {
"eslint-config-origami-component": "^2.1.0"
}
Expand Down

0 comments on commit d9e74f1

Please sign in to comment.